Branch indexing 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 3a4d5fb9b930b7193ad4bf764e8eee6f79fbacf5+3521595b3d029ad48779306d8d3c838e476b6612 (dc83923af412feeffe2fe6dc019a4f89475d945d) 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-ssh1896165189861925936.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-ssh14089391236356037103.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-530/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-530/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5858040980883844499.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-ssh17193180621587078144.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-530/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-530/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4183989586383115220.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-34806 in /w/workspace/edgexfoundry_device-sdk-c_PR-530 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-530 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/530/head:refs/remotes/origin/PR-530 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3521595b3d029ad48779306d8d3c838e476b6612 into PR head commit 3a4d5fb9b930b7193ad4bf764e8eee6f79fbacf5 Merge succeeded, producing c1fbc91055a7d097b7ecf8499af8cca618d0ff4c Checking out Revision c1fbc91055a7d097b7ecf8499af8cca618d0ff4c (PR-530) > git config core.sparsecheckout # timeout=10 > git checkout -f 3a4d5fb9b930b7193ad4bf764e8eee6f79fbacf5 # 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 3521595b3d029ad48779306d8d3c838e476b6612 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c1fbc91055a7d097b7ecf8499af8cca618d0ff4c # timeout=10 Commit message: "Merge commit '3521595b3d029ad48779306d8d3c838e476b6612' into HEAD" > git rev-list --no-walk 3a4d5fb9b930b7193ad4bf764e8eee6f79fbacf5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:55:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:55:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:55:48 ========================================================= 18:55:48 EdgeX Global Pipelines Version Info 18:55:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:55:49 ------------------- 18:55:49 stable info: 18:55:49 ------------------- 18:55:49 Commited By: Cherry Wang cherry@iotechsys.com 18:55:49 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 18:55:49 Message: update stable to v1.0.269 18:55:50 ------------------- 18:55:50 experimental info: 18:55:50 ------------------- 18:55:50 Commited By: **** collab-it+edgex@linuxfoundation.org 18:55:50 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 18:55:50 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:55:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 18:55:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 18:55:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:55:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:55:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:55:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 18:55:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 18:55:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:55:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:55:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 18:55:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:55:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:55:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:55:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:55:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:55:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:55:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:55:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-530 [Pipeline] echo 18:55:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-530 [Pipeline] echo 18:55:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-530 [Pipeline] echo 18:55:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c1fbc91055a7d097b7ecf8499af8cca618d0ff4c [Pipeline] echo 18:55:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c1fbc91 [Pipeline] echo 18:55:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:55:51 provisioning config files... 18:55:51 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/config5014701541972179156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:51 ---> ****-login.sh 18:55:51 nexus3.edgexfoundry.org:10001 18:55:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:55:51 Configure a credential helper to remove this warning. See 18:55:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:55:51 18:55:51 Login Succeeded 18:55:51 nexus3.edgexfoundry.org:10002 18:55:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:55:52 Configure a credential helper to remove this warning. See 18:55:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:55:52 18:55:52 Login Succeeded 18:55:52 nexus3.edgexfoundry.org:10003 18:55:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:55:52 Configure a credential helper to remove this warning. See 18:55:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:55:52 18:55:52 Login Succeeded 18:55:52 nexus3.edgexfoundry.org:10004 18:55:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:55:52 Configure a credential helper to remove this warning. See 18:55:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:55:52 18:55:52 Login Succeeded 18:55:52 ****.io 18:55:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:55:52 Configure a credential helper to remove this warning. See 18:55:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:55:52 18:55:52 Login Succeeded 18:55:52 ---> ****-login.sh ends [Pipeline] } 18:55:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 18:55:53 + git rev-list -1 --merges c1fbc91055a7d097b7ecf8499af8cca618d0ff4c~1..c1fbc91055a7d097b7ecf8499af8cca618d0ff4c [Pipeline] echo 18:55:53 -----------> git rev-list -1 --merges c1fbc91055a7d097b7ecf8499af8cca618d0ff4c~1..c1fbc91055a7d097b7ecf8499af8cca618d0ff4c c1fbc91055a7d097b7ecf8499af8cca618d0ff4c 18:55:53 c1fbc91055a7d097b7ecf8499af8cca618d0ff4c [false] [Pipeline] sh 18:55:53 + git log --format=format:%s -1 c1fbc91055a7d097b7ecf8499af8cca618d0ff4c [Pipeline] echo 18:55:53 ========================================================= 18:55:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:55:53 ========================================================= 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 18:55:53 + git rev-list -1 --merges c1fbc91055a7d097b7ecf8499af8cca618d0ff4c~1..c1fbc91055a7d097b7ecf8499af8cca618d0ff4c [Pipeline] echo 18:55:53 -----------> git rev-list -1 --merges c1fbc91055a7d097b7ecf8499af8cca618d0ff4c~1..c1fbc91055a7d097b7ecf8499af8cca618d0ff4c c1fbc91055a7d097b7ecf8499af8cca618d0ff4c 18:55:53 c1fbc91055a7d097b7ecf8499af8cca618d0ff4c [false] [Pipeline] sh 18:55:54 + git log --format=format:%s -1 c1fbc91055a7d097b7ecf8499af8cca618d0ff4c [Pipeline] echo 18:55:54 ========================================================= 18:55:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:55:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 18:55:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:55:54 + grep -v github /etc/ssh/ssh_known_hosts 18:55:54 + [ -e /tmp/ssh_known_hosts ] 18:55:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:55:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:55:54 + sudo tee -a /etc/ssh/ssh_known_hosts 18:55:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:55:55 18:55:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:55:55 0.1.4: Pulling from edgex-devops/py-git-semver 18:55:55 b85a868b505f: Pulling fs layer 18:55:55 e2be974225ed: Pulling fs layer 18:55:55 339a4e72a1f5: Pulling fs layer 18:55:55 988bab9f4d93: Pulling fs layer 18:55:55 1469e6f7b9e6: Pulling fs layer 18:55:55 eaf3925da568: Pulling fs layer 18:55:55 bab4dde63d76: Pulling fs layer 18:55:55 bde34c3a00c8: Pulling fs layer 18:55:55 b352a97aabf1: Pulling fs layer 18:55:55 4872d77fe225: Pulling fs layer 18:55:55 5851b861e8e6: Pulling fs layer 18:55:55 eaf3925da568: Waiting 18:55:55 bab4dde63d76: Waiting 18:55:55 bde34c3a00c8: Waiting 18:55:55 b352a97aabf1: Waiting 18:55:55 4872d77fe225: Waiting 18:55:55 5851b861e8e6: Waiting 18:55:55 988bab9f4d93: Waiting 18:55:55 1469e6f7b9e6: Waiting 18:55:55 e2be974225ed: Download complete 18:55:55 988bab9f4d93: Verifying Checksum 18:55:55 988bab9f4d93: Download complete 18:55:55 1469e6f7b9e6: Verifying Checksum 18:55:55 1469e6f7b9e6: Download complete 18:55:55 eaf3925da568: Verifying Checksum 18:55:55 eaf3925da568: Download complete 18:55:55 339a4e72a1f5: Verifying Checksum 18:55:55 339a4e72a1f5: Download complete 18:55:55 bde34c3a00c8: Download complete 18:55:55 b352a97aabf1: Verifying Checksum 18:55:55 b352a97aabf1: Download complete 18:55:55 4872d77fe225: Download complete 18:55:55 5851b861e8e6: Verifying Checksum 18:55:55 5851b861e8e6: Download complete 18:55:55 b85a868b505f: Verifying Checksum 18:55:55 b85a868b505f: Download complete 18:55:55 bab4dde63d76: Verifying Checksum 18:55:55 bab4dde63d76: Download complete 18:55:56 b85a868b505f: Pull complete 18:55:57 e2be974225ed: Pull complete 18:55:57 339a4e72a1f5: Pull complete 18:55:57 988bab9f4d93: Pull complete 18:55:57 1469e6f7b9e6: Pull complete 18:55:57 eaf3925da568: Pull complete 18:55:59 bab4dde63d76: Pull complete 18:55:59 bde34c3a00c8: Pull complete 18:56:00 b352a97aabf1: Pull complete 18:56:00 4872d77fe225: Pull complete 18:56:00 5851b861e8e6: Pull complete 18:56:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:56:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:00 prd-ubuntu20.04-docker-8c-8g-34806 does not seem to be running inside a container 18:56:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-530 -v /w/workspace/edgexfoundry_device-sdk-c_PR-530:/w/workspace/edgexfoundry_device-sdk-c_PR-530:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:56:03 $ docker top 782fb5f285c8a7de3d1fd040b52984fbec3c0765074f7d75a29a79d1fd36a8dd -eo pid,comm 18:56:03 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). 18:56:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:56:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:03 [ssh-agent] Looking for ssh-agent implementation... 18:56:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:03 $ docker exec 782fb5f285c8a7de3d1fd040b52984fbec3c0765074f7d75a29a79d1fd36a8dd ssh-agent 18:56:03 SSH_AUTH_SOCK=/tmp/ssh-81BIu6UPVDiB/agent.33 18:56:03 SSH_AGENT_PID=39 18:56:03 Running ssh-add (command line suppressed) 18:56:03 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/private_key_6112590575086964180.key (/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/private_key_6112590575086964180.key) 18:56:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:04 + git tag --points-at HEAD [Pipeline] } 18:56:04 $ docker exec --env ******** --env ******** 782fb5f285c8a7de3d1fd040b52984fbec3c0765074f7d75a29a79d1fd36a8dd ssh-agent -k 18:56:04 unset SSH_AUTH_SOCK; 18:56:04 unset SSH_AGENT_PID; 18:56:04 echo Agent pid 39 killed; 18:56:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:56:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:04 [ssh-agent] Looking for ssh-agent implementation... 18:56:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:04 $ docker exec 782fb5f285c8a7de3d1fd040b52984fbec3c0765074f7d75a29a79d1fd36a8dd ssh-agent 18:56:04 SSH_AUTH_SOCK=/tmp/ssh-BLHyq8nS6Vda/agent.73 18:56:04 SSH_AGENT_PID=79 18:56:04 Running ssh-add (command line suppressed) 18:56:04 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/private_key_17095238460617381700.key (/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/private_key_17095238460617381700.key) 18:56:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:05 + git semver init 18:56:05 2024-12-09 18:56:05,222 [run_init] DEBUG init version:0.0.0 force:False 18:56:05 2024-12-09 18:56:05,223 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver 18:56:05 2024-12-09 18:56:05,223 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver 18:56:05 2024-12-09 18:56:05,224 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-530, universal_newlines=False, shell=None, istream=None) 18:56:06 2024-12-09 18:56:06,018 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530/.git/info/exclude 18:56:06 2024-12-09 18:56:06,018 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver/PR-530 with force:False 18:56:06 2024-12-09 18:56:06,018 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver/PR-530 18:56:06 2024-12-09 18:56:06,023 [execute] INFO git cat-file --batch-check 18:56:06 2024-12-09 18:56:06,023 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver, universal_newlines=False, shell=None, istream=) 18:56:06 2024-12-09 18:56:06,032 [execute] INFO git cat-file --batch 18:56:06 2024-12-09 18:56:06,033 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver, universal_newlines=False, shell=None, istream=) 18:56:06 2024-12-09 18:56:06,038 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver/PR-530 18:56:06 0.0.0 [Pipeline] } 18:56:06 $ docker exec --env ******** --env ******** 782fb5f285c8a7de3d1fd040b52984fbec3c0765074f7d75a29a79d1fd36a8dd ssh-agent -k 18:56:06 unset SSH_AUTH_SOCK; 18:56:06 unset SSH_AGENT_PID; 18:56:06 echo Agent pid 79 killed; 18:56:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:56:06 + git semver [Pipeline] } 18:56:06 $ docker stop --time=1 782fb5f285c8a7de3d1fd040b52984fbec3c0765074f7d75a29a79d1fd36a8dd 18:56:08 $ docker rm -f --volumes 782fb5f285c8a7de3d1fd040b52984fbec3c0765074f7d75a29a79d1fd36a8dd [Pipeline] // withDockerContainer [Pipeline] sh 18:56:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:56:08 Stashed 1 file(s) [Pipeline] echo 18:56:08 [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 18:56:09 provisioning config files... [Pipeline] // stage [Pipeline] } 18:56:09 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/config17794651421698163278tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 18:56:09 ---> ****-login.sh 18:56:09 nexus3.edgexfoundry.org:10001 18:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:56:09 Configure a credential helper to remove this warning. See 18:56:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:56:09 18:56:09 Login Succeeded 18:56:09 nexus3.edgexfoundry.org:10002 18:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:56:09 Configure a credential helper to remove this warning. See 18:56:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:56:09 18:56:09 Login Succeeded 18:56:09 nexus3.edgexfoundry.org:10003 18:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:56:09 Configure a credential helper to remove this warning. See 18:56:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:56:09 18:56:09 Login Succeeded 18:56:09 nexus3.edgexfoundry.org:10004 18:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:56:09 Configure a credential helper to remove this warning. See 18:56:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:56:09 18:56:09 Login Succeeded 18:56:09 ****.io 18:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:56:09 Configure a credential helper to remove this warning. See 18:56:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:56:09 18:56:09 Login Succeeded 18:56:09 ---> ****-login.sh ends [Pipeline] } 18:56:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:56:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:56:10 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 18:56:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:56:10 ========================================================= 18:56:10 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 18:56:10 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:10 + 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 . 18:56:10 Sending build context to Docker daemon 5.231MB 18:56:10 Step 1/22 : ARG BASE=alpine:3.18 18:56:10 Step 2/22 : FROM ${BASE} as builder 18:56:10 latest: Pulling from edgex-devops/edgex-gcc-base 18:56:10 96526aa774ef: Pulling fs layer 18:56:10 da60e534fd72: Pulling fs layer 18:56:10 96526aa774ef: Verifying Checksum 18:56:10 96526aa774ef: Download complete 18:56:10 96526aa774ef: Pull complete 18:56:11 da60e534fd72: Verifying Checksum 18:56:11 da60e534fd72: Download complete 18:56:14 da60e534fd72: Pull complete 18:56:14 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 18:56:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 18:56:14 ---> 6605166a5db4 18:56:14 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 18:56:16 ---> Running in 96f3fda7dd1d 18:56:16 Connecting to iotech.jfrog.io (54.73.4.50:443) 18:56:17 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:56:17 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:56:17 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:56:17 Removing intermediate container 96f3fda7dd1d 18:56:17 ---> f08d58f8e6e1 18:56:17 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:56:17 ---> Running in 88f73d648b53 18:56:18 Removing intermediate container 88f73d648b53 18:56:18 ---> 4fef737e2c59 18:56:18 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 18:56:18 ---> Running in 7d430e044cbf 18:56:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:56:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:56:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:56:19 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:56:19 (1/15) Installing libcbor (0.10.2-r1) 18:56:19 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 18:56:20 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 18:56:20 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 18:56:20 (5/15) Installing libcbor-dev (0.10.2-r1) 18:56:20 (6/15) Installing libmenuw (6.4_p20230506-r0) 18:56:20 (7/15) Installing libpanelw (6.4_p20230506-r0) 18:56:20 (8/15) Installing libncurses++ (6.4_p20230506-r0) 18:56:20 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 18:56:20 (10/15) Installing libblkid (2.38.1-r8) 18:56:20 (11/15) Installing libuuid (2.38.1-r8) 18:56:20 (12/15) Installing libfdisk (2.38.1-r8) 18:56:20 (13/15) Installing libmount (2.38.1-r8) 18:56:20 (14/15) Installing libsmartcols (2.38.1-r8) 18:56:20 (15/15) Installing util-linux-dev (2.38.1-r8) 18:56:20 Executing busybox-1.36.1-r4.trigger 18:56:20 OK: 336 MiB in 97 packages 18:56:21 Removing intermediate container 7d430e044cbf 18:56:21 ---> a713aebaf36f 18:56:21 Step 6/22 : RUN mkdir /tmp/sdk 18:56:21 ---> Running in ee47f913fb96 18:56:21 Removing intermediate container ee47f913fb96 18:56:21 ---> c3bae1abb979 18:56:21 Step 7/22 : COPY VERSION /tmp/sdk 18:56:21 ---> 2680f0b3ae74 18:56:21 Step 8/22 : COPY src /tmp/sdk/src 18:56:22 ---> ba25274cd371 18:56:22 Step 9/22 : COPY include /tmp/sdk/include 18:56:22 ---> 8f894e514521 18:56:22 Step 10/22 : COPY scripts /tmp/sdk/scripts 18:56:22 ---> 7ad84201fe89 18:56:22 Step 11/22 : COPY LICENSE /tmp/sdk 18:56:22 ---> d6c051f22bc7 18:56:22 Step 12/22 : COPY Attribution.txt /tmp/sdk 18:56:22 ---> acaf68e10edc 18:56:22 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:56:22 ---> Running in c8e50f16416b 18:56:22 + CPPCHECK=false 18:56:22 + DOCGEN=false 18:56:22 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 18:56:22 + '[' 0 -gt 0 ] 18:56:22 + readlink -f ./scripts/build.sh 18:56:22 + dirname /tmp/sdk/scripts/build.sh 18:56:22 + dirname /tmp/sdk/scripts 18:56:22 + ROOT=/tmp/sdk 18:56:22 + cd /tmp/sdk 18:56:22 + mkdir -p /tmp/sdk/build/release 18:56:22 + cd /tmp/sdk/build/release 18:56:22 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:56:23 -- The C compiler identification is GNU 12.2.1 18:56:23 -- Detecting C compiler ABI info 18:56:23 -- Detecting C compiler ABI info - done 18:56:23 -- Check for working C compiler: /usr/bin/cc - skipped 18:56:23 -- Detecting C compile features 18:56:23 -- Detecting C compile features - done 18:56:23 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:56:23 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 18:56:23 -- Found LIBYAML: /usr/lib/libyaml.so 18:56:23 -- Found LIBUUID: /usr/lib/libuuid.so 18:56:23 -- Found LIBCBOR: /usr/lib/libcbor.so 18:56:23 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:56:23 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:56:23 -- /opt/iotech/iot/1.5/include 18:56:23 -- C SDK 0.0.0 for Linux 18:56:23 -- Performing Test CSDK_HAVE_ATOMIC 18:56:23 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:56:23 -- Found Curses: /usr/lib/libcurses.so 18:56:23 -- Configuring done (0.4s) 18:56:23 -- Generating done (0.0s) 18:56:23 -- Build files have been written to: /tmp/sdk/build/release 18:56:23 + make all package 18:56:23 + tee release.log 18:56:23 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:56:23 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 18:56:23 from /tmp/sdk/src/c/service.h:12, 18:56:23 from /tmp/sdk/src/c/autoevent.h:12, 18:56:23 from /tmp/sdk/src/c/autoevent.c:9: 18:56:23 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 18:56:23 /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=] 18:56:23 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 18:56:23 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:56:23 | | 18:56:23 | size_t {aka long unsigned int} 18:56:23 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 18:56:23 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 18:56:23 | ^~~~~~~~~~~ 18:56:23 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 18:56:23 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 18:56:23 | ~^ 18:56:23 | | 18:56:23 | int 18:56:23 | %ld 18:56:23 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 18:56:23 [ 6%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 18:56:23 [ 8%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 18:56:23 [ 10%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:56:24 [ 12%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:56:24 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:56:24 [ 16%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:56:24 [ 18%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:56:24 [ 20%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:56:24 [ 22%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:56:24 [ 24%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:56:24 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 18:56:25 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:56:25 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:56:25 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 18:56:25 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 18:56:25 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 18:56:25 from /tmp/sdk/src/c/registry.h:14, 18:56:25 from /tmp/sdk/src/c/registry-impl.h:12, 18:56:25 from /tmp/sdk/src/c/keeper.h:12, 18:56:25 from /tmp/sdk/src/c/keeper.c:1: 18:56:25 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 18:56:25 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 18:56:25 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 18:56:25 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:56:25 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 18:56:25 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 18:56:25 | ^~~~~~~~~~~ 18:56:25 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 18:56:25 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 18:56:25 | ~^ 18:56:25 | | 18:56:25 | char * 18:56:25 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:56:25 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:56:26 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:56:27 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:56:27 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:56:27 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:56:27 [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 18:56:27 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:56:27 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:56:27 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 18:56:28 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 18:56:28 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 18:56:28 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:56:28 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 18:56:28 /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:56:28 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 18:56:28 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:56:28 /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:56:28 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 18:56:28 | ^ 18:56:28 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 18:56:28 from /tmp/sdk/src/c/service.h:12, 18:56:28 from /tmp/sdk/src/c/service.c:9: 18:56:28 /tmp/sdk/src/c/service.c:1087:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 18:56:28 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 18:56:28 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:56:28 | | 18:56:28 | uint64_t {aka long unsigned int} 18:56:28 /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' 18:56:28 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) 18:56:28 | ^~~~~~~~~~~ 18:56:28 /tmp/sdk/src/c/service.c:1087:54: note: format string is defined here 18:56:28 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 18:56:28 | ~^ 18:56:28 | | 18:56:28 | int 18:56:28 | %ld 18:56:28 /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': 18:56:28 /tmp/sdk/src/c/service.c:1150:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 18:56:28 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 18:56:28 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:56:28 | | 18:56:28 | size_t {aka long unsigned int} 18:56:28 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 18:56:28 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 18:56:28 | ^~~~~~~~~~~ 18:56:28 /tmp/sdk/src/c/service.c:1150:66: note: format string is defined here 18:56:28 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 18:56:28 | ~^ 18:56:28 | | 18:56:28 | int 18:56:28 | %ld 18:56:28 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 18:56:28 /tmp/sdk/src/c/service.c:1070:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 18:56:28 1070 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 18:56:28 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:56:28 /tmp/sdk/src/c/service.c:882:68: note: 'deviceservices_config' was declared here 18:56:28 882 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 18:56:28 | ^~~~~~~~~~~~~~~~~~~~~ 18:56:28 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:56:28 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 18:56:29 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:56:29 [ 68%] Linking C shared library libcsdk.so 18:56:29 [ 68%] Built target csdk 18:56:29 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:56:29 [ 72%] Linking C executable template 18:56:29 [ 72%] Built target template 18:56:29 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:56:29 [ 76%] Linking C executable device-counter 18:56:29 [ 76%] Built target device-counter 18:56:29 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:56:29 [ 80%] Linking C executable device-random 18:56:29 [ 80%] Built target device-random 18:56:29 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:56:29 [ 84%] Linking C executable device-gyro 18:56:29 [ 84%] Built target device-gyro 18:56:29 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:56:29 [ 88%] Linking C executable device-bitfields 18:56:30 [ 88%] Built target device-bitfields 18:56:30 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:56:30 [ 92%] Linking C executable template-discovery 18:56:30 [ 92%] Built target template-discovery 18:56:30 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:56:30 [ 96%] Linking C executable device-file 18:56:30 [ 96%] Built target device-file 18:56:30 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:56:30 [100%] Linking C executable device-terminal 18:56:30 [100%] Built target device-terminal 18:56:30 Run CPack packaging tool... 18:56:30 CPack: Create package using TGZ 18:56:30 CPack: Install projects 18:56:30 CPack: - Run preinstall target for: Csdk 18:56:30 CPack: - Install project: Csdk [] 18:56:30 CPack: Create package 18:56:30 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 18:56:30 + '[' false '=' true ] 18:56:30 + '[' false '=' true ] 18:56:30 + mkdir -p /tmp/sdk/build/debug 18:56:30 + cd /tmp/sdk/build/debug 18:56:30 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:56:30 -- The C compiler identification is GNU 12.2.1 18:56:30 -- Detecting C compiler ABI info 18:56:31 -- Detecting C compiler ABI info - done 18:56:31 -- Check for working C compiler: /usr/bin/cc - skipped 18:56:31 -- Detecting C compile features 18:56:31 -- Detecting C compile features - done 18:56:31 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:56:31 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 18:56:31 -- Found LIBYAML: /usr/lib/libyaml.so 18:56:31 -- Found LIBUUID: /usr/lib/libuuid.so 18:56:31 -- Found LIBCBOR: /usr/lib/libcbor.so 18:56:31 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:56:31 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:56:31 -- /opt/iotech/iot/1.5/include 18:56:31 -- C SDK 0.0.0 for Linux 18:56:31 -- Performing Test CSDK_HAVE_ATOMIC 18:56:31 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:56:31 -- Found Curses: /usr/lib/libcurses.so 18:56:31 -- Configuring done (0.4s) 18:56:31 -- Generating done (0.0s) 18:56:31 -- Build files have been written to: /tmp/sdk/build/debug 18:56:31 + make 18:56:31 + tee debug.log 18:56:31 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:56:31 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 18:56:31 from /tmp/sdk/src/c/service.h:12, 18:56:31 from /tmp/sdk/src/c/autoevent.h:12, 18:56:31 from /tmp/sdk/src/c/autoevent.c:9: 18:56:31 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 18:56: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=] 18:56:31 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 18:56:31 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:56:31 | | 18:56:31 | size_t {aka long unsigned int} 18:56:31 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 18:56:31 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 18:56:31 | ^~~~~~~~~~~ 18:56:31 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 18:56:31 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 18:56:31 | ~^ 18:56:31 | | 18:56:31 | int 18:56:31 | %ld 18:56:31 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 18:56:31 [ 6%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 18:56:31 [ 8%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 18:56:31 [ 10%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:56:31 [ 12%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:56:31 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:56:31 [ 16%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:56:31 [ 18%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:56:31 [ 20%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:56:32 [ 22%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:56:32 [ 24%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:56:32 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 18:56:32 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:56:32 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:56:32 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 18:56:32 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 18:56:32 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 18:56:32 from /tmp/sdk/src/c/registry.h:14, 18:56:32 from /tmp/sdk/src/c/registry-impl.h:12, 18:56:32 from /tmp/sdk/src/c/keeper.h:12, 18:56:32 from /tmp/sdk/src/c/keeper.c:1: 18:56:32 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 18:56:32 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 18:56:32 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 18:56:32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:56:32 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 18:56:32 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 18:56:32 | ^~~~~~~~~~~ 18:56:32 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 18:56:32 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 18:56:32 | ~^ 18:56:32 | | 18:56:32 | char * 18:56:32 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:56:32 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:56:32 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:56:32 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:56:32 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:56:33 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:56:33 [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 18:56:33 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:56:33 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:56:33 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 18:56:33 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 18:56:33 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 18:56:33 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:56:33 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 18:56:33 /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:56:33 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 18:56:33 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:56:33 /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:56:33 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 18:56:33 | ^ 18:56:33 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 18:56:33 from /tmp/sdk/src/c/service.h:12, 18:56:33 from /tmp/sdk/src/c/service.c:9: 18:56:33 /tmp/sdk/src/c/service.c:1087:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 18:56:33 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 18:56:33 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:56:33 | | 18:56:33 | uint64_t {aka long unsigned int} 18:56:33 /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' 18:56:33 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) 18:56:33 | ^~~~~~~~~~~ 18:56:33 /tmp/sdk/src/c/service.c:1087:54: note: format string is defined here 18:56:33 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 18:56:33 | ~^ 18:56:33 | | 18:56:33 | int 18:56:33 | %ld 18:56:33 /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': 18:56:33 /tmp/sdk/src/c/service.c:1150:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 18:56:33 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 18:56:33 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:56:33 | | 18:56:33 | size_t {aka long unsigned int} 18:56:33 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 18:56:33 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 18:56:33 | ^~~~~~~~~~~ 18:56:33 /tmp/sdk/src/c/service.c:1150:66: note: format string is defined here 18:56:33 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 18:56:33 | ~^ 18:56:33 | | 18:56:33 | int 18:56:33 | %ld 18:56:33 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:56:33 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 18:56:33 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:56:33 [ 68%] Linking C shared library libcsdk.so 18:56:33 [ 68%] Built target csdk 18:56:33 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:56:33 [ 72%] Linking C executable template 18:56:34 [ 72%] Built target template 18:56:34 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:56:34 [ 76%] Linking C executable device-counter 18:56:34 [ 76%] Built target device-counter 18:56:34 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:56:34 [ 80%] Linking C executable device-random 18:56:34 [ 80%] Built target device-random 18:56:34 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:56:34 [ 84%] Linking C executable device-gyro 18:56:34 [ 84%] Built target device-gyro 18:56:34 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:56:34 [ 88%] Linking C executable device-bitfields 18:56:34 [ 88%] Built target device-bitfields 18:56:34 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:56:34 [ 92%] Linking C executable template-discovery 18:56:34 [ 92%] Built target template-discovery 18:56:34 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:56:34 [ 96%] Linking C executable device-file 18:56:34 [ 96%] Built target device-file 18:56:34 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:56:34 [100%] Linking C executable device-terminal 18:56:35 [100%] Built target device-terminal 18:56:35 make: Entering directory '/tmp/sdk/build/release' 18:56:35 [ 68%] Built target csdk 18:56:35 [ 72%] Built target template 18:56:35 [ 76%] Built target device-counter 18:56:35 [ 80%] Built target device-random 18:56:35 [ 84%] Built target device-gyro 18:56:35 [ 88%] Built target device-bitfields 18:56:35 [ 92%] Built target template-discovery 18:56:35 [ 96%] Built target device-file 18:56:35 [100%] Built target device-terminal 18:56:35 Install the project... 18:56:35 -- Install configuration: "Release" 18:56:35 -- Installing: /usr/local/lib/libcsdk.so 18:56:35 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 18:56:35 -- Installing: /usr/local/include 18:56:35 -- Installing: /usr/local/include/devsdk 18:56:35 -- Installing: /usr/local/include/devsdk/devsdk.h 18:56:35 -- Installing: /usr/local/include/devsdk/devsdk-base.h 18:56:35 -- Installing: /usr/local/include/edgex 18:56:35 -- Installing: /usr/local/include/edgex/edgex.h 18:56:35 -- Installing: /usr/local/include/edgex/devices.h 18:56:35 -- Installing: /usr/local/include/edgex/profiles.h 18:56:35 -- Installing: /usr/local/include/edgex/edgex-base.h 18:56:35 -- Installing: /usr/local/include/edgex/rest-server.h 18:56:35 -- Installing: /usr/local/include/edgex/csdk-defs.h 18:56:35 -- Installing: /usr/local/share/device-sdk-c/LICENSE 18:56:35 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 18:56:35 make: Leaving directory '/tmp/sdk/build/release' 18:56:36 Removing intermediate container c8e50f16416b 18:56:36 ---> 095be2481fea 18:56:36 Step 14/22 : FROM ${BASE} 18:56:36 ---> 6605166a5db4 18:56:36 Step 15/22 : LABEL maintainer="IOTech " 18:56:36 ---> Running in af061307f0f7 18:56:36 Removing intermediate container af061307f0f7 18:56:36 ---> 0ad6ab01c6db 18:56: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 18:56:36 ---> Running in 01b0f6d401d8 18:56:36 Connecting to iotech.jfrog.io (34.247.22.236:443) 18:56:36 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:56:36 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:56:36 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:56:37 Removing intermediate container 01b0f6d401d8 18:56:37 ---> 5e1c062d737a 18:56:37 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:56:37 ---> Running in f55b6e882a3f 18:56:37 Removing intermediate container f55b6e882a3f 18:56:37 ---> 9cd239ba51ff 18:56:37 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 18:56:37 ---> Running in 09361ee8009d 18:56:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:56:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:56:38 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:56:38 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:56:38 (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 18:56:38 (2/8) Installing curl (8.9.1-r1) 18:56:38 (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 18:56:38 (4/8) Installing dumb-init (1.2.5-r2) 18:56:38 (5/8) Installing libcbor (0.10.2-r1) 18:56:39 (6/8) Installing iotech-iot-1.5 (1.5.5-r0) 18:56:39 (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 18:56:39 (8/8) Installing libuuid (2.38.1-r8) 18:56:39 Executing busybox-1.36.1-r4.trigger 18:56:39 OK: 331 MiB in 88 packages 18:56:40 Removing intermediate container 09361ee8009d 18:56:40 ---> a191f8fff65d 18:56:40 Step 19/22 : RUN apk --no-cache upgrade 18:56:40 ---> Running in 7582f263a7d6 18:56:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:56:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:56:40 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:56:41 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:56:41 Upgrading critical system libraries and apk-tools: 18:56:41 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 18:56:41 Executing busybox-1.36.1-r4.trigger 18:56:41 Continuing the upgrade transaction with new apk-tools: 18:56:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:56:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:56:41 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:56:42 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:56:42 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 18:56:42 Executing busybox-1.36.1-r7.post-upgrade 18:56:42 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 18:56:42 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 18:56:42 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 18:56:42 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 18:56:42 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 18:56:42 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 18:56:42 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 18:56:42 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 18:56:42 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 18:56:42 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 18:56:42 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 18:56:42 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 18:56:42 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 18:56:42 Executing busybox-1.36.1-r7.trigger 18:56:42 Executing ca-certificates-20240226-r0.trigger 18:56:42 OK: 331 MiB in 88 packages 18:56:43 Removing intermediate container 7582f263a7d6 18:56:43 ---> c61a48c55fc9 18:56:43 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 18:56:43 ---> 57b91157c214 18:56:43 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 18:56:43 ---> dd715909692e 18:56:43 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 18:56:43 ---> 455f5e7bf1cf 18:56:43 Successfully built 455f5e7bf1cf 18:56:43 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 18:56:44 + docker inspect -f . ci-base-image-x86_64 18:56:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:44 prd-ubuntu20.04-docker-8c-8g-34806 does not seem to be running inside a container 18:56:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-530 -v /w/workspace/edgexfoundry_device-sdk-c_PR-530:/w/workspace/edgexfoundry_device-sdk-c_PR-530:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:56:44 $ docker top 864cb6b66e1fa2310b04a2e4e30cd30de8a3deaf0316912a0849a81df20c3b85 -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:45 + make test 18:56:45 echo "make test" 18:56:45 make test [Pipeline] } 18:56:45 $ docker stop --time=1 864cb6b66e1fa2310b04a2e4e30cd30de8a3deaf0316912a0849a81df20c3b85 18:56:46 $ docker rm -f --volumes 864cb6b66e1fa2310b04a2e4e30cd30de8a3deaf0316912a0849a81df20c3b85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:56:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:56:47 + ls -al . 18:56:47 total 212 18:56:47 drwxrwxr-x 9 jenkins jenkins 4096 Dec 9 18:56 . 18:56:47 drwxrwxr-x 4 jenkins jenkins 4096 Dec 9 18:55 .. 18:56:47 drwxrwxr-x 8 jenkins jenkins 4096 Dec 9 18:56 .git 18:56:47 drwxrwxr-x 3 jenkins jenkins 4096 Dec 9 18:55 .github 18:56:47 -rw-rw-r-- 1 jenkins jenkins 176 Dec 9 18:55 .gitignore 18:56:47 drwxr-xr-x 3 jenkins jenkins 4096 Dec 9 18:56 .semver 18:56:47 -rw-rw-r-- 1 jenkins jenkins 2908 Dec 9 18:55 Attribution.txt 18:56:47 -rw-rw-r-- 1 jenkins jenkins 11953 Dec 9 18:55 CHANGELOG.md 18:56:47 -rw-rw-r-- 1 jenkins jenkins 108574 Dec 9 18:55 Doxyfile 18:56:47 -rw-rw-r-- 1 jenkins jenkins 677 Dec 9 18:55 GOVERNANCE.md 18:56:47 -rw-rw-r-- 1 jenkins jenkins 784 Dec 9 18:55 Jenkinsfile 18:56:47 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 9 18:55 LICENSE 18:56:47 -rw-rw-r-- 1 jenkins jenkins 444 Dec 9 18:55 Makefile 18:56:47 -rw-rw-r-- 1 jenkins jenkins 618 Dec 9 18:55 OWNERS.md 18:56:47 -rw-rw-r-- 1 jenkins jenkins 1651 Dec 9 18:55 README.IOT.md 18:56:47 -rw-rw-r-- 1 jenkins jenkins 4173 Dec 9 18:55 README.md 18:56:47 -rw-rw-r-- 1 jenkins jenkins 1245 Dec 9 18:55 README.v3.md 18:56:47 -rw-rw-r-- 1 jenkins jenkins 5 Dec 9 18:56 VERSION 18:56:47 drwxrwxr-x 2 jenkins jenkins 4096 Dec 9 18:55 docs 18:56:47 drwxrwxr-x 4 jenkins jenkins 4096 Dec 9 18:55 include 18:56:47 drwxrwxr-x 2 jenkins jenkins 4096 Dec 9 18:55 scripts 18:56:47 drwxrwxr-x 4 jenkins jenkins 4096 Dec 9 18:55 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:47 + 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=c1fbc91055a7d097b7ecf8499af8cca618d0ff4c --label arch=amd64 --label version=0.0.0 . 18:56:47 Sending build context to Docker daemon 5.231MB 18:56:47 Step 1/18 : ARG BASE=alpine:3.18 18:56:47 Step 2/18 : FROM ${BASE} 18:56:47 ---> 455f5e7bf1cf 18:56:47 Step 3/18 : LABEL maintainer="IOTech " 18:56:47 ---> Running in d85071abe6a8 18:56:47 Removing intermediate container d85071abe6a8 18:56:47 ---> ce6458ae1b5e 18:56:47 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 18:56:47 ---> Running in 7c8ae1b1a680 18:56:48 Connecting to iotech.jfrog.io (54.73.4.50:443) 18:56:48 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:56:48 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:56:48 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:56:48 Removing intermediate container 7c8ae1b1a680 18:56:48 ---> b7e8a8980785 18:56:48 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:56:48 ---> Running in c165c47d00b1 18:56:49 Removing intermediate container c165c47d00b1 18:56:49 ---> f490fcab59fe 18:56:49 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 18:56:49 ---> Running in 14bcf1c0a90b 18:56:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:56:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:56:50 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:56:50 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:56:50 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 18:56:50 (2/11) Installing libcbor-dev (0.10.2-r1) 18:56:50 (3/11) Installing libmenuw (6.4_p20230506-r0) 18:56:50 (4/11) Installing libpanelw (6.4_p20230506-r0) 18:56:50 (5/11) Installing libncurses++ (6.4_p20230506-r0) 18:56:50 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 18:56:50 (7/11) Installing libblkid (2.38.1-r8) 18:56:50 (8/11) Installing libfdisk (2.38.1-r8) 18:56:50 (9/11) Installing libmount (2.38.1-r8) 18:56:50 (10/11) Installing libsmartcols (2.38.1-r8) 18:56:50 (11/11) Installing util-linux-dev (2.38.1-r8) 18:56:50 Executing busybox-1.36.1-r7.trigger 18:56:50 OK: 336 MiB in 99 packages 18:56:51 Removing intermediate container 14bcf1c0a90b 18:56:51 ---> 529bc05a6c28 18:56:51 Step 7/18 : RUN apk --no-cache upgrade 18:56:51 ---> Running in 288bba016611 18:56:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:56:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:56:51 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:56:52 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:56:52 OK: 336 MiB in 99 packages 18:56:52 Removing intermediate container 288bba016611 18:56:52 ---> cab961c47817 18:56:52 Step 8/18 : COPY VERSION /edgex-c-sdk/ 18:56:52 ---> ce97e6898290 18:56:52 Step 9/18 : COPY src /edgex-c-sdk/src/ 18:56:53 ---> ff88d1b1d385 18:56:53 Step 10/18 : COPY include /edgex-c-sdk/include/ 18:56:53 ---> b2cf44ba4d08 18:56:53 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 18:56:53 ---> b3841a5ad8bb 18:56:53 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 18:56:53 ---> 74cc8e0caa68 18:56:53 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 18:56:53 ---> 4758d94d6aa6 18:56:53 Step 14/18 : WORKDIR /edgex-c-sdk 18:56:53 ---> Running in 7e3f49d173ea 18:56:53 Removing intermediate container 7e3f49d173ea 18:56:53 ---> 0b4043fb3dac 18:56:53 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 18:56:53 ---> Running in d2252a095500 18:56:53 Removing intermediate container d2252a095500 18:56:53 ---> 66bac7e4a229 18:56:53 Step 16/18 : LABEL arch=amd64 18:56:53 ---> Running in d370e50ccacd 18:56:53 Removing intermediate container d370e50ccacd 18:56:53 ---> 8cc799bf9e84 18:56:53 Step 17/18 : LABEL git_sha=c1fbc91055a7d097b7ecf8499af8cca618d0ff4c 18:56:53 ---> Running in 65baf92e9da9 18:56:53 Removing intermediate container 65baf92e9da9 18:56:53 ---> e135171e9a7f 18:56:53 Step 18/18 : LABEL version=0.0.0 18:56:53 ---> Running in c72533a19a63 18:56:53 Removing intermediate container c72533a19a63 18:56:53 ---> deb6124e4735 18:56:53 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:56:53 Successfully built deb6124e4735 18:56:53 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 18:56:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:56:54 18:56:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:56:54 latest: Pulling from edgex-lftools-log-publisher 18:56:54 5eb5b503b376: Pulling fs layer 18:56:54 5c69ac0246d0: Pulling fs layer 18:56:54 ec43610c2a17: Pulling fs layer 18:56:54 3a2ae6a8a46f: Pulling fs layer 18:56:54 33b1e0a273af: Pulling fs layer 18:56:54 5d3b04190fa2: Pulling fs layer 18:56:54 2f39f015ded8: Pulling fs layer 18:56:54 3a2ae6a8a46f: Waiting 18:56:54 33b1e0a273af: Waiting 18:56:54 5d3b04190fa2: Waiting 18:56:54 5c69ac0246d0: Verifying Checksum 18:56:54 5c69ac0246d0: Download complete 18:56:54 3a2ae6a8a46f: Verifying Checksum 18:56:54 3a2ae6a8a46f: Download complete 18:56:54 33b1e0a273af: Verifying Checksum 18:56:54 33b1e0a273af: Download complete 18:56:54 5d3b04190fa2: Verifying Checksum 18:56:54 5d3b04190fa2: Download complete 18:56:54 ec43610c2a17: Verifying Checksum 18:56:54 5eb5b503b376: Verifying Checksum 18:56:54 5eb5b503b376: Download complete 18:56:55 2f39f015ded8: Download complete 18:56:56 5eb5b503b376: Pull complete 18:56:56 5c69ac0246d0: Pull complete 18:56:56 ec43610c2a17: Pull complete 18:56:56 3a2ae6a8a46f: Pull complete 18:56:57 33b1e0a273af: Pull complete 18:56:57 5d3b04190fa2: Pull complete 18:57:01 2f39f015ded8: Pull complete 18:57:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:57:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:01 prd-ubuntu20.04-docker-8c-8g-34806 does not seem to be running inside a container 18:57:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-530 -v /w/workspace/edgexfoundry_device-sdk-c_PR-530:/w/workspace/edgexfoundry_device-sdk-c_PR-530:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:57:05 $ docker top bbcc4ae0a2ef83ee817aa3519b3d106e9cf5b27745b1758bdfb6121920908453 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:57:05 ---> job-cost.sh 18:57:05 lf-activate-venv: SKIPPING 18:57:05 INFO: No Stack... 18:57:06 INFO: Retrieving Pricing Info for: v3-standard-8 18:57:06 INFO: Archiving Costs [Pipeline] sh 18:57:06 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives/cost.csv 18:57:06 + cut -d, -f6 [Pipeline] lock 18:57:06 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-530-5-stack-cost] 18:57:06 Resource [jenkins-edgexfoundry-device-sdk-c-PR-530-5-stack-cost] did not exist. Created. 18:57:06 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-530-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:57:07 + echo total: 0.2199999988079071 [Pipeline] stash 18:57:07 Stashed 1 file(s) [Pipeline] } 18:57:07 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-530-5-stack-cost] [Pipeline] // lock [Pipeline] } 18:57:07 $ docker stop --time=1 bbcc4ae0a2ef83ee817aa3519b3d106e9cf5b27745b1758bdfb6121920908453 18:57:08 $ docker rm -f --volumes bbcc4ae0a2ef83ee817aa3519b3d106e9cf5b27745b1758bdfb6121920908453 [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 18:57:09 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives ] 18:57:09 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives 18:57:09 total 16 18:57:09 drwxr-xr-x 3 root root 4096 Dec 9 18:57 . 18:57:09 drwxrwxr-x 10 jenkins jenkins 4096 Dec 9 18:57 .. 18:57:09 drwxr-xr-x 2 root root 4096 Dec 9 18:57 cost 18:57:09 -rw-r--r-- 1 root root 84 Dec 9 18:57 cost.csv 18:57:09 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives 18:57:09 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives 18:57:09 total 16 18:57:09 drwxr-xr-x 3 jenkins jenkins 4096 Dec 9 18:57 . 18:57:09 drwxrwxr-x 10 jenkins jenkins 4096 Dec 9 18:57 .. 18:57:09 drwxr-xr-x 2 jenkins jenkins 4096 Dec 9 18:57 cost 18:57:09 -rw-r--r-- 1 jenkins jenkins 84 Dec 9 18:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:57:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:57:10 ---> package-listing.sh 18:57:10 ++ facter osfamily 18:57:10 ++ tr '[:upper:]' '[:lower:]' 18:57:10 + OS_FAMILY=debian 18:57:10 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-530 18:57:10 + START_PACKAGES=/tmp/packages_start.txt 18:57:10 + END_PACKAGES=/tmp/packages_end.txt 18:57:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:57:10 + PACKAGES=/tmp/packages_start.txt 18:57:10 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-530 ']' 18:57:10 + PACKAGES=/tmp/packages_end.txt 18:57:10 + case "${OS_FAMILY}" in 18:57:10 + dpkg -l 18:57:10 + grep '^ii' 18:57:10 + '[' -f /tmp/packages_start.txt ']' 18:57:10 + '[' -f /tmp/packages_end.txt ']' 18:57:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:57:10 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-530 ']' 18:57:10 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives/ 18:57:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives/ [Pipeline] echo 18:57:10 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-530/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:57:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:11 prd-ubuntu20.04-docker-8c-8g-34806 does not seem to be running inside a container 18:57:11 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-530/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-530 -v /w/workspace/edgexfoundry_device-sdk-c_PR-530:/w/workspace/edgexfoundry_device-sdk-c_PR-530:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:57:11 $ docker top f06d74bca58bf34d0818d4408ea35c88486223612dc01ef58bc22b8e8becaea6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:12 + touch /tmp/pre-build-complete [Pipeline] sh 18:57:12 + mkdir -p /var/log/sysstat [Pipeline] sh 18:57:12 + ls /var/log/sa-host 18:57:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:57:12 provisioning config files... 18:57:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/config9630133269789525437tmp [Pipeline] { [Pipeline] echo 18:57:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:57:13 ---> create-netrc.sh [Pipeline] } 18:57:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:57:13 ---> python-tools-install.sh [Pipeline] echo 18:57:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:57:13 ---> sudo-logs.sh 18:57:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:57:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:57:14 ---> job-cost.sh 18:57:14 lf-activate-venv: SKIPPING 18:57:14 DEBUG: total: 0.2199999988079071 18:57:14 INFO: Retrieving Stack Cost... 18:57:14 INFO: Retrieving Pricing Info for: v3-standard-8 18:57:14 INFO: Archiving Costs [Pipeline] echo 18:57:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:57:14 ---> logs-deploy.sh 18:57:14 lf-activate-venv: SKIPPING 18:57:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-530/5 18:57:14 INFO: archiving workspace using pattern(s): 18:57:15 Archives upload complete. 18:57:15 INFO: archiving logs to Nexus 18:57:16 ---> uname -a: 18:57:16 Linux prd-ubuntu20-04-docker-8c-8g-34806 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:57:16 18:57:16 18:57:16 ---> lscpu: 18:57:16 Architecture: x86_64 18:57:16 CPU op-mode(s): 32-bit, 64-bit 18:57:16 Byte Order: Little Endian 18:57:16 Address sizes: 40 bits physical, 48 bits virtual 18:57:16 CPU(s): 8 18:57:16 On-line CPU(s) list: 0-7 18:57:16 Thread(s) per core: 1 18:57:16 Core(s) per socket: 1 18:57:16 Socket(s): 8 18:57:16 NUMA node(s): 1 18:57:16 Vendor ID: AuthenticAMD 18:57:16 CPU family: 23 18:57:16 Model: 49 18:57:16 Model name: AMD EPYC-Rome Processor 18:57:16 Stepping: 0 18:57:16 CPU MHz: 2800.000 18:57:16 BogoMIPS: 5600.00 18:57:16 Virtualization: AMD-V 18:57:16 Hypervisor vendor: KVM 18:57:16 Virtualization type: full 18:57:16 L1d cache: 256 KiB 18:57:16 L1i cache: 256 KiB 18:57:16 L2 cache: 4 MiB 18:57:16 L3 cache: 128 MiB 18:57:16 NUMA node0 CPU(s): 0-7 18:57:16 Vulnerability Itlb multihit: Not affected 18:57:16 Vulnerability L1tf: Not affected 18:57:16 Vulnerability Mds: Not affected 18:57:16 Vulnerability Meltdown: Not affected 18:57:16 Vulnerability Mmio stale data: Not affected 18:57:16 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:57:16 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:57:16 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:57:16 Vulnerability Srbds: Not affected 18:57:16 Vulnerability Tsx async abort: Not affected 18:57:16 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 18:57:16 18:57:16 18:57:16 ---> nproc: 18:57:16 8 18:57:16 18:57:16 18:57:16 ---> df -h: 18:57:16 Filesystem Size Used Avail Use% Mounted on 18:57:16 overlay 155G 11G 145G 7% / 18:57:16 tmpfs 64M 0 64M 0% /dev 18:57:16 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:57:16 shm 64M 0 64M 0% /dev/shm 18:57:16 /dev/vda1 155G 11G 145G 7% /facter-os 18:57:16 18:57:16 18:57:16 ---> sar -b -r -n DEV: 18:57:16 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-34806) 12/09/24 _x86_64_ (8 CPU) 18:57:16 18:57:16 18:55:06 LINUX RESTART (8 CPU) 18:57:16 18:57:16 18:56:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:57:16 18:57:01 235.52 2.96 232.56 0.00 428.99 23060.75 0.00 18:57:16 Average: 235.52 2.96 232.56 0.00 428.99 23060.75 0.00 18:57:16 18:57:16 18:56:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:57:16 18:57:01 28974468 31543380 750704 2.28 90320 2735452 1811076 5.34 1068524 2408712 455944 18:57:16 Average: 28974468 31543380 750704 2.28 90320 2735452 1811076 5.34 1068524 2408712 455944 18:57:16 18:57:16 18:56:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:57:16 18:57:01 ens3 259.16 160.18 5081.29 43.11 0.00 0.00 0.00 0.00 18:57:16 18:57:01 docker0 27.99 40.84 1.97 430.50 0.00 0.00 0.00 0.00 18:57:16 18:57:01 lo 3.52 3.52 0.35 0.35 0.00 0.00 0.00 0.00 18:57:16 Average: ens3 259.16 160.18 5081.29 43.11 0.00 0.00 0.00 0.00 18:57:16 Average: docker0 27.99 40.84 1.97 430.50 0.00 0.00 0.00 0.00 18:57:16 Average: lo 3.52 3.52 0.35 0.35 0.00 0.00 0.00 0.00 18:57:16 18:57:16 18:57:16 ---> sar -P ALL: 18:57:16 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-34806) 12/09/24 _x86_64_ (8 CPU) 18:57:16 18:57:16 18:55:06 LINUX RESTART (8 CPU) 18:57:16 18:57:16 18:56:02 CPU %user %nice %system %iowait %steal %idle 18:57:16 18:57:01 all 9.46 0.00 4.07 1.47 0.07 84.94 18:57:16 18:57:01 0 9.35 0.00 4.52 5.09 0.07 80.98 18:57:16 18:57:01 1 9.71 0.00 4.07 0.19 0.09 85.95 18:57:16 18:57:01 2 7.67 0.00 3.90 0.17 0.05 88.21 18:57:16 18:57:01 3 10.06 0.00 4.67 0.53 0.05 84.69 18:57:16 18:57:01 4 10.76 0.00 3.83 4.81 0.07 80.54 18:57:16 18:57:01 5 11.77 0.00 4.12 0.14 0.07 83.90 18:57:16 18:57:01 6 8.25 0.00 3.75 0.70 0.07 87.23 18:57:16 18:57:01 7 8.10 0.00 3.67 0.17 0.07 87.99 18:57:16 Average: all 9.46 0.00 4.07 1.47 0.07 84.94 18:57:16 Average: 0 9.35 0.00 4.52 5.09 0.07 80.98 18:57:16 Average: 1 9.71 0.00 4.07 0.19 0.09 85.95 18:57:16 Average: 2 7.67 0.00 3.90 0.17 0.05 88.21 18:57:16 Average: 3 10.06 0.00 4.67 0.53 0.05 84.69 18:57:16 Average: 4 10.76 0.00 3.83 4.81 0.07 80.54 18:57:16 Average: 5 11.77 0.00 4.12 0.14 0.07 83.90 18:57:16 Average: 6 8.25 0.00 3.75 0.70 0.07 87.23 18:57:16 Average: 7 8.10 0.00 3.67 0.17 0.07 87.99 18:57:16 18:57:16 18:57:16