Pull request #524 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 abfa20f24a2e79ba3c9b9f760f98a6d21b37b743+b4a60c126f741d84c14ee104c3263f3235d33930 (7be877557ddb633f0eaf8f19f44014f3a31c1369) 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-ssh14505524858782304228.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-ssh14296921638056757866.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-524/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-524/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16935785298971849039.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-ssh14572034242432430161.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-524/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-524/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13279744687395092337.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-34465 in /w/workspace/edgexfoundry_device-sdk-c_PR-524 [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-524 # 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 b4a60c126f741d84c14ee104c3263f3235d33930 into PR head commit abfa20f24a2e79ba3c9b9f760f98a6d21b37b743 > 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/524/head:refs/remotes/origin/PR-524 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f abfa20f24a2e79ba3c9b9f760f98a6d21b37b743 # timeout=10 > git remote # timeout=10 Merge succeeded, producing abfa20f24a2e79ba3c9b9f760f98a6d21b37b743 Checking out Revision abfa20f24a2e79ba3c9b9f760f98a6d21b37b743 (PR-524) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b4a60c126f741d84c14ee104c3263f3235d33930 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f abfa20f24a2e79ba3c9b9f760f98a6d21b37b743 # timeout=10 Commit message: "fix: Add support for additional MQTT protocol aliases" First time build. Skipping changelog. > git rev-list --no-walk 1da2e4d038787d952a90e073cb9001a34c045fc8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:30:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:30:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:30:30 ========================================================= 02:30:30 EdgeX Global Pipelines Version Info 02:30:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:30:31 ------------------- 02:30:31 stable info: 02:30:31 ------------------- 02:30:31 Commited By: Cherry Wang cherry@iotechsys.com 02:30:31 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 02:30:31 Message: update stable to v1.0.269 02:30:32 ------------------- 02:30:32 experimental info: 02:30:32 ------------------- 02:30:32 Commited By: **** collab-it+edgex@linuxfoundation.org 02:30:32 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 02:30:32 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-524 [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-524 [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-524 [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = abfa20f24a2e79ba3c9b9f760f98a6d21b37b743 [Pipeline] echo 02:30:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = abfa20f [Pipeline] echo 02:30:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:30:33 provisioning config files... 02:30:33 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp/config3695644428575069112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:33 ---> ****-login.sh 02:30:33 nexus3.edgexfoundry.org:10001 02:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:33 Configure a credential helper to remove this warning. See 02:30:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:33 02:30:33 Login Succeeded 02:30:33 nexus3.edgexfoundry.org:10002 02:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:33 Configure a credential helper to remove this warning. See 02:30:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:33 02:30:33 Login Succeeded 02:30:33 nexus3.edgexfoundry.org:10003 02:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:33 Configure a credential helper to remove this warning. See 02:30:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:33 02:30:33 Login Succeeded 02:30:33 nexus3.edgexfoundry.org:10004 02:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:34 Configure a credential helper to remove this warning. See 02:30:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:34 02:30:34 Login Succeeded 02:30:34 ****.io 02:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:34 Configure a credential helper to remove this warning. See 02:30:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:34 02:30:34 Login Succeeded 02:30:34 ---> ****-login.sh ends [Pipeline] } 02:30:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 02:30:45 + git rev-list -1 --merges abfa20f24a2e79ba3c9b9f760f98a6d21b37b743~1..abfa20f24a2e79ba3c9b9f760f98a6d21b37b743 [Pipeline] echo 02:30:45 -----------> git rev-list -1 --merges abfa20f24a2e79ba3c9b9f760f98a6d21b37b743~1..abfa20f24a2e79ba3c9b9f760f98a6d21b37b743 abfa20f24a2e79ba3c9b9f760f98a6d21b37b743 [false] [Pipeline] sh 02:30:46 + git log --format=format:%s -1 abfa20f24a2e79ba3c9b9f760f98a6d21b37b743 [Pipeline] echo 02:30:46 ========================================================= 02:30:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:30:46 ========================================================= 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 02:30:46 + git rev-list -1 --merges abfa20f24a2e79ba3c9b9f760f98a6d21b37b743~1..abfa20f24a2e79ba3c9b9f760f98a6d21b37b743 [Pipeline] echo 02:30:46 -----------> git rev-list -1 --merges abfa20f24a2e79ba3c9b9f760f98a6d21b37b743~1..abfa20f24a2e79ba3c9b9f760f98a6d21b37b743 abfa20f24a2e79ba3c9b9f760f98a6d21b37b743 [false] [Pipeline] sh 02:30:47 + git log --format=format:%s -1 abfa20f24a2e79ba3c9b9f760f98a6d21b37b743 [Pipeline] echo 02:30:47 ========================================================= 02:30:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:30:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 02:30:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:30:47 + grep -v github /etc/ssh/ssh_known_hosts 02:30:47 + [ -e /tmp/ssh_known_hosts ] 02:30:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:30:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:30:47 + sudo tee -a /etc/ssh/ssh_known_hosts 02:30:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:47 02:30:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:48 0.1.4: Pulling from edgex-devops/py-git-semver 02:30:48 b85a868b505f: Pulling fs layer 02:30:48 e2be974225ed: Pulling fs layer 02:30:48 339a4e72a1f5: Pulling fs layer 02:30:48 988bab9f4d93: Pulling fs layer 02:30:48 1469e6f7b9e6: Pulling fs layer 02:30:48 eaf3925da568: Pulling fs layer 02:30:48 bab4dde63d76: Pulling fs layer 02:30:48 bde34c3a00c8: Pulling fs layer 02:30:48 b352a97aabf1: Pulling fs layer 02:30:48 4872d77fe225: Pulling fs layer 02:30:48 5851b861e8e6: Pulling fs layer 02:30:48 eaf3925da568: Waiting 02:30:48 bab4dde63d76: Waiting 02:30:48 bde34c3a00c8: Waiting 02:30:48 b352a97aabf1: Waiting 02:30:48 4872d77fe225: Waiting 02:30:48 5851b861e8e6: Waiting 02:30:48 988bab9f4d93: Waiting 02:30:48 1469e6f7b9e6: Waiting 02:30:48 e2be974225ed: Verifying Checksum 02:30:48 e2be974225ed: Download complete 02:30:48 988bab9f4d93: Verifying Checksum 02:30:48 988bab9f4d93: Download complete 02:30:48 339a4e72a1f5: Verifying Checksum 02:30:48 339a4e72a1f5: Download complete 02:30:48 eaf3925da568: Verifying Checksum 02:30:48 eaf3925da568: Download complete 02:30:48 1469e6f7b9e6: Verifying Checksum 02:30:48 1469e6f7b9e6: Download complete 02:30:48 bde34c3a00c8: Download complete 02:30:48 b85a868b505f: Verifying Checksum 02:30:48 b85a868b505f: Download complete 02:30:48 4872d77fe225: Download complete 02:30:48 b352a97aabf1: Download complete 02:30:48 5851b861e8e6: Verifying Checksum 02:30:49 bab4dde63d76: Download complete 02:30:50 b85a868b505f: Pull complete 02:30:50 e2be974225ed: Pull complete 02:30:51 339a4e72a1f5: Pull complete 02:30:51 988bab9f4d93: Pull complete 02:30:51 1469e6f7b9e6: Pull complete 02:30:51 eaf3925da568: Pull complete 02:30:52 bab4dde63d76: Pull complete 02:30:52 bde34c3a00c8: Pull complete 02:30:52 b352a97aabf1: Pull complete 02:30:53 4872d77fe225: Pull complete 02:30:53 5851b861e8e6: Pull complete 02:30:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:30:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:30:53 prd-ubuntu20.04-docker-8c-8g-34465 does not seem to be running inside a container 02:30:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-524 -v /w/workspace/edgexfoundry_device-sdk-c_PR-524:/w/workspace/edgexfoundry_device-sdk-c_PR-524:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-524@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 02:30:57 $ docker top 0bf50f9248583d94f76fad5977fdecf198058ef1e872a1f79872517e49a48528 -eo pid,comm 02:30:57 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). 02:30:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:30:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:30:57 [ssh-agent] Looking for ssh-agent implementation... 02:30:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:30:57 $ docker exec 0bf50f9248583d94f76fad5977fdecf198058ef1e872a1f79872517e49a48528 ssh-agent 02:30:57 SSH_AUTH_SOCK=/tmp/ssh-ovX1p3VyrM3c/agent.33 02:30:57 SSH_AGENT_PID=39 02:30:57 Running ssh-add (command line suppressed) 02:30:57 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp/private_key_17962233080171233207.key (/w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp/private_key_17962233080171233207.key) 02:30:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:30:57 + git tag --points-at HEAD [Pipeline] } 02:30:57 $ docker exec --env ******** --env ******** 0bf50f9248583d94f76fad5977fdecf198058ef1e872a1f79872517e49a48528 ssh-agent -k 02:30:58 unset SSH_AUTH_SOCK; 02:30:58 unset SSH_AGENT_PID; 02:30:58 echo Agent pid 39 killed; 02:30:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:30:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:30:58 [ssh-agent] Looking for ssh-agent implementation... 02:30:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:30:58 $ docker exec 0bf50f9248583d94f76fad5977fdecf198058ef1e872a1f79872517e49a48528 ssh-agent 02:30:58 SSH_AUTH_SOCK=/tmp/ssh-0p3fKEifOXxv/agent.73 02:30:58 SSH_AGENT_PID=79 02:30:58 Running ssh-add (command line suppressed) 02:30:58 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp/private_key_668958168123553139.key (/w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp/private_key_668958168123553139.key) 02:30:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:30:58 + git semver init 02:30:59 2024-12-04 02:30:58,923 [run_init] DEBUG init version:0.0.0 force:False 02:30:59 2024-12-04 02:30:58,924 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-524/.semver 02:30:59 2024-12-04 02:30:58,924 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-524/.semver 02:30:59 2024-12-04 02:30:58,924 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-524/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-524, universal_newlines=False, shell=None, istream=None) 02:30:59 2024-12-04 02:30:59,716 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-524/.git/info/exclude 02:30:59 2024-12-04 02:30:59,717 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-524/.semver/PR-524 with force:False 02:30:59 2024-12-04 02:30:59,717 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-524/.semver/PR-524 02:30:59 2024-12-04 02:30:59,721 [execute] INFO git cat-file --batch-check 02:30:59 2024-12-04 02:30:59,721 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-524/.semver, universal_newlines=False, shell=None, istream=) 02:30:59 2024-12-04 02:30:59,727 [execute] INFO git cat-file --batch 02:30:59 2024-12-04 02:30:59,727 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-524/.semver, universal_newlines=False, shell=None, istream=) 02:30:59 2024-12-04 02:30:59,732 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-524/.semver/PR-524 02:30:59 0.0.0 [Pipeline] } 02:30:59 $ docker exec --env ******** --env ******** 0bf50f9248583d94f76fad5977fdecf198058ef1e872a1f79872517e49a48528 ssh-agent -k 02:31:00 unset SSH_AUTH_SOCK; 02:31:00 unset SSH_AGENT_PID; 02:31:00 echo Agent pid 79 killed; 02:31:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:31:00 + git semver [Pipeline] } 02:31:00 $ docker stop --time=1 0bf50f9248583d94f76fad5977fdecf198058ef1e872a1f79872517e49a48528 02:31:02 $ docker rm -f --volumes 0bf50f9248583d94f76fad5977fdecf198058ef1e872a1f79872517e49a48528 [Pipeline] // withDockerContainer [Pipeline] sh 02:31:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:31:02 Stashed 1 file(s) [Pipeline] echo 02:31:02 [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 02:31:03 provisioning config files... [Pipeline] // stage [Pipeline] } 02:31:03 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp/config16007014795963740564tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 02:31:03 ---> ****-login.sh 02:31:03 nexus3.edgexfoundry.org:10001 02:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:03 Configure a credential helper to remove this warning. See 02:31:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:03 02:31:03 Login Succeeded 02:31:03 nexus3.edgexfoundry.org:10002 02:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:03 Configure a credential helper to remove this warning. See 02:31:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:03 02:31:03 Login Succeeded 02:31:03 nexus3.edgexfoundry.org:10003 02:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:03 Configure a credential helper to remove this warning. See 02:31:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:03 02:31:03 Login Succeeded 02:31:03 nexus3.edgexfoundry.org:10004 02:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:03 Configure a credential helper to remove this warning. See 02:31:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:03 02:31:03 Login Succeeded 02:31:03 ****.io 02:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:03 Configure a credential helper to remove this warning. See 02:31:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:03 02:31:03 Login Succeeded 02:31:03 ---> ****-login.sh ends [Pipeline] } 02:31:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:31:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:31:04 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 02:31:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:31:04 ========================================================= 02:31:04 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 02:31:04 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:04 + 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 . 02:31:04 Sending build context to Docker daemon 5.113MB 02:31:04 Step 1/22 : ARG BASE=alpine:3.18 02:31:04 Step 2/22 : FROM ${BASE} as builder 02:31:04 latest: Pulling from edgex-devops/edgex-gcc-base 02:31:04 96526aa774ef: Pulling fs layer 02:31:04 da60e534fd72: Pulling fs layer 02:31:04 96526aa774ef: Verifying Checksum 02:31:04 96526aa774ef: Download complete 02:31:04 96526aa774ef: Pull complete 02:31:05 da60e534fd72: Verifying Checksum 02:31:05 da60e534fd72: Download complete 02:31:08 da60e534fd72: Pull complete 02:31:08 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 02:31:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 02:31:08 ---> 6605166a5db4 02:31:08 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 02:31:11 ---> Running in 884fc64c1e64 02:31:11 Connecting to iotech.jfrog.io (34.246.139.145:443) 02:31:12 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:31:12 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:31:12 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:31:12 Removing intermediate container 884fc64c1e64 02:31:12 ---> 05d2a1bbeb23 02:31:12 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 02:31:12 ---> Running in a8069bbada41 02:31:13 Removing intermediate container a8069bbada41 02:31:13 ---> e44149046bde 02:31:13 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 02:31:14 ---> Running in 55af7c252844 02:31:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:31:17 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:17 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:31:17 (1/17) Installing hiredis (1.1.0-r2) 02:31:17 (2/17) Installing hiredis-dev (1.1.0-r2) 02:31:17 (3/17) Installing libcbor (0.10.2-r1) 02:31:17 (4/17) Installing iotech-iot-1.5 (1.5.5-r0) 02:31:18 (5/17) Installing iotech-iot-1.5-dev (1.5.5-r0) 02:31:18 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 02:31:18 (7/17) Installing libcbor-dev (0.10.2-r1) 02:31:18 (8/17) Installing libmenuw (6.4_p20230506-r0) 02:31:18 (9/17) Installing libpanelw (6.4_p20230506-r0) 02:31:18 (10/17) Installing libncurses++ (6.4_p20230506-r0) 02:31:18 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 02:31:18 (12/17) Installing libblkid (2.38.1-r8) 02:31:18 (13/17) Installing libuuid (2.38.1-r8) 02:31:18 (14/17) Installing libfdisk (2.38.1-r8) 02:31:18 (15/17) Installing libmount (2.38.1-r8) 02:31:18 (16/17) Installing libsmartcols (2.38.1-r8) 02:31:18 (17/17) Installing util-linux-dev (2.38.1-r8) 02:31:18 Executing busybox-1.36.1-r4.trigger 02:31:18 OK: 336 MiB in 99 packages 02:31:19 Removing intermediate container 55af7c252844 02:31:19 ---> 0c2834aa27f4 02:31:19 Step 6/22 : RUN mkdir /tmp/sdk 02:31:19 ---> Running in 3f286451d305 02:31:21 Removing intermediate container 3f286451d305 02:31:21 ---> 89e9cafd2a8d 02:31:21 Step 7/22 : COPY VERSION /tmp/sdk 02:31:21 ---> e7bf7b6d5a94 02:31:21 Step 8/22 : COPY src /tmp/sdk/src 02:31:21 ---> 955b070038dc 02:31:21 Step 9/22 : COPY include /tmp/sdk/include 02:31:21 ---> cf57f5c7941d 02:31:21 Step 10/22 : COPY scripts /tmp/sdk/scripts 02:31:21 ---> 0dd2103ee859 02:31:21 Step 11/22 : COPY LICENSE /tmp/sdk 02:31:21 ---> de58967ad98f 02:31:21 Step 12/22 : COPY Attribution.txt /tmp/sdk 02:31:21 ---> 470daedd69d5 02:31:21 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 02:31:21 ---> Running in 93b3e1321d40 02:31:22 + CPPCHECK=false 02:31:22 + DOCGEN=false 02:31:22 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 02:31:22 + '[' 0 -gt 0 ] 02:31:22 + readlink -f ./scripts/build.sh 02:31:22 + dirname /tmp/sdk/scripts/build.sh 02:31:22 + dirname /tmp/sdk/scripts 02:31:22 + ROOT=/tmp/sdk 02:31:22 + cd /tmp/sdk 02:31:22 + mkdir -p /tmp/sdk/build/release 02:31:22 + cd /tmp/sdk/build/release 02:31:22 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 02:31:22 -- The C compiler identification is GNU 12.2.1 02:31:22 -- Detecting C compiler ABI info 02:31:22 -- Detecting C compiler ABI info - done 02:31:22 -- Check for working C compiler: /usr/bin/cc - skipped 02:31:22 -- Detecting C compile features 02:31:22 -- Detecting C compile features - done 02:31:22 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:31:22 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 02:31:22 -- Found LIBYAML: /usr/lib/libyaml.so 02:31:22 -- Found LIBUUID: /usr/lib/libuuid.so 02:31:22 -- Found LIBCBOR: /usr/lib/libcbor.so 02:31:22 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:31:22 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 02:31:22 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:31:22 -- /opt/iotech/iot/1.5/include 02:31:22 -- C SDK 0.0.0 for Linux 02:31:22 -- Performing Test CSDK_HAVE_ATOMIC 02:31:22 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:31:22 -- Found Curses: /usr/lib/libcurses.so 02:31:22 -- Configuring done (0.4s) 02:31:22 -- Generating done (0.0s) 02:31:22 -- Build files have been written to: /tmp/sdk/build/release 02:31:22 + make all package 02:31:22 + tee release.log 02:31:22 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:31:22 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 02:31:22 from /tmp/sdk/src/c/service.h:12, 02:31:22 from /tmp/sdk/src/c/autoevent.h:12, 02:31:22 from /tmp/sdk/src/c/autoevent.c:9: 02:31:22 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 02:31:22 /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=] 02:31:22 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 02:31:22 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:31:22 | | 02:31:22 | size_t {aka long unsigned int} 02:31:22 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 02:31:22 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 02:31:22 | ^~~~~~~~~~~ 02:31:22 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 02:31:22 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 02:31:22 | ~^ 02:31:22 | | 02:31:22 | int 02:31:22 | %ld 02:31:22 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:31:22 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 02:31:22 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:31:23 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:31:23 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:31:23 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 02:31:23 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 02:31:23 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 02:31:23 294 | while (privateConfig) 02:31:23 | ^~~~~~~~~~~~~ 02:31:23 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 02:31:23 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 02:31:23 | ^~~~~~~~~~~~~ 02:31:23 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 02:31:23 271 | while (result) 02:31:23 | ^~~~~~ 02:31:23 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 02:31:23 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 02:31:23 | ^~~~~~ 02:31:23 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:31:23 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:31:23 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:31:24 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:31:24 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:31:24 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:31:24 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:31:24 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:31:24 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:31:24 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:31:25 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:31:25 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:31:25 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:31:25 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:31:26 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:31:26 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:31:26 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:31:26 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:31:26 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:31:27 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:31:27 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:31:27 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:31:27 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:31:28 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:31:28 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 02:31:28 /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:31:28 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 02:31:28 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:31:28 /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:31:28 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 02:31:28 | ^ 02:31:28 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 02:31:28 from /tmp/sdk/src/c/service.h:12, 02:31:28 from /tmp/sdk/src/c/service.c:9: 02:31:28 /tmp/sdk/src/c/service.c:1091:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 02:31:28 1091 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 02:31:28 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:31:28 | | 02:31:28 | uint64_t {aka long unsigned int} 02:31:28 /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' 02:31:28 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) 02:31:28 | ^~~~~~~~~~~ 02:31:28 /tmp/sdk/src/c/service.c:1091:54: note: format string is defined here 02:31:28 1091 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 02:31:28 | ~^ 02:31:28 | | 02:31:28 | int 02:31:28 | %ld 02:31:28 /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': 02:31:28 /tmp/sdk/src/c/service.c:1154:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 02:31:28 1154 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 02:31:28 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:31:28 | | 02:31:28 | size_t {aka long unsigned int} 02:31:28 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 02:31:28 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 02:31:28 | ^~~~~~~~~~~ 02:31:28 /tmp/sdk/src/c/service.c:1154:66: note: format string is defined here 02:31:28 1154 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 02:31:28 | ~^ 02:31:28 | | 02:31:28 | int 02:31:28 | %ld 02:31:28 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 02:31:28 /tmp/sdk/src/c/service.c:1074:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 02:31:28 1074 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 02:31:28 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:31:28 /tmp/sdk/src/c/service.c:886:68: note: 'deviceservices_config' was declared here 02:31:28 886 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 02:31:28 | ^~~~~~~~~~~~~~~~~~~~~ 02:31:28 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:31:28 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:31:28 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:31:28 [ 68%] Linking C shared library libcsdk.so 02:31:28 [ 68%] Built target csdk 02:31:28 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:31:28 [ 72%] Linking C executable template 02:31:29 [ 72%] Built target template 02:31:29 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:31:29 [ 76%] Linking C executable device-counter 02:31:29 [ 76%] Built target device-counter 02:31:29 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:31:29 [ 80%] Linking C executable device-random 02:31:29 [ 80%] Built target device-random 02:31:29 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:31:29 [ 84%] Linking C executable device-gyro 02:31:29 [ 84%] Built target device-gyro 02:31:29 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:31:29 [ 88%] Linking C executable device-bitfields 02:31:29 [ 88%] Built target device-bitfields 02:31:29 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:31:29 [ 92%] Linking C executable template-discovery 02:31:29 [ 92%] Built target template-discovery 02:31:29 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:31:30 [ 96%] Linking C executable device-file 02:31:30 [ 96%] Built target device-file 02:31:30 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:31:30 [100%] Linking C executable device-terminal 02:31:30 [100%] Built target device-terminal 02:31:30 Run CPack packaging tool... 02:31:30 CPack: Create package using TGZ 02:31:30 CPack: Install projects 02:31:30 CPack: - Run preinstall target for: Csdk 02:31:30 CPack: - Install project: Csdk [] 02:31:30 CPack: Create package 02:31:30 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 02:31:30 + '[' false '=' true ] 02:31:30 + '[' false '=' true ] 02:31:30 + mkdir -p /tmp/sdk/build/debug 02:31:30 + cd /tmp/sdk/build/debug 02:31:30 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 02:31:30 -- The C compiler identification is GNU 12.2.1 02:31:30 -- Detecting C compiler ABI info 02:31:30 -- Detecting C compiler ABI info - done 02:31:30 -- Check for working C compiler: /usr/bin/cc - skipped 02:31:30 -- Detecting C compile features 02:31:30 -- Detecting C compile features - done 02:31:30 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:31:31 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 02:31:31 -- Found LIBYAML: /usr/lib/libyaml.so 02:31:31 -- Found LIBUUID: /usr/lib/libuuid.so 02:31:31 -- Found LIBCBOR: /usr/lib/libcbor.so 02:31:31 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:31:31 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 02:31:31 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:31:31 -- /opt/iotech/iot/1.5/include 02:31:31 -- C SDK 0.0.0 for Linux 02:31:31 -- Performing Test CSDK_HAVE_ATOMIC 02:31:31 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:31:31 -- Found Curses: /usr/lib/libcurses.so 02:31:31 -- Configuring done (0.4s) 02:31:31 -- Generating done (0.0s) 02:31:31 -- Build files have been written to: /tmp/sdk/build/debug 02:31:31 + make 02:31:31 + tee debug.log 02:31:31 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:31:31 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 02:31:31 from /tmp/sdk/src/c/service.h:12, 02:31:31 from /tmp/sdk/src/c/autoevent.h:12, 02:31:31 from /tmp/sdk/src/c/autoevent.c:9: 02:31:31 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 02:31:31 /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=] 02:31:31 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 02:31:31 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:31:31 | | 02:31:31 | size_t {aka long unsigned int} 02:31:31 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 02:31:31 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 02:31:31 | ^~~~~~~~~~~ 02:31:31 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 02:31:31 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 02:31:31 | ~^ 02:31:31 | | 02:31:31 | int 02:31:31 | %ld 02:31:31 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:31:31 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 02:31:31 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:31:31 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:31:31 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:31:31 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 02:31:31 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:31:31 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:31:31 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:31:32 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:31:32 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:31:32 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:31:32 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:31:32 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:31:32 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:31:32 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:31:32 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:31:32 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:31:32 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:31:32 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:31:32 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:31:33 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:31:33 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:31:33 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:31:33 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:31:33 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:31:33 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:31:33 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:31:33 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:31:33 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:31:33 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 02:31:33 /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:31:33 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 02:31:33 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:31:33 /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:31:33 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 02:31:33 | ^ 02:31:33 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 02:31:33 from /tmp/sdk/src/c/service.h:12, 02:31:33 from /tmp/sdk/src/c/service.c:9: 02:31:33 /tmp/sdk/src/c/service.c:1091:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 02:31:33 1091 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 02:31:33 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:31:33 | | 02:31:33 | uint64_t {aka long unsigned int} 02:31:33 /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' 02:31:33 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) 02:31:33 | ^~~~~~~~~~~ 02:31:33 /tmp/sdk/src/c/service.c:1091:54: note: format string is defined here 02:31:33 1091 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 02:31:33 | ~^ 02:31:33 | | 02:31:33 | int 02:31:33 | %ld 02:31:33 /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': 02:31:33 /tmp/sdk/src/c/service.c:1154:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 02:31:33 1154 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 02:31:33 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:31:33 | | 02:31:33 | size_t {aka long unsigned int} 02:31:33 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 02:31:33 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 02:31:33 | ^~~~~~~~~~~ 02:31:33 /tmp/sdk/src/c/service.c:1154:66: note: format string is defined here 02:31:33 1154 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 02:31:33 | ~^ 02:31:33 | | 02:31:33 | int 02:31:33 | %ld 02:31:34 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:31:34 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:31:34 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:31:34 [ 68%] Linking C shared library libcsdk.so 02:31:34 [ 68%] Built target csdk 02:31:34 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:31:34 [ 72%] Linking C executable template 02:31:34 [ 72%] Built target template 02:31:34 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:31:34 [ 76%] Linking C executable device-counter 02:31:34 [ 76%] Built target device-counter 02:31:34 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:31:34 [ 80%] Linking C executable device-random 02:31:34 [ 80%] Built target device-random 02:31:34 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:31:34 [ 84%] Linking C executable device-gyro 02:31:34 [ 84%] Built target device-gyro 02:31:34 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:31:34 [ 88%] Linking C executable device-bitfields 02:31:34 [ 88%] Built target device-bitfields 02:31:34 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:31:35 [ 92%] Linking C executable template-discovery 02:31:35 [ 92%] Built target template-discovery 02:31:35 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:31:35 [ 96%] Linking C executable device-file 02:31:35 [ 96%] Built target device-file 02:31:35 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:31:35 [100%] Linking C executable device-terminal 02:31:35 [100%] Built target device-terminal 02:31:35 make: Entering directory '/tmp/sdk/build/release' 02:31:35 [ 68%] Built target csdk 02:31:35 [ 72%] Built target template 02:31:35 [ 76%] Built target device-counter 02:31:35 [ 80%] Built target device-random 02:31:35 [ 84%] Built target device-gyro 02:31:35 [ 88%] Built target device-bitfields 02:31:35 [ 92%] Built target template-discovery 02:31:35 [ 96%] Built target device-file 02:31:35 [100%] Built target device-terminal 02:31:35 Install the project... 02:31:35 -- Install configuration: "Release" 02:31:35 -- Installing: /usr/local/lib/libcsdk.so 02:31:35 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 02:31:35 -- Installing: /usr/local/include 02:31:35 -- Installing: /usr/local/include/devsdk 02:31:35 -- Installing: /usr/local/include/devsdk/devsdk.h 02:31:35 -- Installing: /usr/local/include/devsdk/devsdk-base.h 02:31:35 -- Installing: /usr/local/include/edgex 02:31:35 -- Installing: /usr/local/include/edgex/edgex.h 02:31:35 -- Installing: /usr/local/include/edgex/devices.h 02:31:35 -- Installing: /usr/local/include/edgex/profiles.h 02:31:35 -- Installing: /usr/local/include/edgex/edgex-base.h 02:31:35 -- Installing: /usr/local/include/edgex/rest-server.h 02:31:35 -- Installing: /usr/local/include/edgex/csdk-defs.h 02:31:35 -- Installing: /usr/local/share/device-sdk-c/LICENSE 02:31:35 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 02:31:35 make: Leaving directory '/tmp/sdk/build/release' 02:31:36 Removing intermediate container 93b3e1321d40 02:31:36 ---> 1946d1e26766 02:31:36 Step 14/22 : FROM ${BASE} 02:31:36 ---> 6605166a5db4 02:31:36 Step 15/22 : LABEL maintainer="IOTech " 02:31:36 ---> Running in c73ae80a6cf1 02:31:36 Removing intermediate container c73ae80a6cf1 02:31:36 ---> 42af10d52824 02:31:36 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 02:31:36 ---> Running in 378579fe04c9 02:31:36 Connecting to iotech.jfrog.io (54.73.4.50:443) 02:31:37 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:31:37 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:31:37 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:31:37 Removing intermediate container 378579fe04c9 02:31:37 ---> e347fcf80842 02:31:37 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 02:31:37 ---> Running in 4e93a4872242 02:31:38 Removing intermediate container 4e93a4872242 02:31:38 ---> 9a2bf644a8f9 02:31:38 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 02:31:38 ---> Running in 5907208ec502 02:31:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:31:38 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:39 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:31:39 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 02:31:39 (2/10) Installing curl (8.9.1-r1) 02:31:39 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 02:31:39 (4/10) Installing dumb-init (1.2.5-r2) 02:31:39 (5/10) Installing hiredis (1.1.0-r2) 02:31:39 (6/10) Installing hiredis-dev (1.1.0-r2) 02:31:39 (7/10) Installing libcbor (0.10.2-r1) 02:31:39 (8/10) Installing iotech-iot-1.5 (1.5.5-r0) 02:31:40 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 02:31:40 (10/10) Installing libuuid (2.38.1-r8) 02:31:40 Executing busybox-1.36.1-r4.trigger 02:31:40 OK: 331 MiB in 90 packages 02:31:40 Removing intermediate container 5907208ec502 02:31:40 ---> 52bb966e65b9 02:31:40 Step 19/22 : RUN apk --no-cache upgrade 02:31:41 ---> Running in 80d2605e5699 02:31:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:31:41 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:42 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:31:42 Upgrading critical system libraries and apk-tools: 02:31:42 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 02:31:42 Executing busybox-1.36.1-r4.trigger 02:31:42 Continuing the upgrade transaction with new apk-tools: 02:31:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:31:42 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:42 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:31:42 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 02:31:42 Executing busybox-1.36.1-r7.post-upgrade 02:31:42 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 02:31:42 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 02:31:42 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 02:31:42 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 02:31:42 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 02:31:42 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 02:31:42 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 02:31:42 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 02:31:42 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 02:31:42 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 02:31:43 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 02:31:43 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 02:31:43 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 02:31:43 Executing busybox-1.36.1-r7.trigger 02:31:43 Executing ca-certificates-20240226-r0.trigger 02:31:43 OK: 332 MiB in 90 packages 02:31:44 Removing intermediate container 80d2605e5699 02:31:44 ---> e403f376dd52 02:31:44 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 02:31:44 ---> a932c4185f3e 02:31:44 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 02:31:44 ---> fd549c97bf76 02:31:44 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 02:31:44 ---> 2d06a9d993be 02:31:44 Successfully built 2d06a9d993be 02:31:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:45 + docker inspect -f . ci-base-image-x86_64 02:31:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:45 prd-ubuntu20.04-docker-8c-8g-34465 does not seem to be running inside a container 02:31:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-524 -v /w/workspace/edgexfoundry_device-sdk-c_PR-524:/w/workspace/edgexfoundry_device-sdk-c_PR-524:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-524@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 02:31:45 $ docker top 69359d682b1ec072a9f9283ec731e8d0fe1c4795b2f189c794120ede84d6f47e -eo pid,comm [Pipeline] { [Pipeline] sh 02:31:45 + make test 02:31:45 echo "make test" 02:31:45 make test [Pipeline] } 02:31:45 $ docker stop --time=1 69359d682b1ec072a9f9283ec731e8d0fe1c4795b2f189c794120ede84d6f47e 02:31:47 $ docker rm -f --volumes 69359d682b1ec072a9f9283ec731e8d0fe1c4795b2f189c794120ede84d6f47e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:31:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:31:48 + ls -al . 02:31:48 total 212 02:31:48 drwxrwxr-x 9 jenkins jenkins 4096 Dec 4 02:30 . 02:31:48 drwxrwxr-x 4 jenkins jenkins 4096 Dec 4 02:30 .. 02:31:48 drwxrwxr-x 8 jenkins jenkins 4096 Dec 4 02:31 .git 02:31:48 drwxrwxr-x 3 jenkins jenkins 4096 Dec 4 02:30 .github 02:31:48 -rw-rw-r-- 1 jenkins jenkins 176 Dec 4 02:30 .gitignore 02:31:48 drwxr-xr-x 3 jenkins jenkins 4096 Dec 4 02:30 .semver 02:31:48 -rw-rw-r-- 1 jenkins jenkins 2908 Dec 4 02:30 Attribution.txt 02:31:48 -rw-rw-r-- 1 jenkins jenkins 11953 Dec 4 02:30 CHANGELOG.md 02:31:48 -rw-rw-r-- 1 jenkins jenkins 108574 Dec 4 02:30 Doxyfile 02:31:48 -rw-rw-r-- 1 jenkins jenkins 677 Dec 4 02:30 GOVERNANCE.md 02:31:48 -rw-rw-r-- 1 jenkins jenkins 784 Dec 4 02:30 Jenkinsfile 02:31:48 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 4 02:30 LICENSE 02:31:48 -rw-rw-r-- 1 jenkins jenkins 444 Dec 4 02:30 Makefile 02:31:48 -rw-rw-r-- 1 jenkins jenkins 618 Dec 4 02:30 OWNERS.md 02:31:48 -rw-rw-r-- 1 jenkins jenkins 1651 Dec 4 02:30 README.IOT.md 02:31:48 -rw-rw-r-- 1 jenkins jenkins 4215 Dec 4 02:30 README.md 02:31:48 -rw-rw-r-- 1 jenkins jenkins 1245 Dec 4 02:30 README.v3.md 02:31:48 -rw-rw-r-- 1 jenkins jenkins 5 Dec 4 02:31 VERSION 02:31:48 drwxrwxr-x 2 jenkins jenkins 4096 Dec 4 02:30 docs 02:31:48 drwxrwxr-x 4 jenkins jenkins 4096 Dec 4 02:30 include 02:31:48 drwxrwxr-x 2 jenkins jenkins 4096 Dec 4 02:30 scripts 02:31:48 drwxrwxr-x 4 jenkins jenkins 4096 Dec 4 02:30 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:48 + 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=abfa20f24a2e79ba3c9b9f760f98a6d21b37b743 --label arch=amd64 --label version=0.0.0 . 02:31:48 Sending build context to Docker daemon 5.113MB 02:31:48 Step 1/18 : ARG BASE=alpine:3.18 02:31:48 Step 2/18 : FROM ${BASE} 02:31:48 ---> 2d06a9d993be 02:31:48 Step 3/18 : LABEL maintainer="IOTech " 02:31:48 ---> Running in f25403679ad8 02:31:48 Removing intermediate container f25403679ad8 02:31:48 ---> 6ae9a991f2cb 02:31:48 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 02:31:48 ---> Running in 65242ae45bed 02:31:48 Connecting to iotech.jfrog.io (34.246.139.145:443) 02:31:49 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:31:49 alpine.dev.rsa.pub 100% |********************************|  451 0:00:00 ETA 02:31:49 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:31:49 Removing intermediate container 65242ae45bed 02:31:49 ---> 4a58886cbaca 02:31:49 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 02:31:49 ---> Running in 5b4c6705b800 02:31:50 Removing intermediate container 5b4c6705b800 02:31:50 ---> d0a1455f6dd0 02:31:50 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 02:31:50 ---> Running in 51fe8b04aa93 02:31:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:31:50 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:51 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:31:51 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 02:31:51 (2/11) Installing libcbor-dev (0.10.2-r1) 02:31:51 (3/11) Installing libmenuw (6.4_p20230506-r0) 02:31:51 (4/11) Installing libpanelw (6.4_p20230506-r0) 02:31:51 (5/11) Installing libncurses++ (6.4_p20230506-r0) 02:31:51 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 02:31:51 (7/11) Installing libblkid (2.38.1-r8) 02:31:51 (8/11) Installing libfdisk (2.38.1-r8) 02:31:51 (9/11) Installing libmount (2.38.1-r8) 02:31:51 (10/11) Installing libsmartcols (2.38.1-r8) 02:31:51 (11/11) Installing util-linux-dev (2.38.1-r8) 02:31:51 Executing busybox-1.36.1-r7.trigger 02:31:51 OK: 337 MiB in 101 packages 02:31:52 Removing intermediate container 51fe8b04aa93 02:31:52 ---> 88386ed89421 02:31:52 Step 7/18 : RUN apk --no-cache upgrade 02:31:52 ---> Running in 7c061f81f818 02:31:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:31:52 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:53 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:31:53 OK: 337 MiB in 101 packages 02:31:53 Removing intermediate container 7c061f81f818 02:31:53 ---> 59f2983cd2c3 02:31:53 Step 8/18 : COPY VERSION /edgex-c-sdk/ 02:31:53 ---> 130c9930d51a 02:31:53 Step 9/18 : COPY src /edgex-c-sdk/src/ 02:31:53 ---> df3de745686e 02:31:53 Step 10/18 : COPY include /edgex-c-sdk/include/ 02:31:54 ---> 74d8d1f7689b 02:31:54 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 02:31:54 ---> 9a87e24b1c2a 02:31:54 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 02:31:54 ---> d40dbf84c3f0 02:31:54 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 02:31:54 ---> ba51ac05ad7b 02:31:54 Step 14/18 : WORKDIR /edgex-c-sdk 02:31:54 ---> Running in 8b719a47e8c9 02:31:54 Removing intermediate container 8b719a47e8c9 02:31:54 ---> 2b4ed4765da6 02:31:54 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 02:31:54 ---> Running in 4492df702007 02:31:54 Removing intermediate container 4492df702007 02:31:54 ---> 72f75ecb8549 02:31:54 Step 16/18 : LABEL arch=amd64 02:31:54 ---> Running in 7009e5420da1 02:31:54 Removing intermediate container 7009e5420da1 02:31:54 ---> 14785af81199 02:31:54 Step 17/18 : LABEL git_sha=abfa20f24a2e79ba3c9b9f760f98a6d21b37b743 02:31:54 ---> Running in a4c6fa5669c2 02:31:54 Removing intermediate container a4c6fa5669c2 02:31:54 ---> 6ac392c90af7 02:31:54 Step 18/18 : LABEL version=0.0.0 02:31:54 ---> Running in 069a1a1278bc 02:31:54 Removing intermediate container 069a1a1278bc 02:31:54 ---> 2a17e36e0c66 02:31:54 [Warning] One or more build-args [ARCH MAKE] were not consumed 02:31:54 Successfully built 2a17e36e0c66 02:31:54 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 02:31:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:31:55 02:31:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:31:55 latest: Pulling from edgex-lftools-log-publisher 02:31:55 5eb5b503b376: Pulling fs layer 02:31:55 5c69ac0246d0: Pulling fs layer 02:31:55 ec43610c2a17: Pulling fs layer 02:31:55 3a2ae6a8a46f: Pulling fs layer 02:31:55 33b1e0a273af: Pulling fs layer 02:31:55 5d3b04190fa2: Pulling fs layer 02:31:55 2f39f015ded8: Pulling fs layer 02:31:55 5d3b04190fa2: Waiting 02:31:55 2f39f015ded8: Waiting 02:31:55 3a2ae6a8a46f: Waiting 02:31:55 33b1e0a273af: Waiting 02:31:55 5c69ac0246d0: Download complete 02:31:55 3a2ae6a8a46f: Download complete 02:31:55 33b1e0a273af: Verifying Checksum 02:31:55 33b1e0a273af: Download complete 02:31:55 5d3b04190fa2: Verifying Checksum 02:31:55 5d3b04190fa2: Download complete 02:31:55 ec43610c2a17: Verifying Checksum 02:31:55 ec43610c2a17: Download complete 02:31:55 5eb5b503b376: Verifying Checksum 02:31:55 5eb5b503b376: Download complete 02:31:57 5eb5b503b376: Pull complete 02:31:57 5c69ac0246d0: Pull complete 02:31:57 ec43610c2a17: Pull complete 02:31:57 3a2ae6a8a46f: Pull complete 02:31:57 33b1e0a273af: Pull complete 02:31:57 5d3b04190fa2: Pull complete 02:32:02 2f39f015ded8: Pull complete 02:32:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:32:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:02 prd-ubuntu20.04-docker-8c-8g-34465 does not seem to be running inside a container 02:32:02 $ 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-524 -v /w/workspace/edgexfoundry_device-sdk-c_PR-524:/w/workspace/edgexfoundry_device-sdk-c_PR-524:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-524@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 02:32:09 $ docker top 95ca52876fb0328a5d49a25485c2a5fa609523407947d41a953bd18a3766a888 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:09 ---> job-cost.sh 02:32:09 lf-activate-venv: SKIPPING 02:32:09 INFO: No Stack... 02:32:10 INFO: Retrieving Pricing Info for: v3-standard-8 02:32:10 INFO: Archiving Costs [Pipeline] sh 02:32:10 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-524/archives/cost.csv 02:32:10 + cut -d, -f6 [Pipeline] lock 02:32:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-524-3-stack-cost] 02:32:20 Resource [jenkins-edgexfoundry-device-sdk-c-PR-524-3-stack-cost] did not exist. Created. 02:32:20 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-524-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:32:21 + echo total: 0.2199999988079071 [Pipeline] stash 02:32:21 Stashed 1 file(s) [Pipeline] } 02:32:21 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-524-3-stack-cost] [Pipeline] // lock [Pipeline] } 02:32:21 $ docker stop --time=1 95ca52876fb0328a5d49a25485c2a5fa609523407947d41a953bd18a3766a888 02:32:22 $ docker rm -f --volumes 95ca52876fb0328a5d49a25485c2a5fa609523407947d41a953bd18a3766a888 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:32:23 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-524/archives ] 02:32:23 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-524/archives 02:32:23 total 16 02:32:23 drwxr-xr-x 3 root root 4096 Dec 4 02:32 . 02:32:23 drwxrwxr-x 10 jenkins jenkins 4096 Dec 4 02:32 .. 02:32:23 drwxr-xr-x 2 root root 4096 Dec 4 02:32 cost 02:32:23 -rw-r--r-- 1 root root 84 Dec 4 02:32 cost.csv 02:32:23 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-524/archives 02:32:23 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-524/archives 02:32:23 total 16 02:32:23 drwxr-xr-x 3 jenkins jenkins 4096 Dec 4 02:32 . 02:32:23 drwxrwxr-x 10 jenkins jenkins 4096 Dec 4 02:32 .. 02:32:23 drwxr-xr-x 2 jenkins jenkins 4096 Dec 4 02:32 cost 02:32:23 -rw-r--r-- 1 jenkins jenkins 84 Dec 4 02:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:32:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:32:24 ---> package-listing.sh 02:32:24 ++ facter osfamily 02:32:24 ++ tr '[:upper:]' '[:lower:]' 02:32:24 + OS_FAMILY=debian 02:32:24 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-524 02:32:24 + START_PACKAGES=/tmp/packages_start.txt 02:32:24 + END_PACKAGES=/tmp/packages_end.txt 02:32:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:32:24 + PACKAGES=/tmp/packages_start.txt 02:32:24 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-524 ']' 02:32:24 + PACKAGES=/tmp/packages_end.txt 02:32:24 + case "${OS_FAMILY}" in 02:32:24 + dpkg -l 02:32:24 + grep '^ii' 02:32:24 + '[' -f /tmp/packages_start.txt ']' 02:32:24 + '[' -f /tmp/packages_end.txt ']' 02:32:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:32:24 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-524 ']' 02:32:24 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-524/archives/ 02:32:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-524/archives/ [Pipeline] echo 02:32:24 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-524/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:32:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:25 prd-ubuntu20.04-docker-8c-8g-34465 does not seem to be running inside a container 02:32:25 $ 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-524/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-524 -v /w/workspace/edgexfoundry_device-sdk-c_PR-524:/w/workspace/edgexfoundry_device-sdk-c_PR-524:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-524@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 02:32:25 $ docker top d975eab67cc7dd6befcc54daea48a5767c2bc553b1196cb99e6223502e5f0021 -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:26 + touch /tmp/pre-build-complete [Pipeline] sh 02:32:26 + mkdir -p /var/log/sysstat [Pipeline] sh 02:32:26 + ls /var/log/sa-host 02:32:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:32:26 provisioning config files... 02:32:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp/config12701629090233026338tmp [Pipeline] { [Pipeline] echo 02:32:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:32:27 ---> create-netrc.sh [Pipeline] } 02:32:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:32:27 ---> python-tools-install.sh [Pipeline] echo 02:32:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:32:27 ---> sudo-logs.sh 02:32:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:32:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:32:28 ---> job-cost.sh 02:32:28 lf-activate-venv: SKIPPING 02:32:28 DEBUG: total: 0.2199999988079071 02:32:28 INFO: Retrieving Stack Cost... 02:32:28 INFO: Retrieving Pricing Info for: v3-standard-8 02:32:28 INFO: Archiving Costs [Pipeline] echo 02:32:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:32:28 ---> logs-deploy.sh 02:32:28 lf-activate-venv: SKIPPING 02:32:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-524/3 02:32:28 INFO: archiving workspace using pattern(s): 02:32:29 Archives upload complete. 02:32:30 INFO: archiving logs to Nexus 02:32:30 ---> uname -a: 02:32:30 Linux prd-ubuntu20-04-docker-8c-8g-34465 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:32:30 02:32:30 02:32:30 ---> lscpu: 02:32:30 Architecture: x86_64 02:32:30 CPU op-mode(s): 32-bit, 64-bit 02:32:30 Byte Order: Little Endian 02:32:30 Address sizes: 40 bits physical, 48 bits virtual 02:32:30 CPU(s): 8 02:32:30 On-line CPU(s) list: 0-7 02:32:30 Thread(s) per core: 1 02:32:30 Core(s) per socket: 1 02:32:30 Socket(s): 8 02:32:30 NUMA node(s): 1 02:32:30 Vendor ID: AuthenticAMD 02:32:30 CPU family: 23 02:32:30 Model: 49 02:32:30 Model name: AMD EPYC-Rome Processor 02:32:30 Stepping: 0 02:32:30 CPU MHz: 2799.998 02:32:30 BogoMIPS: 5599.99 02:32:30 Virtualization: AMD-V 02:32:30 Hypervisor vendor: KVM 02:32:30 Virtualization type: full 02:32:30 L1d cache: 256 KiB 02:32:30 L1i cache: 256 KiB 02:32:30 L2 cache: 4 MiB 02:32:30 L3 cache: 128 MiB 02:32:30 NUMA node0 CPU(s): 0-7 02:32:30 Vulnerability Itlb multihit: Not affected 02:32:30 Vulnerability L1tf: Not affected 02:32:30 Vulnerability Mds: Not affected 02:32:30 Vulnerability Meltdown: Not affected 02:32:30 Vulnerability Mmio stale data: Not affected 02:32:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:32:30 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:32:30 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:32:30 Vulnerability Srbds: Not affected 02:32:30 Vulnerability Tsx async abort: Not affected 02:32:30 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:32:30 02:32:30 02:32:30 ---> nproc: 02:32:30 8 02:32:30 02:32:30 02:32:30 ---> df -h: 02:32:30 Filesystem Size Used Avail Use% Mounted on 02:32:30 overlay 155G 11G 145G 7% / 02:32:30 tmpfs 64M 0 64M 0% /dev 02:32:30 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:32:30 shm 64M 0 64M 0% /dev/shm 02:32:30 /dev/vda1 155G 11G 145G 7% /facter-os 02:32:30 02:32:30 02:32:30 ---> sar -b -r -n DEV: 02:32:30 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-34465) 12/04/24 _x86_64_ (8 CPU) 02:32:30 02:32:30 02:29:39 LINUX RESTART (8 CPU) 02:32:30 02:32:30 02:30:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:32:30 02:31:01 285.44 43.21 242.23 0.00 4827.06 49499.62 0.00 02:32:30 02:32:01 213.55 0.52 213.03 0.00 51.59 18896.98 0.00 02:32:30 Average: 249.49 21.86 227.63 0.00 2439.33 34198.30 0.00 02:32:30 02:32:30 02:30:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:32:30 02:31:01 29890240 31536056 807652 2.46 59812 1889416 1922056 5.66 1024528 1635568 764 02:32:30 02:32:01 28930752 31501004 798156 2.43 90264 2734648 1805776 5.32 1115032 2409736 455996 02:32:30 Average: 29410496 31518530 802904 2.44 75038 2312032 1863916 5.49 1069780 2022652 228380 02:32:30 02:32:30 02:30:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:32:30 02:31:01 lo 4.20 4.20 0.40 0.40 0.00 0.00 0.00 0.00 02:32:30 02:31:01 docker0 3.47 3.30 0.36 30.28 0.00 0.00 0.00 0.00 02:32:30 02:31:01 ens3 406.92 291.30 2486.82 85.53 0.00 0.00 0.00 0.00 02:32:30 02:31:01 vetha878ce6 3.47 3.40 0.41 30.29 0.00 0.00 0.00 0.00 02:32:30 02:32:01 lo 3.53 3.53 0.35 0.35 0.00 0.00 0.00 0.00 02:32:30 02:32:01 docker0 31.24 47.99 1.98 399.87 0.00 0.00 0.00 0.00 02:32:30 02:32:01 ens3 254.02 160.46 4971.85 39.85 0.00 0.00 0.00 0.00 02:32:30 Average: lo 3.87 3.87 0.37 0.37 0.00 0.00 0.00 0.00 02:32:30 Average: docker0 17.36 25.65 1.17 215.08 0.00 0.00 0.00 0.00 02:32:30 Average: ens3 330.47 225.88 3729.34 62.69 0.00 0.00 0.00 0.00 02:32:30 02:32:30 02:32:30 ---> sar -P ALL: 02:32:30 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-34465) 12/04/24 _x86_64_ (8 CPU) 02:32:30 02:32:30 02:29:39 LINUX RESTART (8 CPU) 02:32:30 02:32:30 02:30:01 CPU %user %nice %system %iowait %steal %idle 02:32:30 02:31:01 all 6.07 0.00 1.77 4.43 0.04 87.69 02:32:30 02:31:01 0 5.66 0.00 1.29 1.42 0.03 91.59 02:32:30 02:31:01 1 6.35 0.00 2.73 1.94 0.05 88.93 02:32:30 02:31:01 2 4.41 0.00 1.31 1.01 0.05 93.23 02:32:30 02:31:01 3 5.96 0.00 2.35 12.40 0.05 79.24 02:32:30 02:31:01 4 7.64 0.00 1.29 1.17 0.03 89.87 02:32:30 02:31:01 5 4.75 0.00 2.73 16.06 0.05 76.41 02:32:30 02:31:01 6 9.07 0.00 1.02 0.54 0.05 89.32 02:32:30 02:31:01 7 4.75 0.00 1.46 0.89 0.03 92.87 02:32:30 02:32:01 all 8.49 0.00 3.38 2.20 0.07 85.85 02:32:30 02:32:01 0 7.05 0.00 2.89 1.97 0.07 88.02 02:32:30 02:32:01 1 7.71 0.00 3.22 0.29 0.05 88.74 02:32:30 02:32:01 2 10.46 0.00 3.75 0.54 0.07 85.18 02:32:30 02:32:01 3 8.95 0.00 3.43 0.32 0.07 87.23 02:32:30 02:32:01 4 7.83 0.00 2.57 0.30 0.07 89.22 02:32:30 02:32:01 5 9.77 0.00 3.99 11.34 0.08 74.82 02:32:30 02:32:01 6 6.79 0.00 3.61 2.67 0.08 86.84 02:32:30 02:32:01 7 9.41 0.00 3.57 0.22 0.10 86.70 02:32:30 Average: all 7.28 0.00 2.57 3.32 0.06 86.77 02:32:30 Average: 0 6.36 0.00 2.09 1.69 0.05 89.81 02:32:30 Average: 1 7.03 0.00 2.98 1.12 0.05 88.83 02:32:30 Average: 2 7.42 0.00 2.53 0.77 0.06 89.22 02:32:30 Average: 3 7.45 0.00 2.89 6.37 0.06 83.23 02:32:30 Average: 4 7.73 0.00 1.93 0.74 0.05 89.55 02:32:30 Average: 5 7.25 0.00 3.36 13.70 0.07 75.62 02:32:30 Average: 6 7.93 0.00 2.32 1.60 0.07 88.08 02:32:30 Average: 7 7.07 0.00 2.51 0.55 0.07 89.80 02:32:30 02:32:30 02:32:30