Pull request #530 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 FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 21325a94564d5324722348dd653aebd425836c02+62fc64c90db9bc421ef18031b23432b09bce4dbe (933ecdbad22ca7c67c28442ed8a743553edfd8d3) 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-ssh18223066130097162236.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18411795948773047844.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-530/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-530/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15132314650355665283.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11151523179133938090.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-530/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-530/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7779961320258625499.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-34598’ is offline ‘prd-ubuntu20.04-docker-8c-8g-34599’ is offline ‘prd-ubuntu20.04-docker-8c-8g-34601’ is offline ‘prd-ubuntu20.04-docker-8c-8g-34603’ is offline Running on prd-ubuntu20.04-docker-8c-8g-34604 in /w/workspace/edgexfoundry_device-sdk-c_PR-530 [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-530 # 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 62fc64c90db9bc421ef18031b23432b09bce4dbe into PR head commit 21325a94564d5324722348dd653aebd425836c02 > 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/530/head:refs/remotes/origin/PR-530 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21325a94564d5324722348dd653aebd425836c02 # timeout=10 Merge succeeded, producing 21325a94564d5324722348dd653aebd425836c02 Checking out Revision 21325a94564d5324722348dd653aebd425836c02 (PR-530) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 62fc64c90db9bc421ef18031b23432b09bce4dbe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21325a94564d5324722348dd653aebd425836c02 # timeout=10 Commit message: "feat!: Drop support for Consul" First time build. Skipping changelog. > git rev-list --no-walk b746705b380a1fcf6a52ffc70816742ab7f871ec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:22:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:22:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:22:32 ========================================================= 06:22:32 EdgeX Global Pipelines Version Info 06:22:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:22:33 ------------------- 06:22:33 stable info: 06:22:33 ------------------- 06:22:33 Commited By: Cherry Wang cherry@iotechsys.com 06:22:33 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 06:22:33 Message: update stable to v1.0.269 06:22:34 ------------------- 06:22:34 experimental info: 06:22:34 ------------------- 06:22:34 Commited By: **** collab-it+edgex@linuxfoundation.org 06:22:34 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 06:22:34 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-530 [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-530 [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-530 [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21325a94564d5324722348dd653aebd425836c02 [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21325a9 [Pipeline] echo 06:22:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:22:34 provisioning config files... 06:22:34 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/config16193399982943291679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:22:35 ---> ****-login.sh 06:22:35 nexus3.edgexfoundry.org:10001 06:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:22:35 Configure a credential helper to remove this warning. See 06:22:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:22:35 06:22:35 Login Succeeded 06:22:35 nexus3.edgexfoundry.org:10002 06:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:22:35 Configure a credential helper to remove this warning. See 06:22:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:22:35 06:22:35 Login Succeeded 06:22:35 nexus3.edgexfoundry.org:10003 06:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:22:35 Configure a credential helper to remove this warning. See 06:22:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:22:35 06:22:35 Login Succeeded 06:22:35 nexus3.edgexfoundry.org:10004 06:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:22:35 Configure a credential helper to remove this warning. See 06:22:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:22:35 06:22:35 Login Succeeded 06:22:35 ****.io 06:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:22:35 Configure a credential helper to remove this warning. See 06:22:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:22:35 06:22:35 Login Succeeded 06:22:36 ---> ****-login.sh ends [Pipeline] } 06:22:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 06:22:36 + git rev-list -1 --merges 21325a94564d5324722348dd653aebd425836c02~1..21325a94564d5324722348dd653aebd425836c02 [Pipeline] echo 06:22:36 -----------> git rev-list -1 --merges 21325a94564d5324722348dd653aebd425836c02~1..21325a94564d5324722348dd653aebd425836c02 21325a94564d5324722348dd653aebd425836c02 [false] [Pipeline] sh 06:22:36 + git log --format=format:%s -1 21325a94564d5324722348dd653aebd425836c02 [Pipeline] echo 06:22:36 ========================================================= 06:22:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:22:36 ========================================================= 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 06:22:37 + git rev-list -1 --merges 21325a94564d5324722348dd653aebd425836c02~1..21325a94564d5324722348dd653aebd425836c02 [Pipeline] echo 06:22:37 -----------> git rev-list -1 --merges 21325a94564d5324722348dd653aebd425836c02~1..21325a94564d5324722348dd653aebd425836c02 21325a94564d5324722348dd653aebd425836c02 [false] [Pipeline] sh 06:22:37 + git log --format=format:%s -1 21325a94564d5324722348dd653aebd425836c02 [Pipeline] echo 06:22:37 ========================================================= 06:22:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:22:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 06:22:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:22:38 + grep -v github /etc/ssh/ssh_known_hosts 06:22:38 + [ -e /tmp/ssh_known_hosts ] 06:22:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:22:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:22:38 + sudo tee -a /etc/ssh/ssh_known_hosts 06:22:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:22:38 06:22:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:22:38 0.1.4: Pulling from edgex-devops/py-git-semver 06:22:38 b85a868b505f: Pulling fs layer 06:22:38 e2be974225ed: Pulling fs layer 06:22:38 339a4e72a1f5: Pulling fs layer 06:22:38 988bab9f4d93: Pulling fs layer 06:22:38 1469e6f7b9e6: Pulling fs layer 06:22:38 eaf3925da568: Pulling fs layer 06:22:38 bab4dde63d76: Pulling fs layer 06:22:38 bde34c3a00c8: Pulling fs layer 06:22:38 b352a97aabf1: Pulling fs layer 06:22:38 4872d77fe225: Pulling fs layer 06:22:38 5851b861e8e6: Pulling fs layer 06:22:38 988bab9f4d93: Waiting 06:22:38 1469e6f7b9e6: Waiting 06:22:38 eaf3925da568: Waiting 06:22:38 bde34c3a00c8: Waiting 06:22:38 bab4dde63d76: Waiting 06:22:38 b352a97aabf1: Waiting 06:22:38 4872d77fe225: Waiting 06:22:38 5851b861e8e6: Waiting 06:22:38 e2be974225ed: Verifying Checksum 06:22:38 e2be974225ed: Download complete 06:22:38 988bab9f4d93: Verifying Checksum 06:22:38 988bab9f4d93: Download complete 06:22:39 1469e6f7b9e6: Verifying Checksum 06:22:39 1469e6f7b9e6: Download complete 06:22:39 339a4e72a1f5: Verifying Checksum 06:22:39 339a4e72a1f5: Download complete 06:22:39 eaf3925da568: Verifying Checksum 06:22:39 eaf3925da568: Download complete 06:22:39 bde34c3a00c8: Verifying Checksum 06:22:39 bde34c3a00c8: Download complete 06:22:39 b352a97aabf1: Download complete 06:22:39 4872d77fe225: Download complete 06:22:39 5851b861e8e6: Verifying Checksum 06:22:39 5851b861e8e6: Download complete 06:22:39 b85a868b505f: Verifying Checksum 06:22:39 b85a868b505f: Download complete 06:22:39 bab4dde63d76: Verifying Checksum 06:22:39 bab4dde63d76: Download complete 06:22:40 b85a868b505f: Pull complete 06:22:40 e2be974225ed: Pull complete 06:22:41 339a4e72a1f5: Pull complete 06:22:41 988bab9f4d93: Pull complete 06:22:41 1469e6f7b9e6: Pull complete 06:22:41 eaf3925da568: Pull complete 06:22:43 bab4dde63d76: Pull complete 06:22:43 bde34c3a00c8: Pull complete 06:22:43 b352a97aabf1: Pull complete 06:22:43 4872d77fe225: Pull complete 06:22:43 5851b861e8e6: Pull complete 06:22:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:22:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:22:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:43 prd-ubuntu20.04-docker-8c-8g-34604 does not seem to be running inside a container 06:22:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-530 -v /w/workspace/edgexfoundry_device-sdk-c_PR-530:/w/workspace/edgexfoundry_device-sdk-c_PR-530:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-530@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 06:22:46 $ docker top 4801178135f6e8387d8076c710689016ac2fa1a96aa390cc92624023b728104e -eo pid,comm 06:22:46 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). 06:22:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:22:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:22:46 [ssh-agent] Looking for ssh-agent implementation... 06:22:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:22:46 $ docker exec 4801178135f6e8387d8076c710689016ac2fa1a96aa390cc92624023b728104e ssh-agent 06:22:46 SSH_AUTH_SOCK=/tmp/ssh-PgUSxMuopk2a/agent.32 06:22:46 SSH_AGENT_PID=38 06:22:46 Running ssh-add (command line suppressed) 06:22:46 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/private_key_8250700820253340476.key (/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/private_key_8250700820253340476.key) 06:22:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:22:47 + git tag --points-at HEAD [Pipeline] } 06:22:47 $ docker exec --env ******** --env ******** 4801178135f6e8387d8076c710689016ac2fa1a96aa390cc92624023b728104e ssh-agent -k 06:22:47 unset SSH_AUTH_SOCK; 06:22:47 unset SSH_AGENT_PID; 06:22:47 echo Agent pid 38 killed; 06:22:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:22:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:22:47 [ssh-agent] Looking for ssh-agent implementation... 06:22:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:22:47 $ docker exec 4801178135f6e8387d8076c710689016ac2fa1a96aa390cc92624023b728104e ssh-agent 06:22:47 SSH_AUTH_SOCK=/tmp/ssh-2ioYnRAfPSdY/agent.71 06:22:47 SSH_AGENT_PID=77 06:22:47 Running ssh-add (command line suppressed) 06:22:47 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/private_key_17763852541918544185.key (/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/private_key_17763852541918544185.key) 06:22:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:22:48 + git semver init 06:22:48 2024-12-06 06:22:48,211 [run_init] DEBUG init version:0.0.0 force:False 06:22:48 2024-12-06 06:22:48,212 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver 06:22:48 2024-12-06 06:22:48,212 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver 06:22:48 2024-12-06 06:22:48,213 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-530, universal_newlines=False, shell=None, istream=None) 06:22:49 2024-12-06 06:22:49,070 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530/.git/info/exclude 06:22:49 2024-12-06 06:22:49,070 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver/PR-530 with force:False 06:22:49 2024-12-06 06:22:49,071 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver/PR-530 06:22:49 2024-12-06 06:22:49,075 [execute] INFO git cat-file --batch-check 06:22:49 2024-12-06 06:22:49,075 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver, universal_newlines=False, shell=None, istream=) 06:22:49 2024-12-06 06:22:49,082 [execute] INFO git cat-file --batch 06:22:49 2024-12-06 06:22:49,083 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver, universal_newlines=False, shell=None, istream=) 06:22:49 2024-12-06 06:22:49,088 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver/PR-530 06:22:49 0.0.0 [Pipeline] } 06:22:49 $ docker exec --env ******** --env ******** 4801178135f6e8387d8076c710689016ac2fa1a96aa390cc92624023b728104e ssh-agent -k 06:22:49 unset SSH_AUTH_SOCK; 06:22:49 unset SSH_AGENT_PID; 06:22:49 echo Agent pid 77 killed; 06:22:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:22:49 + git semver [Pipeline] } 06:22:49 $ docker stop --time=1 4801178135f6e8387d8076c710689016ac2fa1a96aa390cc92624023b728104e 06:22:51 $ docker rm -f --volumes 4801178135f6e8387d8076c710689016ac2fa1a96aa390cc92624023b728104e [Pipeline] // withDockerContainer [Pipeline] sh 06:22:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:22:51 Stashed 1 file(s) [Pipeline] echo 06:22:51 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:22:52 provisioning config files... [Pipeline] // stage [Pipeline] } 06:22:52 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/config16216749607036908292tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 06:22:52 ---> ****-login.sh 06:22:52 nexus3.edgexfoundry.org:10001 06:22:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:22:52 Configure a credential helper to remove this warning. See 06:22:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:22:52 06:22:52 Login Succeeded 06:22:52 nexus3.edgexfoundry.org:10002 06:22:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:22:52 Configure a credential helper to remove this warning. See 06:22:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:22:52 06:22:52 Login Succeeded 06:22:52 nexus3.edgexfoundry.org:10003 06:22:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:22:52 Configure a credential helper to remove this warning. See 06:22:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:22:52 06:22:52 Login Succeeded 06:22:52 nexus3.edgexfoundry.org:10004 06:22:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:22:52 Configure a credential helper to remove this warning. See 06:22:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:22:52 06:22:52 Login Succeeded 06:22:52 ****.io 06:22:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:22:52 Configure a credential helper to remove this warning. See 06:22:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:22:52 06:22:52 Login Succeeded 06:22:52 ---> ****-login.sh ends [Pipeline] } 06:22:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:22:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:22:53 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 06:22:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:22:53 ========================================================= 06:22:53 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 06:22:53 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:53 + 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 . 06:22:53 Sending build context to Docker daemon 5.211MB 06:22:53 Step 1/22 : ARG BASE=alpine:3.18 06:22:53 Step 2/22 : FROM ${BASE} as builder 06:22:53 latest: Pulling from edgex-devops/edgex-gcc-base 06:22:53 96526aa774ef: Pulling fs layer 06:22:53 da60e534fd72: Pulling fs layer 06:22:53 96526aa774ef: Verifying Checksum 06:22:53 96526aa774ef: Download complete 06:22:53 96526aa774ef: Pull complete 06:22:54 da60e534fd72: Download complete 06:22:57 da60e534fd72: Pull complete 06:22:57 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 06:22:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 06:22:57 ---> 6605166a5db4 06:22:57 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 06:22:59 ---> Running in a08912780a57 06:23:00 Connecting to iotech.jfrog.io (54.73.4.50:443) 06:23:00 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 06:23:00 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 06:23:00 '/etc/apk/keys/alpine.dev.rsa.pub' saved 06:23:00 Removing intermediate container a08912780a57 06:23:00 ---> 0daace4b4f36 06:23:00 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 06:23:00 ---> Running in 40ad0e3a11ee 06:23:01 Removing intermediate container 40ad0e3a11ee 06:23:01 ---> c8fdb83c91bf 06:23:01 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 06:23:01 ---> Running in 533da94d3629 06:23:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:23:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:23:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 06:23:02 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:23:02 (1/15) Installing libcbor (0.10.2-r1) 06:23:02 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 06:23:03 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 06:23:03 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 06:23:03 (5/15) Installing libcbor-dev (0.10.2-r1) 06:23:03 (6/15) Installing libmenuw (6.4_p20230506-r0) 06:23:03 (7/15) Installing libpanelw (6.4_p20230506-r0) 06:23:03 (8/15) Installing libncurses++ (6.4_p20230506-r0) 06:23:03 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 06:23:03 (10/15) Installing libblkid (2.38.1-r8) 06:23:03 (11/15) Installing libuuid (2.38.1-r8) 06:23:03 (12/15) Installing libfdisk (2.38.1-r8) 06:23:03 (13/15) Installing libmount (2.38.1-r8) 06:23:03 (14/15) Installing libsmartcols (2.38.1-r8) 06:23:03 (15/15) Installing util-linux-dev (2.38.1-r8) 06:23:03 Executing busybox-1.36.1-r4.trigger 06:23:03 OK: 336 MiB in 97 packages 06:23:04 Removing intermediate container 533da94d3629 06:23:04 ---> e5bb452cb9f8 06:23:04 Step 6/22 : RUN mkdir /tmp/sdk 06:23:04 ---> Running in 9b24a07b472c 06:23:05 Removing intermediate container 9b24a07b472c 06:23:05 ---> 0190cd6f0767 06:23:05 Step 7/22 : COPY VERSION /tmp/sdk 06:23:05 ---> 5c878a543d18 06:23:05 Step 8/22 : COPY src /tmp/sdk/src 06:23:05 ---> 68d33fa6aa1e 06:23:05 Step 9/22 : COPY include /tmp/sdk/include 06:23:05 ---> dfe27e9751c0 06:23:05 Step 10/22 : COPY scripts /tmp/sdk/scripts 06:23:05 ---> aafad2ce9638 06:23:05 Step 11/22 : COPY LICENSE /tmp/sdk 06:23:05 ---> 0719cb59d74a 06:23:05 Step 12/22 : COPY Attribution.txt /tmp/sdk 06:23:06 ---> e12585a81654 06:23:06 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 06:23:06 ---> Running in 0f8782794595 06:23:06 + CPPCHECK=false 06:23:06 + DOCGEN=false 06:23:06 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 06:23:06 + '[' 0 -gt 0 ] 06:23:06 + readlink -f ./scripts/build.sh 06:23:06 + dirname /tmp/sdk/scripts/build.sh 06:23:06 + dirname /tmp/sdk/scripts 06:23:06 + ROOT=/tmp/sdk 06:23:06 + cd /tmp/sdk 06:23:06 + mkdir -p /tmp/sdk/build/release 06:23:06 + cd /tmp/sdk/build/release 06:23:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 06:23:06 -- The C compiler identification is GNU 12.2.1 06:23:06 -- Detecting C compiler ABI info 06:23:06 -- Detecting C compiler ABI info - done 06:23:06 -- Check for working C compiler: /usr/bin/cc - skipped 06:23:06 -- Detecting C compile features 06:23:06 -- Detecting C compile features - done 06:23:06 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:23:06 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 06:23:06 -- Found LIBYAML: /usr/lib/libyaml.so 06:23:06 -- Found LIBUUID: /usr/lib/libuuid.so 06:23:06 -- Found LIBCBOR: /usr/lib/libcbor.so 06:23:06 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:23:06 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 06:23:06 -- /opt/iotech/iot/1.5/include 06:23:06 -- C SDK 0.0.0 for Linux 06:23:06 -- Performing Test CSDK_HAVE_ATOMIC 06:23:06 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:23:06 -- Found Curses: /usr/lib/libcurses.so 06:23:06 -- Configuring done (0.4s) 06:23:06 -- Generating done (0.0s) 06:23:06 -- Build files have been written to: /tmp/sdk/build/release 06:23:06 + make all package 06:23:06 + tee release.log 06:23:06 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:23:06 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 06:23:06 from /tmp/sdk/src/c/service.h:12, 06:23:06 from /tmp/sdk/src/c/autoevent.h:12, 06:23:06 from /tmp/sdk/src/c/autoevent.c:9: 06:23:06 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 06:23:06 /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 06:23:06 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:23:06 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:06 | | 06:23:06 | size_t {aka long unsigned int} 06:23:06 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 06:23:06 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 06:23:06 | ^~~~~~~~~~~ 06:23:06 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 06:23:06 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:23:06 | ~^ 06:23:06 | | 06:23:06 | int 06:23:06 | %ld 06:23:07 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 06:23:07 [ 6%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 06:23:07 [ 8%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 06:23:07 [ 10%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:23:07 [ 12%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:23:07 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:23:07 [ 16%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:23:08 [ 18%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:23:08 [ 20%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:23:08 [ 22%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:23:08 [ 24%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:23:08 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 06:23:08 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:23:09 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:23:09 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:23:09 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 06:23:09 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 06:23:09 from /tmp/sdk/src/c/registry.h:14, 06:23:09 from /tmp/sdk/src/c/registry-impl.h:12, 06:23:09 from /tmp/sdk/src/c/keeper.h:12, 06:23:09 from /tmp/sdk/src/c/keeper.c:1: 06:23:09 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 06:23:09 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 06:23:09 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 06:23:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:09 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 06:23:09 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 06:23:09 | ^~~~~~~~~~~ 06:23:09 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 06:23:09 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 06:23:09 | ~^ 06:23:09 | | 06:23:09 | char * 06:23:09 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:23:09 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:23:09 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:23:10 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:23:10 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:23:10 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:23:10 [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 06:23:11 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:23:11 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:23:11 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 06:23:11 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 06:23:12 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 06:23:12 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:23:12 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 06:23:12 /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:23:12 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 06:23:12 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:12 /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:23:12 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 06:23:12 | ^ 06:23:12 /tmp/sdk/src/c/service.c:969:27: error: too few arguments to function 'devsdk_registry_get_keeper' 06:23:12 969 | svc->registry = devsdk_registry_get_keeper (); 06:23:12 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:12 In file included from /tmp/sdk/src/c/service.h:13, 06:23:12 from /tmp/sdk/src/c/service.c:9: 06:23:12 /tmp/sdk/src/c/registry.h:29:20: note: declared here 06:23:12 29 | devsdk_registry_t *devsdk_registry_get_keeper (devsdk_service_t *service); 06:23:12 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:12 /tmp/sdk/src/c/service.c:973:27: error: too few arguments to function 'devsdk_registry_get_keeper' 06:23:12 973 | svc->registry = devsdk_registry_get_keeper (); 06:23:12 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:12 /tmp/sdk/src/c/registry.h:29:20: note: declared here 06:23:12 29 | devsdk_registry_t *devsdk_registry_get_keeper (devsdk_service_t *service); 06:23:12 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:12 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 06:23:12 from /tmp/sdk/src/c/service.h:12: 06:23:12 /tmp/sdk/src/c/service.c:1095:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 06:23:12 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 06:23:12 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:12 | | 06:23:12 | uint64_t {aka long unsigned int} 06:23:12 /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' 06:23:12 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) 06:23:12 | ^~~~~~~~~~~ 06:23:12 /tmp/sdk/src/c/service.c:1095:54: note: format string is defined here 06:23:12 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 06:23:12 | ~^ 06:23:12 | | 06:23:12 | int 06:23:12 | %ld 06:23:12 /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': 06:23:12 /tmp/sdk/src/c/service.c:1158:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 06:23:12 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:23:12 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:12 | | 06:23:12 | size_t {aka long unsigned int} 06:23:12 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 06:23:12 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 06:23:12 | ^~~~~~~~~~~ 06:23:12 /tmp/sdk/src/c/service.c:1158:66: note: format string is defined here 06:23:12 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:23:12 | ~^ 06:23:12 | | 06:23:12 | int 06:23:12 | %ld 06:23:12 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:482: c/CMakeFiles/csdk.dir/service.c.o] Error 1 06:23:12 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 06:23:12 make: *** [Makefile:156: all] Error 2 06:23:12 + '[' false '=' true ] 06:23:12 + '[' false '=' true ] 06:23:12 + mkdir -p /tmp/sdk/build/debug 06:23:12 + cd /tmp/sdk/build/debug 06:23:12 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 06:23:12 -- The C compiler identification is GNU 12.2.1 06:23:12 -- Detecting C compiler ABI info 06:23:12 -- Detecting C compiler ABI info - done 06:23:12 -- Check for working C compiler: /usr/bin/cc - skipped 06:23:12 -- Detecting C compile features 06:23:12 -- Detecting C compile features - done 06:23:12 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:23:12 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 06:23:12 -- Found LIBYAML: /usr/lib/libyaml.so 06:23:12 -- Found LIBUUID: /usr/lib/libuuid.so 06:23:12 -- Found LIBCBOR: /usr/lib/libcbor.so 06:23:12 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:23:12 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 06:23:12 -- /opt/iotech/iot/1.5/include 06:23:12 -- C SDK 0.0.0 for Linux 06:23:12 -- Performing Test CSDK_HAVE_ATOMIC 06:23:12 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:23:12 -- Found Curses: /usr/lib/libcurses.so 06:23:12 -- Configuring done (0.4s) 06:23:12 -- Generating done (0.0s) 06:23:12 -- Build files have been written to: /tmp/sdk/build/debug 06:23:12 + make 06:23:12 + tee debug.log 06:23:12 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:23:12 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 06:23:12 from /tmp/sdk/src/c/service.h:12, 06:23:12 from /tmp/sdk/src/c/autoevent.h:12, 06:23:12 from /tmp/sdk/src/c/autoevent.c:9: 06:23:12 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 06:23:12 /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 06:23:12 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:23:12 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:12 | | 06:23:12 | size_t {aka long unsigned int} 06:23:12 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 06:23:12 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 06:23:12 | ^~~~~~~~~~~ 06:23:12 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 06:23:12 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:23:12 | ~^ 06:23:12 | | 06:23:12 | int 06:23:12 | %ld 06:23:12 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 06:23:12 [ 6%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 06:23:12 [ 8%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 06:23:12 [ 10%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:23:13 [ 12%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:23:13 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:23:13 [ 16%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:23:13 [ 18%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:23:13 [ 20%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:23:13 [ 22%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:23:13 [ 24%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:23:13 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 06:23:13 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:23:13 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:23:13 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:23:13 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 06:23:13 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 06:23:13 from /tmp/sdk/src/c/registry.h:14, 06:23:13 from /tmp/sdk/src/c/registry-impl.h:12, 06:23:13 from /tmp/sdk/src/c/keeper.h:12, 06:23:13 from /tmp/sdk/src/c/keeper.c:1: 06:23:13 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 06:23:13 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 06:23:13 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 06:23:13 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:13 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 06:23:13 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 06:23:13 | ^~~~~~~~~~~ 06:23:13 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 06:23:13 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 06:23:13 | ~^ 06:23:13 | | 06:23:13 | char * 06:23:13 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:23:14 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:23:14 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:23:14 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:23:14 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:23:14 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:23:14 [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 06:23:14 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:23:14 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:23:14 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 06:23:14 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 06:23:14 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 06:23:15 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:23:15 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 06:23:15 /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:23:15 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 06:23:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:15 /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:23:15 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 06:23:15 | ^ 06:23:15 /tmp/sdk/src/c/service.c:969:27: error: too few arguments to function 'devsdk_registry_get_keeper' 06:23:15 969 | svc->registry = devsdk_registry_get_keeper (); 06:23:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:15 In file included from /tmp/sdk/src/c/service.h:13, 06:23:15 from /tmp/sdk/src/c/service.c:9: 06:23:15 /tmp/sdk/src/c/registry.h:29:20: note: declared here 06:23:15 29 | devsdk_registry_t *devsdk_registry_get_keeper (devsdk_service_t *service); 06:23:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:15 /tmp/sdk/src/c/service.c:973:27: error: too few arguments to function 'devsdk_registry_get_keeper' 06:23:15 973 | svc->registry = devsdk_registry_get_keeper (); 06:23:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:15 /tmp/sdk/src/c/registry.h:29:20: note: declared here 06:23:15 29 | devsdk_registry_t *devsdk_registry_get_keeper (devsdk_service_t *service); 06:23:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:15 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 06:23:15 from /tmp/sdk/src/c/service.h:12: 06:23:15 /tmp/sdk/src/c/service.c:1095:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 06:23:15 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 06:23:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:15 | | 06:23:15 | uint64_t {aka long unsigned int} 06:23:15 /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' 06:23:15 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) 06:23:15 | ^~~~~~~~~~~ 06:23:15 /tmp/sdk/src/c/service.c:1095:54: note: format string is defined here 06:23:15 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 06:23:15 | ~^ 06:23:15 | | 06:23:15 | int 06:23:15 | %ld 06:23:15 /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': 06:23:15 /tmp/sdk/src/c/service.c:1158:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 06:23:15 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:23:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:15 | | 06:23:15 | size_t {aka long unsigned int} 06:23:15 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 06:23:15 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 06:23:15 | ^~~~~~~~~~~ 06:23:15 /tmp/sdk/src/c/service.c:1158:66: note: format string is defined here 06:23:15 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:23:15 | ~^ 06:23:15 | | 06:23:15 | int 06:23:15 | %ld 06:23:15 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:482: c/CMakeFiles/csdk.dir/service.c.o] Error 1 06:23:15 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 06:23:15 make: *** [Makefile:156: all] Error 2 06:23:15 make: Entering directory '/tmp/sdk/build/release' 06:23:15 [ 2%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:23:15 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 06:23:15 /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:23:15 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 06:23:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:15 /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:23:15 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 06:23:15 | ^ 06:23:15 /tmp/sdk/src/c/service.c:969:27: error: too few arguments to function 'devsdk_registry_get_keeper' 06:23:15 969 | svc->registry = devsdk_registry_get_keeper (); 06:23:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:15 In file included from /tmp/sdk/src/c/service.h:13, 06:23:15 from /tmp/sdk/src/c/service.c:9: 06:23:15 /tmp/sdk/src/c/registry.h:29:20: note: declared here 06:23:15 29 | devsdk_registry_t *devsdk_registry_get_keeper (devsdk_service_t *service); 06:23:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:15 /tmp/sdk/src/c/service.c:973:27: error: too few arguments to function 'devsdk_registry_get_keeper' 06:23:15 973 | svc->registry = devsdk_registry_get_keeper (); 06:23:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:15 /tmp/sdk/src/c/registry.h:29:20: note: declared here 06:23:15 29 | devsdk_registry_t *devsdk_registry_get_keeper (devsdk_service_t *service); 06:23:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:15 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 06:23:15 from /tmp/sdk/src/c/service.h:12: 06:23:15 /tmp/sdk/src/c/service.c:1095:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 06:23:15 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 06:23:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:15 | | 06:23:15 | uint64_t {aka long unsigned int} 06:23:15 /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' 06:23:15 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) 06:23:15 | ^~~~~~~~~~~ 06:23:15 /tmp/sdk/src/c/service.c:1095:54: note: format string is defined here 06:23:15 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 06:23:15 | ~^ 06:23:15 | | 06:23:15 | int 06:23:15 | %ld 06:23:15 /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': 06:23:15 /tmp/sdk/src/c/service.c:1158:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 06:23:15 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:23:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:23:15 | | 06:23:15 | size_t {aka long unsigned int} 06:23:15 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 06:23:15 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 06:23:15 | ^~~~~~~~~~~ 06:23:15 /tmp/sdk/src/c/service.c:1158:66: note: format string is defined here 06:23:15 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:23:15 | ~^ 06:23:15 | | 06:23:15 | int 06:23:15 | %ld 06:23:15 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:482: c/CMakeFiles/csdk.dir/service.c.o] Error 1 06:23:15 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 06:23:15 make: Leaving directory '/tmp/sdk/build/release' 06:23:15 make: *** [Makefile:156: all] Error 2 06:23:15 The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:23:16 06:23:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:23:16 latest: Pulling from edgex-lftools-log-publisher 06:23:16 5eb5b503b376: Pulling fs layer 06:23:16 5c69ac0246d0: Pulling fs layer 06:23:16 ec43610c2a17: Pulling fs layer 06:23:16 3a2ae6a8a46f: Pulling fs layer 06:23:16 33b1e0a273af: Pulling fs layer 06:23:16 5d3b04190fa2: Pulling fs layer 06:23:16 2f39f015ded8: Pulling fs layer 06:23:16 5d3b04190fa2: Waiting 06:23:16 2f39f015ded8: Waiting 06:23:16 3a2ae6a8a46f: Waiting 06:23:16 5c69ac0246d0: Verifying Checksum 06:23:16 5c69ac0246d0: Download complete 06:23:16 3a2ae6a8a46f: Verifying Checksum 06:23:16 3a2ae6a8a46f: Download complete 06:23:16 33b1e0a273af: Verifying Checksum 06:23:16 33b1e0a273af: Download complete 06:23:16 5d3b04190fa2: Verifying Checksum 06:23:16 5d3b04190fa2: Download complete 06:23:16 ec43610c2a17: Verifying Checksum 06:23:16 ec43610c2a17: Download complete 06:23:16 5eb5b503b376: Verifying Checksum 06:23:16 5eb5b503b376: Download complete 06:23:17 2f39f015ded8: Download complete 06:23:17 5eb5b503b376: Pull complete 06:23:18 5c69ac0246d0: Pull complete 06:23:18 ec43610c2a17: Pull complete 06:23:18 3a2ae6a8a46f: Pull complete 06:23:19 33b1e0a273af: Pull complete 06:23:19 5d3b04190fa2: Pull complete 06:23:24 2f39f015ded8: Pull complete 06:23:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:23:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:23:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:24 prd-ubuntu20.04-docker-8c-8g-34604 does not seem to be running inside a container 06:23:24 $ 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-530 -v /w/workspace/edgexfoundry_device-sdk-c_PR-530:/w/workspace/edgexfoundry_device-sdk-c_PR-530:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-530@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 06:23:28 $ docker top 7a794b8dc1f8042ebba3270bad5362a79c332fb2fd85f3a942f9aab4af4afa78 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:23:29 ---> job-cost.sh 06:23:29 lf-activate-venv: SKIPPING 06:23:29 INFO: No Stack... 06:23:29 INFO: Retrieving Pricing Info for: v3-standard-8 06:23:29 INFO: Archiving Costs [Pipeline] sh 06:23:30 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives/cost.csv 06:23:30 + cut -d, -f6 [Pipeline] lock 06:23:30 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-530-2-stack-cost] 06:23:30 Resource [jenkins-edgexfoundry-device-sdk-c-PR-530-2-stack-cost] did not exist. Created. 06:23:30 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-530-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:23:30 + echo total: 0.2199999988079071 [Pipeline] stash 06:23:30 Stashed 1 file(s) [Pipeline] } 06:23:30 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-530-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:23:30 $ docker stop --time=1 7a794b8dc1f8042ebba3270bad5362a79c332fb2fd85f3a942f9aab4af4afa78 06:23:31 $ docker rm -f --volumes 7a794b8dc1f8042ebba3270bad5362a79c332fb2fd85f3a942f9aab4af4afa78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:23:31 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [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 06:23:32 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives ] 06:23:32 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives 06:23:32 total 16 06:23:32 drwxr-xr-x 3 root root 4096 Dec 6 06:23 . 06:23:32 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 06:23 .. 06:23:32 drwxr-xr-x 2 root root 4096 Dec 6 06:23 cost 06:23:32 -rw-r--r-- 1 root root 84 Dec 6 06:23 cost.csv 06:23:32 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives 06:23:32 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives 06:23:32 total 16 06:23:32 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 06:23 . 06:23:32 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 06:23 .. 06:23:32 drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 06:23 cost 06:23:32 -rw-r--r-- 1 jenkins jenkins 84 Dec 6 06:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:23:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:23:33 ---> package-listing.sh 06:23:33 ++ facter osfamily 06:23:33 ++ tr '[:upper:]' '[:lower:]' 06:23:33 + OS_FAMILY=debian 06:23:33 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-530 06:23:33 + START_PACKAGES=/tmp/packages_start.txt 06:23:33 + END_PACKAGES=/tmp/packages_end.txt 06:23:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:23:33 + PACKAGES=/tmp/packages_start.txt 06:23:33 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-530 ']' 06:23:33 + PACKAGES=/tmp/packages_end.txt 06:23:33 + case "${OS_FAMILY}" in 06:23:33 + dpkg -l 06:23:33 + grep '^ii' 06:23:33 + '[' -f /tmp/packages_start.txt ']' 06:23:33 + '[' -f /tmp/packages_end.txt ']' 06:23:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:23:33 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-530 ']' 06:23:33 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives/ 06:23:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives/ [Pipeline] echo 06:23:33 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-530/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:23:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:23:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:34 prd-ubuntu20.04-docker-8c-8g-34604 does not seem to be running inside a container 06:23:34 $ 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-530/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-530 -v /w/workspace/edgexfoundry_device-sdk-c_PR-530:/w/workspace/edgexfoundry_device-sdk-c_PR-530:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-530@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 06:23:35 $ docker top 07aad13487c270f697e21cee3e11676b3e1a2374304d95ce75bc0fdea5169af8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:23:35 + touch /tmp/pre-build-complete [Pipeline] sh 06:23:35 + mkdir -p /var/log/sysstat [Pipeline] sh 06:23:36 + ls /var/log/sa-host 06:23:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:23:36 provisioning config files... 06:23:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/config13954522418061954672tmp [Pipeline] { [Pipeline] echo 06:23:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:23:36 ---> create-netrc.sh [Pipeline] } 06:23:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:23:36 ---> python-tools-install.sh [Pipeline] echo 06:23:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:23:37 ---> sudo-logs.sh 06:23:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:23:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:23:37 ---> job-cost.sh 06:23:37 lf-activate-venv: SKIPPING 06:23:37 DEBUG: total: 0.2199999988079071 06:23:37 INFO: Retrieving Stack Cost... 06:23:37 INFO: Retrieving Pricing Info for: v3-standard-8 06:23:37 INFO: Archiving Costs [Pipeline] echo 06:23:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:23:37 ---> logs-deploy.sh 06:23:37 lf-activate-venv: SKIPPING 06:23:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-530/2 06:23:37 INFO: archiving workspace using pattern(s): 06:23:38 Archives upload complete. 06:23:38 INFO: archiving logs to Nexus