Pull request #513 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of Tylerg2471 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at b5fd43aa6b4e8069e65248caa2e7d6db03f961ef rather than e3990ef7270bffea63c659f6e7b10f2e35825ab8 Obtained Jenkinsfile from b5fd43aa6b4e8069e65248caa2e7d6db03f961ef 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-ssh8073172560093682356.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh11673763779071971951.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 f3350a1713306dce7682ed7e37d5774890d03277 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11557520151007012792.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9058178661847193171.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1143124576035013770.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [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-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-10605’ is offline Running on prd-ubuntu20.04-docker-8c-8g-10608 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-513 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit e3990ef7270bffea63c659f6e7b10f2e35825ab8 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e3990ef7270bffea63c659f6e7b10f2e35825ab8 # timeout=10 Merge succeeded, producing e3990ef7270bffea63c659f6e7b10f2e35825ab8 Checking out Revision e3990ef7270bffea63c659f6e7b10f2e35825ab8 (PR-513) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e3990ef7270bffea63c659f6e7b10f2e35825ab8 # timeout=10 Commit message: "feat: Update function comment" First time build. Skipping changelog. > git rev-list --no-walk c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:06:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:06:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:06:04 ========================================================= 14:06:04 EdgeX Global Pipelines Version Info 14:06:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:06:05 ------------------- 14:06:05 stable info: 14:06:05 ------------------- 14:06:05 Commited By: Cherry Wang cherry@iotechsys.com 14:06:05 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 14:06:05 Message: update stable to v1.0.263 14:06:06 ------------------- 14:06:06 experimental info: 14:06:06 ------------------- 14:06:06 Commited By: Cherry Wang cherry@iotechsys.com 14:06:06 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 14:06:06 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3990ef7270bffea63c659f6e7b10f2e35825ab8 [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3990ef [Pipeline] echo 14:06:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:06:06 provisioning config files... 14:06:06 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config11884823984095739328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:06:07 ---> ****-login.sh 14:06:07 nexus3.edgexfoundry.org:10001 14:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:06:07 Configure a credential helper to remove this warning. See 14:06:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:06:07 14:06:07 Login Succeeded 14:06:07 nexus3.edgexfoundry.org:10002 14:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:06:07 Configure a credential helper to remove this warning. See 14:06:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:06:07 14:06:07 Login Succeeded 14:06:07 nexus3.edgexfoundry.org:10003 14:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:06:07 Configure a credential helper to remove this warning. See 14:06:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:06:07 14:06:07 Login Succeeded 14:06:07 nexus3.edgexfoundry.org:10004 14:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:06:07 Configure a credential helper to remove this warning. See 14:06:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:06:07 14:06:07 Login Succeeded 14:06:07 ****.io 14:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:06:07 Configure a credential helper to remove this warning. See 14:06:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:06:07 14:06:07 Login Succeeded 14:06:07 ---> ****-login.sh ends [Pipeline] } 14:06:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 14:06:08 + git rev-list -1 --merges e3990ef7270bffea63c659f6e7b10f2e35825ab8~1..e3990ef7270bffea63c659f6e7b10f2e35825ab8 [Pipeline] echo 14:06:08 -----------> git rev-list -1 --merges e3990ef7270bffea63c659f6e7b10f2e35825ab8~1..e3990ef7270bffea63c659f6e7b10f2e35825ab8 e3990ef7270bffea63c659f6e7b10f2e35825ab8 [false] [Pipeline] sh 14:06:08 + git log --format=format:%s -1 e3990ef7270bffea63c659f6e7b10f2e35825ab8 [Pipeline] echo 14:06:08 ========================================================= 14:06:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:06:08 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:06:09 + git rev-list -1 --merges e3990ef7270bffea63c659f6e7b10f2e35825ab8~1..e3990ef7270bffea63c659f6e7b10f2e35825ab8 [Pipeline] echo 14:06:09 -----------> git rev-list -1 --merges e3990ef7270bffea63c659f6e7b10f2e35825ab8~1..e3990ef7270bffea63c659f6e7b10f2e35825ab8 e3990ef7270bffea63c659f6e7b10f2e35825ab8 [false] [Pipeline] sh 14:06:09 + git log --format=format:%s -1 e3990ef7270bffea63c659f6e7b10f2e35825ab8 [Pipeline] echo 14:06:09 ========================================================= 14:06:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:06:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 14:06:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:06:09 + grep -v github /etc/ssh/ssh_known_hosts 14:06:09 + [ -e /tmp/ssh_known_hosts ] 14:06:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:06:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:06:09 + sudo tee -a /etc/ssh/ssh_known_hosts 14:06:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:06:10 14:06:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:06:10 0.1.4: Pulling from edgex-devops/py-git-semver 14:06:10 b85a868b505f: Pulling fs layer 14:06:10 e2be974225ed: Pulling fs layer 14:06:10 339a4e72a1f5: Pulling fs layer 14:06:10 988bab9f4d93: Pulling fs layer 14:06:10 1469e6f7b9e6: Pulling fs layer 14:06:10 eaf3925da568: Pulling fs layer 14:06:10 bab4dde63d76: Pulling fs layer 14:06:10 bde34c3a00c8: Pulling fs layer 14:06:10 b352a97aabf1: Pulling fs layer 14:06:10 988bab9f4d93: Waiting 14:06:10 bab4dde63d76: Waiting 14:06:10 bde34c3a00c8: Waiting 14:06:10 4872d77fe225: Pulling fs layer 14:06:10 5851b861e8e6: Pulling fs layer 14:06:10 b352a97aabf1: Waiting 14:06:10 5851b861e8e6: Waiting 14:06:10 4872d77fe225: Waiting 14:06:10 e2be974225ed: Verifying Checksum 14:06:10 e2be974225ed: Download complete 14:06:10 988bab9f4d93: Download complete 14:06:10 1469e6f7b9e6: Verifying Checksum 14:06:10 1469e6f7b9e6: Download complete 14:06:10 339a4e72a1f5: Verifying Checksum 14:06:10 339a4e72a1f5: Download complete 14:06:10 eaf3925da568: Verifying Checksum 14:06:10 eaf3925da568: Download complete 14:06:10 bde34c3a00c8: Verifying Checksum 14:06:10 bde34c3a00c8: Download complete 14:06:10 b352a97aabf1: Verifying Checksum 14:06:10 4872d77fe225: Download complete 14:06:10 5851b861e8e6: Verifying Checksum 14:06:10 5851b861e8e6: Download complete 14:06:10 b85a868b505f: Verifying Checksum 14:06:10 b85a868b505f: Download complete 14:06:10 bab4dde63d76: Verifying Checksum 14:06:10 bab4dde63d76: Download complete 14:06:11 b85a868b505f: Pull complete 14:06:12 e2be974225ed: Pull complete 14:06:12 339a4e72a1f5: Pull complete 14:06:12 988bab9f4d93: Pull complete 14:06:13 1469e6f7b9e6: Pull complete 14:06:13 eaf3925da568: Pull complete 14:06:14 bab4dde63d76: Pull complete 14:06:14 bde34c3a00c8: Pull complete 14:06:14 b352a97aabf1: Pull complete 14:06:14 4872d77fe225: Pull complete 14:06:15 5851b861e8e6: Pull complete 14:06:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:06:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:06:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:06:15 prd-ubuntu20.04-docker-8c-8g-10608 does not seem to be running inside a container 14:06:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@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-devops/py-git-semver:0.1.4 cat 14:06:18 $ docker top a94dc05ddd22e8e62a869b982caebb1705b1fcdfcaaf2c48d5c9b62a816d4f5b -eo pid,comm 14:06:18 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). 14:06:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:06:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:06:18 [ssh-agent] Looking for ssh-agent implementation... 14:06:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:06:18 $ docker exec a94dc05ddd22e8e62a869b982caebb1705b1fcdfcaaf2c48d5c9b62a816d4f5b ssh-agent 14:06:18 SSH_AUTH_SOCK=/tmp/ssh-WVrEjwTc1DbZ/agent.32 14:06:18 SSH_AGENT_PID=38 14:06:18 Running ssh-add (command line suppressed) 14:06:18 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_7740570804482211629.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_7740570804482211629.key) 14:06:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:06:19 + git tag --points-at HEAD [Pipeline] } 14:06:19 $ docker exec --env ******** --env ******** a94dc05ddd22e8e62a869b982caebb1705b1fcdfcaaf2c48d5c9b62a816d4f5b ssh-agent -k 14:06:19 unset SSH_AUTH_SOCK; 14:06:19 unset SSH_AGENT_PID; 14:06:19 echo Agent pid 38 killed; 14:06:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:06:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:06:19 [ssh-agent] Looking for ssh-agent implementation... 14:06:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:06:19 $ docker exec a94dc05ddd22e8e62a869b982caebb1705b1fcdfcaaf2c48d5c9b62a816d4f5b ssh-agent 14:06:19 SSH_AUTH_SOCK=/tmp/ssh-G3QRQNYJCHCT/agent.73 14:06:19 SSH_AGENT_PID=79 14:06:19 Running ssh-add (command line suppressed) 14:06:19 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_1314186520117456590.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_1314186520117456590.key) 14:06:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:06:19 + git semver init 14:06:20 2024-09-18 14:06:20,175 [run_init] DEBUG init version:0.0.0 force:False 14:06:20 2024-09-18 14:06:20,175 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver 14:06:20 2024-09-18 14:06:20,176 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver 14:06:20 2024-09-18 14:06:20,176 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513, universal_newlines=False, shell=None, istream=None) 14:06:21 2024-09-18 14:06:20,938 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.git/info/exclude 14:06:21 2024-09-18 14:06:20,938 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 with force:False 14:06:21 2024-09-18 14:06:20,939 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 14:06:21 2024-09-18 14:06:20,943 [execute] INFO git cat-file --batch-check 14:06:21 2024-09-18 14:06:20,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) 14:06:21 2024-09-18 14:06:20,949 [execute] INFO git cat-file --batch 14:06:21 2024-09-18 14:06:20,949 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) 14:06:21 2024-09-18 14:06:20,954 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 14:06:21 0.0.0 [Pipeline] } 14:06:21 $ docker exec --env ******** --env ******** a94dc05ddd22e8e62a869b982caebb1705b1fcdfcaaf2c48d5c9b62a816d4f5b ssh-agent -k 14:06:21 unset SSH_AUTH_SOCK; 14:06:21 unset SSH_AGENT_PID; 14:06:21 echo Agent pid 79 killed; 14:06:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:06:21 + git semver [Pipeline] } 14:06:21 $ docker stop --time=1 a94dc05ddd22e8e62a869b982caebb1705b1fcdfcaaf2c48d5c9b62a816d4f5b 14:06:23 $ docker rm -f --volumes a94dc05ddd22e8e62a869b982caebb1705b1fcdfcaaf2c48d5c9b62a816d4f5b [Pipeline] // withDockerContainer [Pipeline] sh 14:06:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:06:23 Stashed 1 file(s) [Pipeline] echo 14:06:23 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:06:23 provisioning config files... 14:06:23 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config17007858115460976473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:06:24 ---> ****-login.sh 14:06:24 nexus3.edgexfoundry.org:10001 14:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:06:24 Configure a credential helper to remove this warning. See 14:06:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:06:24 14:06:24 Login Succeeded 14:06:24 nexus3.edgexfoundry.org:10002 14:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:06:24 Configure a credential helper to remove this warning. See 14:06:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:06:24 14:06:24 Login Succeeded 14:06:24 nexus3.edgexfoundry.org:10003 14:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:06:24 Configure a credential helper to remove this warning. See 14:06:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:06:24 14:06:24 Login Succeeded 14:06:24 nexus3.edgexfoundry.org:10004 14:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:06:24 Configure a credential helper to remove this warning. See 14:06:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:06:24 14:06:24 Login Succeeded 14:06:24 ****.io 14:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:06:24 Configure a credential helper to remove this warning. See 14:06:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:06:24 14:06:24 Login Succeeded 14:06:24 ---> ****-login.sh ends [Pipeline] } 14:06:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:06:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:06:24 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 14:06:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:06:24 ========================================================= 14:06:24 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:06:24 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:25 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 14:06:25 Sending build context to Docker daemon 5.196MB 14:06:25 Step 1/22 : ARG BASE=alpine:3.18 14:06:25 Step 2/22 : FROM ${BASE} as builder 14:06:25 latest: Pulling from edgex-devops/edgex-gcc-base 14:06:25 96526aa774ef: Pulling fs layer 14:06:25 da60e534fd72: Pulling fs layer 14:06:25 96526aa774ef: Verifying Checksum 14:06:25 96526aa774ef: Download complete 14:06:25 96526aa774ef: Pull complete 14:06:26 da60e534fd72: Verifying Checksum 14:06:26 da60e534fd72: Download complete 14:06:29 da60e534fd72: Pull complete 14:06:29 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 14:06:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:06:29 ---> 6605166a5db4 14:06:29 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:06:32 ---> Running in 9f3e50a600b3 14:06:32 Connecting to iotech.jfrog.io (34.246.139.145:443) 14:06:32 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:06:32 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:06:32 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:06:33 Removing intermediate container 9f3e50a600b3 14:06:33 ---> 24a69ea6f1a1 14:06:33 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:06:33 ---> Running in 665b184a4498 14:06:33 Removing intermediate container 665b184a4498 14:06:33 ---> 28c6e2c34ce3 14:06:33 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 14:06:33 ---> Running in 6a31ca1b41e5 14:06:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:06:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:06:34 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:06:34 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:06:34 (1/17) Installing hiredis (1.1.0-r2) 14:06:34 (2/17) Installing hiredis-dev (1.1.0-r2) 14:06:34 (3/17) Installing libcbor (0.10.2-r1) 14:06:34 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 14:06:35 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:06:35 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:06:35 (7/17) Installing libcbor-dev (0.10.2-r1) 14:06:35 (8/17) Installing libmenuw (6.4_p20230506-r0) 14:06:35 (9/17) Installing libpanelw (6.4_p20230506-r0) 14:06:35 (10/17) Installing libncurses++ (6.4_p20230506-r0) 14:06:35 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 14:06:35 (12/17) Installing libblkid (2.38.1-r8) 14:06:35 (13/17) Installing libuuid (2.38.1-r8) 14:06:35 (14/17) Installing libfdisk (2.38.1-r8) 14:06:35 (15/17) Installing libmount (2.38.1-r8) 14:06:35 (16/17) Installing libsmartcols (2.38.1-r8) 14:06:35 (17/17) Installing util-linux-dev (2.38.1-r8) 14:06:35 Executing busybox-1.36.1-r4.trigger 14:06:35 OK: 336 MiB in 99 packages 14:06:36 Removing intermediate container 6a31ca1b41e5 14:06:36 ---> 3fdd8d8f8392 14:06:36 Step 6/22 : RUN mkdir /tmp/sdk 14:06:37 ---> Running in 1886cb6fe4fd 14:06:37 Removing intermediate container 1886cb6fe4fd 14:06:37 ---> b9f34c3e0658 14:06:37 Step 7/22 : COPY VERSION /tmp/sdk 14:06:37 ---> 8e9e97e460c8 14:06:37 Step 8/22 : COPY src /tmp/sdk/src 14:06:37 ---> 8d194997f63a 14:06:37 Step 9/22 : COPY include /tmp/sdk/include 14:06:38 ---> cc82ae82bae7 14:06:38 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:06:38 ---> 59df18f6f421 14:06:38 Step 11/22 : COPY LICENSE /tmp/sdk 14:06:38 ---> 32349286f127 14:06:38 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:06:38 ---> ec70bac307ae 14:06:38 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:06:38 ---> Running in 42aa7b9ac8f8 14:06:38 + CPPCHECK=false 14:06:38 + DOCGEN=false 14:06:38 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:06:38 + '[' 0 -gt 0 ] 14:06:38 + readlink -f ./scripts/build.sh 14:06:38 + dirname /tmp/sdk/scripts/build.sh 14:06:38 + dirname /tmp/sdk/scripts 14:06:38 + ROOT=/tmp/sdk 14:06:38 + cd /tmp/sdk 14:06:38 + mkdir -p /tmp/sdk/build/release 14:06:38 + cd /tmp/sdk/build/release 14:06:38 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:06:38 -- The C compiler identification is GNU 12.2.1 14:06:38 -- Detecting C compiler ABI info 14:06:38 -- Detecting C compiler ABI info - done 14:06:38 -- Check for working C compiler: /usr/bin/cc - skipped 14:06:38 -- Detecting C compile features 14:06:38 -- Detecting C compile features - done 14:06:38 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:06:38 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:06:38 -- Found LIBYAML: /usr/lib/libyaml.so 14:06:38 -- Found LIBUUID: /usr/lib/libuuid.so 14:06:38 -- Found LIBCBOR: /usr/lib/libcbor.so 14:06:38 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:06:38 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:06:38 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:06:38 -- /opt/iotech/iot/1.5/include 14:06:38 -- C SDK 0.0.0 for Linux 14:06:38 -- Performing Test CSDK_HAVE_ATOMIC 14:06:38 Still waiting to schedule task 14:06:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-10606’ is offline 14:06:39 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:06:39 -- Found Curses: /usr/lib/libcurses.so 14:06:39 -- Configuring done (0.4s) 14:06:39 -- Generating done (0.0s) 14:06:39 -- Build files have been written to: /tmp/sdk/build/release 14:06:39 + make all package 14:06:39 + tee release.log 14:06:39 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:06:39 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:06:39 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:06:39 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:06:39 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:06:39 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:06:39 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:06:40 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 14:06:40 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 14:06:40 294 | while (privateConfig) 14:06:40 | ^~~~~~~~~~~~~ 14:06:40 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 14:06:40 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:06:40 | ^~~~~~~~~~~~~ 14:06:40 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 14:06:40 271 | while (result) 14:06:40 | ^~~~~~ 14:06:40 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 14:06:40 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:06:40 | ^~~~~~ 14:06:40 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:06:40 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:06:40 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:06:40 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:06:40 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:06:40 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:06:40 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:06:41 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:06:41 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:06:41 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:06:41 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:06:41 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:06:41 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:06:42 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:06:43 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:06:43 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:06:43 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:06:43 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:06:43 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:06:43 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:06:43 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:06:44 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:06:44 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:06:44 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:06:44 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:06:44 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:06:44 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:06:44 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:06:44 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:06:44 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:06:44 | ^ 14:06:44 /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 14:06:44 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 14:06:44 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:06:44 /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here 14:06:44 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 14:06:44 | ^~~~~~~~~~~~~~~~~~~~~ 14:06:44 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:06:44 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:06:44 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:06:44 [ 68%] Linking C shared library libcsdk.so 14:06:44 [ 68%] Built target csdk 14:06:44 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:06:44 /tmp/sdk/src/c/examples/template.c: In function 'main': 14:06:44 /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:06:44 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:06:44 | ^~~~~~~~~~~~~~~~~ 14:06:44 | | 14:06:44 | void (*)(void *) 14:06:44 In file included from /tmp/sdk/src/c/examples/template.c:11: 14:06:44 /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:06:44 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:06:44 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:06:45 [ 72%] Linking C executable template 14:06:45 [ 72%] Built target template 14:06:45 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:06:45 [ 76%] Linking C executable device-counter 14:06:45 [ 76%] Built target device-counter 14:06:45 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:06:45 [ 80%] Linking C executable device-random 14:06:45 [ 80%] Built target device-random 14:06:45 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:06:45 [ 84%] Linking C executable device-gyro 14:06:45 [ 84%] Built target device-gyro 14:06:45 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:06:45 [ 88%] Linking C executable device-bitfields 14:06:45 [ 88%] Built target device-bitfields 14:06:45 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:06:45 /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': 14:06:45 /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:06:45 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:06:45 | ^~~~~~~~~~~~~~~~~ 14:06:45 | | 14:06:45 | void (*)(void *) 14:06:45 In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: 14:06:45 /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:06:45 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:06:45 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:06:45 [ 92%] Linking C executable template-discovery 14:06:46 [ 92%] Built target template-discovery 14:06:46 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:06:46 [ 96%] Linking C executable device-file 14:06:46 [ 96%] Built target device-file 14:06:46 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:06:46 [100%] Linking C executable device-terminal 14:06:46 [100%] Built target device-terminal 14:06:46 Run CPack packaging tool... 14:06:46 CPack: Create package using TGZ 14:06:46 CPack: Install projects 14:06:46 CPack: - Run preinstall target for: Csdk 14:06:46 CPack: - Install project: Csdk [] 14:06:46 CPack: Create package 14:06:46 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:06:46 + '[' false '=' true ] 14:06:46 + '[' false '=' true ] 14:06:46 + mkdir -p /tmp/sdk/build/debug 14:06:46 + cd /tmp/sdk/build/debug 14:06:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:06:46 -- The C compiler identification is GNU 12.2.1 14:06:46 -- Detecting C compiler ABI info 14:06:46 -- Detecting C compiler ABI info - done 14:06:46 -- Check for working C compiler: /usr/bin/cc - skipped 14:06:46 -- Detecting C compile features 14:06:46 -- Detecting C compile features - done 14:06:46 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:06:46 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:06:46 -- Found LIBYAML: /usr/lib/libyaml.so 14:06:46 -- Found LIBUUID: /usr/lib/libuuid.so 14:06:46 -- Found LIBCBOR: /usr/lib/libcbor.so 14:06:46 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:06:46 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:06:46 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:06:46 -- /opt/iotech/iot/1.5/include 14:06:46 -- C SDK 0.0.0 for Linux 14:06:46 -- Performing Test CSDK_HAVE_ATOMIC 14:06:47 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:06:47 -- Found Curses: /usr/lib/libcurses.so 14:06:47 -- Configuring done (0.4s) 14:06:47 -- Generating done (0.0s) 14:06:47 -- Build files have been written to: /tmp/sdk/build/debug 14:06:47 + tee debug.log 14:06:47 + make 14:06:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:06:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:06:47 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:06:47 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:06:47 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:06:47 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:06:47 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:06:47 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:06:47 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:06:47 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:06:47 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:06:47 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:06:48 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:06:48 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:06:48 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:06:48 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:06:48 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:06:48 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:06:48 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:06:48 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:06:48 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:06:49 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:06:49 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:06:49 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:06:49 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:06:49 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:06:49 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:06:49 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:06:49 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:06:49 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:06:49 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:06:49 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:06:49 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:06:49 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:06:49 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:06:49 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:06:49 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:06:49 | ^ 14:06:49 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:06:50 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:06:50 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:06:50 [ 68%] Linking C shared library libcsdk.so 14:06:50 [ 68%] Built target csdk 14:06:50 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:06:50 /tmp/sdk/src/c/examples/template.c: In function 'main': 14:06:50 /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:06:50 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:06:50 | ^~~~~~~~~~~~~~~~~ 14:06:50 | | 14:06:50 | void (*)(void *) 14:06:50 In file included from /tmp/sdk/src/c/examples/template.c:11: 14:06:50 /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:06:50 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:06:50 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:06:50 [ 72%] Linking C executable template 14:06:50 [ 72%] Built target template 14:06:50 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:06:50 [ 76%] Linking C executable device-counter 14:06:50 [ 76%] Built target device-counter 14:06:50 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:06:50 [ 80%] Linking C executable device-random 14:06:50 [ 80%] Built target device-random 14:06:50 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:06:50 [ 84%] Linking C executable device-gyro 14:06:50 [ 84%] Built target device-gyro 14:06:50 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:06:50 [ 88%] Linking C executable device-bitfields 14:06:50 [ 88%] Built target device-bitfields 14:06:50 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:06:50 /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': 14:06:50 /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:06:50 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:06:50 | ^~~~~~~~~~~~~~~~~ 14:06:50 | | 14:06:50 | void (*)(void *) 14:06:50 In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: 14:06:50 /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:06:50 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:06:50 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:06:50 [ 92%] Linking C executable template-discovery 14:06:51 [ 92%] Built target template-discovery 14:06:51 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:06:51 [ 96%] Linking C executable device-file 14:06:51 [ 96%] Built target device-file 14:06:51 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:06:51 [100%] Linking C executable device-terminal 14:06:51 [100%] Built target device-terminal 14:06:51 make: Entering directory '/tmp/sdk/build/release' 14:06:51 [ 68%] Built target csdk 14:06:51 [ 72%] Built target template 14:06:51 [ 76%] Built target device-counter 14:06:51 [ 80%] Built target device-random 14:06:51 [ 84%] Built target device-gyro 14:06:51 [ 88%] Built target device-bitfields 14:06:51 [ 92%] Built target template-discovery 14:06:51 [ 96%] Built target device-file 14:06:51 [100%] Built target device-terminal 14:06:51 Install the project... 14:06:51 -- Install configuration: "Release" 14:06:51 -- Installing: /usr/local/lib/libcsdk.so 14:06:51 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:06:51 -- Installing: /usr/local/include 14:06:51 -- Installing: /usr/local/include/devsdk 14:06:51 -- Installing: /usr/local/include/devsdk/devsdk.h 14:06:51 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:06:51 -- Installing: /usr/local/include/edgex 14:06:51 -- Installing: /usr/local/include/edgex/edgex.h 14:06:51 -- Installing: /usr/local/include/edgex/devices.h 14:06:51 -- Installing: /usr/local/include/edgex/profiles.h 14:06:51 -- Installing: /usr/local/include/edgex/edgex-base.h 14:06:51 -- Installing: /usr/local/include/edgex/rest-server.h 14:06:51 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:06:51 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:06:51 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:06:51 make: Leaving directory '/tmp/sdk/build/release' 14:06:52 Removing intermediate container 42aa7b9ac8f8 14:06:52 ---> 517fd20a1140 14:06:52 Step 14/22 : FROM ${BASE} 14:06:52 ---> 6605166a5db4 14:06:52 Step 15/22 : LABEL maintainer="IOTech " 14:06:52 ---> Running in 5fcab20484ac 14:06:52 Removing intermediate container 5fcab20484ac 14:06:52 ---> 9852bd523c1a 14:06:52 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:06:52 ---> Running in 339a05f02040 14:06:52 Connecting to iotech.jfrog.io (54.73.4.50:443) 14:06:52 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:06:52 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:06:52 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:06:53 Removing intermediate container 339a05f02040 14:06:53 ---> 110c77d7b058 14:06:53 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:06:53 ---> Running in 8b5a51489ffe 14:06:54 Removing intermediate container 8b5a51489ffe 14:06:54 ---> fd4ccc9bee24 14:06:54 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init 14:06:54 ---> Running in 691d2ff6f154 14:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:06:54 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:06:55 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:06:55 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 14:06:55 (2/10) Installing curl (8.9.1-r0) 14:06:55 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 14:06:55 (4/10) Installing dumb-init (1.2.5-r2) 14:06:55 (5/10) Installing hiredis (1.1.0-r2) 14:06:55 (6/10) Installing hiredis-dev (1.1.0-r2) 14:06:55 (7/10) Installing libcbor (0.10.2-r1) 14:06:55 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 14:06:55 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:06:55 (10/10) Installing libuuid (2.38.1-r8) 14:06:55 Executing busybox-1.36.1-r4.trigger 14:06:55 OK: 331 MiB in 90 packages 14:06:56 Removing intermediate container 691d2ff6f154 14:06:56 ---> 130864f35609 14:06:56 Step 19/22 : RUN apk --no-cache upgrade 14:06:56 ---> Running in b0d2a88ab713 14:06:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:06:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:06:56 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:06:57 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:06:57 Upgrading critical system libraries and apk-tools: 14:06:57 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 14:06:57 Executing busybox-1.36.1-r4.trigger 14:06:57 Continuing the upgrade transaction with new apk-tools: 14:06:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:06:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:06:57 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:06:58 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:06:58 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 14:06:58 Executing busybox-1.36.1-r7.post-upgrade 14:06:58 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 14:06:58 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 14:06:58 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 14:06:58 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 14:06:58 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 14:06:58 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 14:06:58 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 14:06:58 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 14:06:58 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 14:06:58 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 14:06:58 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 14:06:58 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 14:06:58 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 14:06:58 Executing busybox-1.36.1-r7.trigger 14:06:58 Executing ca-certificates-20240226-r0.trigger 14:06:58 OK: 331 MiB in 90 packages 14:06:59 Removing intermediate container b0d2a88ab713 14:06:59 ---> cbce3a9afc4f 14:06:59 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:06:59 ---> 22c885e687f6 14:06:59 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 14:06:59 ---> c2fcf416cd37 14:06:59 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:06:59 ---> 4e21852dd9ac 14:06:59 Successfully built 4e21852dd9ac 14:06:59 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 14:07:00 + docker inspect -f . ci-base-image-x86_64 14:07:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:00 prd-ubuntu20.04-docker-8c-8g-10608 does not seem to be running inside a container 14:07:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:07:00 $ docker top 399a3f4f2cf4a3d033486758d74541015093f79b90182fa023d06932b3797128 -eo pid,comm [Pipeline] { [Pipeline] sh 14:07:01 + make test 14:07:01 echo "make test" 14:07:01 make test [Pipeline] } 14:07:01 $ docker stop --time=1 399a3f4f2cf4a3d033486758d74541015093f79b90182fa023d06932b3797128 14:07:02 $ docker rm -f --volumes 399a3f4f2cf4a3d033486758d74541015093f79b90182fa023d06932b3797128 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:07:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:07:03 + ls -al . 14:07:03 total 212 14:07:03 drwxrwxr-x 9 jenkins jenkins 4096 Sep 18 14:06 . 14:07:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:05 .. 14:07:03 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 14:06 .git 14:07:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 14:06 .github 14:07:03 -rw-rw-r-- 1 jenkins jenkins 176 Sep 18 14:06 .gitignore 14:07:03 drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 14:06 .semver 14:07:03 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 18 14:06 Attribution.txt 14:07:03 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 18 14:06 CHANGELOG.md 14:07:03 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 18 14:06 Doxyfile 14:07:03 -rw-rw-r-- 1 jenkins jenkins 677 Sep 18 14:06 GOVERNANCE.md 14:07:03 -rw-rw-r-- 1 jenkins jenkins 784 Sep 18 14:06 Jenkinsfile 14:07:03 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 18 14:06 LICENSE 14:07:03 -rw-rw-r-- 1 jenkins jenkins 444 Sep 18 14:06 Makefile 14:07:03 -rw-rw-r-- 1 jenkins jenkins 618 Sep 18 14:06 OWNERS.md 14:07:03 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 18 14:06 README.IOT.md 14:07:03 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 18 14:06 README.md 14:07:03 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 18 14:06 README.v3.md 14:07:03 -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 14:06 VERSION 14:07:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:06 docs 14:07:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:06 include 14:07:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:06 scripts 14:07:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:06 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:03 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=e3990ef7270bffea63c659f6e7b10f2e35825ab8 --label arch=amd64 --label version=0.0.0 . 14:07:03 Sending build context to Docker daemon 5.196MB 14:07:03 Step 1/18 : ARG BASE=alpine:3.18 14:07:03 Step 2/18 : FROM ${BASE} 14:07:03 ---> 4e21852dd9ac 14:07:03 Step 3/18 : LABEL maintainer="IOTech " 14:07:03 ---> Running in 208938cf9b97 14:07:03 Removing intermediate container 208938cf9b97 14:07:03 ---> 7eb80f127e24 14:07:03 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:07:03 ---> Running in 3b49c2bd8a29 14:07:04 Connecting to iotech.jfrog.io (34.246.139.145:443) 14:07:04 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:07:04 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:07:04 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:07:04 Removing intermediate container 3b49c2bd8a29 14:07:04 ---> 5e250d31bcd3 14:07:04 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:07:04 ---> Running in b27ef99ea56e 14:07:05 Removing intermediate container b27ef99ea56e 14:07:05 ---> 88c443523280 14:07:05 Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 14:07:05 ---> Running in 7b785f33f3aa 14:07:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:07:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:07:05 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:07:06 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:07:06 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:07:06 (2/11) Installing libcbor-dev (0.10.2-r1) 14:07:06 (3/11) Installing libmenuw (6.4_p20230506-r0) 14:07:06 (4/11) Installing libpanelw (6.4_p20230506-r0) 14:07:06 (5/11) Installing libncurses++ (6.4_p20230506-r0) 14:07:06 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 14:07:06 (7/11) Installing libblkid (2.38.1-r8) 14:07:06 (8/11) Installing libfdisk (2.38.1-r8) 14:07:06 (9/11) Installing libmount (2.38.1-r8) 14:07:06 (10/11) Installing libsmartcols (2.38.1-r8) 14:07:06 (11/11) Installing util-linux-dev (2.38.1-r8) 14:07:06 Executing busybox-1.36.1-r7.trigger 14:07:06 OK: 337 MiB in 101 packages 14:07:07 Removing intermediate container 7b785f33f3aa 14:07:07 ---> 175b3ad58db5 14:07:07 Step 7/18 : RUN apk --no-cache upgrade 14:07:07 ---> Running in 5562f49a21aa 14:07:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:07:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:07:07 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:07:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:07:08 OK: 337 MiB in 101 packages 14:07:08 Removing intermediate container 5562f49a21aa 14:07:08 ---> f77edf6aecc1 14:07:08 Step 8/18 : COPY VERSION /edgex-c-sdk/ 14:07:08 ---> b74a95fa387a 14:07:08 Step 9/18 : COPY src /edgex-c-sdk/src/ 14:07:08 ---> a9e88e8bced2 14:07:08 Step 10/18 : COPY include /edgex-c-sdk/include/ 14:07:09 ---> 98e589528698 14:07:09 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 14:07:09 ---> a39db9669149 14:07:09 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 14:07:09 ---> 2cbc03088040 14:07:09 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 14:07:09 ---> c3ce59aff80c 14:07:09 Step 14/18 : WORKDIR /edgex-c-sdk 14:07:09 ---> Running in 9bca8b71e158 14:07:09 Removing intermediate container 9bca8b71e158 14:07:09 ---> ab24ef969a0e 14:07:09 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:07:09 ---> Running in b1ce81812a7d 14:07:09 Removing intermediate container b1ce81812a7d 14:07:09 ---> d032f4df5463 14:07:09 Step 16/18 : LABEL arch=amd64 14:07:09 ---> Running in 91374554b861 14:07:09 Removing intermediate container 91374554b861 14:07:09 ---> 3ec190f91e7f 14:07:09 Step 17/18 : LABEL git_sha=e3990ef7270bffea63c659f6e7b10f2e35825ab8 14:07:09 ---> Running in 73181ffd29d4 14:07:09 Removing intermediate container 73181ffd29d4 14:07:09 ---> 9c8b2da6475e 14:07:09 Step 18/18 : LABEL version=0.0.0 14:07:09 ---> Running in 649cd35b4a3a 14:07:09 Removing intermediate container 649cd35b4a3a 14:07:09 ---> 454f0eb892c6 14:07:09 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:07:09 Successfully built 454f0eb892c6 14:07:09 Successfully tagged device-sdk: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 14:07:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:10 14:07:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:10 latest: Pulling from edgex-lftools-log-publisher 14:07:10 5eb5b503b376: Pulling fs layer 14:07:10 5c69ac0246d0: Pulling fs layer 14:07:10 ec43610c2a17: Pulling fs layer 14:07:10 3a2ae6a8a46f: Pulling fs layer 14:07:10 33b1e0a273af: Pulling fs layer 14:07:10 5d3b04190fa2: Pulling fs layer 14:07:10 2f39f015ded8: Pulling fs layer 14:07:10 3a2ae6a8a46f: Waiting 14:07:10 33b1e0a273af: Waiting 14:07:10 5d3b04190fa2: Waiting 14:07:10 2f39f015ded8: Waiting 14:07:10 5c69ac0246d0: Verifying Checksum 14:07:10 5c69ac0246d0: Download complete 14:07:10 3a2ae6a8a46f: Download complete 14:07:10 33b1e0a273af: Verifying Checksum 14:07:10 33b1e0a273af: Download complete 14:07:10 5d3b04190fa2: Download complete 14:07:10 ec43610c2a17: Verifying Checksum 14:07:10 ec43610c2a17: Download complete 14:07:10 5eb5b503b376: Verifying Checksum 14:07:10 5eb5b503b376: Download complete 14:07:11 2f39f015ded8: Download complete 14:07:11 5eb5b503b376: Pull complete 14:07:11 5c69ac0246d0: Pull complete 14:07:12 ec43610c2a17: Pull complete 14:07:12 3a2ae6a8a46f: Pull complete 14:07:12 33b1e0a273af: Pull complete 14:07:12 5d3b04190fa2: Pull complete 14:07:16 2f39f015ded8: Pull complete 14:07:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:07:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:17 prd-ubuntu20.04-docker-8c-8g-10608 does not seem to be running inside a container 14:07:17 $ 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-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:07:22 $ docker top 9f7462fe503c02a0c55bd5a5596df1e8448e026a36abc1ca88e328d1e0aa92ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:07:22 ---> job-cost.sh 14:07:22 lf-activate-venv: SKIPPING 14:07:22 INFO: No Stack... 14:07:22 INFO: Retrieving Pricing Info for: v3-standard-8 14:07:23 INFO: Archiving Costs [Pipeline] sh 14:07:23 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/cost.csv 14:07:23 + cut -d, -f6 [Pipeline] lock 14:07:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-2-stack-cost] 14:07:23 Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-2-stack-cost] did not exist. Created. 14:07:23 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:07:23 + echo total: 0.2199999988079071 [Pipeline] stash 14:07:23 Stashed 1 file(s) [Pipeline] } 14:07:23 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:07:23 $ docker stop --time=1 9f7462fe503c02a0c55bd5a5596df1e8448e026a36abc1ca88e328d1e0aa92ad 14:07:25 $ docker rm -f --volumes 9f7462fe503c02a0c55bd5a5596df1e8448e026a36abc1ca88e328d1e0aa92ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:08:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10609 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] ws 14:08:14 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 14:08:14 Selected Git installation does not exist. Using Default 14:08:14 The recommended git tool is: NONE 14:08:23 using credential edgex-jenkins-ssh 14:08:23 Cloning the remote Git repository 14:08:23 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:08:23 > git init /w/workspace/device-sdk-c/2 # timeout=10 14:08:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:08:23 > git --version # timeout=10 14:08:23 > git --version # 'git version 2.25.1' 14:08:23 using GIT_SSH to set credentials SSH Credentials for GitHub 14:08:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:08:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:08:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:08:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:08:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:08:26 using GIT_SSH to set credentials SSH Credentials for GitHub 14:08:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:08:27 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit e3990ef7270bffea63c659f6e7b10f2e35825ab8 14:08:27 Merge succeeded, producing e3990ef7270bffea63c659f6e7b10f2e35825ab8 14:08:27 Checking out Revision e3990ef7270bffea63c659f6e7b10f2e35825ab8 (PR-513) 14:08:27 > git config core.sparsecheckout # timeout=10 14:08:27 > git checkout -f e3990ef7270bffea63c659f6e7b10f2e35825ab8 # timeout=10 14:08:27 > git remote # timeout=10 14:08:27 > git config --get remote.origin.url # timeout=10 14:08:27 using GIT_SSH to set credentials SSH Credentials for GitHub 14:08:27 > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 14:08:27 > git rev-parse HEAD^{commit} # timeout=10 14:08:27 > git config core.sparsecheckout # timeout=10 14:08:27 > git checkout -f e3990ef7270bffea63c659f6e7b10f2e35825ab8 # timeout=10 14:08:31 Commit message: "feat: Update function comment" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:08:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:08:33 % Total % Received % Xferd Average Speed Time Time Time Current 14:08:33 Dload Upload Total Spent Left Speed 14:08:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 70098 0 --:--:-- --:--:-- --:--:-- 70098 [Pipeline] sh 14:08:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:08:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:08:33 + sudo tee /etc/docker/daemon.new 14:08:33 { 14:08:33 "registry-mirrors": [ 14:08:33 "https://nexus3.edgexfoundry.org:10001" 14:08:33 ], 14:08:33 "bip": "10.250.0.254/24", 14:08:33 "hosts": [ 14:08:33 "tcp://0.0.0.0:5555", 14:08:33 "unix:///var/run/docker.sock" 14:08:33 ], 14:08:33 "mtu": 1458, 14:08:33 "selinux-enabled": true, 14:08:33 "seccomp-profile": "/etc/docker/seccomp.json" 14:08:33 } [Pipeline] sh 14:08:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:08:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:08:52 provisioning config files... 14:08:52 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config6001728824234502681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:08:53 ---> ****-login.sh 14:08:53 nexus3.edgexfoundry.org:10001 14:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:08:53 Configure a credential helper to remove this warning. See 14:08:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:08:53 14:08:53 Login Succeeded 14:08:53 nexus3.edgexfoundry.org:10002 14:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:08:53 Configure a credential helper to remove this warning. See 14:08:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:08:53 14:08:53 Login Succeeded 14:08:53 nexus3.edgexfoundry.org:10003 14:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:08:54 Configure a credential helper to remove this warning. See 14:08:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:08:54 14:08:54 Login Succeeded 14:08:54 nexus3.edgexfoundry.org:10004 14:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:08:54 Configure a credential helper to remove this warning. See 14:08:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:08:54 14:08:54 Login Succeeded 14:08:54 ****.io 14:08:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:08:55 Configure a credential helper to remove this warning. See 14:08:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:08:55 14:08:55 Login Succeeded 14:08:55 ---> ****-login.sh ends [Pipeline] } 14:08:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:08:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:08:55 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 14:08:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:08:55 ========================================================= 14:08:55 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:08:55 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:08:56 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 14:08:56 Sending build context to Docker daemon 3.168MB 14:08:56 Step 1/22 : ARG BASE=alpine:3.18 14:08:56 Step 2/22 : FROM ${BASE} as builder 14:08:56 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:08:56 579b34f0a95b: Pulling fs layer 14:08:56 e71477ac5e1b: Pulling fs layer 14:08:56 579b34f0a95b: Verifying Checksum 14:08:56 579b34f0a95b: Download complete 14:08:57 579b34f0a95b: Pull complete 14:09:09 e71477ac5e1b: Verifying Checksum 14:09:09 e71477ac5e1b: Download complete 14:09:22 e71477ac5e1b: Pull complete 14:09:22 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 14:09:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:09:22 ---> 2b552cad5dd9 14:09:22 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:09:22 ---> Running in 1eb3db8a56ca 14:09:22 Connecting to iotech.jfrog.io (34.247.22.236:443) 14:09:22 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:09:22 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:09:22 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:09:23 Removing intermediate container 1eb3db8a56ca 14:09:23 ---> f92f12b43682 14:09:23 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:09:23 ---> Running in 63f4501b5a24 14:09:24 Removing intermediate container 63f4501b5a24 14:09:24 ---> 276dba8a131e 14:09:24 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 14:09:25 ---> Running in 63a1c8b9ce14 14:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:09:27 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:09:28 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:09:28 (1/17) Installing hiredis (1.1.0-r2) 14:09:28 (2/17) Installing hiredis-dev (1.1.0-r2) 14:09:28 (3/17) Installing libcbor (0.10.2-r1) 14:09:28 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 14:09:28 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:09:29 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:09:29 (7/17) Installing libcbor-dev (0.10.2-r1) 14:09:29 (8/17) Installing libmenuw (6.4_p20230506-r0) 14:09:29 (9/17) Installing libpanelw (6.4_p20230506-r0) 14:09:29 (10/17) Installing libncurses++ (6.4_p20230506-r0) 14:09:29 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 14:09:29 (12/17) Installing libblkid (2.38.1-r8) 14:09:29 (13/17) Installing libuuid (2.38.1-r8) 14:09:29 (14/17) Installing libfdisk (2.38.1-r8) 14:09:29 (15/17) Installing libmount (2.38.1-r8) 14:09:29 (16/17) Installing libsmartcols (2.38.1-r8) 14:09:29 (17/17) Installing util-linux-dev (2.38.1-r8) 14:09:29 Executing busybox-1.36.1-r4.trigger 14:09:29 OK: 333 MiB in 99 packages 14:09:32 Removing intermediate container 63a1c8b9ce14 14:09:32 ---> 80ad338f2cd4 14:09:32 Step 6/22 : RUN mkdir /tmp/sdk 14:09:32 ---> Running in 0161299f9782 14:09:34 Removing intermediate container 0161299f9782 14:09:34 ---> a87f84695cbf 14:09:34 Step 7/22 : COPY VERSION /tmp/sdk 14:09:34 ---> 536bcd5588fc 14:09:34 Step 8/22 : COPY src /tmp/sdk/src 14:09:35 ---> 6aa7c938d832 14:09:35 Step 9/22 : COPY include /tmp/sdk/include 14:09:35 ---> 592695eb51f2 14:09:35 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:09:36 ---> 1f5519d28970 14:09:36 Step 11/22 : COPY LICENSE /tmp/sdk 14:09:36 ---> 7dd9766f6d7d 14:09:36 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:09:37 ---> c927958efb52 14:09:37 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:09:37 ---> Running in 50138a0a5e01 14:09:38 + CPPCHECK=false 14:09:38 + DOCGEN=false 14:09:38 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:09:38 + '[' 0 -gt 0 ] 14:09:38 + readlink -f ./scripts/build.sh 14:09:38 + dirname /tmp/sdk/scripts/build.sh 14:09:38 + dirname /tmp/sdk/scripts 14:09:38 + ROOT=/tmp/sdk 14:09:38 + cd /tmp/sdk 14:09:38 + mkdir -p /tmp/sdk/build/release 14:09:38 + cd /tmp/sdk/build/release 14:09:38 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:09:38 -- The C compiler identification is GNU 12.2.1 14:09:38 -- Detecting C compiler ABI info 14:09:39 -- Detecting C compiler ABI info - done 14:09:39 -- Check for working C compiler: /usr/bin/cc - skipped 14:09:39 -- Detecting C compile features 14:09:39 -- Detecting C compile features - done 14:09:39 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:09:39 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:09:39 -- Found LIBYAML: /usr/lib/libyaml.so 14:09:39 -- Found LIBUUID: /usr/lib/libuuid.so 14:09:39 -- Found LIBCBOR: /usr/lib/libcbor.so 14:09:39 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:09:39 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:09:39 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:09:39 -- /opt/iotech/iot/1.5/include 14:09:39 -- C SDK 0.0.0 for Linux 14:09:39 -- Performing Test CSDK_HAVE_ATOMIC 14:09:39 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:09:39 -- Found Curses: /usr/lib/libcurses.so 14:09:39 -- Configuring done (1.7s) 14:09:40 -- Generating done (0.2s) 14:09:40 -- Build files have been written to: /tmp/sdk/build/release 14:09:40 + make all package 14:09:40 + tee release.log 14:09:40 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:09:40 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:09:41 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:09:42 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:09:43 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:09:44 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:09:46 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:09:46 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 14:09:46 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 14:09:46 294 | while (privateConfig) 14:09:46 | ^~~~~~~~~~~~~ 14:09:46 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 14:09:46 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:09:46 | ^~~~~~~~~~~~~ 14:09:46 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 14:09:46 271 | while (result) 14:09:46 | ^~~~~~ 14:09:46 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 14:09:46 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:09:46 | ^~~~~~ 14:09:47 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:09:47 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:09:48 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:09:50 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:09:50 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:09:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:09:52 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:09:52 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:09:53 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:09:54 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:09:56 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:09:56 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:09:57 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:09:58 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:10:05 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:10:05 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:10:06 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:10:06 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:10:07 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:10:08 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:10:11 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:10:11 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:10:12 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:10:12 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:10:12 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:10:12 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:10:12 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:10:12 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:10:12 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:10:12 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:10:12 | ^ 14:10:14 /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 14:10:14 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 14:10:14 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:10:14 /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here 14:10:14 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 14:10:14 | ^~~~~~~~~~~~~~~~~~~~~ 14:10:15 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:10:16 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:10:16 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:10:17 [ 68%] Linking C shared library libcsdk.so 14:10:17 [ 68%] Built target csdk 14:10:17 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:10:17 /tmp/sdk/src/c/examples/template.c: In function 'main': 14:10:17 /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:10:17 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:10:17 | ^~~~~~~~~~~~~~~~~ 14:10:17 | | 14:10:17 | void (*)(void *) 14:10:17 In file included from /tmp/sdk/src/c/examples/template.c:11: 14:10:17 /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:10:17 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:10:17 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:10:18 [ 72%] Linking C executable template 14:10:18 [ 72%] Built target template 14:10:18 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:10:19 [ 76%] Linking C executable device-counter 14:10:19 [ 76%] Built target device-counter 14:10:19 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:10:20 [ 80%] Linking C executable device-random 14:10:20 [ 80%] Built target device-random 14:10:20 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:10:21 [ 84%] Linking C executable device-gyro 14:10:21 [ 84%] Built target device-gyro 14:10:21 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:10:22 [ 88%] Linking C executable device-bitfields 14:10:22 [ 88%] Built target device-bitfields 14:10:22 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:10:22 /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': 14:10:22 /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:10:22 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:10:22 | ^~~~~~~~~~~~~~~~~ 14:10:22 | | 14:10:22 | void (*)(void *) 14:10:22 In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: 14:10:22 /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:10:22 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:10:22 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:10:23 [ 92%] Linking C executable template-discovery 14:10:24 [ 92%] Built target template-discovery 14:10:24 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:10:24 [ 96%] Linking C executable device-file 14:10:25 [ 96%] Built target device-file 14:10:25 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:10:26 [100%] Linking C executable device-terminal 14:10:26 [100%] Built target device-terminal 14:10:26 Run CPack packaging tool... 14:10:26 CPack: Create package using TGZ 14:10:26 CPack: Install projects 14:10:26 CPack: - Run preinstall target for: Csdk 14:10:27 CPack: - Install project: Csdk [] 14:10:27 CPack: Create package 14:10:27 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:10:27 + '[' false '=' true ] 14:10:27 + '[' false '=' true ] 14:10:27 + mkdir -p /tmp/sdk/build/debug 14:10:27 + cd /tmp/sdk/build/debug 14:10:27 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:10:27 -- The C compiler identification is GNU 12.2.1 14:10:27 -- Detecting C compiler ABI info 14:10:28 -- Detecting C compiler ABI info - done 14:10:28 -- Check for working C compiler: /usr/bin/cc - skipped 14:10:28 -- Detecting C compile features 14:10:28 -- Detecting C compile features - done 14:10:28 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:10:28 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:10:28 -- Found LIBYAML: /usr/lib/libyaml.so 14:10:28 -- Found LIBUUID: /usr/lib/libuuid.so 14:10:28 -- Found LIBCBOR: /usr/lib/libcbor.so 14:10:28 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:10:28 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:10:28 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:10:28 -- /opt/iotech/iot/1.5/include 14:10:28 -- C SDK 0.0.0 for Linux 14:10:28 -- Performing Test CSDK_HAVE_ATOMIC 14:10:29 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:10:29 -- Found Curses: /usr/lib/libcurses.so 14:10:29 -- Configuring done (1.8s) 14:10:29 -- Generating done (0.2s) 14:10:29 -- Build files have been written to: /tmp/sdk/build/debug 14:10:29 + + tee debug.log 14:10:29 make 14:10:29 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:10:30 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:10:30 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:10:30 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:10:31 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:10:31 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:10:32 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:10:32 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:10:32 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:10:33 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:10:33 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:10:34 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:10:34 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:10:35 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:10:35 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:10:35 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:10:35 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:10:36 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:10:36 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:10:37 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:10:37 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:10:39 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:10:39 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:10:39 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:10:39 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:10:39 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:10:40 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:10:41 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:10:42 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:10:42 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:10:42 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:10:42 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:10:42 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:10:42 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:10:42 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:10:42 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:10:42 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:10:42 | ^ 14:10:43 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:10:44 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:10:44 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:10:44 [ 68%] Linking C shared library libcsdk.so 14:10:44 [ 68%] Built target csdk 14:10:44 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:10:45 /tmp/sdk/src/c/examples/template.c: In function 'main': 14:10:45 /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:10:45 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:10:45 | ^~~~~~~~~~~~~~~~~ 14:10:45 | | 14:10:45 | void (*)(void *) 14:10:45 In file included from /tmp/sdk/src/c/examples/template.c:11: 14:10:45 /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:10:45 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:10:45 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:10:45 [ 72%] Linking C executable template 14:10:45 [ 72%] Built target template 14:10:45 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:10:45 [ 76%] Linking C executable device-counter 14:10:46 [ 76%] Built target device-counter 14:10:46 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:10:46 [ 80%] Linking C executable device-random 14:10:47 [ 80%] Built target device-random 14:10:47 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:10:47 [ 84%] Linking C executable device-gyro 14:10:47 [ 84%] Built target device-gyro 14:10:47 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:10:48 [ 88%] Linking C executable device-bitfields 14:10:48 [ 88%] Built target device-bitfields 14:10:48 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:10:48 /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': 14:10:48 /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:10:48 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:10:48 | ^~~~~~~~~~~~~~~~~ 14:10:48 | | 14:10:48 | void (*)(void *) 14:10:48 In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: 14:10:48 /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:10:48 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:10:48 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:10:48 [ 92%] Linking C executable template-discovery 14:10:49 [ 92%] Built target template-discovery 14:10:49 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:10:49 [ 96%] Linking C executable device-file 14:10:49 [ 96%] Built target device-file 14:10:49 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:10:50 [100%] Linking C executable device-terminal 14:10:50 [100%] Built target device-terminal 14:10:50 make: Entering directory '/tmp/sdk/build/release' 14:10:50 [ 68%] Built target csdk 14:10:50 [ 72%] Built target template 14:10:51 [ 76%] Built target device-counter 14:10:51 [ 80%] Built target device-random 14:10:51 [ 84%] Built target device-gyro 14:10:51 [ 88%] Built target device-bitfields 14:10:51 [ 92%] Built target template-discovery 14:10:51 [ 96%] Built target device-file 14:10:51 [100%] Built target device-terminal 14:10:51 Install the project... 14:10:51 -- Install configuration: "Release" 14:10:51 -- Installing: /usr/local/lib/libcsdk.so 14:10:51 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:10:51 -- Installing: /usr/local/include 14:10:51 -- Installing: /usr/local/include/devsdk 14:10:51 -- Installing: /usr/local/include/devsdk/devsdk.h 14:10:51 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:10:51 -- Installing: /usr/local/include/edgex 14:10:51 -- Installing: /usr/local/include/edgex/rest-server.h 14:10:51 -- Installing: /usr/local/include/edgex/edgex.h 14:10:51 -- Installing: /usr/local/include/edgex/edgex-base.h 14:10:51 -- Installing: /usr/local/include/edgex/devices.h 14:10:51 -- Installing: /usr/local/include/edgex/profiles.h 14:10:51 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:10:51 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:10:51 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:10:51 make: Leaving directory '/tmp/sdk/build/release' 14:10:52 Removing intermediate container 50138a0a5e01 14:10:52 ---> 5e186bd733ca 14:10:52 Step 14/22 : FROM ${BASE} 14:10:52 ---> 2b552cad5dd9 14:10:52 Step 15/22 : LABEL maintainer="IOTech " 14:10:53 ---> Running in 870e62459ecc 14:10:53 Removing intermediate container 870e62459ecc 14:10:53 ---> c2e7e1e3efb2 14:10:53 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:10:53 ---> Running in 4536185e0850 14:10:54 Connecting to iotech.jfrog.io (34.247.22.236:443) 14:10:54 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:10:54 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:10:54 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:10:55 Removing intermediate container 4536185e0850 14:10:55 ---> 88d8f8bd092a 14:10:55 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:10:55 ---> Running in 0c05d4751ce5 14:10:57 Removing intermediate container 0c05d4751ce5 14:10:57 ---> 306bf95f47b6 14:10:57 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init 14:10:57 ---> Running in ccddb9e805a9 14:10:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:10:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:10:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:11:00 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:11:00 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 14:11:00 (2/10) Installing curl (8.9.1-r0) 14:11:00 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 14:11:00 (4/10) Installing dumb-init (1.2.5-r2) 14:11:00 (5/10) Installing hiredis (1.1.0-r2) 14:11:00 (6/10) Installing hiredis-dev (1.1.0-r2) 14:11:00 (7/10) Installing libcbor (0.10.2-r1) 14:11:00 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 14:11:01 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:11:01 (10/10) Installing libuuid (2.38.1-r8) 14:11:01 Executing busybox-1.36.1-r4.trigger 14:11:01 OK: 328 MiB in 90 packages 14:11:02 Removing intermediate container ccddb9e805a9 14:11:02 ---> 8db387f2d247 14:11:02 Step 19/22 : RUN apk --no-cache upgrade 14:11:02 ---> Running in f3410f79aded 14:11:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:11:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:11:04 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:11:05 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:11:05 Upgrading critical system libraries and apk-tools: 14:11:05 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 14:11:05 Executing busybox-1.36.1-r4.trigger 14:11:05 Continuing the upgrade transaction with new apk-tools: 14:11:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:11:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:11:06 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:11:07 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:11:07 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 14:11:07 Executing busybox-1.36.1-r7.post-upgrade 14:11:07 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 14:11:07 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 14:11:07 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 14:11:07 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 14:11:07 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 14:11:07 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 14:11:07 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 14:11:07 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 14:11:07 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 14:11:07 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 14:11:08 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 14:11:08 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 14:11:08 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 14:11:08 Executing busybox-1.36.1-r7.trigger 14:11:08 Executing ca-certificates-20240226-r0.trigger 14:11:08 OK: 328 MiB in 90 packages 14:11:10 Removing intermediate container f3410f79aded 14:11:10 ---> 7eafe29f6962 14:11:10 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:11:10 ---> 02cc582f743f 14:11:10 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 14:11:11 ---> da3fc29bc0ec 14:11:11 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:11:12 ---> 14e4bab6eb17 14:11:12 Successfully built 14e4bab6eb17 14:11:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:12 + docker inspect -f . ci-base-image-arm64 14:11:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:11:12 prd-ubuntu20.04-docker-arm64-4c-16g-10609 does not seem to be running inside a container 14:11:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:11:14 $ docker top d5871c8cf7a263a9a5e172a8fc8defa39a5cb19d0270dfc381f9c11f7db57a6e -eo pid,comm [Pipeline] { [Pipeline] sh 14:11:14 + make test 14:11:14 echo "make test" 14:11:14 make test [Pipeline] } 14:11:14 $ docker stop --time=1 d5871c8cf7a263a9a5e172a8fc8defa39a5cb19d0270dfc381f9c11f7db57a6e 14:11:16 $ docker rm -f --volumes d5871c8cf7a263a9a5e172a8fc8defa39a5cb19d0270dfc381f9c11f7db57a6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:11:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:11:17 + ls -al . 14:11:17 total 208 14:11:17 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 14:08 . 14:11:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:08 .. 14:11:17 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 14:08 .git 14:11:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 14:08 .github 14:11:17 -rw-rw-r-- 1 jenkins jenkins 176 Sep 18 14:08 .gitignore 14:11:17 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 18 14:08 Attribution.txt 14:11:17 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 18 14:08 CHANGELOG.md 14:11:17 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 18 14:08 Doxyfile 14:11:17 -rw-rw-r-- 1 jenkins jenkins 677 Sep 18 14:08 GOVERNANCE.md 14:11:17 -rw-rw-r-- 1 jenkins jenkins 784 Sep 18 14:08 Jenkinsfile 14:11:17 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 18 14:08 LICENSE 14:11:17 -rw-rw-r-- 1 jenkins jenkins 444 Sep 18 14:08 Makefile 14:11:17 -rw-rw-r-- 1 jenkins jenkins 618 Sep 18 14:08 OWNERS.md 14:11:17 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 18 14:08 README.IOT.md 14:11:17 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 18 14:08 README.md 14:11:17 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 18 14:08 README.v3.md 14:11:17 -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 14:06 VERSION 14:11:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:08 docs 14:11:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:08 include 14:11:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:08 scripts 14:11:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:08 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:17 + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e3990ef7270bffea63c659f6e7b10f2e35825ab8 --label arch=arm64 --label version=0.0.0 . 14:11:18 Sending build context to Docker daemon 3.168MB 14:11:18 Step 1/18 : ARG BASE=alpine:3.18 14:11:18 Step 2/18 : FROM ${BASE} 14:11:18 ---> 14e4bab6eb17 14:11:18 Step 3/18 : LABEL maintainer="IOTech " 14:11:18 ---> Running in 12cd8c3b3371 14:11:18 Removing intermediate container 12cd8c3b3371 14:11:18 ---> f76185908def 14:11:18 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:11:18 ---> Running in 5b89c10ea88e 14:11:19 Connecting to iotech.jfrog.io (34.247.22.236:443) 14:11:20 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:11:20 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:11:20 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:11:20 Removing intermediate container 5b89c10ea88e 14:11:20 ---> 82435ff341d5 14:11:20 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:11:20 ---> Running in 908ce56477a4 14:11:22 Removing intermediate container 908ce56477a4 14:11:22 ---> 0eb4bdda7f67 14:11:22 Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 14:11:22 ---> Running in 1ffb5b1d1738 14:11:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:11:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:11:24 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:11:25 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:11:25 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:11:25 (2/11) Installing libcbor-dev (0.10.2-r1) 14:11:25 (3/11) Installing libmenuw (6.4_p20230506-r0) 14:11:25 (4/11) Installing libpanelw (6.4_p20230506-r0) 14:11:25 (5/11) Installing libncurses++ (6.4_p20230506-r0) 14:11:25 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 14:11:25 (7/11) Installing libblkid (2.38.1-r8) 14:11:25 (8/11) Installing libfdisk (2.38.1-r8) 14:11:25 (9/11) Installing libmount (2.38.1-r8) 14:11:25 (10/11) Installing libsmartcols (2.38.1-r8) 14:11:25 (11/11) Installing util-linux-dev (2.38.1-r8) 14:11:25 Executing busybox-1.36.1-r7.trigger 14:11:25 OK: 334 MiB in 101 packages 14:11:27 Removing intermediate container 1ffb5b1d1738 14:11:27 ---> 6fb5b69779a8 14:11:27 Step 7/18 : RUN apk --no-cache upgrade 14:11:27 ---> Running in 2bcdb9dc350a 14:11:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:11:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:11:28 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:11:29 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:11:29 OK: 334 MiB in 101 packages 14:11:30 Removing intermediate container 2bcdb9dc350a 14:11:30 ---> 9d5685bed67f 14:11:30 Step 8/18 : COPY VERSION /edgex-c-sdk/ 14:11:30 ---> 87f6e2c5a8c5 14:11:30 Step 9/18 : COPY src /edgex-c-sdk/src/ 14:11:31 ---> c9bce195e611 14:11:31 Step 10/18 : COPY include /edgex-c-sdk/include/ 14:11:32 ---> e84453184368 14:11:32 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 14:11:32 ---> 44e86cf1803a 14:11:32 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 14:11:33 ---> 5d1a46b2a549 14:11:33 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 14:11:33 ---> d4e4de9fe217 14:11:33 Step 14/18 : WORKDIR /edgex-c-sdk 14:11:33 ---> Running in 33dc604358b7 14:11:34 Removing intermediate container 33dc604358b7 14:11:34 ---> 6391b18c9860 14:11:34 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:11:34 ---> Running in ebb942877e65 14:11:34 Removing intermediate container ebb942877e65 14:11:34 ---> 3ea27c71c850 14:11:34 Step 16/18 : LABEL arch=arm64 14:11:34 ---> Running in 833a4c744248 14:11:35 Removing intermediate container 833a4c744248 14:11:35 ---> 07fbee0c8fb7 14:11:35 Step 17/18 : LABEL git_sha=e3990ef7270bffea63c659f6e7b10f2e35825ab8 14:11:35 ---> Running in 8fefab02b20b 14:11:35 Removing intermediate container 8fefab02b20b 14:11:35 ---> 61452f89acb3 14:11:35 Step 18/18 : LABEL version=0.0.0 14:11:35 ---> Running in ee139429d032 14:11:35 Removing intermediate container ee139429d032 14:11:35 ---> abf83c2381fd 14:11:35 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:11:35 Successfully built abf83c2381fd 14:11:35 Successfully tagged device-sdk-arm64: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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:11:36 14:11:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:11:36 arm64: Pulling from edgex-lftools-log-publisher 14:11:36 8998bd30e6a1: Pulling fs layer 14:11:36 04944245beec: Pulling fs layer 14:11:36 699f458cf7ca: Pulling fs layer 14:11:36 765212b225bb: Pulling fs layer 14:11:36 f23df028b6ca: Pulling fs layer 14:11:36 d65c8cfc05b1: Pulling fs layer 14:11:36 2437ff75d9bd: Pulling fs layer 14:11:36 f23df028b6ca: Waiting 14:11:36 765212b225bb: Waiting 14:11:36 d65c8cfc05b1: Waiting 14:11:36 2437ff75d9bd: Waiting 14:11:36 04944245beec: Verifying Checksum 14:11:36 04944245beec: Download complete 14:11:36 765212b225bb: Verifying Checksum 14:11:36 765212b225bb: Download complete 14:11:36 f23df028b6ca: Verifying Checksum 14:11:36 f23df028b6ca: Download complete 14:11:36 d65c8cfc05b1: Verifying Checksum 14:11:36 d65c8cfc05b1: Download complete 14:11:37 699f458cf7ca: Verifying Checksum 14:11:37 699f458cf7ca: Download complete 14:11:37 8998bd30e6a1: Verifying Checksum 14:11:37 8998bd30e6a1: Download complete 14:11:40 2437ff75d9bd: Verifying Checksum 14:11:40 2437ff75d9bd: Download complete 14:11:41 8998bd30e6a1: Pull complete 14:11:42 04944245beec: Pull complete 14:11:43 699f458cf7ca: Pull complete 14:11:44 765212b225bb: Pull complete 14:11:45 f23df028b6ca: Pull complete 14:11:45 d65c8cfc05b1: Pull complete 14:12:03 2437ff75d9bd: Pull complete 14:12:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:12:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:12:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:12:03 prd-ubuntu20.04-docker-arm64-4c-16g-10609 does not seem to be running inside a container 14:12:03 $ 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/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:12:06 $ docker top 65a78eafcebbcd0b7fb34506f97b41ef7ec51286b1202563bbf2a9a007545ece -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:12:07 ---> job-cost.sh 14:12:07 lf-activate-venv: SKIPPING 14:12:07 INFO: No Stack... 14:12:07 INFO: Retrieving Pricing Info for: v3-standard-4 14:12:08 INFO: Archiving Costs [Pipeline] sh 14:12:08 + cat /w/workspace/device-sdk-c/2/archives/cost.csv 14:12:08 + cut -d, -f6 [Pipeline] lock 14:12:09 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-2-stack-cost] 14:12:09 Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-2-stack-cost] did not exist. Created. 14:12:09 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:12:09 /w/workspace/device-sdk-c/2@tmp/durable-7810a251/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:12:10 + echo total: 0.10999999940395355 [Pipeline] stash 14:12:10 Warning: overwriting stash ‘stack-cost’ 14:12:10 Stashed 1 file(s) [Pipeline] } 14:12:10 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:12:10 $ docker stop --time=1 65a78eafcebbcd0b7fb34506f97b41ef7ec51286b1202563bbf2a9a007545ece 14:12:12 $ docker rm -f --volumes 65a78eafcebbcd0b7fb34506f97b41ef7ec51286b1202563bbf2a9a007545ece [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [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 14:12:13 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives ] 14:12:13 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 14:12:13 total 16 14:12:13 drwxr-xr-x 3 root root 4096 Sep 18 14:07 . 14:12:13 drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 14:07 .. 14:12:13 drwxr-xr-x 2 root root 4096 Sep 18 14:07 cost 14:12:13 -rw-r--r-- 1 root root 84 Sep 18 14:07 cost.csv 14:12:13 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 14:12:13 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 14:12:13 total 16 14:12:13 drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 14:07 . 14:12:13 drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 14:07 .. 14:12:13 drwxr-xr-x 2 jenkins jenkins 4096 Sep 18 14:07 cost 14:12:13 -rw-r--r-- 1 jenkins jenkins 84 Sep 18 14:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:12:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:12:14 ---> package-listing.sh 14:12:14 ++ facter osfamily 14:12:14 ++ tr '[:upper:]' '[:lower:]' 14:12:14 + OS_FAMILY=debian 14:12:14 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-513 14:12:14 + START_PACKAGES=/tmp/packages_start.txt 14:12:14 + END_PACKAGES=/tmp/packages_end.txt 14:12:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:12:14 + PACKAGES=/tmp/packages_start.txt 14:12:14 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' 14:12:14 + PACKAGES=/tmp/packages_end.txt 14:12:14 + case "${OS_FAMILY}" in 14:12:14 + dpkg -l 14:12:14 + grep '^ii' 14:12:14 + '[' -f /tmp/packages_start.txt ']' 14:12:14 + '[' -f /tmp/packages_end.txt ']' 14:12:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:12:14 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' 14:12:14 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ 14:12:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [Pipeline] echo 14:12:14 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-sdk-c_PR-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:12:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:12:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:12:15 prd-ubuntu20.04-docker-8c-8g-10608 does not seem to be running inside a container 14:12:15 $ 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-sdk-c_PR-513/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-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:12:15 $ docker top 581cd5710b8b8b8f4b97c24764f2fbccd51b5c7429272b33732e490f3d42b96c -eo pid,comm [Pipeline] { [Pipeline] sh 14:12:16 + touch /tmp/pre-build-complete [Pipeline] sh 14:12:16 + mkdir -p /var/log/sysstat [Pipeline] sh 14:12:16 + ls /var/log/sa-host 14:12:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:12:16 provisioning config files... 14:12:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config9424061834473214823tmp [Pipeline] { [Pipeline] echo 14:12:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:12:17 ---> create-netrc.sh [Pipeline] } 14:12:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:12:17 ---> python-tools-install.sh [Pipeline] echo 14:12:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:12:17 ---> sudo-logs.sh 14:12:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:12:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:12:18 ---> job-cost.sh 14:12:18 lf-activate-venv: SKIPPING 14:12:18 DEBUG: total: 0.2199999988079071 14:12:18 INFO: Retrieving Stack Cost... 14:12:18 INFO: Retrieving Pricing Info for: v3-standard-8 14:12:18 INFO: Archiving Costs [Pipeline] echo 14:12:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:12:19 ---> logs-deploy.sh 14:12:19 lf-activate-venv: SKIPPING 14:12:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-513/2 14:12:19 INFO: archiving workspace using pattern(s): 14:12:20 Archives upload complete. 14:12:20 INFO: archiving logs to Nexus