Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8c5e39fa7b5b04e520d4bb53faca14d55facea43 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-ssh15044289012143431793.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-ssh11679630293913736130.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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5239262192936686683.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-ssh3688074472166896301.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10742923711940367856.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-34535 in /w/workspace/edgexfoundry_device-sdk-c_main [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_main # 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 Avoid second fetch Checking out Revision 8c5e39fa7b5b04e520d4bb53faca14d55facea43 (main) Commit message: "feat!: Remove Redis Pub/Sub feature and dependency (#527)" > 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 core.sparsecheckout # timeout=10 > git checkout -f 8c5e39fa7b5b04e520d4bb53faca14d55facea43 # timeout=10 > git rev-list --no-walk b4a60c126f741d84c14ee104c3263f3235d33930 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-12-05T05:53:51.369Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-12-05T05:53:51.432Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-12-05T05:53:51.452Z] ========================================================= [2024-12-05T05:53:51.452Z] EdgeX Global Pipelines Version Info [2024-12-05T05:53:51.452Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-12-05T05:53:52.163Z] ------------------- [2024-12-05T05:53:52.163Z] stable info: [2024-12-05T05:53:52.163Z] ------------------- [2024-12-05T05:53:52.163Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-12-05T05:53:52.163Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-05T05:53:52.163Z] Message: update stable to v1.0.269 [2024-12-05T05:53:52.737Z] ------------------- [2024-12-05T05:53:52.737Z] experimental info: [2024-12-05T05:53:52.737Z] ------------------- [2024-12-05T05:53:52.737Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-12-05T05:53:52.737Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-05T05:53:52.737Z] Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-12-05T05:53:52.812Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-12-05T05:53:52.830Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-12-05T05:53:52.846Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-12-05T05:53:52.868Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-12-05T05:53:52.890Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-12-05T05:53:52.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-12-05T05:53:52.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-12-05T05:53:52.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-12-05T05:53:52.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-12-05T05:53:52.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-12-05T05:53:53.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-12-05T05:53:53.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-12-05T05:53:53.057Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-12-05T05:53:53.077Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-12-05T05:53:53.099Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-12-05T05:53:53.118Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-12-05T05:53:53.138Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-12-05T05:53:53.154Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-12-05T05:53:53.175Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-12-05T05:53:53.194Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-12-05T05:53:53.211Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c5e39fa7b5b04e520d4bb53faca14d55facea43 [Pipeline] echo [2024-12-05T05:53:53.229Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c5e39f [Pipeline] echo [2024-12-05T05:53:53.249Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-05T05:53:53.307Z] provisioning config files... [2024-12-05T05:53:53.323Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5502640875202206868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-05T05:53:53.659Z] ---> ****-login.sh [2024-12-05T05:53:53.659Z] nexus3.edgexfoundry.org:10001 [2024-12-05T05:53:53.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-05T05:53:54.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-05T05:53:54.183Z] Configure a credential helper to remove this warning. See [2024-12-05T05:53:54.183Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-05T05:53:54.183Z] [2024-12-05T05:53:54.183Z] Login Succeeded [2024-12-05T05:53:54.183Z] nexus3.edgexfoundry.org:10002 [2024-12-05T05:53:54.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-05T05:53:54.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-05T05:53:54.183Z] Configure a credential helper to remove this warning. See [2024-12-05T05:53:54.183Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-05T05:53:54.183Z] [2024-12-05T05:53:54.183Z] Login Succeeded [2024-12-05T05:53:54.183Z] nexus3.edgexfoundry.org:10003 [2024-12-05T05:53:54.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-05T05:53:54.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-05T05:53:54.444Z] Configure a credential helper to remove this warning. See [2024-12-05T05:53:54.444Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-05T05:53:54.444Z] [2024-12-05T05:53:54.444Z] Login Succeeded [2024-12-05T05:53:54.444Z] nexus3.edgexfoundry.org:10004 [2024-12-05T05:53:54.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-05T05:53:54.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-05T05:53:54.444Z] Configure a credential helper to remove this warning. See [2024-12-05T05:53:54.444Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-05T05:53:54.444Z] [2024-12-05T05:53:54.444Z] Login Succeeded [2024-12-05T05:53:54.444Z] ****.io [2024-12-05T05:53:54.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-05T05:53:54.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-05T05:53:54.705Z] Configure a credential helper to remove this warning. See [2024-12-05T05:53:54.705Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-05T05:53:54.705Z] [2024-12-05T05:53:54.705Z] Login Succeeded [2024-12-05T05:53:54.705Z] ---> ****-login.sh ends [Pipeline] } [2024-12-05T05:53:54.713Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-12-05T05:53:55.109Z] + git rev-list -1 --merges 8c5e39fa7b5b04e520d4bb53faca14d55facea43~1..8c5e39fa7b5b04e520d4bb53faca14d55facea43 [Pipeline] echo [2024-12-05T05:53:55.137Z] -----------> git rev-list -1 --merges 8c5e39fa7b5b04e520d4bb53faca14d55facea43~1..8c5e39fa7b5b04e520d4bb53faca14d55facea43 8c5e39fa7b5b04e520d4bb53faca14d55facea43 [false] [Pipeline] sh [2024-12-05T05:53:55.427Z] + git log --format=format:%s -1 8c5e39fa7b5b04e520d4bb53faca14d55facea43 [Pipeline] echo [2024-12-05T05:53:55.440Z] ========================================================= [2024-12-05T05:53:55.440Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-05T05:53:55.440Z] ========================================================= 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 [2024-12-05T05:53:55.851Z] + git rev-list -1 --merges 8c5e39fa7b5b04e520d4bb53faca14d55facea43~1..8c5e39fa7b5b04e520d4bb53faca14d55facea43 [Pipeline] echo [2024-12-05T05:53:55.864Z] -----------> git rev-list -1 --merges 8c5e39fa7b5b04e520d4bb53faca14d55facea43~1..8c5e39fa7b5b04e520d4bb53faca14d55facea43 8c5e39fa7b5b04e520d4bb53faca14d55facea43 [false] [Pipeline] sh [2024-12-05T05:53:56.154Z] + git log --format=format:%s -1 8c5e39fa7b5b04e520d4bb53faca14d55facea43 [Pipeline] echo [2024-12-05T05:53:56.170Z] ========================================================= [2024-12-05T05:53:56.170Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-05T05:53:56.170Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-12-05T05:53:56.534Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-05T05:53:56.534Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-12-05T05:53:56.534Z] + [ -e /tmp/ssh_known_hosts ] [2024-12-05T05:53:56.534Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-12-05T05:53:56.534Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-12-05T05:53:56.534Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-12-05T05:53:56.534Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-05T05:53:56.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-05T05:53:56.892Z] [2024-12-05T05:53:56.892Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-05T05:53:57.198Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-05T05:53:57.198Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-12-05T05:53:57.198Z] b85a868b505f: Pulling fs layer [2024-12-05T05:53:57.198Z] e2be974225ed: Pulling fs layer [2024-12-05T05:53:57.198Z] 339a4e72a1f5: Pulling fs layer [2024-12-05T05:53:57.198Z] 988bab9f4d93: Pulling fs layer [2024-12-05T05:53:57.198Z] 1469e6f7b9e6: Pulling fs layer [2024-12-05T05:53:57.198Z] eaf3925da568: Pulling fs layer [2024-12-05T05:53:57.198Z] bab4dde63d76: Pulling fs layer [2024-12-05T05:53:57.198Z] bde34c3a00c8: Pulling fs layer [2024-12-05T05:53:57.198Z] b352a97aabf1: Pulling fs layer [2024-12-05T05:53:57.198Z] 4872d77fe225: Pulling fs layer [2024-12-05T05:53:57.198Z] 5851b861e8e6: Pulling fs layer [2024-12-05T05:53:57.198Z] 988bab9f4d93: Waiting [2024-12-05T05:53:57.198Z] 1469e6f7b9e6: Waiting [2024-12-05T05:53:57.198Z] eaf3925da568: Waiting [2024-12-05T05:53:57.198Z] bde34c3a00c8: Waiting [2024-12-05T05:53:57.198Z] 4872d77fe225: Waiting [2024-12-05T05:53:57.198Z] e2be974225ed: Verifying Checksum [2024-12-05T05:53:57.198Z] e2be974225ed: Download complete [2024-12-05T05:53:57.198Z] 988bab9f4d93: Download complete [2024-12-05T05:53:57.198Z] 1469e6f7b9e6: Verifying Checksum [2024-12-05T05:53:57.198Z] 1469e6f7b9e6: Download complete [2024-12-05T05:53:57.198Z] eaf3925da568: Verifying Checksum [2024-12-05T05:53:57.198Z] eaf3925da568: Download complete [2024-12-05T05:53:57.456Z] 339a4e72a1f5: Verifying Checksum [2024-12-05T05:53:57.456Z] 339a4e72a1f5: Download complete [2024-12-05T05:53:57.456Z] bde34c3a00c8: Verifying Checksum [2024-12-05T05:53:57.456Z] bde34c3a00c8: Download complete [2024-12-05T05:53:57.456Z] b352a97aabf1: Download complete [2024-12-05T05:53:57.456Z] 4872d77fe225: Download complete [2024-12-05T05:53:57.456Z] 5851b861e8e6: Verifying Checksum [2024-12-05T05:53:57.456Z] 5851b861e8e6: Download complete [2024-12-05T05:53:57.456Z] b85a868b505f: Verifying Checksum [2024-12-05T05:53:57.456Z] b85a868b505f: Download complete [2024-12-05T05:53:57.715Z] bab4dde63d76: Verifying Checksum [2024-12-05T05:53:57.715Z] bab4dde63d76: Download complete [2024-12-05T05:53:58.653Z] b85a868b505f: Pull complete [2024-12-05T05:53:58.653Z] e2be974225ed: Pull complete [2024-12-05T05:53:59.221Z] 339a4e72a1f5: Pull complete [2024-12-05T05:53:59.221Z] 988bab9f4d93: Pull complete [2024-12-05T05:53:59.481Z] 1469e6f7b9e6: Pull complete [2024-12-05T05:53:59.481Z] eaf3925da568: Pull complete [2024-12-05T05:54:01.395Z] bab4dde63d76: Pull complete [2024-12-05T05:54:01.395Z] bde34c3a00c8: Pull complete [2024-12-05T05:54:01.395Z] b352a97aabf1: Pull complete [2024-12-05T05:54:01.395Z] 4872d77fe225: Pull complete [2024-12-05T05:54:01.656Z] 5851b861e8e6: Pull complete [2024-12-05T05:54:01.656Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-12-05T05:54:01.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-05T05:54:01.656Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-05T05:54:01.805Z] prd-ubuntu20.04-docker-8c-8g-34535 does not seem to be running inside a container [2024-12-05T05:54:01.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-12-05T05:54:03.102Z] $ docker top 6567891661fa654b520a54bcc442681b1c081b8bc422b48acafabdb0dcb90c68 -eo pid,comm [2024-12-05T05:54:03.164Z] 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). [2024-12-05T05:54:03.164Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-05T05:54:03.231Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-05T05:54:03.231Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-05T05:54:03.348Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-05T05:54:03.347Z] $ docker exec 6567891661fa654b520a54bcc442681b1c081b8bc422b48acafabdb0dcb90c68 ssh-agent [2024-12-05T05:54:03.452Z] SSH_AUTH_SOCK=/tmp/ssh-YM5MDS8RMMXL/agent.33 [2024-12-05T05:54:03.452Z] SSH_AGENT_PID=39 [2024-12-05T05:54:03.458Z] Running ssh-add (command line suppressed) [2024-12-05T05:54:03.559Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9746666402067809363.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9746666402067809363.key) [2024-12-05T05:54:03.576Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-05T05:54:03.874Z] + git tag --points-at HEAD [Pipeline] } [2024-12-05T05:54:03.884Z] $ docker exec --env ******** --env ******** 6567891661fa654b520a54bcc442681b1c081b8bc422b48acafabdb0dcb90c68 ssh-agent -k [2024-12-05T05:54:03.986Z] unset SSH_AUTH_SOCK; [2024-12-05T05:54:03.987Z] unset SSH_AGENT_PID; [2024-12-05T05:54:03.987Z] echo Agent pid 39 killed; [2024-12-05T05:54:04.001Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-12-05T05:54:17.408Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-05T05:54:17.408Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-05T05:54:17.536Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-05T05:54:17.536Z] $ docker exec 6567891661fa654b520a54bcc442681b1c081b8bc422b48acafabdb0dcb90c68 ssh-agent [2024-12-05T05:54:17.649Z] SSH_AUTH_SOCK=/tmp/ssh-cw6ATHWRaMSD/agent.72 [2024-12-05T05:54:17.649Z] SSH_AGENT_PID=78 [2024-12-05T05:54:17.655Z] Running ssh-add (command line suppressed) [2024-12-05T05:54:17.768Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_897311509519073865.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_897311509519073865.key) [2024-12-05T05:54:17.787Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-05T05:54:18.083Z] + git semver init [2024-12-05T05:54:18.344Z] 2024-12-05 05:54:18,277 [run_init] DEBUG init version:0.0.0 force:False [2024-12-05T05:54:18.344Z] 2024-12-05 05:54:18,278 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-12-05T05:54:18.344Z] 2024-12-05 05:54:18,278 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-12-05T05:54:18.344Z] 2024-12-05 05:54:18,278 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-12-05T05:54:19.295Z] 2024-12-05 05:54:19,049 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2024-12-05T05:54:19.295Z] 2024-12-05 05:54:19,049 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2024-12-05T05:54:19.295Z] 2024-12-05 05:54:19,049 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-05T05:54:19.295Z] 2024-12-05 05:54:19,050 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-05T05:54:19.295Z] 4.0.0-dev.3 [Pipeline] } [2024-12-05T05:54:19.305Z] $ docker exec --env ******** --env ******** 6567891661fa654b520a54bcc442681b1c081b8bc422b48acafabdb0dcb90c68 ssh-agent -k [2024-12-05T05:54:19.414Z] unset SSH_AUTH_SOCK; [2024-12-05T05:54:19.415Z] unset SSH_AGENT_PID; [2024-12-05T05:54:19.415Z] echo Agent pid 78 killed; [2024-12-05T05:54:19.429Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-05T05:54:19.751Z] + git semver [Pipeline] } [2024-12-05T05:54:20.022Z] $ docker stop --time=1 6567891661fa654b520a54bcc442681b1c081b8bc422b48acafabdb0dcb90c68 [2024-12-05T05:54:21.320Z] $ docker rm -f --volumes 6567891661fa654b520a54bcc442681b1c081b8bc422b48acafabdb0dcb90c68 [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-05T05:54:21.663Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-12-05T05:54:21.906Z] Stashed 1 file(s) [Pipeline] echo [2024-12-05T05:54:21.910Z] [edgeXSemver]: initialized semver on version 4.0.0-dev.3 [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] { (Prep) [Pipeline] // stage [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 [2024-12-05T05:54:22.135Z] provisioning config files... [2024-12-05T05:54:22.145Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13219871021155731903tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2024-12-05T05:54:22.464Z] ---> ****-login.sh [2024-12-05T05:54:22.464Z] nexus3.edgexfoundry.org:10001 [2024-12-05T05:54:22.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-05T05:54:22.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-05T05:54:22.464Z] Configure a credential helper to remove this warning. See [2024-12-05T05:54:22.464Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-05T05:54:22.464Z] [2024-12-05T05:54:22.464Z] Login Succeeded [2024-12-05T05:54:22.464Z] nexus3.edgexfoundry.org:10002 [2024-12-05T05:54:22.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-05T05:54:22.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-05T05:54:22.464Z] Configure a credential helper to remove this warning. See [2024-12-05T05:54:22.465Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-05T05:54:22.465Z] [2024-12-05T05:54:22.465Z] Login Succeeded [2024-12-05T05:54:22.465Z] nexus3.edgexfoundry.org:10003 [2024-12-05T05:54:22.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-05T05:54:22.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-05T05:54:22.724Z] Configure a credential helper to remove this warning. See [2024-12-05T05:54:22.724Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-05T05:54:22.724Z] [2024-12-05T05:54:22.724Z] Login Succeeded [2024-12-05T05:54:22.724Z] nexus3.edgexfoundry.org:10004 [2024-12-05T05:54:22.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-05T05:54:22.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-05T05:54:22.724Z] Configure a credential helper to remove this warning. See [2024-12-05T05:54:22.724Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-05T05:54:22.724Z] [2024-12-05T05:54:22.724Z] Login Succeeded [2024-12-05T05:54:22.724Z] ****.io [2024-12-05T05:54:22.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-05T05:54:22.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-05T05:54:22.984Z] Configure a credential helper to remove this warning. See [2024-12-05T05:54:22.984Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-05T05:54:22.984Z] [2024-12-05T05:54:22.984Z] Login Succeeded [2024-12-05T05:54:22.984Z] ---> ****-login.sh ends [Pipeline] } [2024-12-05T05:54:22.991Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-12-05T05:54:23.083Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-05T05:54:23.096Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-12-05T05:54:23.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-05T05:54:23.127Z] ========================================================= [2024-12-05T05:54:23.127Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-12-05T05:54:23.127Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-05T05:54:23.450Z] + 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 . [2024-12-05T05:54:23.450Z] Sending build context to Docker daemon 5.081MB [2024-12-05T05:54:23.450Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-12-05T05:54:23.450Z] Step 2/22 : FROM ${BASE} as builder [2024-12-05T05:54:23.450Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-12-05T05:54:23.450Z] 96526aa774ef: Pulling fs layer [2024-12-05T05:54:23.450Z] da60e534fd72: Pulling fs layer [2024-12-05T05:54:23.450Z] 96526aa774ef: Verifying Checksum [2024-12-05T05:54:23.450Z] 96526aa774ef: Download complete [2024-12-05T05:54:23.709Z] 96526aa774ef: Pull complete [2024-12-05T05:54:24.279Z] da60e534fd72: Verifying Checksum [2024-12-05T05:54:24.279Z] da60e534fd72: Download complete [2024-12-05T05:54:27.561Z] da60e534fd72: Pull complete [2024-12-05T05:54:27.561Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-12-05T05:54:27.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-12-05T05:54:27.561Z] ---> 6605166a5db4 [2024-12-05T05:54:27.562Z] 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 [2024-12-05T05:54:28.132Z] ---> Running in a7413c3d06aa [2024-12-05T05:54:28.391Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-12-05T05:54:28.649Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-05T05:54:28.649Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-05T05:54:28.649Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-05T05:54:28.908Z] Removing intermediate container a7413c3d06aa [2024-12-05T05:54:28.908Z] ---> 17d926be76e0 [2024-12-05T05:54:28.908Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-05T05:54:28.908Z] ---> Running in 8967716d02fc [2024-12-05T05:54:29.476Z] Removing intermediate container 8967716d02fc [2024-12-05T05:54:29.476Z] ---> 8357651c5ed6 [2024-12-05T05:54:29.476Z] 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 [2024-12-05T05:54:29.737Z] ---> Running in ccb093ed7031 [2024-12-05T05:54:29.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-05T05:54:29.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-05T05:54:30.257Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-05T05:54:30.826Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-05T05:54:30.826Z] (1/15) Installing libcbor (0.10.2-r1) [2024-12-05T05:54:30.826Z] (2/15) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-05T05:54:31.394Z] (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-05T05:54:31.653Z] (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-05T05:54:31.913Z] (5/15) Installing libcbor-dev (0.10.2-r1) [2024-12-05T05:54:31.913Z] (6/15) Installing libmenuw (6.4_p20230506-r0) [2024-12-05T05:54:31.913Z] (7/15) Installing libpanelw (6.4_p20230506-r0) [2024-12-05T05:54:31.913Z] (8/15) Installing libncurses++ (6.4_p20230506-r0) [2024-12-05T05:54:31.913Z] (9/15) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-05T05:54:31.913Z] (10/15) Installing libblkid (2.38.1-r8) [2024-12-05T05:54:31.913Z] (11/15) Installing libuuid (2.38.1-r8) [2024-12-05T05:54:31.913Z] (12/15) Installing libfdisk (2.38.1-r8) [2024-12-05T05:54:31.913Z] (13/15) Installing libmount (2.38.1-r8) [2024-12-05T05:54:31.913Z] (14/15) Installing libsmartcols (2.38.1-r8) [2024-12-05T05:54:31.913Z] (15/15) Installing util-linux-dev (2.38.1-r8) [2024-12-05T05:54:31.913Z] Executing busybox-1.36.1-r4.trigger [2024-12-05T05:54:31.913Z] OK: 336 MiB in 97 packages [2024-12-05T05:54:32.479Z] Removing intermediate container ccb093ed7031 [2024-12-05T05:54:32.479Z] ---> ce7a419f2100 [2024-12-05T05:54:32.479Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-12-05T05:54:32.479Z] ---> Running in 44f5c70e4d81 [2024-12-05T05:54:33.048Z] Removing intermediate container 44f5c70e4d81 [2024-12-05T05:54:33.048Z] ---> 2b2b9126b236 [2024-12-05T05:54:33.048Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-12-05T05:54:33.048Z] ---> 0c05edd07a22 [2024-12-05T05:54:33.048Z] Step 8/22 : COPY src /tmp/sdk/src [2024-12-05T05:54:33.307Z] ---> 089e2f299d42 [2024-12-05T05:54:33.307Z] Step 9/22 : COPY include /tmp/sdk/include [2024-12-05T05:54:33.307Z] ---> 2b3d946a5145 [2024-12-05T05:54:33.307Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-12-05T05:54:33.566Z] ---> c34eec097aa7 [2024-12-05T05:54:33.566Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-12-05T05:54:33.566Z] ---> dec46f30c4a1 [2024-12-05T05:54:33.566Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-12-05T05:54:33.825Z] ---> 63d7259b0a8f [2024-12-05T05:54:33.825Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-12-05T05:54:33.825Z] ---> Running in fb37bc5ede6e [2024-12-05T05:54:34.085Z] + CPPCHECK=false [2024-12-05T05:54:34.085Z] + DOCGEN=false [2024-12-05T05:54:34.085Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-12-05T05:54:34.085Z] + '[' 0 -gt 0 ] [2024-12-05T05:54:34.085Z] + readlink -f ./scripts/build.sh [2024-12-05T05:54:34.085Z] + dirname /tmp/sdk/scripts/build.sh [2024-12-05T05:54:34.085Z] + dirname /tmp/sdk/scripts [2024-12-05T05:54:34.085Z] + ROOT=/tmp/sdk [2024-12-05T05:54:34.085Z] + cd /tmp/sdk [2024-12-05T05:54:34.085Z] + mkdir -p /tmp/sdk/build/release [2024-12-05T05:54:34.085Z] + cd /tmp/sdk/build/release [2024-12-05T05:54:34.085Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-12-05T05:54:34.085Z] -- The C compiler identification is GNU 12.2.1 [2024-12-05T05:54:34.085Z] -- Detecting C compiler ABI info [2024-12-05T05:54:34.085Z] -- Detecting C compiler ABI info - done [2024-12-05T05:54:34.085Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-05T05:54:34.085Z] -- Detecting C compile features [2024-12-05T05:54:34.085Z] -- Detecting C compile features - done [2024-12-05T05:54:34.085Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-05T05:54:34.344Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-05T05:54:34.344Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-05T05:54:34.344Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-05T05:54:34.344Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-05T05:54:34.344Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-05T05:54:34.344Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-05T05:54:34.344Z] -- /opt/iotech/iot/1.5/include [2024-12-05T05:54:34.344Z] -- C SDK 4.0.0-dev.3 for Linux [2024-12-05T05:54:34.344Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-05T05:54:34.344Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-05T05:54:34.344Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-05T05:54:34.344Z] -- Configuring done (0.4s) [2024-12-05T05:54:34.344Z] -- Generating done (0.0s) [2024-12-05T05:54:34.344Z] -- Build files have been written to: /tmp/sdk/build/release [2024-12-05T05:54:34.344Z] + make all package [2024-12-05T05:54:34.344Z] + tee release.log [2024-12-05T05:54:34.603Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-05T05:54:34.603Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-05T05:54:34.603Z] from /tmp/sdk/src/c/service.h:12, [2024-12-05T05:54:34.603Z] from /tmp/sdk/src/c/autoevent.h:12, [2024-12-05T05:54:34.603Z] from /tmp/sdk/src/c/autoevent.c:9: [2024-12-05T05:54:34.603Z] /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': [2024-12-05T05:54:34.603Z] /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=] [2024-12-05T05:54:34.603Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-05T05:54:34.603Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-05T05:54:34.603Z] | | [2024-12-05T05:54:34.603Z] | size_t {aka long unsigned int} [2024-12-05T05:54:34.603Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-05T05:54:34.603Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-05T05:54:34.603Z] | ^~~~~~~~~~~ [2024-12-05T05:54:34.603Z] /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here [2024-12-05T05:54:34.603Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-05T05:54:34.603Z] | ~^ [2024-12-05T05:54:34.603Z] | | [2024-12-05T05:54:34.603Z] | int [2024-12-05T05:54:34.603Z] | %ld [2024-12-05T05:54:34.603Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-05T05:54:34.862Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-05T05:54:34.862Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-05T05:54:34.862Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-05T05:54:35.430Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-12-05T05:54:35.430Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-12-05T05:54:35.430Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-05T05:54:35.430Z] 294 | while (privateConfig) [2024-12-05T05:54:35.430Z] | ^~~~~~~~~~~~~ [2024-12-05T05:54:35.430Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-12-05T05:54:35.430Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-12-05T05:54:35.430Z] | ^~~~~~~~~~~~~ [2024-12-05T05:54:35.430Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-05T05:54:35.430Z] 271 | while (result) [2024-12-05T05:54:35.430Z] | ^~~~~~ [2024-12-05T05:54:35.430Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-12-05T05:54:35.430Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-12-05T05:54:35.430Z] | ^~~~~~ [2024-12-05T05:54:35.430Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-05T05:54:35.430Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-05T05:54:35.689Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-05T05:54:35.950Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-05T05:54:35.950Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-05T05:54:36.208Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-05T05:54:36.208Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-05T05:54:36.466Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-05T05:54:36.466Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-05T05:54:36.466Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-05T05:54:37.034Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-05T05:54:37.034Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-05T05:54:37.034Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-05T05:54:37.294Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-05T05:54:38.231Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-05T05:54:38.490Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-05T05:54:38.490Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-05T05:54:38.490Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-05T05:54:38.490Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-05T05:54:38.750Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-05T05:54:39.011Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-05T05:54:39.272Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-05T05:54:39.272Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-05T05:54:39.532Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-05T05:54:39.532Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-05T05:54:39.532Z] /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-05T05:54:39.532Z] 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-12-05T05:54:39.532Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-05T05:54:39.532Z] /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-05T05:54:39.532Z] 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-12-05T05:54:39.532Z] | ^ [2024-12-05T05:54:39.532Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-05T05:54:39.532Z] from /tmp/sdk/src/c/service.h:12, [2024-12-05T05:54:39.532Z] from /tmp/sdk/src/c/service.c:9: [2024-12-05T05:54:39.532Z] /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=] [2024-12-05T05:54:39.532Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-05T05:54:39.532Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-05T05:54:39.532Z] | | [2024-12-05T05:54:39.532Z] | uint64_t {aka long unsigned int} [2024-12-05T05:54:39.532Z] /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' [2024-12-05T05:54:39.532Z] 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) [2024-12-05T05:54:39.532Z] | ^~~~~~~~~~~ [2024-12-05T05:54:39.532Z] /tmp/sdk/src/c/service.c:1087:54: note: format string is defined here [2024-12-05T05:54:39.532Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-05T05:54:39.532Z] | ~^ [2024-12-05T05:54:39.532Z] | | [2024-12-05T05:54:39.532Z] | int [2024-12-05T05:54:39.532Z] | %ld [2024-12-05T05:54:39.532Z] /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': [2024-12-05T05:54:39.532Z] /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=] [2024-12-05T05:54:39.532Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-05T05:54:39.532Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-05T05:54:39.532Z] | | [2024-12-05T05:54:39.532Z] | size_t {aka long unsigned int} [2024-12-05T05:54:39.532Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-05T05:54:39.532Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-05T05:54:39.532Z] | ^~~~~~~~~~~ [2024-12-05T05:54:39.532Z] /tmp/sdk/src/c/service.c:1150:66: note: format string is defined here [2024-12-05T05:54:39.532Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-05T05:54:39.532Z] | ~^ [2024-12-05T05:54:39.532Z] | | [2024-12-05T05:54:39.532Z] | int [2024-12-05T05:54:39.532Z] | %ld [2024-12-05T05:54:39.792Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-05T05:54:39.792Z] /tmp/sdk/src/c/service.c:1070:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-05T05:54:39.792Z] 1070 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-12-05T05:54:39.792Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-05T05:54:39.792Z] /tmp/sdk/src/c/service.c:882:68: note: 'deviceservices_config' was declared here [2024-12-05T05:54:39.793Z] 882 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-12-05T05:54:39.793Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-05T05:54:39.793Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-05T05:54:40.053Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-05T05:54:40.053Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-05T05:54:40.053Z] [ 68%] Linking C shared library libcsdk.so [2024-12-05T05:54:40.053Z] [ 68%] Built target csdk [2024-12-05T05:54:40.312Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-05T05:54:40.312Z] [ 72%] Linking C executable template [2024-12-05T05:54:40.312Z] [ 72%] Built target template [2024-12-05T05:54:40.312Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-05T05:54:40.572Z] [ 76%] Linking C executable device-counter [2024-12-05T05:54:40.572Z] [ 76%] Built target device-counter [2024-12-05T05:54:40.572Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-05T05:54:40.572Z] [ 80%] Linking C executable device-random [2024-12-05T05:54:40.831Z] [ 80%] Built target device-random [2024-12-05T05:54:40.831Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-05T05:54:40.831Z] [ 84%] Linking C executable device-gyro [2024-12-05T05:54:40.831Z] [ 84%] Built target device-gyro [2024-12-05T05:54:41.093Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-05T05:54:41.093Z] [ 88%] Linking C executable device-bitfields [2024-12-05T05:54:41.093Z] [ 88%] Built target device-bitfields [2024-12-05T05:54:41.093Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-05T05:54:41.353Z] [ 92%] Linking C executable template-discovery [2024-12-05T05:54:41.353Z] [ 92%] Built target template-discovery [2024-12-05T05:54:41.353Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-05T05:54:41.612Z] [ 96%] Linking C executable device-file [2024-12-05T05:54:41.612Z] [ 96%] Built target device-file [2024-12-05T05:54:41.612Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-05T05:54:41.612Z] [100%] Linking C executable device-terminal [2024-12-05T05:54:41.872Z] [100%] Built target device-terminal [2024-12-05T05:54:41.872Z] Run CPack packaging tool... [2024-12-05T05:54:41.872Z] CPack: Create package using TGZ [2024-12-05T05:54:41.872Z] CPack: Install projects [2024-12-05T05:54:41.872Z] CPack: - Run preinstall target for: Csdk [2024-12-05T05:54:42.130Z] CPack: - Install project: Csdk [] [2024-12-05T05:54:42.130Z] CPack: Create package [2024-12-05T05:54:42.130Z] CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.3.tar.gz generated. [2024-12-05T05:54:42.130Z] + '[' false '=' true ] [2024-12-05T05:54:42.130Z] + '[' false '=' true ] [2024-12-05T05:54:42.130Z] + mkdir -p /tmp/sdk/build/debug [2024-12-05T05:54:42.130Z] + cd /tmp/sdk/build/debug [2024-12-05T05:54:42.130Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-12-05T05:54:42.130Z] -- The C compiler identification is GNU 12.2.1 [2024-12-05T05:54:42.130Z] -- Detecting C compiler ABI info [2024-12-05T05:54:42.389Z] -- Detecting C compiler ABI info - done [2024-12-05T05:54:42.389Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-05T05:54:42.389Z] -- Detecting C compile features [2024-12-05T05:54:42.389Z] -- Detecting C compile features - done [2024-12-05T05:54:42.389Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-05T05:54:42.389Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-05T05:54:42.389Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-05T05:54:42.389Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-05T05:54:42.389Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-05T05:54:42.389Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-05T05:54:42.389Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-05T05:54:42.389Z] -- /opt/iotech/iot/1.5/include [2024-12-05T05:54:42.389Z] -- C SDK 4.0.0-dev.3 for Linux [2024-12-05T05:54:42.389Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-05T05:54:42.389Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-05T05:54:42.389Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-05T05:54:42.649Z] -- Configuring done (0.4s) [2024-12-05T05:54:42.649Z] -- Generating done (0.0s) [2024-12-05T05:54:42.649Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-12-05T05:54:42.649Z] + make [2024-12-05T05:54:42.649Z] + tee debug.log [2024-12-05T05:54:42.649Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-05T05:54:42.649Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-05T05:54:42.649Z] from /tmp/sdk/src/c/service.h:12, [2024-12-05T05:54:42.649Z] from /tmp/sdk/src/c/autoevent.h:12, [2024-12-05T05:54:42.649Z] from /tmp/sdk/src/c/autoevent.c:9: [2024-12-05T05:54:42.649Z] /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': [2024-12-05T05:54:42.649Z] /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=] [2024-12-05T05:54:42.649Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-05T05:54:42.649Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-05T05:54:42.649Z] | | [2024-12-05T05:54:42.649Z] | size_t {aka long unsigned int} [2024-12-05T05:54:42.649Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-05T05:54:42.649Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-05T05:54:42.649Z] | ^~~~~~~~~~~ [2024-12-05T05:54:42.649Z] /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here [2024-12-05T05:54:42.649Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-05T05:54:42.649Z] | ~^ [2024-12-05T05:54:42.649Z] | | [2024-12-05T05:54:42.649Z] | int [2024-12-05T05:54:42.649Z] | %ld [2024-12-05T05:54:42.649Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-05T05:54:42.649Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-05T05:54:42.909Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-05T05:54:42.909Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-05T05:54:42.909Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-12-05T05:54:43.169Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-05T05:54:43.169Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-05T05:54:43.169Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-05T05:54:43.428Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-05T05:54:43.428Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-05T05:54:43.428Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-05T05:54:43.428Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-05T05:54:43.687Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-05T05:54:43.687Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-05T05:54:43.687Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-05T05:54:43.946Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-05T05:54:43.946Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-05T05:54:43.946Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-05T05:54:44.205Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-05T05:54:44.205Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-05T05:54:44.465Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-05T05:54:44.465Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-05T05:54:44.465Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-05T05:54:44.465Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-05T05:54:44.726Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-05T05:54:44.726Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-05T05:54:44.988Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-05T05:54:44.988Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-05T05:54:44.988Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-05T05:54:44.988Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-05T05:54:44.988Z] /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-05T05:54:44.988Z] 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-12-05T05:54:44.988Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-05T05:54:44.988Z] /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-05T05:54:44.988Z] 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-12-05T05:54:44.988Z] | ^ [2024-12-05T05:54:44.988Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-05T05:54:44.988Z] from /tmp/sdk/src/c/service.h:12, [2024-12-05T05:54:44.988Z] from /tmp/sdk/src/c/service.c:9: [2024-12-05T05:54:44.988Z] /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=] [2024-12-05T05:54:44.988Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-05T05:54:44.988Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-05T05:54:44.988Z] | | [2024-12-05T05:54:44.988Z] | uint64_t {aka long unsigned int} [2024-12-05T05:54:44.988Z] /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' [2024-12-05T05:54:44.988Z] 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) [2024-12-05T05:54:44.988Z] | ^~~~~~~~~~~ [2024-12-05T05:54:44.988Z] /tmp/sdk/src/c/service.c:1087:54: note: format string is defined here [2024-12-05T05:54:44.988Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-05T05:54:44.988Z] | ~^ [2024-12-05T05:54:44.988Z] | | [2024-12-05T05:54:44.988Z] | int [2024-12-05T05:54:44.988Z] | %ld [2024-12-05T05:54:44.988Z] /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': [2024-12-05T05:54:44.988Z] /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=] [2024-12-05T05:54:44.988Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-05T05:54:44.988Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-05T05:54:44.988Z] | | [2024-12-05T05:54:44.988Z] | size_t {aka long unsigned int} [2024-12-05T05:54:44.988Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-05T05:54:44.988Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-05T05:54:44.988Z] | ^~~~~~~~~~~ [2024-12-05T05:54:44.988Z] /tmp/sdk/src/c/service.c:1150:66: note: format string is defined here [2024-12-05T05:54:44.988Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-05T05:54:44.988Z] | ~^ [2024-12-05T05:54:44.988Z] | | [2024-12-05T05:54:44.988Z] | int [2024-12-05T05:54:44.988Z] | %ld [2024-12-05T05:54:45.248Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-05T05:54:45.248Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-05T05:54:45.248Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-05T05:54:45.248Z] [ 68%] Linking C shared library libcsdk.so [2024-12-05T05:54:45.515Z] [ 68%] Built target csdk [2024-12-05T05:54:45.515Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-05T05:54:45.515Z] [ 72%] Linking C executable template [2024-12-05T05:54:45.515Z] [ 72%] Built target template [2024-12-05T05:54:45.515Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-05T05:54:45.515Z] [ 76%] Linking C executable device-counter [2024-12-05T05:54:45.774Z] [ 76%] Built target device-counter [2024-12-05T05:54:45.774Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-05T05:54:45.774Z] [ 80%] Linking C executable device-random [2024-12-05T05:54:45.774Z] [ 80%] Built target device-random [2024-12-05T05:54:45.774Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-05T05:54:46.033Z] [ 84%] Linking C executable device-gyro [2024-12-05T05:54:46.033Z] [ 84%] Built target device-gyro [2024-12-05T05:54:46.033Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-05T05:54:46.033Z] [ 88%] Linking C executable device-bitfields [2024-12-05T05:54:46.033Z] [ 88%] Built target device-bitfields [2024-12-05T05:54:46.033Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-05T05:54:46.292Z] [ 92%] Linking C executable template-discovery [2024-12-05T05:54:46.292Z] [ 92%] Built target template-discovery [2024-12-05T05:54:46.292Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-05T05:54:46.292Z] [ 96%] Linking C executable device-file [2024-12-05T05:54:46.551Z] [ 96%] Built target device-file [2024-12-05T05:54:46.551Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-05T05:54:46.551Z] [100%] Linking C executable device-terminal [2024-12-05T05:54:46.551Z] [100%] Built target device-terminal [2024-12-05T05:54:46.551Z] make: Entering directory '/tmp/sdk/build/release' [2024-12-05T05:54:46.551Z] [ 68%] Built target csdk [2024-12-05T05:54:46.551Z] [ 72%] Built target template [2024-12-05T05:54:46.551Z] [ 76%] Built target device-counter [2024-12-05T05:54:46.816Z] [ 80%] Built target device-random [2024-12-05T05:54:46.816Z] [ 84%] Built target device-gyro [2024-12-05T05:54:46.816Z] [ 88%] Built target device-bitfields [2024-12-05T05:54:46.816Z] [ 92%] Built target template-discovery [2024-12-05T05:54:46.816Z] [ 96%] Built target device-file [2024-12-05T05:54:46.816Z] [100%] Built target device-terminal [2024-12-05T05:54:46.816Z] Install the project... [2024-12-05T05:54:46.816Z] -- Install configuration: "Release" [2024-12-05T05:54:46.816Z] -- Installing: /usr/local/lib/libcsdk.so [2024-12-05T05:54:46.816Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-12-05T05:54:46.816Z] -- Installing: /usr/local/include [2024-12-05T05:54:46.816Z] -- Installing: /usr/local/include/devsdk [2024-12-05T05:54:46.816Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-12-05T05:54:46.816Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-12-05T05:54:46.816Z] -- Installing: /usr/local/include/edgex [2024-12-05T05:54:46.816Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-12-05T05:54:46.816Z] -- Installing: /usr/local/include/edgex/devices.h [2024-12-05T05:54:46.816Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-12-05T05:54:46.816Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-12-05T05:54:46.816Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-12-05T05:54:46.816Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-12-05T05:54:46.816Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-12-05T05:54:46.816Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-12-05T05:54:46.816Z] make: Leaving directory '/tmp/sdk/build/release' [2024-12-05T05:54:47.384Z] Removing intermediate container fb37bc5ede6e [2024-12-05T05:54:47.384Z] ---> 3540d2f18d89 [2024-12-05T05:54:47.384Z] Step 14/22 : FROM ${BASE} [2024-12-05T05:54:47.384Z] ---> 6605166a5db4 [2024-12-05T05:54:47.384Z] Step 15/22 : LABEL maintainer="IOTech " [2024-12-05T05:54:47.384Z] ---> Running in 0ca38f05c7e8 [2024-12-05T05:54:47.384Z] Removing intermediate container 0ca38f05c7e8 [2024-12-05T05:54:47.384Z] ---> b08694928f45 [2024-12-05T05:54:47.384Z] 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 [2024-12-05T05:54:47.384Z] ---> Running in f4c86b066f5a [2024-12-05T05:54:47.643Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-12-05T05:54:48.213Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-05T05:54:48.213Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-05T05:54:48.213Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-05T05:54:48.472Z] Removing intermediate container f4c86b066f5a [2024-12-05T05:54:48.472Z] ---> f78eb6c9039b [2024-12-05T05:54:48.472Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-05T05:54:48.472Z] ---> Running in 9f40dd99fead [2024-12-05T05:54:49.040Z] Removing intermediate container 9f40dd99fead [2024-12-05T05:54:49.040Z] ---> f6eed214ee9e [2024-12-05T05:54:49.040Z] 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 [2024-12-05T05:54:49.040Z] ---> Running in 65ee8ae92754 [2024-12-05T05:54:49.315Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-05T05:54:49.315Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-05T05:54:49.575Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-05T05:54:50.145Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-05T05:54:50.145Z] (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-12-05T05:54:50.145Z] (2/8) Installing curl (8.9.1-r1) [2024-12-05T05:54:50.145Z] (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-12-05T05:54:50.145Z] (4/8) Installing dumb-init (1.2.5-r2) [2024-12-05T05:54:50.145Z] (5/8) Installing libcbor (0.10.2-r1) [2024-12-05T05:54:50.145Z] (6/8) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-05T05:54:50.715Z] (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-05T05:54:50.976Z] (8/8) Installing libuuid (2.38.1-r8) [2024-12-05T05:54:50.976Z] Executing busybox-1.36.1-r4.trigger [2024-12-05T05:54:50.976Z] OK: 331 MiB in 88 packages [2024-12-05T05:54:51.240Z] Removing intermediate container 65ee8ae92754 [2024-12-05T05:54:51.240Z] ---> 8693f707835f [2024-12-05T05:54:51.240Z] Step 19/22 : RUN apk --no-cache upgrade [2024-12-05T05:54:51.240Z] ---> Running in 256ff1caca38 [2024-12-05T05:54:51.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-05T05:54:51.774Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-05T05:54:51.774Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-05T05:54:52.342Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-05T05:54:52.342Z] Upgrading critical system libraries and apk-tools: [2024-12-05T05:54:52.342Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-12-05T05:54:52.342Z] Executing busybox-1.36.1-r4.trigger [2024-12-05T05:54:52.342Z] Continuing the upgrade transaction with new apk-tools: [2024-12-05T05:54:52.342Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-05T05:54:52.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-05T05:54:52.602Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-05T05:54:53.172Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-05T05:54:53.172Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-12-05T05:54:53.172Z] Executing busybox-1.36.1-r7.post-upgrade [2024-12-05T05:54:53.172Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-12-05T05:54:53.172Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-12-05T05:54:53.172Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-05T05:54:53.172Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-05T05:54:53.172Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-12-05T05:54:53.172Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-12-05T05:54:53.172Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-12-05T05:54:53.172Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-12-05T05:54:53.432Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-12-05T05:54:53.432Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-12-05T05:54:53.432Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-12-05T05:54:53.432Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-12-05T05:54:53.432Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-12-05T05:54:53.432Z] Executing busybox-1.36.1-r7.trigger [2024-12-05T05:54:53.432Z] Executing ca-certificates-20240226-r0.trigger [2024-12-05T05:54:53.432Z] OK: 331 MiB in 88 packages [2024-12-05T05:54:53.999Z] Removing intermediate container 256ff1caca38 [2024-12-05T05:54:53.999Z] ---> 869e0f4216c5 [2024-12-05T05:54:53.999Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-12-05T05:54:54.260Z] ---> 6bacb79d7cae [2024-12-05T05:54:54.260Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-12-05T05:54:54.260Z] ---> df42a4173c3e [2024-12-05T05:54:54.260Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-12-05T05:54:54.519Z] ---> 53f5cfdb11c7 [2024-12-05T05:54:54.519Z] Successfully built 53f5cfdb11c7 [2024-12-05T05:54:54.519Z] 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 [2024-12-05T05:54:54.923Z] + docker inspect -f . ci-base-image-x86_64 [2024-12-05T05:54:54.923Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-05T05:54:55.002Z] prd-ubuntu20.04-docker-8c-8g-34535 does not seem to be running inside a container [2024-12-05T05:54:55.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** ci-base-image-x86_64 cat [2024-12-05T05:54:55.347Z] $ docker top eaa1b34dec9c6a0c7ebf81f307c96af08e7d3f13343e7759b75b93733880df1d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-05T05:54:55.698Z] + make test [2024-12-05T05:54:55.698Z] echo "make test" [2024-12-05T05:54:55.698Z] make test [Pipeline] } [2024-12-05T05:54:55.705Z] $ docker stop --time=1 eaa1b34dec9c6a0c7ebf81f307c96af08e7d3f13343e7759b75b93733880df1d [2024-12-05T05:54:56.966Z] $ docker rm -f --volumes eaa1b34dec9c6a0c7ebf81f307c96af08e7d3f13343e7759b75b93733880df1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-12-05T05:54:57.576Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-12-05T05:54:57.867Z] + ls -al . [2024-12-05T05:54:57.867Z] total 212 [2024-12-05T05:54:57.867Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 5 05:54 . [2024-12-05T05:54:57.867Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 05:53 .. [2024-12-05T05:54:57.867Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 05:54 .git [2024-12-05T05:54:57.867Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 05:53 .github [2024-12-05T05:54:57.867Z] -rw-rw-r-- 1 jenkins jenkins 176 Dec 5 05:53 .gitignore [2024-12-05T05:54:57.867Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 05:54 .semver [2024-12-05T05:54:57.867Z] -rw-rw-r-- 1 jenkins jenkins 2908 Dec 5 05:53 Attribution.txt [2024-12-05T05:54:57.867Z] -rw-rw-r-- 1 jenkins jenkins 11953 Dec 5 05:53 CHANGELOG.md [2024-12-05T05:54:57.867Z] -rw-rw-r-- 1 jenkins jenkins 108574 Dec 5 05:53 Doxyfile [2024-12-05T05:54:57.867Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 05:53 GOVERNANCE.md [2024-12-05T05:54:57.867Z] -rw-rw-r-- 1 jenkins jenkins 784 Dec 5 05:53 Jenkinsfile [2024-12-05T05:54:57.867Z] -rw-rw-r-- 1 jenkins jenkins 10174 Dec 5 05:53 LICENSE [2024-12-05T05:54:57.867Z] -rw-rw-r-- 1 jenkins jenkins 444 Dec 5 05:53 Makefile [2024-12-05T05:54:57.867Z] -rw-rw-r-- 1 jenkins jenkins 618 Dec 5 05:53 OWNERS.md [2024-12-05T05:54:57.867Z] -rw-rw-r-- 1 jenkins jenkins 1651 Dec 5 05:53 README.IOT.md [2024-12-05T05:54:57.867Z] -rw-rw-r-- 1 jenkins jenkins 4173 Dec 5 05:53 README.md [2024-12-05T05:54:57.867Z] -rw-rw-r-- 1 jenkins jenkins 1245 Dec 5 05:53 README.v3.md [2024-12-05T05:54:57.867Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 5 05:54 VERSION [2024-12-05T05:54:57.867Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 05:53 docs [2024-12-05T05:54:57.867Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 05:53 include [2024-12-05T05:54:57.867Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 05:53 scripts [2024-12-05T05:54:57.867Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 05:53 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-05T05:54:58.200Z] + 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=8c5e39fa7b5b04e520d4bb53faca14d55facea43 --label arch=amd64 --label version=4.0.0-dev.3 . [2024-12-05T05:54:58.200Z] Sending build context to Docker daemon 5.081MB [2024-12-05T05:54:58.200Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-12-05T05:54:58.200Z] Step 2/18 : FROM ${BASE} [2024-12-05T05:54:58.200Z] ---> 53f5cfdb11c7 [2024-12-05T05:54:58.200Z] Step 3/18 : LABEL maintainer="IOTech " [2024-12-05T05:54:58.200Z] ---> Running in 5b4415fd57ed [2024-12-05T05:54:58.200Z] Removing intermediate container 5b4415fd57ed [2024-12-05T05:54:58.200Z] ---> 102cb2d307de [2024-12-05T05:54:58.200Z] 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 [2024-12-05T05:54:58.200Z] ---> Running in 4c6a712875ac [2024-12-05T05:54:58.460Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-12-05T05:54:59.031Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-05T05:54:59.031Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-05T05:54:59.031Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-05T05:54:59.291Z] Removing intermediate container 4c6a712875ac [2024-12-05T05:54:59.291Z] ---> 8fe53045d1dd [2024-12-05T05:54:59.291Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-05T05:54:59.291Z] ---> Running in eba23b272b7f [2024-12-05T05:54:59.860Z] Removing intermediate container eba23b272b7f [2024-12-05T05:54:59.860Z] ---> 4fb5555d397c [2024-12-05T05:54:59.860Z] 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 [2024-12-05T05:54:59.860Z] ---> Running in 9df81779d384 [2024-12-05T05:55:00.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-05T05:55:00.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-05T05:55:00.380Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-05T05:55:00.949Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-05T05:55:00.949Z] (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-05T05:55:01.214Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-12-05T05:55:01.214Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-12-05T05:55:01.214Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-12-05T05:55:01.214Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-12-05T05:55:01.214Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-05T05:55:01.214Z] (7/11) Installing libblkid (2.38.1-r8) [2024-12-05T05:55:01.214Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-12-05T05:55:01.214Z] (9/11) Installing libmount (2.38.1-r8) [2024-12-05T05:55:01.214Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-12-05T05:55:01.214Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-12-05T05:55:01.214Z] Executing busybox-1.36.1-r7.trigger [2024-12-05T05:55:01.214Z] OK: 336 MiB in 99 packages [2024-12-05T05:55:01.782Z] Removing intermediate container 9df81779d384 [2024-12-05T05:55:01.782Z] ---> c03423544943 [2024-12-05T05:55:01.782Z] Step 7/18 : RUN apk --no-cache upgrade [2024-12-05T05:55:01.782Z] ---> Running in a00c4750594f [2024-12-05T05:55:02.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-05T05:55:02.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-05T05:55:02.041Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-05T05:55:02.608Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-05T05:55:02.608Z] OK: 336 MiB in 99 packages [2024-12-05T05:55:02.866Z] Removing intermediate container a00c4750594f [2024-12-05T05:55:02.866Z] ---> d703c25c5a45 [2024-12-05T05:55:02.866Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-12-05T05:55:03.125Z] ---> 0b5359d03819 [2024-12-05T05:55:03.125Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-12-05T05:55:03.125Z] ---> 0ce3200dee2d [2024-12-05T05:55:03.125Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-12-05T05:55:03.383Z] ---> eecb503227d3 [2024-12-05T05:55:03.383Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-12-05T05:55:03.383Z] ---> 63a9bc80f527 [2024-12-05T05:55:03.383Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-12-05T05:55:03.643Z] ---> f4774980046f [2024-12-05T05:55:03.643Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-12-05T05:55:03.643Z] ---> 2f89d59b4bb7 [2024-12-05T05:55:03.643Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-12-05T05:55:03.643Z] ---> Running in 78011ee95292 [2024-12-05T05:55:03.902Z] Removing intermediate container 78011ee95292 [2024-12-05T05:55:03.902Z] ---> e7ab1fb03c42 [2024-12-05T05:55:03.902Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-12-05T05:55:03.902Z] ---> Running in 8291790cafe6 [2024-12-05T05:55:03.902Z] Removing intermediate container 8291790cafe6 [2024-12-05T05:55:03.902Z] ---> 4835f0935a6c [2024-12-05T05:55:03.902Z] Step 16/18 : LABEL arch=amd64 [2024-12-05T05:55:03.902Z] ---> Running in 2f8d9e847696 [2024-12-05T05:55:03.902Z] Removing intermediate container 2f8d9e847696 [2024-12-05T05:55:03.902Z] ---> 6294e3f8a977 [2024-12-05T05:55:03.902Z] Step 17/18 : LABEL git_sha=8c5e39fa7b5b04e520d4bb53faca14d55facea43 [2024-12-05T05:55:03.902Z] ---> Running in 77c61c94f328 [2024-12-05T05:55:04.160Z] Removing intermediate container 77c61c94f328 [2024-12-05T05:55:04.160Z] ---> f8b9f8790b8b [2024-12-05T05:55:04.160Z] Step 18/18 : LABEL version=4.0.0-dev.3 [2024-12-05T05:55:04.160Z] ---> Running in ff3175e628d5 [2024-12-05T05:55:04.160Z] Removing intermediate container ff3175e628d5 [2024-12-05T05:55:04.160Z] ---> 34784c0e9f7b [2024-12-05T05:55:04.160Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-12-05T05:55:04.160Z] Successfully built 34784c0e9f7b [2024-12-05T05:55:04.160Z] 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 [2024-12-05T05:55:04.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-05T05:55:04.622Z] [2024-12-05T05:55:04.622Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-05T05:55:04.919Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-05T05:55:04.919Z] latest: Pulling from edgex-lftools-log-publisher [2024-12-05T05:55:04.919Z] 5eb5b503b376: Pulling fs layer [2024-12-05T05:55:04.919Z] 5c69ac0246d0: Pulling fs layer [2024-12-05T05:55:04.919Z] ec43610c2a17: Pulling fs layer [2024-12-05T05:55:04.919Z] 3a2ae6a8a46f: Pulling fs layer [2024-12-05T05:55:04.919Z] 33b1e0a273af: Pulling fs layer [2024-12-05T05:55:04.919Z] 5d3b04190fa2: Pulling fs layer [2024-12-05T05:55:04.919Z] 2f39f015ded8: Pulling fs layer [2024-12-05T05:55:04.919Z] 33b1e0a273af: Waiting [2024-12-05T05:55:04.919Z] 5d3b04190fa2: Waiting [2024-12-05T05:55:04.919Z] 2f39f015ded8: Waiting [2024-12-05T05:55:04.919Z] 3a2ae6a8a46f: Waiting [2024-12-05T05:55:04.919Z] 5c69ac0246d0: Verifying Checksum [2024-12-05T05:55:04.919Z] 5c69ac0246d0: Download complete [2024-12-05T05:55:04.919Z] 3a2ae6a8a46f: Verifying Checksum [2024-12-05T05:55:04.919Z] 3a2ae6a8a46f: Download complete [2024-12-05T05:55:04.919Z] 33b1e0a273af: Verifying Checksum [2024-12-05T05:55:04.919Z] 33b1e0a273af: Download complete [2024-12-05T05:55:04.919Z] 5d3b04190fa2: Verifying Checksum [2024-12-05T05:55:04.919Z] ec43610c2a17: Verifying Checksum [2024-12-05T05:55:05.178Z] 5eb5b503b376: Verifying Checksum [2024-12-05T05:55:05.178Z] 5eb5b503b376: Download complete [2024-12-05T05:55:05.744Z] 2f39f015ded8: Download complete [2024-12-05T05:55:06.311Z] 5eb5b503b376: Pull complete [2024-12-05T05:55:06.311Z] 5c69ac0246d0: Pull complete [2024-12-05T05:55:06.877Z] ec43610c2a17: Pull complete [2024-12-05T05:55:06.877Z] 3a2ae6a8a46f: Pull complete [2024-12-05T05:55:07.134Z] 33b1e0a273af: Pull complete [2024-12-05T05:55:07.134Z] 5d3b04190fa2: Pull complete [2024-12-05T05:55:11.318Z] 2f39f015ded8: Pull complete [2024-12-05T05:55:11.318Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-12-05T05:55:11.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-05T05:55:11.318Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-05T05:55:11.407Z] prd-ubuntu20.04-docker-8c-8g-34535 does not seem to be running inside a container [2024-12-05T05:55:11.432Z] $ 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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-12-05T05:55:12.859Z] $ docker top fcb1e0ea7d9e6c670c6622594e193dca2dd238205c13f9317fa37baac836deb5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-05T05:55:13.234Z] ---> job-cost.sh [2024-12-05T05:55:13.234Z] lf-activate-venv: SKIPPING [2024-12-05T05:55:13.234Z] INFO: No Stack... [2024-12-05T05:55:13.808Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-05T05:55:14.066Z] INFO: Archiving Costs [Pipeline] sh [2024-12-05T05:55:14.359Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2024-12-05T05:55:14.359Z] + cut -d, -f6 [Pipeline] lock [2024-12-05T05:55:14.375Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-80-stack-cost] [2024-12-05T05:55:14.389Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-80-stack-cost] did not exist. Created. [2024-12-05T05:55:14.396Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-12-05T05:55:14.698Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-12-05T05:55:14.755Z] Stashed 1 file(s) [Pipeline] } [2024-12-05T05:55:14.764Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-80-stack-cost] [Pipeline] // lock [Pipeline] } [2024-12-05T05:55:14.785Z] $ docker stop --time=1 fcb1e0ea7d9e6c670c6622594e193dca2dd238205c13f9317fa37baac836deb5 [2024-12-05T05:55:15.931Z] $ docker rm -f --volumes fcb1e0ea7d9e6c670c6622594e193dca2dd238205c13f9317fa37baac836deb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2024-12-05T05:55:16.444Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-05T05:55:16.444Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-05T05:55:16.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-05T05:55:16.739Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-05T05:55:16.817Z] prd-ubuntu20.04-docker-8c-8g-34535 does not seem to be running inside a container [2024-12-05T05:55:16.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-12-05T05:55:17.204Z] $ docker top eac283c4702a17f9fe47c0a4fbf1d374ea5f09278dda4da57fc1f2be4d79c08b -eo pid,comm [2024-12-05T05:55:17.255Z] 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). [2024-12-05T05:55:17.255Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-05T05:55:17.303Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-05T05:55:17.303Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-05T05:55:17.421Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-05T05:55:17.420Z] $ docker exec eac283c4702a17f9fe47c0a4fbf1d374ea5f09278dda4da57fc1f2be4d79c08b ssh-agent [2024-12-05T05:55:17.526Z] SSH_AUTH_SOCK=/tmp/ssh-I8jPWi2ZG969/agent.32 [2024-12-05T05:55:17.526Z] SSH_AGENT_PID=38 [2024-12-05T05:55:17.531Z] Running ssh-add (command line suppressed) [2024-12-05T05:55:17.623Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12424458087215691967.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12424458087215691967.key) [2024-12-05T05:55:17.645Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-05T05:55:17.938Z] + git semver tag [2024-12-05T05:55:18.198Z] 2024-12-05 05:55:18,102 [run_tag] DEBUG tag force:False [2024-12-05T05:55:18.198Z] 2024-12-05 05:55:18,102 [check_head_tag] DEBUG check head tag [2024-12-05T05:55:18.198Z] 2024-12-05 05:55:18,103 [execute] INFO git cat-file --batch-check [2024-12-05T05:55:18.198Z] 2024-12-05 05:55:18,103 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-12-05T05:55:18.198Z] 2024-12-05 05:55:18,106 [execute] INFO git cat-file --batch [2024-12-05T05:55:18.198Z] 2024-12-05 05:55:18,106 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-12-05T05:55:18.198Z] 2024-12-05 05:55:18,123 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-05T05:55:18.198Z] 2024-12-05 05:55:18,124 [execute] INFO git tag -a v4.0.0-dev.3 -m v4.0.0-dev.3 [2024-12-05T05:55:18.198Z] 2024-12-05 05:55:18,124 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.3', '-m', 'v4.0.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-12-05T05:55:18.198Z] 2024-12-05 05:55:18,129 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-05T05:55:18.198Z] 4.0.0-dev.3 [Pipeline] } [2024-12-05T05:55:18.205Z] $ docker exec --env ******** --env ******** eac283c4702a17f9fe47c0a4fbf1d374ea5f09278dda4da57fc1f2be4d79c08b ssh-agent -k [2024-12-05T05:55:18.306Z] unset SSH_AUTH_SOCK; [2024-12-05T05:55:18.306Z] unset SSH_AGENT_PID; [2024-12-05T05:55:18.306Z] echo Agent pid 38 killed; [2024-12-05T05:55:18.319Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-05T05:55:18.623Z] + git semver [Pipeline] } [2024-12-05T05:55:18.890Z] $ docker stop --time=1 eac283c4702a17f9fe47c0a4fbf1d374ea5f09278dda4da57fc1f2be4d79c08b [2024-12-05T05:55:20.188Z] $ docker rm -f --volumes eac283c4702a17f9fe47c0a4fbf1d374ea5f09278dda4da57fc1f2be4d79c08b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-05T05:55:20.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-05T05:55:20.600Z] [2024-12-05T05:55:20.600Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-05T05:55:20.902Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-05T05:55:20.902Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-12-05T05:55:20.902Z] ab5ef0e58194: Pulling fs layer [2024-12-05T05:55:20.902Z] 9712f1f96733: Pulling fs layer [2024-12-05T05:55:20.902Z] 63f879dbbcfc: Pulling fs layer [2024-12-05T05:55:20.902Z] 0d9ebad4ef96: Pulling fs layer [2024-12-05T05:55:20.902Z] e9a5061849ea: Pulling fs layer [2024-12-05T05:55:20.902Z] d747dcd14b5f: Pulling fs layer [2024-12-05T05:55:20.902Z] 2de7ff778b66: Pulling fs layer [2024-12-05T05:55:20.902Z] d747dcd14b5f: Waiting [2024-12-05T05:55:20.902Z] 0d9ebad4ef96: Waiting [2024-12-05T05:55:20.902Z] e9a5061849ea: Waiting [2024-12-05T05:55:20.902Z] 2de7ff778b66: Waiting [2024-12-05T05:55:20.902Z] 9712f1f96733: Verifying Checksum [2024-12-05T05:55:20.902Z] 9712f1f96733: Download complete [2024-12-05T05:55:21.161Z] 63f879dbbcfc: Verifying Checksum [2024-12-05T05:55:21.161Z] 63f879dbbcfc: Download complete [2024-12-05T05:55:21.418Z] e9a5061849ea: Verifying Checksum [2024-12-05T05:55:21.418Z] e9a5061849ea: Download complete [2024-12-05T05:55:21.418Z] d747dcd14b5f: Verifying Checksum [2024-12-05T05:55:21.418Z] d747dcd14b5f: Download complete [2024-12-05T05:55:21.418Z] 0d9ebad4ef96: Verifying Checksum [2024-12-05T05:55:21.418Z] 0d9ebad4ef96: Download complete [2024-12-05T05:55:21.418Z] ab5ef0e58194: Download complete [2024-12-05T05:55:21.418Z] 2de7ff778b66: Verifying Checksum [2024-12-05T05:55:21.418Z] 2de7ff778b66: Download complete [2024-12-05T05:55:24.703Z] ab5ef0e58194: Pull complete [2024-12-05T05:55:24.703Z] 9712f1f96733: Pull complete [2024-12-05T05:55:24.962Z] 63f879dbbcfc: Pull complete [2024-12-05T05:55:29.151Z] 0d9ebad4ef96: Pull complete [2024-12-05T05:55:29.151Z] e9a5061849ea: Pull complete [2024-12-05T05:55:29.151Z] d747dcd14b5f: Pull complete [2024-12-05T05:55:30.084Z] 2de7ff778b66: Pull complete [2024-12-05T05:55:30.084Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-12-05T05:55:30.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-05T05:55:30.084Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-05T05:55:30.180Z] prd-ubuntu20.04-docker-8c-8g-34535 does not seem to be running inside a container [2024-12-05T05:55:30.208Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-12-05T05:55:32.140Z] $ docker top d509ffb9ccd36a6c15d496299a985063e9a23d373a0aa22b7ba38dae239f8d59 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-12-05T05:55:32.216Z] provisioning config files... [2024-12-05T05:55:32.226Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config16332129116416463534tmp [2024-12-05T05:55:32.235Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17644947740151510795tmp [2024-12-05T05:55:32.243Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4148504034318239735tmp [Pipeline] { [Pipeline] echo [2024-12-05T05:55:32.272Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-05T05:55:32.566Z] ---> sigul-configuration.sh [2024-12-05T05:55:32.566Z] gpg: directory `/root/.gnupg' created [2024-12-05T05:55:32.566Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-12-05T05:55:32.566Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-12-05T05:55:32.566Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-12-05T05:55:32.566Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-12-05T05:55:32.566Z] gpg: CAST5 encrypted data [2024-12-05T05:55:32.566Z] gpg: encrypted with 1 passphrase [2024-12-05T05:55:32.566Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-12-05T05:55:32.862Z] + mkdir /home/jenkins [2024-12-05T05:55:32.862Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-12-05T05:55:33.158Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2024-12-05T05:55:33.173Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-05T05:55:33.469Z] ---> sigul-install.sh [2024-12-05T05:55:33.469Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-12-05T05:55:33.783Z] + git tag --list [2024-12-05T05:55:33.783Z] 0.7.0 [2024-12-05T05:55:33.783Z] 0.7.1 [2024-12-05T05:55:33.783Z] 1.0.0 [2024-12-05T05:55:33.783Z] v1.0.1 [2024-12-05T05:55:33.783Z] v1.0.2 [2024-12-05T05:55:33.783Z] v1.0.3 [2024-12-05T05:55:33.783Z] v1.1.0 [2024-12-05T05:55:33.783Z] v1.1.1 [2024-12-05T05:55:33.783Z] v1.2.0 [2024-12-05T05:55:33.783Z] v1.2.1 [2024-12-05T05:55:33.783Z] v1.2.2 [2024-12-05T05:55:33.783Z] v1.3.0 [2024-12-05T05:55:33.783Z] v1.3.1 [2024-12-05T05:55:33.783Z] v2.0.0 [2024-12-05T05:55:33.783Z] v2.1.0 [2024-12-05T05:55:33.783Z] v2.2.0 [2024-12-05T05:55:33.783Z] v2.3.0 [2024-12-05T05:55:33.783Z] v3.0 [2024-12-05T05:55:33.783Z] v3.0.0 [2024-12-05T05:55:33.783Z] v3.0.1 [2024-12-05T05:55:33.783Z] v3.0.2 [2024-12-05T05:55:33.783Z] v3.0.3-dev.1 [2024-12-05T05:55:33.783Z] v3.0.3-dev.10 [2024-12-05T05:55:33.783Z] v3.0.3-dev.11 [2024-12-05T05:55:33.783Z] v3.0.3-dev.12 [2024-12-05T05:55:33.783Z] v3.0.3-dev.13 [2024-12-05T05:55:33.783Z] v3.0.3-dev.14 [2024-12-05T05:55:33.783Z] v3.0.3-dev.15 [2024-12-05T05:55:33.783Z] v3.0.3-dev.16 [2024-12-05T05:55:33.783Z] v3.0.3-dev.17 [2024-12-05T05:55:33.783Z] v3.0.3-dev.2 [2024-12-05T05:55:33.783Z] v3.0.3-dev.3 [2024-12-05T05:55:33.783Z] v3.0.3-dev.4 [2024-12-05T05:55:33.783Z] v3.0.3-dev.5 [2024-12-05T05:55:33.783Z] v3.0.3-dev.6 [2024-12-05T05:55:33.783Z] v3.0.3-dev.7 [2024-12-05T05:55:33.783Z] v3.0.3-dev.8 [2024-12-05T05:55:33.783Z] v3.0.3-dev.9 [2024-12-05T05:55:33.783Z] v3.1 [2024-12-05T05:55:33.783Z] v3.1.0 [2024-12-05T05:55:33.783Z] v3.1.0-dev.1 [2024-12-05T05:55:33.783Z] v3.1.0-dev.2 [2024-12-05T05:55:33.783Z] v3.1.0-dev.3 [2024-12-05T05:55:33.783Z] v3.1.0-dev.4 [2024-12-05T05:55:33.783Z] v3.1.0-dev.5 [2024-12-05T05:55:33.783Z] v3.1.0-dev.6 [2024-12-05T05:55:33.783Z] v3.1.0-dev.7 [2024-12-05T05:55:33.783Z] v3.1.0-dev.8 [2024-12-05T05:55:33.783Z] v3.1.0-dev.9 [2024-12-05T05:55:33.783Z] v3.1.1 [2024-12-05T05:55:33.783Z] v3.1.1-dev.1 [2024-12-05T05:55:33.783Z] v4.0.0-dev.1 [2024-12-05T05:55:33.783Z] v4.0.0-dev.2 [2024-12-05T05:55:33.783Z] v4.0.0-dev.3 [Pipeline] sh [2024-12-05T05:55:34.089Z] + lftools sign git-tag v4.0.0-dev.3 [2024-12-05T05:55:34.659Z] Signing Git tag with Sigul... [2024-12-05T05:55:34.659Z] Signing v4.0.0-dev.3 [Pipeline] echo [2024-12-05T05:55:34.936Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-05T05:55:35.235Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-12-05T05:55:35.242Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-12-05T05:55:35.269Z] $ docker stop --time=1 d509ffb9ccd36a6c15d496299a985063e9a23d373a0aa22b7ba38dae239f8d59 [2024-12-05T05:55:36.593Z] $ docker rm -f --volumes d509ffb9ccd36a6c15d496299a985063e9a23d373a0aa22b7ba38dae239f8d59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-12-05T05:55:37.027Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-05T05:55:37.027Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-05T05:55:37.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-05T05:55:37.342Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-05T05:55:37.474Z] prd-ubuntu20.04-docker-8c-8g-34535 does not seem to be running inside a container [2024-12-05T05:55:37.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-12-05T05:55:37.863Z] $ docker top fabe17472d581cc517ca96feba3b9b1f3e722f623de130d94d20b143b0cccb31 -eo pid,comm [2024-12-05T05:55:37.913Z] 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). [2024-12-05T05:55:37.913Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-05T05:55:37.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-05T05:55:37.961Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-05T05:55:38.092Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-05T05:55:38.091Z] $ docker exec fabe17472d581cc517ca96feba3b9b1f3e722f623de130d94d20b143b0cccb31 ssh-agent [2024-12-05T05:55:38.206Z] SSH_AUTH_SOCK=/tmp/ssh-vfcLprnBBJIA/agent.33 [2024-12-05T05:55:38.206Z] SSH_AGENT_PID=39 [2024-12-05T05:55:38.215Z] Running ssh-add (command line suppressed) [2024-12-05T05:55:38.305Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6764110254437480601.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6764110254437480601.key) [2024-12-05T05:55:38.319Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-05T05:55:38.614Z] + git semver bump pre [2024-12-05T05:55:38.873Z] 2024-12-05 05:55:38,775 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-05T05:55:38.873Z] 2024-12-05 05:55:38,775 [bump_version] DEBUG bumping version:4.0.0-dev.3 on axis:pre with prefix:dev [2024-12-05T05:55:38.873Z] 2024-12-05 05:55:38,775 [bump_version] DEBUG bumped version:4.0.0-dev.4 [2024-12-05T05:55:38.873Z] 2024-12-05 05:55:38,775 [write_version] DEBUG write version:4.0.0-dev.4 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2024-12-05T05:55:38.873Z] 2024-12-05 05:55:38,775 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-05T05:55:38.873Z] 2024-12-05 05:55:38,775 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-05T05:55:38.873Z] 2024-12-05 05:55:38,778 [execute] INFO git cat-file --batch-check [2024-12-05T05:55:38.873Z] 2024-12-05 05:55:38,778 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-12-05T05:55:38.873Z] 2024-12-05 05:55:38,783 [execute] INFO git cat-file --batch [2024-12-05T05:55:38.873Z] 2024-12-05 05:55:38,783 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-12-05T05:55:38.873Z] 2024-12-05 05:55:38,787 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-05T05:55:38.873Z] 4.0.0-dev.4 [Pipeline] } [2024-12-05T05:55:38.880Z] $ docker exec --env ******** --env ******** fabe17472d581cc517ca96feba3b9b1f3e722f623de130d94d20b143b0cccb31 ssh-agent -k [2024-12-05T05:55:38.991Z] unset SSH_AUTH_SOCK; [2024-12-05T05:55:38.991Z] unset SSH_AGENT_PID; [2024-12-05T05:55:38.991Z] echo Agent pid 39 killed; [2024-12-05T05:55:39.004Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-05T05:55:39.316Z] + git semver [Pipeline] } [2024-12-05T05:55:39.583Z] $ docker stop --time=1 fabe17472d581cc517ca96feba3b9b1f3e722f623de130d94d20b143b0cccb31 [2024-12-05T05:55:40.882Z] $ docker rm -f --volumes fabe17472d581cc517ca96feba3b9b1f3e722f623de130d94d20b143b0cccb31 [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-05T05:55:41.234Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-05T05:55:41.234Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-05T05:55:41.535Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-05T05:55:41.535Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-05T05:55:41.616Z] prd-ubuntu20.04-docker-8c-8g-34535 does not seem to be running inside a container [2024-12-05T05:55:41.645Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-12-05T05:55:41.985Z] $ docker top be29ea2a19ada9c2efa6c2ab9af18d93792297f7f42e9fa01dd7a2974428ae9d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-05T05:55:42.103Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-05T05:55:42.103Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-05T05:55:42.220Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-05T05:55:42.220Z] $ docker exec be29ea2a19ada9c2efa6c2ab9af18d93792297f7f42e9fa01dd7a2974428ae9d ssh-agent [2024-12-05T05:55:42.331Z] SSH_AUTH_SOCK=/tmp/ssh-lqDoEMdmaYGO/agent.32 [2024-12-05T05:55:42.331Z] SSH_AGENT_PID=38 [2024-12-05T05:55:42.336Z] Running ssh-add (command line suppressed) [2024-12-05T05:55:42.433Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5872411474399700649.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5872411474399700649.key) [2024-12-05T05:55:42.450Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-05T05:55:42.742Z] + git semver push [2024-12-05T05:55:43.002Z] 2024-12-05 05:55:42,908 [run_push] DEBUG push [2024-12-05T05:55:43.002Z] 2024-12-05 05:55:42,909 [execute] INFO git cat-file --batch-check [2024-12-05T05:55:43.002Z] 2024-12-05 05:55:42,909 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-12-05T05:55:43.002Z] 2024-12-05 05:55:42,915 [execute] INFO git rev-list 908d074d958c9ca29695c1736fb9bca8ef698962 -- [2024-12-05T05:55:43.002Z] 2024-12-05 05:55:42,915 [execute] DEBUG Popen(['git', 'rev-list', '908d074d958c9ca29695c1736fb9bca8ef698962', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-12-05T05:55:43.002Z] 2024-12-05 05:55:42,925 [execute] INFO git fetch -v origin [2024-12-05T05:55:43.002Z] 2024-12-05 05:55:42,926 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-12-05T05:55:43.571Z] 2024-12-05 05:55:43,382 [run_push] DEBUG no remote changes detected [2024-12-05T05:55:43.571Z] 2024-12-05 05:55:43,382 [execute] INFO git push origin semver [2024-12-05T05:55:43.571Z] 2024-12-05 05:55:43,383 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-12-05T05:55:44.138Z] 2024-12-05 05:55:43,983 [run_push] DEBUG push all version tags [2024-12-05T05:55:44.138Z] 2024-12-05 05:55:43,983 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-12-05T05:55:44.138Z] 2024-12-05 05:55:43,984 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-12-05T05:55:44.707Z] 2024-12-05 05:55:44,566 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-05T05:55:44.707Z] 4.0.0-dev.4 [Pipeline] } [2024-12-05T05:55:44.713Z] $ docker exec --env ******** --env ******** be29ea2a19ada9c2efa6c2ab9af18d93792297f7f42e9fa01dd7a2974428ae9d ssh-agent -k [2024-12-05T05:55:44.817Z] unset SSH_AUTH_SOCK; [2024-12-05T05:55:44.817Z] unset SSH_AGENT_PID; [2024-12-05T05:55:44.817Z] echo Agent pid 38 killed; [2024-12-05T05:55:44.831Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-05T05:55:45.143Z] + git semver [Pipeline] } [2024-12-05T05:55:45.411Z] $ docker stop --time=1 be29ea2a19ada9c2efa6c2ab9af18d93792297f7f42e9fa01dd7a2974428ae9d [2024-12-05T05:55:46.697Z] $ docker rm -f --volumes be29ea2a19ada9c2efa6c2ab9af18d93792297f7f42e9fa01dd7a2974428ae9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-12-05T05:55:47.165Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2024-12-05T05:55:47.166Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-05T05:55:47.166Z] total 16 [2024-12-05T05:55:47.166Z] drwxr-xr-x 3 root root 4096 Dec 5 05:55 . [2024-12-05T05:55:47.166Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 05:55 .. [2024-12-05T05:55:47.166Z] drwxr-xr-x 2 root root 4096 Dec 5 05:55 cost [2024-12-05T05:55:47.166Z] -rw-r--r-- 1 root root 83 Dec 5 05:55 cost.csv [2024-12-05T05:55:47.166Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-05T05:55:47.166Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-05T05:55:47.166Z] total 16 [2024-12-05T05:55:47.166Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 05:55 . [2024-12-05T05:55:47.166Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 05:55 .. [2024-12-05T05:55:47.166Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 5 05:55 cost [2024-12-05T05:55:47.166Z] -rw-r--r-- 1 jenkins jenkins 83 Dec 5 05:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-12-05T05:55:47.454Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-05T05:55:48.311Z] ---> package-listing.sh [2024-12-05T05:55:48.311Z] ++ tr '[:upper:]' '[:lower:]' [2024-12-05T05:55:48.311Z] ++ facter osfamily [2024-12-05T05:55:48.570Z] + OS_FAMILY=debian [2024-12-05T05:55:48.570Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2024-12-05T05:55:48.570Z] + START_PACKAGES=/tmp/packages_start.txt [2024-12-05T05:55:48.570Z] + END_PACKAGES=/tmp/packages_end.txt [2024-12-05T05:55:48.570Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-12-05T05:55:48.570Z] + PACKAGES=/tmp/packages_start.txt [2024-12-05T05:55:48.570Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-12-05T05:55:48.570Z] + PACKAGES=/tmp/packages_end.txt [2024-12-05T05:55:48.570Z] + case "${OS_FAMILY}" in [2024-12-05T05:55:48.570Z] + dpkg -l [2024-12-05T05:55:48.570Z] + grep '^ii' [2024-12-05T05:55:48.570Z] + '[' -f /tmp/packages_start.txt ']' [2024-12-05T05:55:48.570Z] + '[' -f /tmp/packages_end.txt ']' [2024-12-05T05:55:48.570Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-12-05T05:55:48.570Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-12-05T05:55:48.570Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2024-12-05T05:55:48.570Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2024-12-05T05:55:48.579Z] 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-12-05T05:55:48.863Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-05T05:55:49.429Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-05T05:55:49.429Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-05T05:55:49.509Z] prd-ubuntu20.04-docker-8c-8g-34535 does not seem to be running inside a container [2024-12-05T05:55:49.537Z] $ 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_main/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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-12-05T05:55:49.737Z] $ docker top ab8090ef28e33a6995fecbc357b2215893c62a441999cb2e7497813f143d71e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-05T05:55:50.092Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-12-05T05:55:50.386Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-12-05T05:55:50.671Z] + ls /var/log/sa-host [2024-12-05T05:55:50.671Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-05T05:55:50.759Z] provisioning config files... [2024-12-05T05:55:50.774Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config716632572548082344tmp [Pipeline] { [Pipeline] echo [2024-12-05T05:55:50.790Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-05T05:55:51.072Z] ---> create-netrc.sh [Pipeline] } [2024-12-05T05:55:51.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-12-05T05:55:51.408Z] ---> python-tools-install.sh [Pipeline] echo [2024-12-05T05:55:51.418Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-05T05:55:51.703Z] ---> sudo-logs.sh [2024-12-05T05:55:51.703Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-12-05T05:55:51.738Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-05T05:55:52.022Z] ---> job-cost.sh [2024-12-05T05:55:52.022Z] lf-activate-venv: SKIPPING [2024-12-05T05:55:52.022Z] DEBUG: total: 0.2199999988079071 [2024-12-05T05:55:52.022Z] INFO: Retrieving Stack Cost... [2024-12-05T05:55:52.591Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-05T05:55:52.850Z] INFO: Archiving Costs [Pipeline] echo [2024-12-05T05:55:52.864Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-05T05:55:53.146Z] ---> logs-deploy.sh [2024-12-05T05:55:53.146Z] lf-activate-venv: SKIPPING [2024-12-05T05:55:53.146Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/80 [2024-12-05T05:55:53.146Z] INFO: archiving workspace using pattern(s): [2024-12-05T05:55:54.084Z] Archives upload complete. [2024-12-05T05:55:54.084Z] INFO: archiving logs to Nexus