Pull request #520 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 eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 4f3715c661f29ae22e3100a3e7af55a4221b6ca8+eb7d9b4eba343d86dc807026297d2d397bf17ca8 (42760811c51c0994519408b63a0e483231c946eb) 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-ssh2441081320750271352.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-ssh8973079109114339598.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-520/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-520/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16578772149481144305.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-ssh6332836391372453648.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-520/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-520/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11665324149080693718.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-34595 in /w/workspace/edgexfoundry_device-sdk-c_PR-520 [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-520 # 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 > 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/520/head:refs/remotes/origin/PR-520 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit eb7d9b4eba343d86dc807026297d2d397bf17ca8 into PR head commit 4f3715c661f29ae22e3100a3e7af55a4221b6ca8 Merge succeeded, producing 337feae79196497ad3928abb62bdf156745874f1 Checking out Revision 337feae79196497ad3928abb62bdf156745874f1 (PR-520) > git config core.sparsecheckout # timeout=10 > git checkout -f 4f3715c661f29ae22e3100a3e7af55a4221b6ca8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge eb7d9b4eba343d86dc807026297d2d397bf17ca8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 337feae79196497ad3928abb62bdf156745874f1 # timeout=10 Commit message: "Merge commit 'eb7d9b4eba343d86dc807026297d2d397bf17ca8' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 2c5cf77e020d1f750b24bd30dcbea983cdf1829e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:12:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:12:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:12:22 ========================================================= 05:12:22 EdgeX Global Pipelines Version Info 05:12:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:12:23 ------------------- 05:12:23 stable info: 05:12:23 ------------------- 05:12:23 Commited By: Cherry Wang cherry@iotechsys.com 05:12:23 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 05:12:23 Message: update stable to v1.0.269 05:12:23 ------------------- 05:12:23 experimental info: 05:12:23 ------------------- 05:12:23 Commited By: **** collab-it+edgex@linuxfoundation.org 05:12:23 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 05:12:23 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:12:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-520 [Pipeline] echo 05:12:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-520 [Pipeline] echo 05:12:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-520 [Pipeline] echo 05:12:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 337feae79196497ad3928abb62bdf156745874f1 [Pipeline] echo 05:12:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 337feae [Pipeline] echo 05:12:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:12:24 provisioning config files... 05:12:24 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/config14671228394682750601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:12:24 ---> ****-login.sh 05:12:24 nexus3.edgexfoundry.org:10001 05:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:24 Configure a credential helper to remove this warning. See 05:12:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:24 05:12:24 Login Succeeded 05:12:24 nexus3.edgexfoundry.org:10002 05:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:25 Configure a credential helper to remove this warning. See 05:12:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:25 05:12:25 Login Succeeded 05:12:25 nexus3.edgexfoundry.org:10003 05:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:25 Configure a credential helper to remove this warning. See 05:12:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:25 05:12:25 Login Succeeded 05:12:25 nexus3.edgexfoundry.org:10004 05:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:25 Configure a credential helper to remove this warning. See 05:12:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:25 05:12:25 Login Succeeded 05:12:25 ****.io 05:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:25 Configure a credential helper to remove this warning. See 05:12:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:25 05:12:25 Login Succeeded 05:12:25 ---> ****-login.sh ends [Pipeline] } 05:12:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 05:12:25 + git rev-list -1 --merges 337feae79196497ad3928abb62bdf156745874f1~1..337feae79196497ad3928abb62bdf156745874f1 [Pipeline] echo 05:12:25 -----------> git rev-list -1 --merges 337feae79196497ad3928abb62bdf156745874f1~1..337feae79196497ad3928abb62bdf156745874f1 337feae79196497ad3928abb62bdf156745874f1 05:12:25 337feae79196497ad3928abb62bdf156745874f1 [false] [Pipeline] sh 05:12:26 + git log --format=format:%s -1 337feae79196497ad3928abb62bdf156745874f1 [Pipeline] echo 05:12:26 ========================================================= 05:12:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:12:26 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:12:26 + git rev-list -1 --merges 337feae79196497ad3928abb62bdf156745874f1~1..337feae79196497ad3928abb62bdf156745874f1 [Pipeline] echo 05:12:26 -----------> git rev-list -1 --merges 337feae79196497ad3928abb62bdf156745874f1~1..337feae79196497ad3928abb62bdf156745874f1 337feae79196497ad3928abb62bdf156745874f1 05:12:26 337feae79196497ad3928abb62bdf156745874f1 [false] [Pipeline] sh 05:12:27 + git log --format=format:%s -1 337feae79196497ad3928abb62bdf156745874f1 [Pipeline] echo 05:12:27 ========================================================= 05:12:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:12:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 05:12:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:12:27 + grep -v github /etc/ssh/ssh_known_hosts 05:12:27 + [ -e /tmp/ssh_known_hosts ] 05:12:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:12:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:12:27 + sudo tee -a /etc/ssh/ssh_known_hosts 05:12:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:12:27 05:12:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:12:28 0.1.4: Pulling from edgex-devops/py-git-semver 05:12:28 b85a868b505f: Pulling fs layer 05:12:28 e2be974225ed: Pulling fs layer 05:12:28 339a4e72a1f5: Pulling fs layer 05:12:28 988bab9f4d93: Pulling fs layer 05:12:28 1469e6f7b9e6: Pulling fs layer 05:12:28 eaf3925da568: Pulling fs layer 05:12:28 988bab9f4d93: Waiting 05:12:28 bab4dde63d76: Pulling fs layer 05:12:28 bde34c3a00c8: Pulling fs layer 05:12:28 b352a97aabf1: Pulling fs layer 05:12:28 bab4dde63d76: Waiting 05:12:28 4872d77fe225: Pulling fs layer 05:12:28 b352a97aabf1: Waiting 05:12:28 5851b861e8e6: Pulling fs layer 05:12:28 4872d77fe225: Waiting 05:12:28 5851b861e8e6: Waiting 05:12:28 e2be974225ed: Verifying Checksum 05:12:28 e2be974225ed: Download complete 05:12:28 988bab9f4d93: Verifying Checksum 05:12:28 988bab9f4d93: Download complete 05:12:28 1469e6f7b9e6: Verifying Checksum 05:12:28 1469e6f7b9e6: Download complete 05:12:28 eaf3925da568: Verifying Checksum 05:12:28 eaf3925da568: Download complete 05:12:28 339a4e72a1f5: Verifying Checksum 05:12:28 339a4e72a1f5: Download complete 05:12:28 bde34c3a00c8: Download complete 05:12:28 b352a97aabf1: Verifying Checksum 05:12:28 b352a97aabf1: Download complete 05:12:28 4872d77fe225: Download complete 05:12:28 5851b861e8e6: Download complete 05:12:28 b85a868b505f: Verifying Checksum 05:12:28 b85a868b505f: Download complete 05:12:28 bab4dde63d76: Verifying Checksum 05:12:28 bab4dde63d76: Download complete 05:12:29 b85a868b505f: Pull complete 05:12:29 e2be974225ed: Pull complete 05:12:30 339a4e72a1f5: Pull complete 05:12:30 988bab9f4d93: Pull complete 05:12:30 1469e6f7b9e6: Pull complete 05:12:30 eaf3925da568: Pull complete 05:12:32 bab4dde63d76: Pull complete 05:12:32 bde34c3a00c8: Pull complete 05:12:32 b352a97aabf1: Pull complete 05:12:32 4872d77fe225: Pull complete 05:12:32 5851b861e8e6: Pull complete 05:12:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:12:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:12:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:12:32 prd-ubuntu20.04-docker-8c-8g-34595 does not seem to be running inside a container 05:12:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@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 05:12:34 $ docker top aa42c7d7205534a181698a74988f7423386b4f326e87243cf2e90199e4a21a5c -eo pid,comm 05:12:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:12:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:12:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:12:35 [ssh-agent] Looking for ssh-agent implementation... 05:12:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:12:35 $ docker exec aa42c7d7205534a181698a74988f7423386b4f326e87243cf2e90199e4a21a5c ssh-agent 05:12:35 SSH_AUTH_SOCK=/tmp/ssh-3u5XEbfjnidO/agent.32 05:12:35 SSH_AGENT_PID=38 05:12:35 Running ssh-add (command line suppressed) 05:12:35 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_13787339472519722827.key (/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_13787339472519722827.key) 05:12:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:12:35 + git tag --points-at HEAD [Pipeline] } 05:12:35 $ docker exec --env ******** --env ******** aa42c7d7205534a181698a74988f7423386b4f326e87243cf2e90199e4a21a5c ssh-agent -k 05:12:35 unset SSH_AUTH_SOCK; 05:12:35 unset SSH_AGENT_PID; 05:12:35 echo Agent pid 38 killed; 05:12:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:12:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:12:35 [ssh-agent] Looking for ssh-agent implementation... 05:12:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:12:35 $ docker exec aa42c7d7205534a181698a74988f7423386b4f326e87243cf2e90199e4a21a5c ssh-agent 05:12:36 SSH_AUTH_SOCK=/tmp/ssh-2GFfVPstZtah/agent.71 05:12:36 SSH_AGENT_PID=77 05:12:36 Running ssh-add (command line suppressed) 05:12:36 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_11617870300741471212.key (/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_11617870300741471212.key) 05:12:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:12:36 + git semver init 05:12:36 2024-12-06 05:12:36,658 [run_init] DEBUG init version:0.0.0 force:False 05:12:36 2024-12-06 05:12:36,659 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver 05:12:36 2024-12-06 05:12:36,659 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver 05:12:36 2024-12-06 05:12:36,659 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-520, universal_newlines=False, shell=None, istream=None) 05:12:37 2024-12-06 05:12:37,459 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.git/info/exclude 05:12:37 2024-12-06 05:12:37,459 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver/PR-520 with force:False 05:12:37 2024-12-06 05:12:37,460 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver/PR-520 05:12:37 2024-12-06 05:12:37,464 [execute] INFO git cat-file --batch-check 05:12:37 2024-12-06 05:12:37,464 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver, universal_newlines=False, shell=None, istream=) 05:12:37 2024-12-06 05:12:37,470 [execute] INFO git cat-file --batch 05:12:37 2024-12-06 05:12:37,471 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver, universal_newlines=False, shell=None, istream=) 05:12:37 2024-12-06 05:12:37,475 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver/PR-520 05:12:37 0.0.0 [Pipeline] } 05:12:37 $ docker exec --env ******** --env ******** aa42c7d7205534a181698a74988f7423386b4f326e87243cf2e90199e4a21a5c ssh-agent -k 05:12:37 unset SSH_AUTH_SOCK; 05:12:37 unset SSH_AGENT_PID; 05:12:37 echo Agent pid 77 killed; 05:12:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:12:38 + git semver [Pipeline] } 05:12:38 $ docker stop --time=1 aa42c7d7205534a181698a74988f7423386b4f326e87243cf2e90199e4a21a5c 05:12:39 $ docker rm -f --volumes aa42c7d7205534a181698a74988f7423386b4f326e87243cf2e90199e4a21a5c [Pipeline] // withDockerContainer [Pipeline] sh 05:12:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:12:40 Stashed 1 file(s) [Pipeline] echo 05:12:40 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:12:40 provisioning config files... 05:12:40 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/config12700995750934313430tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 05:12:40 ---> ****-login.sh 05:12:40 nexus3.edgexfoundry.org:10001 05:12:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:40 Configure a credential helper to remove this warning. See 05:12:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:40 05:12:40 Login Succeeded 05:12:40 nexus3.edgexfoundry.org:10002 05:12:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:40 Configure a credential helper to remove this warning. See 05:12:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:40 05:12:40 Login Succeeded 05:12:40 nexus3.edgexfoundry.org:10003 05:12:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:41 Configure a credential helper to remove this warning. See 05:12:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:41 05:12:41 Login Succeeded 05:12:41 nexus3.edgexfoundry.org:10004 05:12:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:41 Configure a credential helper to remove this warning. See 05:12:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:41 05:12:41 Login Succeeded 05:12:41 ****.io 05:12:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:41 Configure a credential helper to remove this warning. See 05:12:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:41 05:12:41 Login Succeeded 05:12:41 ---> ****-login.sh ends [Pipeline] } 05:12:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:12:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:12:41 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 05:12:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:12:41 ========================================================= 05:12:41 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 05:12:41 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:41 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 05:12:41 Sending build context to Docker daemon 5.219MB 05:12:41 Step 1/22 : ARG BASE=alpine:3.18 05:12:41 Step 2/22 : FROM ${BASE} as builder 05:12:41 latest: Pulling from edgex-devops/edgex-gcc-base 05:12:41 96526aa774ef: Pulling fs layer 05:12:41 da60e534fd72: Pulling fs layer 05:12:42 96526aa774ef: Verifying Checksum 05:12:42 96526aa774ef: Download complete 05:12:42 96526aa774ef: Pull complete 05:12:42 da60e534fd72: Verifying Checksum 05:12:42 da60e534fd72: Download complete 05:12:45 da60e534fd72: Pull complete 05:12:45 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 05:12:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 05:12:45 ---> 6605166a5db4 05:12:45 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 05:12:47 ---> Running in a843c28e6bdc 05:12:47 Connecting to iotech.jfrog.io (34.247.22.236:443) 05:12:48 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:12:48 alpine.dev.rsa.pub 100% |********************************|  451 0:00:00 ETA 05:12:48 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:12:48 Removing intermediate container a843c28e6bdc 05:12:48 ---> 3662d9255440 05:12:48 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 05:12:48 ---> Running in 3e9681a95b57 05:12:49 Removing intermediate container 3e9681a95b57 05:12:49 ---> 6d0e4c321d88 05:12:49 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 05:12:49 ---> Running in 7a7a6a1ce905 05:12:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:12:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:12:49 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:12:50 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:12:50 (1/15) Installing libcbor (0.10.2-r1) 05:12:50 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 05:12:50 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 05:12:51 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 05:12:51 (5/15) Installing libcbor-dev (0.10.2-r1) 05:12:51 (6/15) Installing libmenuw (6.4_p20230506-r0) 05:12:51 (7/15) Installing libpanelw (6.4_p20230506-r0) 05:12:51 (8/15) Installing libncurses++ (6.4_p20230506-r0) 05:12:51 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 05:12:51 (10/15) Installing libblkid (2.38.1-r8) 05:12:51 (11/15) Installing libuuid (2.38.1-r8) 05:12:51 (12/15) Installing libfdisk (2.38.1-r8) 05:12:51 (13/15) Installing libmount (2.38.1-r8) 05:12:51 (14/15) Installing libsmartcols (2.38.1-r8) 05:12:51 (15/15) Installing util-linux-dev (2.38.1-r8) 05:12:51 Executing busybox-1.36.1-r4.trigger 05:12:51 OK: 336 MiB in 97 packages 05:12:52 Removing intermediate container 7a7a6a1ce905 05:12:52 ---> 67f32a77b90d 05:12:52 Step 6/22 : RUN mkdir /tmp/sdk 05:12:52 ---> Running in 7959b07a8012 05:12:52 Removing intermediate container 7959b07a8012 05:12:52 ---> 37386b8940c9 05:12:52 Step 7/22 : COPY VERSION /tmp/sdk 05:12:52 ---> 3a7232c9879a 05:12:52 Step 8/22 : COPY src /tmp/sdk/src 05:12:52 ---> 99a03554e6d3 05:12:52 Step 9/22 : COPY include /tmp/sdk/include 05:12:53 ---> 572a31033bbf 05:12:53 Step 10/22 : COPY scripts /tmp/sdk/scripts 05:12:53 ---> 339734cf2dc6 05:12:53 Step 11/22 : COPY LICENSE /tmp/sdk 05:12:53 ---> e57ea5fc7cd1 05:12:53 Step 12/22 : COPY Attribution.txt /tmp/sdk 05:12:53 ---> 6342d1275f5a 05:12:53 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 05:12:53 ---> Running in a6a03846ef2b 05:12:53 + CPPCHECK=false 05:12:53 + DOCGEN=false 05:12:53 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 05:12:53 + '[' 0 -gt 0 ] 05:12:53 + readlink -f ./scripts/build.sh 05:12:53 + dirname /tmp/sdk/scripts/build.sh 05:12:53 + dirname /tmp/sdk/scripts 05:12:53 + ROOT=/tmp/sdk 05:12:53 + cd /tmp/sdk 05:12:53 + mkdir -p /tmp/sdk/build/release 05:12:53 + cd /tmp/sdk/build/release 05:12:53 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 05:12:53 -- The C compiler identification is GNU 12.2.1 05:12:53 -- Detecting C compiler ABI info 05:12:54 -- Detecting C compiler ABI info - done 05:12:54 -- Check for working C compiler: /usr/bin/cc - skipped 05:12:54 -- Detecting C compile features 05:12:54 -- Detecting C compile features - done 05:12:54 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:12:54 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 05:12:54 -- Found LIBYAML: /usr/lib/libyaml.so 05:12:54 -- Found LIBUUID: /usr/lib/libuuid.so 05:12:54 -- Found LIBCBOR: /usr/lib/libcbor.so 05:12:54 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:12:54 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:12:54 -- /opt/iotech/iot/1.5/include 05:12:54 -- C SDK 0.0.0 for Linux 05:12:54 -- Performing Test CSDK_HAVE_ATOMIC 05:12:54 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:12:54 -- Found Curses: /usr/lib/libcurses.so 05:12:54 -- Configuring done (0.4s) 05:12:54 -- Generating done (0.0s) 05:12:54 -- Build files have been written to: /tmp/sdk/build/release 05:12:54 + make all package 05:12:54 + tee release.log 05:12:54 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:12:54 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 05:12:54 from /tmp/sdk/src/c/service.h:12, 05:12:54 from /tmp/sdk/src/c/autoevent.h:12, 05:12:54 from /tmp/sdk/src/c/autoevent.c:9: 05:12:54 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 05:12:54 /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=] 05:12:54 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:12:54 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:12:54 | | 05:12:54 | size_t {aka long unsigned int} 05:12:54 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 05:12:54 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 05:12:54 | ^~~~~~~~~~~ 05:12:54 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 05:12:54 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:12:54 | ~^ 05:12:54 | | 05:12:54 | int 05:12:54 | %ld 05:12:54 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:12:54 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:12:54 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:12:54 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:12:55 [ 11%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 05:12:55 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 05:12:55 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 05:12:55 294 | while (privateConfig) 05:12:55 | ^~~~~~~~~~~~~ 05:12:55 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 05:12:55 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 05:12:55 | ^~~~~~~~~~~~~ 05:12:55 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 05:12:55 271 | while (result) 05:12:55 | ^~~~~~ 05:12:55 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 05:12:55 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 05:12:55 | ^~~~~~ 05:12:55 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:12:55 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:12:55 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:12:55 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:12:56 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:12:56 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:12:56 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:12:56 [ 27%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:12:56 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:12:56 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:12:56 [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:12:56 [ 35%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 05:12:57 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 05:12:57 from /tmp/sdk/src/c/registry.h:14, 05:12:57 from /tmp/sdk/src/c/registry-impl.h:12, 05:12:57 from /tmp/sdk/src/c/keeper.h:12, 05:12:57 from /tmp/sdk/src/c/keeper.c:1: 05:12:57 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 05:12:57 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 05:12:57 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 05:12:57 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:12:57 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 05:12:57 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 05:12:57 | ^~~~~~~~~~~ 05:12:57 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 05:12:57 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 05:12:57 | ~^ 05:12:57 | | 05:12:57 | char * 05:12:57 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:12:57 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:12:57 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:12:58 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:12:58 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:12:58 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:12:58 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:12:58 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:12:58 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:12:59 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:12:59 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:12:59 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:12:59 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:12:59 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 05:12:59 /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 05:12:59 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 05:12:59 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:12:59 /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 05:12:59 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 05:12:59 | ^ 05:12:59 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 05:12:59 from /tmp/sdk/src/c/service.h:12, 05:12:59 from /tmp/sdk/src/c/service.c:9: 05:12:59 /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=] 05:12:59 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 05:12:59 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:12:59 | | 05:12:59 | uint64_t {aka long unsigned int} 05:12:59 /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' 05:12:59 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) 05:12:59 | ^~~~~~~~~~~ 05:12:59 /tmp/sdk/src/c/service.c:1095:54: note: format string is defined here 05:12:59 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 05:12:59 | ~^ 05:12:59 | | 05:12:59 | int 05:12:59 | %ld 05:12:59 /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': 05:12:59 /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=] 05:12:59 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:12:59 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:12:59 | | 05:12:59 | size_t {aka long unsigned int} 05:12:59 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 05:12:59 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 05:12:59 | ^~~~~~~~~~~ 05:12:59 /tmp/sdk/src/c/service.c:1158:66: note: format string is defined here 05:12:59 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:12:59 | ~^ 05:12:59 | | 05:12:59 | int 05:12:59 | %ld 05:12:59 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 05:12:59 /tmp/sdk/src/c/service.c:1078:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 05:12:59 1078 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 05:12:59 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:12:59 /tmp/sdk/src/c/service.c:882:68: note: 'deviceservices_config' was declared here 05:12:59 882 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 05:12:59 | ^~~~~~~~~~~~~~~~~~~~~ 05:12:59 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:13:00 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:13:00 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:13:00 [ 68%] Linking C shared library libcsdk.so 05:13:00 [ 68%] Built target csdk 05:13:00 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:13:00 [ 72%] Linking C executable template 05:13:00 [ 72%] Built target template 05:13:00 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:13:00 [ 76%] Linking C executable device-counter 05:13:00 [ 76%] Built target device-counter 05:13:00 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:13:01 [ 80%] Linking C executable device-random 05:13:01 [ 80%] Built target device-random 05:13:01 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:13:01 [ 84%] Linking C executable device-gyro 05:13:01 [ 84%] Built target device-gyro 05:13:01 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:13:01 [ 88%] Linking C executable device-bitfields 05:13:01 [ 88%] Built target device-bitfields 05:13:01 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:13:01 [ 92%] Linking C executable template-discovery 05:13:01 [ 92%] Built target template-discovery 05:13:01 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:13:01 [ 96%] Linking C executable device-file 05:13:01 [ 96%] Built target device-file 05:13:01 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:13:01 [100%] Linking C executable device-terminal 05:13:02 [100%] Built target device-terminal 05:13:02 Run CPack packaging tool... 05:13:02 CPack: Create package using TGZ 05:13:02 CPack: Install projects 05:13:02 CPack: - Run preinstall target for: Csdk 05:13:02 CPack: - Install project: Csdk [] 05:13:02 CPack: Create package 05:13:02 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 05:13:02 + '[' false '=' true ] 05:13:02 + '[' false '=' true ] 05:13:02 + mkdir -p /tmp/sdk/build/debug 05:13:02 + cd /tmp/sdk/build/debug 05:13:02 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 05:13:02 -- The C compiler identification is GNU 12.2.1 05:13:02 -- Detecting C compiler ABI info 05:13:02 -- Detecting C compiler ABI info - done 05:13:02 -- Check for working C compiler: /usr/bin/cc - skipped 05:13:02 -- Detecting C compile features 05:13:02 -- Detecting C compile features - done 05:13:02 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:13:02 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 05:13:02 -- Found LIBYAML: /usr/lib/libyaml.so 05:13:02 -- Found LIBUUID: /usr/lib/libuuid.so 05:13:02 -- Found LIBCBOR: /usr/lib/libcbor.so 05:13:02 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:13:02 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:13:02 -- /opt/iotech/iot/1.5/include 05:13:02 -- C SDK 0.0.0 for Linux 05:13:02 -- Performing Test CSDK_HAVE_ATOMIC 05:13:02 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:13:02 -- Found Curses: /usr/lib/libcurses.so 05:13:02 -- Configuring done (0.4s) 05:13:02 -- Generating done (0.0s) 05:13:02 -- Build files have been written to: /tmp/sdk/build/debug 05:13:02 + make 05:13:02 + tee debug.log 05:13:02 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:13:02 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 05:13:02 from /tmp/sdk/src/c/service.h:12, 05:13:02 from /tmp/sdk/src/c/autoevent.h:12, 05:13:02 from /tmp/sdk/src/c/autoevent.c:9: 05:13:02 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 05:13:02 /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=] 05:13:02 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:13:02 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:13:02 | | 05:13:02 | size_t {aka long unsigned int} 05:13:02 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 05:13:02 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 05:13:02 | ^~~~~~~~~~~ 05:13:02 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 05:13:02 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:13:02 | ~^ 05:13:02 | | 05:13:02 | int 05:13:02 | %ld 05:13:02 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:13:02 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:13:03 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:13:03 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:13:03 [ 11%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 05:13:03 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:13:03 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:13:03 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:13:03 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:13:03 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:13:03 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:13:03 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:13:03 [ 27%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:13:03 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:13:03 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:13:04 [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:13:04 [ 35%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 05:13:04 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 05:13:04 from /tmp/sdk/src/c/registry.h:14, 05:13:04 from /tmp/sdk/src/c/registry-impl.h:12, 05:13:04 from /tmp/sdk/src/c/keeper.h:12, 05:13:04 from /tmp/sdk/src/c/keeper.c:1: 05:13:04 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 05:13:04 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 05:13:04 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 05:13:04 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:13:04 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 05:13:04 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 05:13:04 | ^~~~~~~~~~~ 05:13:04 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 05:13:04 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 05:13:04 | ~^ 05:13:04 | | 05:13:04 | char * 05:13:04 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:13:04 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:13:04 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:13:04 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:13:04 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:13:04 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:13:04 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:13:04 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:13:04 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:13:05 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:13:05 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:13:05 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:13:05 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:13:05 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 05:13:05 /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 05:13:05 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 05:13:05 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:13:05 /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 05:13:05 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 05:13:05 | ^ 05:13:05 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 05:13:05 from /tmp/sdk/src/c/service.h:12, 05:13:05 from /tmp/sdk/src/c/service.c:9: 05:13:05 /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=] 05:13:05 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 05:13:05 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:13:05 | | 05:13:05 | uint64_t {aka long unsigned int} 05:13:05 /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' 05:13:05 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) 05:13:05 | ^~~~~~~~~~~ 05:13:05 /tmp/sdk/src/c/service.c:1095:54: note: format string is defined here 05:13:05 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 05:13:05 | ~^ 05:13:05 | | 05:13:05 | int 05:13:05 | %ld 05:13:05 /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': 05:13:05 /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=] 05:13:05 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:13:05 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:13:05 | | 05:13:05 | size_t {aka long unsigned int} 05:13:05 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 05:13:05 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 05:13:05 | ^~~~~~~~~~~ 05:13:05 /tmp/sdk/src/c/service.c:1158:66: note: format string is defined here 05:13:05 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:13:05 | ~^ 05:13:05 | | 05:13:05 | int 05:13:05 | %ld 05:13:05 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:13:05 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:13:05 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:13:05 [ 68%] Linking C shared library libcsdk.so 05:13:05 [ 68%] Built target csdk 05:13:05 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:13:05 [ 72%] Linking C executable template 05:13:05 [ 72%] Built target template 05:13:05 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:13:05 [ 76%] Linking C executable device-counter 05:13:05 [ 76%] Built target device-counter 05:13:05 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:13:06 [ 80%] Linking C executable device-random 05:13:06 [ 80%] Built target device-random 05:13:06 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:13:06 [ 84%] Linking C executable device-gyro 05:13:06 [ 84%] Built target device-gyro 05:13:06 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:13:06 [ 88%] Linking C executable device-bitfields 05:13:06 [ 88%] Built target device-bitfields 05:13:06 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:13:06 [ 92%] Linking C executable template-discovery 05:13:06 [ 92%] Built target template-discovery 05:13:06 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:13:06 [ 96%] Linking C executable device-file 05:13:06 [ 96%] Built target device-file 05:13:06 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:13:07 [100%] Linking C executable device-terminal 05:13:07 [100%] Built target device-terminal 05:13:07 make: Entering directory '/tmp/sdk/build/release' 05:13:07 [ 68%] Built target csdk 05:13:07 [ 72%] Built target template 05:13:07 [ 76%] Built target device-counter 05:13:07 [ 80%] Built target device-random 05:13:07 [ 84%] Built target device-gyro 05:13:07 [ 88%] Built target device-bitfields 05:13:07 [ 92%] Built target template-discovery 05:13:07 [ 96%] Built target device-file 05:13:07 [100%] Built target device-terminal 05:13:07 Install the project... 05:13:07 -- Install configuration: "Release" 05:13:07 -- Installing: /usr/local/lib/libcsdk.so 05:13:07 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 05:13:07 -- Installing: /usr/local/include 05:13:07 -- Installing: /usr/local/include/devsdk 05:13:07 -- Installing: /usr/local/include/devsdk/devsdk.h 05:13:07 -- Installing: /usr/local/include/devsdk/devsdk-base.h 05:13:07 -- Installing: /usr/local/include/edgex 05:13:07 -- Installing: /usr/local/include/edgex/edgex.h 05:13:07 -- Installing: /usr/local/include/edgex/devices.h 05:13:07 -- Installing: /usr/local/include/edgex/profiles.h 05:13:07 -- Installing: /usr/local/include/edgex/edgex-base.h 05:13:07 -- Installing: /usr/local/include/edgex/rest-server.h 05:13:07 -- Installing: /usr/local/include/edgex/csdk-defs.h 05:13:07 -- Installing: /usr/local/share/device-sdk-c/LICENSE 05:13:07 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 05:13:07 make: Leaving directory '/tmp/sdk/build/release' 05:13:07 Removing intermediate container a6a03846ef2b 05:13:07 ---> 8ec1d475f824 05:13:07 Step 14/22 : FROM ${BASE} 05:13:07 ---> 6605166a5db4 05:13:07 Step 15/22 : LABEL maintainer="IOTech " 05:13:07 ---> Running in ef8ceeb4cd56 05:13:07 Removing intermediate container ef8ceeb4cd56 05:13:07 ---> 04c97768595d 05:13:07 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 05:13:07 ---> Running in 072cf502c0c1 05:13:08 Connecting to iotech.jfrog.io (34.246.139.145:443) 05:13:08 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:13:08 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:13:08 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:13:08 Removing intermediate container 072cf502c0c1 05:13:08 ---> 94bd8983bd72 05:13:08 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 05:13:08 ---> Running in f12292b5ed2f 05:13:09 Removing intermediate container f12292b5ed2f 05:13:09 ---> 40958ec6c6c6 05:13:09 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 dumb-init 05:13:09 ---> Running in 9c912a407fb4 05:13:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:13:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:13:10 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:13:10 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:13:10 (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 05:13:10 (2/8) Installing curl (8.9.1-r1) 05:13:10 (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 05:13:10 (4/8) Installing dumb-init (1.2.5-r2) 05:13:10 (5/8) Installing libcbor (0.10.2-r1) 05:13:10 (6/8) Installing iotech-iot-1.5 (1.5.5-r0) 05:13:11 (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 05:13:11 (8/8) Installing libuuid (2.38.1-r8) 05:13:11 Executing busybox-1.36.1-r4.trigger 05:13:11 OK: 331 MiB in 88 packages 05:13:12 Removing intermediate container 9c912a407fb4 05:13:12 ---> c9f0ba1a678c 05:13:12 Step 19/22 : RUN apk --no-cache upgrade 05:13:12 ---> Running in 3fef12cced12 05:13:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:13:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:13:12 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:13:13 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:13:13 Upgrading critical system libraries and apk-tools: 05:13:13 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 05:13:13 Executing busybox-1.36.1-r4.trigger 05:13:13 Continuing the upgrade transaction with new apk-tools: 05:13:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:13:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:13:13 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:13:13 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:13:13 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 05:13:13 Executing busybox-1.36.1-r7.post-upgrade 05:13:13 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 05:13:13 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 05:13:13 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 05:13:14 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 05:13:14 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 05:13:14 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 05:13:14 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 05:13:14 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 05:13:14 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 05:13:14 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 05:13:14 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 05:13:14 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 05:13:14 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 05:13:14 Executing busybox-1.36.1-r7.trigger 05:13:14 Executing ca-certificates-20240226-r0.trigger 05:13:14 OK: 331 MiB in 88 packages 05:13:15 Removing intermediate container 3fef12cced12 05:13:15 ---> 9223b1a1c6d2 05:13:15 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 05:13:15 ---> c74b8806397a 05:13:15 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 05:13:15 ---> 2f779a3e6594 05:13:15 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 05:13:15 ---> 5a2ace456aa4 05:13:15 Successfully built 5a2ace456aa4 05:13:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:15 + docker inspect -f . ci-base-image-x86_64 05:13:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:15 prd-ubuntu20.04-docker-8c-8g-34595 does not seem to be running inside a container 05:13:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@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 05:13:16 $ docker top 5b836c4dcf01d0e9d7a683ad4d1fb84e04cb96b43a6776ffccfcab3db683d835 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:16 + make test 05:13:16 echo "make test" 05:13:16 make test [Pipeline] } 05:13:16 $ docker stop --time=1 5b836c4dcf01d0e9d7a683ad4d1fb84e04cb96b43a6776ffccfcab3db683d835 05:13:17 $ docker rm -f --volumes 5b836c4dcf01d0e9d7a683ad4d1fb84e04cb96b43a6776ffccfcab3db683d835 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:13:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:13:18 + ls -al . 05:13:18 total 212 05:13:18 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 05:12 . 05:13:18 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 05:12 .. 05:13:18 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 05:12 .git 05:13:18 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 05:12 .github 05:13:18 -rw-rw-r-- 1 jenkins jenkins 176 Dec 6 05:12 .gitignore 05:13:18 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 05:12 .semver 05:13:18 -rw-rw-r-- 1 jenkins jenkins 2908 Dec 6 05:12 Attribution.txt 05:13:18 -rw-rw-r-- 1 jenkins jenkins 11953 Dec 6 05:12 CHANGELOG.md 05:13:18 -rw-rw-r-- 1 jenkins jenkins 108574 Dec 6 05:12 Doxyfile 05:13:18 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 05:12 GOVERNANCE.md 05:13:18 -rw-rw-r-- 1 jenkins jenkins 784 Dec 6 05:12 Jenkinsfile 05:13:18 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 6 05:12 LICENSE 05:13:18 -rw-rw-r-- 1 jenkins jenkins 444 Dec 6 05:12 Makefile 05:13:18 -rw-rw-r-- 1 jenkins jenkins 618 Dec 6 05:12 OWNERS.md 05:13:18 -rw-rw-r-- 1 jenkins jenkins 1651 Dec 6 05:12 README.IOT.md 05:13:18 -rw-rw-r-- 1 jenkins jenkins 4173 Dec 6 05:12 README.md 05:13:18 -rw-rw-r-- 1 jenkins jenkins 1245 Dec 6 05:12 README.v3.md 05:13:18 -rw-rw-r-- 1 jenkins jenkins 5 Dec 6 05:12 VERSION 05:13:18 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 05:12 docs 05:13:18 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 05:12 include 05:13:18 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 05:12 scripts 05:13:18 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 05:12 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:19 + 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=337feae79196497ad3928abb62bdf156745874f1 --label arch=amd64 --label version=0.0.0 . 05:13:19 Sending build context to Docker daemon 5.219MB 05:13:19 Step 1/18 : ARG BASE=alpine:3.18 05:13:19 Step 2/18 : FROM ${BASE} 05:13:19 ---> 5a2ace456aa4 05:13:19 Step 3/18 : LABEL maintainer="IOTech " 05:13:19 ---> Running in 15126605fbc0 05:13:19 Removing intermediate container 15126605fbc0 05:13:19 ---> 98d778cb5005 05:13:19 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 05:13:19 ---> Running in 6824bb152865 05:13:19 Connecting to iotech.jfrog.io (34.247.22.236:443) 05:13:19 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:13:19 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:13:19 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:13:20 Removing intermediate container 6824bb152865 05:13:20 ---> 5adf7468a715 05:13:20 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 05:13:20 ---> Running in 97acc59241b9 05:13:20 Removing intermediate container 97acc59241b9 05:13:20 ---> 8dd7b53c13e1 05:13:20 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 iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 05:13:20 ---> Running in 213f18ab18ce 05:13:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:13:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:13:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:13:22 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:13:22 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 05:13:22 (2/11) Installing libcbor-dev (0.10.2-r1) 05:13:22 (3/11) Installing libmenuw (6.4_p20230506-r0) 05:13:22 (4/11) Installing libpanelw (6.4_p20230506-r0) 05:13:22 (5/11) Installing libncurses++ (6.4_p20230506-r0) 05:13:22 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 05:13:22 (7/11) Installing libblkid (2.38.1-r8) 05:13:22 (8/11) Installing libfdisk (2.38.1-r8) 05:13:22 (9/11) Installing libmount (2.38.1-r8) 05:13:22 (10/11) Installing libsmartcols (2.38.1-r8) 05:13:22 (11/11) Installing util-linux-dev (2.38.1-r8) 05:13:22 Executing busybox-1.36.1-r7.trigger 05:13:22 OK: 336 MiB in 99 packages 05:13:22 Removing intermediate container 213f18ab18ce 05:13:22 ---> c4503c32f32a 05:13:22 Step 7/18 : RUN apk --no-cache upgrade 05:13:22 ---> Running in 04876b474427 05:13:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:13:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:13:23 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:13:23 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:13:23 OK: 336 MiB in 99 packages 05:13:24 Removing intermediate container 04876b474427 05:13:24 ---> b5c0a639afb1 05:13:24 Step 8/18 : COPY VERSION /edgex-c-sdk/ 05:13:24 ---> c2d955f44fc4 05:13:24 Step 9/18 : COPY src /edgex-c-sdk/src/ 05:13:24 ---> 05365c19c027 05:13:24 Step 10/18 : COPY include /edgex-c-sdk/include/ 05:13:24 ---> c1832998de21 05:13:24 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 05:13:24 ---> 6db1cd8146a1 05:13:24 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 05:13:24 ---> c131248dd723 05:13:24 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 05:13:24 ---> 790044e711d6 05:13:24 Step 14/18 : WORKDIR /edgex-c-sdk 05:13:24 ---> Running in 2528f9971618 05:13:24 Removing intermediate container 2528f9971618 05:13:24 ---> 13d5075f8cb4 05:13:24 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 05:13:24 ---> Running in 685154f42882 05:13:25 Removing intermediate container 685154f42882 05:13:25 ---> 8769c7dbbed8 05:13:25 Step 16/18 : LABEL arch=amd64 05:13:25 ---> Running in ed707bb683dd 05:13:25 Removing intermediate container ed707bb683dd 05:13:25 ---> 85f4ab053ccd 05:13:25 Step 17/18 : LABEL git_sha=337feae79196497ad3928abb62bdf156745874f1 05:13:25 ---> Running in 72ff639773a9 05:13:25 Removing intermediate container 72ff639773a9 05:13:25 ---> 0e19b3615c1c 05:13:25 Step 18/18 : LABEL version=0.0.0 05:13:25 ---> Running in cf942a69dc13 05:13:25 Removing intermediate container cf942a69dc13 05:13:25 ---> 53f05fe1d4f2 05:13:25 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:13:25 Successfully built 53f05fe1d4f2 05:13:25 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 05:13:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:13:26 05:13:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:13:26 latest: Pulling from edgex-lftools-log-publisher 05:13:26 5eb5b503b376: Pulling fs layer 05:13:26 5c69ac0246d0: Pulling fs layer 05:13:26 ec43610c2a17: Pulling fs layer 05:13:26 3a2ae6a8a46f: Pulling fs layer 05:13:26 33b1e0a273af: Pulling fs layer 05:13:26 5d3b04190fa2: Pulling fs layer 05:13:26 2f39f015ded8: Pulling fs layer 05:13:26 33b1e0a273af: Waiting 05:13:26 2f39f015ded8: Waiting 05:13:26 5d3b04190fa2: Waiting 05:13:26 3a2ae6a8a46f: Waiting 05:13:26 5c69ac0246d0: Verifying Checksum 05:13:26 5c69ac0246d0: Download complete 05:13:26 3a2ae6a8a46f: Verifying Checksum 05:13:26 3a2ae6a8a46f: Download complete 05:13:26 33b1e0a273af: Verifying Checksum 05:13:26 33b1e0a273af: Download complete 05:13:26 5d3b04190fa2: Verifying Checksum 05:13:26 5d3b04190fa2: Download complete 05:13:26 ec43610c2a17: Verifying Checksum 05:13:26 ec43610c2a17: Download complete 05:13:26 5eb5b503b376: Verifying Checksum 05:13:26 5eb5b503b376: Download complete 05:13:27 2f39f015ded8: Download complete 05:13:27 5eb5b503b376: Pull complete 05:13:27 5c69ac0246d0: Pull complete 05:13:28 ec43610c2a17: Pull complete 05:13:28 3a2ae6a8a46f: Pull complete 05:13:28 33b1e0a273af: Pull complete 05:13:28 5d3b04190fa2: Pull complete 05:13:32 2f39f015ded8: Pull complete 05:13:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:13:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:13:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:33 prd-ubuntu20.04-docker-8c-8g-34595 does not seem to be running inside a container 05:13:33 $ 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-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@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 05:13:35 $ docker top fb835c1afed067b9709340852f48e44e6b3c6d7c470b67daa7751201bd744112 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:36 ---> job-cost.sh 05:13:36 lf-activate-venv: SKIPPING 05:13:36 INFO: No Stack... 05:13:36 INFO: Retrieving Pricing Info for: v3-standard-8 05:13:37 INFO: Archiving Costs [Pipeline] sh 05:13:37 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives/cost.csv 05:13:37 + cut -d, -f6 [Pipeline] lock 05:13:37 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-4-stack-cost] 05:13:37 Resource [jenkins-edgexfoundry-device-sdk-c-PR-520-4-stack-cost] did not exist. Created. 05:13:37 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:13:37 + echo total: 0.2199999988079071 [Pipeline] stash 05:13:37 Stashed 1 file(s) [Pipeline] } 05:13:37 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-4-stack-cost] [Pipeline] // lock [Pipeline] } 05:13:37 $ docker stop --time=1 fb835c1afed067b9709340852f48e44e6b3c6d7c470b67daa7751201bd744112 05:13:38 $ docker rm -f --volumes fb835c1afed067b9709340852f48e44e6b3c6d7c470b67daa7751201bd744112 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:13:39 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives ] 05:13:39 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives 05:13:39 total 16 05:13:39 drwxr-xr-x 3 root root 4096 Dec 6 05:13 . 05:13:39 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 05:13 .. 05:13:39 drwxr-xr-x 2 root root 4096 Dec 6 05:13 cost 05:13:39 -rw-r--r-- 1 root root 84 Dec 6 05:13 cost.csv 05:13:39 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives 05:13:39 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives 05:13:39 total 16 05:13:39 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 05:13 . 05:13:39 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 05:13 .. 05:13:39 drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 05:13 cost 05:13:39 -rw-r--r-- 1 jenkins jenkins 84 Dec 6 05:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:13:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:13:40 ---> package-listing.sh 05:13:40 ++ facter osfamily 05:13:40 ++ tr '[:upper:]' '[:lower:]' 05:13:41 + OS_FAMILY=debian 05:13:41 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-520 05:13:41 + START_PACKAGES=/tmp/packages_start.txt 05:13:41 + END_PACKAGES=/tmp/packages_end.txt 05:13:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:13:41 + PACKAGES=/tmp/packages_start.txt 05:13:41 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-520 ']' 05:13:41 + PACKAGES=/tmp/packages_end.txt 05:13:41 + case "${OS_FAMILY}" in 05:13:41 + dpkg -l 05:13:41 + grep '^ii' 05:13:41 + '[' -f /tmp/packages_start.txt ']' 05:13:41 + '[' -f /tmp/packages_end.txt ']' 05:13:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:13:41 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-520 ']' 05:13:41 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives/ 05:13:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives/ [Pipeline] echo 05:13:41 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-520/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:13:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:13:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:41 prd-ubuntu20.04-docker-8c-8g-34595 does not seem to be running inside a container 05:13:41 $ 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-520/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-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@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 05:13:42 $ docker top 9c82462c146f7d23458f338c0da1fb82adb7d7d2cd8deefbf5aef988dad0bbf8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:42 + touch /tmp/pre-build-complete [Pipeline] sh 05:13:42 + mkdir -p /var/log/sysstat [Pipeline] sh 05:13:43 + ls /var/log/sa-host 05:13:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:43 provisioning config files... 05:13:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/config12240615630562664037tmp [Pipeline] { [Pipeline] echo 05:13:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:13:43 ---> create-netrc.sh [Pipeline] } 05:13:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:13:43 ---> python-tools-install.sh [Pipeline] echo 05:13:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:13:44 ---> sudo-logs.sh 05:13:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:13:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:13:44 ---> job-cost.sh 05:13:44 lf-activate-venv: SKIPPING 05:13:44 DEBUG: total: 0.2199999988079071 05:13:44 INFO: Retrieving Stack Cost... 05:13:44 INFO: Retrieving Pricing Info for: v3-standard-8 05:13:44 INFO: Archiving Costs [Pipeline] echo 05:13:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:13:45 ---> logs-deploy.sh 05:13:45 lf-activate-venv: SKIPPING 05:13:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-520/4 05:13:45 INFO: archiving workspace using pattern(s): 05:13:46 Archives upload complete. 05:13:46 INFO: archiving logs to Nexus