Pull request #551 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of M0hanrajp for edgexfoundry/device-sdk-c Loading trusted files from base branch main at eb5cdce89b0962bcd2b083fabb45f85a531a29c5 rather than 437cedec99f095b414dd258198aec3214fc29360 Obtained Jenkinsfile from eb5cdce89b0962bcd2b083fabb45f85a531a29c5 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-ssh1189926437960616426.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-ssh3401973720187487268.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-551/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-551/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4467252321979360025.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-551/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12297761061546741063.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh8909896465264209360.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-551/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-551/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17660270062514776373.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-39625 in /w/workspace/edgexfoundry_device-sdk-c_PR-551 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-551 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/551/head:refs/remotes/origin/PR-551 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit eb5cdce89b0962bcd2b083fabb45f85a531a29c5 into PR head commit 437cedec99f095b414dd258198aec3214fc29360 Merge succeeded, producing 437cedec99f095b414dd258198aec3214fc29360 Checking out Revision 437cedec99f095b414dd258198aec3214fc29360 (PR-551) > git config core.sparsecheckout # timeout=10 > git checkout -f 437cedec99f095b414dd258198aec3214fc29360 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge eb5cdce89b0962bcd2b083fabb45f85a531a29c5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 437cedec99f095b414dd258198aec3214fc29360 # timeout=10 Commit message: "refactor(device-sdk-c): fix -Wformat-security warnings" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2025-02-24T17:49:37.447Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-02-24T17:49:37.638Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-02-24T17:49:37.743Z] ========================================================= [2025-02-24T17:49:37.744Z] EdgeX Global Pipelines Version Info [2025-02-24T17:49:37.744Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-02-24T17:49:38.896Z] ------------------- [2025-02-24T17:49:38.896Z] stable info: [2025-02-24T17:49:38.896Z] ------------------- [2025-02-24T17:49:38.896Z] Commited By: Cherry Wang cherry@iotechsys.com [2025-02-24T17:49:38.896Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2025-02-24T17:49:38.896Z] Message: update stable to v1.0.269 [2025-02-24T17:49:39.471Z] ------------------- [2025-02-24T17:49:39.471Z] experimental info: [2025-02-24T17:49:39.471Z] ------------------- [2025-02-24T17:49:39.471Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2025-02-24T17:49:39.471Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2025-02-24T17:49:39.471Z] Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-02-24T17:49:39.680Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2025-02-24T17:49:39.733Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2025-02-24T17:49:39.781Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-02-24T17:49:39.833Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2025-02-24T17:49:39.887Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-02-24T17:49:39.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2025-02-24T17:49:39.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2025-02-24T17:49:40.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-02-24T17:49:40.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-02-24T17:49:40.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2025-02-24T17:49:40.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-02-24T17:49:40.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-02-24T17:49:40.311Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-02-24T17:49:40.360Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2025-02-24T17:49:40.413Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-02-24T17:49:40.464Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-02-24T17:49:40.511Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-02-24T17:49:40.558Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-551 [Pipeline] echo [2025-02-24T17:49:40.609Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-551 [Pipeline] echo [2025-02-24T17:49:40.664Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-551 [Pipeline] echo [2025-02-24T17:49:40.714Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 437cedec99f095b414dd258198aec3214fc29360 [Pipeline] echo [2025-02-24T17:49:40.761Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 437cede [Pipeline] echo [2025-02-24T17:49:40.809Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-02-24T17:49:40.935Z] provisioning config files... [2025-02-24T17:49:40.951Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp/config13686717998413592663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-02-24T17:49:41.335Z] ---> ****-login.sh [2025-02-24T17:49:41.335Z] nexus3.edgexfoundry.org:10001 [2025-02-24T17:49:41.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-24T17:49:41.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-24T17:49:41.596Z] Configure a credential helper to remove this warning. See [2025-02-24T17:49:41.596Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-24T17:49:41.596Z] [2025-02-24T17:49:41.596Z] Login Succeeded [2025-02-24T17:49:41.596Z] nexus3.edgexfoundry.org:10002 [2025-02-24T17:49:41.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-24T17:49:41.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-24T17:49:41.857Z] Configure a credential helper to remove this warning. See [2025-02-24T17:49:41.857Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-24T17:49:41.857Z] [2025-02-24T17:49:41.857Z] Login Succeeded [2025-02-24T17:49:41.857Z] nexus3.edgexfoundry.org:10003 [2025-02-24T17:49:41.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-24T17:49:41.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-24T17:49:41.857Z] Configure a credential helper to remove this warning. See [2025-02-24T17:49:41.857Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-24T17:49:41.857Z] [2025-02-24T17:49:41.857Z] Login Succeeded [2025-02-24T17:49:41.857Z] nexus3.edgexfoundry.org:10004 [2025-02-24T17:49:42.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-24T17:49:42.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-24T17:49:42.119Z] Configure a credential helper to remove this warning. See [2025-02-24T17:49:42.119Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-24T17:49:42.119Z] [2025-02-24T17:49:42.119Z] Login Succeeded [2025-02-24T17:49:42.119Z] ****.io [2025-02-24T17:49:42.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-24T17:49:42.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-24T17:49:42.380Z] Configure a credential helper to remove this warning. See [2025-02-24T17:49:42.380Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-24T17:49:42.380Z] [2025-02-24T17:49:42.380Z] Login Succeeded [2025-02-24T17:49:42.380Z] ---> ****-login.sh ends [Pipeline] } [2025-02-24T17:49:42.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2025-02-24T17:49:43.082Z] + git rev-list -1 --merges 437cedec99f095b414dd258198aec3214fc29360~1..437cedec99f095b414dd258198aec3214fc29360 [Pipeline] echo [2025-02-24T17:49:43.129Z] -----------> git rev-list -1 --merges 437cedec99f095b414dd258198aec3214fc29360~1..437cedec99f095b414dd258198aec3214fc29360 437cedec99f095b414dd258198aec3214fc29360 [false] [Pipeline] sh [2025-02-24T17:49:43.441Z] + git log --format=format:%s -1 437cedec99f095b414dd258198aec3214fc29360 [Pipeline] echo [2025-02-24T17:49:43.479Z] ========================================================= [2025-02-24T17:49:43.479Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-02-24T17:49:43.479Z] ========================================================= 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 [2025-02-24T17:49:44.409Z] + git rev-list -1 --merges 437cedec99f095b414dd258198aec3214fc29360~1..437cedec99f095b414dd258198aec3214fc29360 [Pipeline] echo [2025-02-24T17:49:44.445Z] -----------> git rev-list -1 --merges 437cedec99f095b414dd258198aec3214fc29360~1..437cedec99f095b414dd258198aec3214fc29360 437cedec99f095b414dd258198aec3214fc29360 [false] [Pipeline] sh [2025-02-24T17:49:44.760Z] + git log --format=format:%s -1 437cedec99f095b414dd258198aec3214fc29360 [Pipeline] echo [2025-02-24T17:49:44.803Z] ========================================================= [2025-02-24T17:49:44.803Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-02-24T17:49:44.803Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2025-02-24T17:49:45.328Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-02-24T17:49:45.328Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-02-24T17:49:45.328Z] + [ -e /tmp/ssh_known_hosts ] [2025-02-24T17:49:45.328Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-02-24T17:49:45.328Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-02-24T17:49:45.328Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-02-24T17:49:45.328Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-24T17:49:45.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-02-24T17:49:45.820Z] [2025-02-24T17:49:45.820Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-24T17:49:46.211Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-02-24T17:49:46.211Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-02-24T17:49:46.211Z] b85a868b505f: Pulling fs layer [2025-02-24T17:49:46.211Z] e2be974225ed: Pulling fs layer [2025-02-24T17:49:46.211Z] 339a4e72a1f5: Pulling fs layer [2025-02-24T17:49:46.211Z] 988bab9f4d93: Pulling fs layer [2025-02-24T17:49:46.211Z] 1469e6f7b9e6: Pulling fs layer [2025-02-24T17:49:46.211Z] eaf3925da568: Pulling fs layer [2025-02-24T17:49:46.211Z] bab4dde63d76: Pulling fs layer [2025-02-24T17:49:46.211Z] bde34c3a00c8: Pulling fs layer [2025-02-24T17:49:46.211Z] b352a97aabf1: Pulling fs layer [2025-02-24T17:49:46.211Z] 4872d77fe225: Pulling fs layer [2025-02-24T17:49:46.211Z] 5851b861e8e6: Pulling fs layer [2025-02-24T17:49:46.211Z] 4872d77fe225: Waiting [2025-02-24T17:49:46.211Z] bab4dde63d76: Waiting [2025-02-24T17:49:46.211Z] bde34c3a00c8: Waiting [2025-02-24T17:49:46.211Z] b352a97aabf1: Waiting [2025-02-24T17:49:46.211Z] 1469e6f7b9e6: Waiting [2025-02-24T17:49:46.211Z] eaf3925da568: Waiting [2025-02-24T17:49:46.211Z] 988bab9f4d93: Waiting [2025-02-24T17:49:46.211Z] 5851b861e8e6: Waiting [2025-02-24T17:49:46.211Z] e2be974225ed: Verifying Checksum [2025-02-24T17:49:46.211Z] e2be974225ed: Download complete [2025-02-24T17:49:46.211Z] 988bab9f4d93: Verifying Checksum [2025-02-24T17:49:46.211Z] 988bab9f4d93: Download complete [2025-02-24T17:49:46.211Z] 1469e6f7b9e6: Verifying Checksum [2025-02-24T17:49:46.211Z] 1469e6f7b9e6: Download complete [2025-02-24T17:49:46.211Z] 339a4e72a1f5: Verifying Checksum [2025-02-24T17:49:46.211Z] 339a4e72a1f5: Download complete [2025-02-24T17:49:46.478Z] eaf3925da568: Verifying Checksum [2025-02-24T17:49:46.478Z] eaf3925da568: Download complete [2025-02-24T17:49:46.478Z] bde34c3a00c8: Verifying Checksum [2025-02-24T17:49:46.478Z] bde34c3a00c8: Download complete [2025-02-24T17:49:46.478Z] b352a97aabf1: Verifying Checksum [2025-02-24T17:49:46.478Z] b352a97aabf1: Download complete [2025-02-24T17:49:46.478Z] 4872d77fe225: Verifying Checksum [2025-02-24T17:49:46.478Z] 4872d77fe225: Download complete [2025-02-24T17:49:46.478Z] 5851b861e8e6: Download complete [2025-02-24T17:49:46.478Z] b85a868b505f: Verifying Checksum [2025-02-24T17:49:46.478Z] b85a868b505f: Download complete [2025-02-24T17:49:46.737Z] bab4dde63d76: Verifying Checksum [2025-02-24T17:49:46.737Z] bab4dde63d76: Download complete [2025-02-24T17:49:47.675Z] b85a868b505f: Pull complete [2025-02-24T17:49:47.675Z] e2be974225ed: Pull complete [2025-02-24T17:49:48.242Z] 339a4e72a1f5: Pull complete [2025-02-24T17:49:48.242Z] 988bab9f4d93: Pull complete [2025-02-24T17:49:48.501Z] 1469e6f7b9e6: Pull complete [2025-02-24T17:49:48.501Z] eaf3925da568: Pull complete [2025-02-24T17:49:50.407Z] bab4dde63d76: Pull complete [2025-02-24T17:49:50.407Z] bde34c3a00c8: Pull complete [2025-02-24T17:49:50.407Z] b352a97aabf1: Pull complete [2025-02-24T17:49:50.407Z] 4872d77fe225: Pull complete [2025-02-24T17:49:50.407Z] 5851b861e8e6: Pull complete [2025-02-24T17:49:50.407Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2025-02-24T17:49:50.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-02-24T17:49:50.407Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-02-24T17:49:50.657Z] prd-ubuntu20.04-docker-8c-8g-39625 does not seem to be running inside a container [2025-02-24T17:49:50.685Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-551 -v /w/workspace/edgexfoundry_device-sdk-c_PR-551:/w/workspace/edgexfoundry_device-sdk-c_PR-551:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2025-02-24T17:49:52.769Z] $ docker top 089aa5a338620feaa3cf97050543fc5fd930566e35709aeb1e99f19b2472bb24 -eo pid,comm [2025-02-24T17:49:52.824Z] 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). [2025-02-24T17:49:52.824Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-02-24T17:49:52.974Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-02-24T17:49:52.974Z] [ssh-agent] Looking for ssh-agent implementation... [2025-02-24T17:49:53.081Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-02-24T17:49:53.083Z] $ docker exec 089aa5a338620feaa3cf97050543fc5fd930566e35709aeb1e99f19b2472bb24 ssh-agent [2025-02-24T17:49:53.194Z] SSH_AUTH_SOCK=/tmp/ssh-icK8jZgaMB6q/agent.32 [2025-02-24T17:49:53.194Z] SSH_AGENT_PID=38 [2025-02-24T17:49:53.201Z] Running ssh-add (command line suppressed) [2025-02-24T17:49:53.296Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp/private_key_7239116331128371458.key (/w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp/private_key_7239116331128371458.key) [2025-02-24T17:49:53.310Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-02-24T17:49:53.659Z] + git tag --points-at HEAD [Pipeline] } [2025-02-24T17:49:53.684Z] $ docker exec --env ******** --env ******** 089aa5a338620feaa3cf97050543fc5fd930566e35709aeb1e99f19b2472bb24 ssh-agent -k [2025-02-24T17:49:53.789Z] unset SSH_AUTH_SOCK; [2025-02-24T17:49:53.790Z] unset SSH_AGENT_PID; [2025-02-24T17:49:53.790Z] echo Agent pid 38 killed; [2025-02-24T17:49:53.802Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2025-02-24T17:49:53.911Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-02-24T17:49:53.911Z] [ssh-agent] Looking for ssh-agent implementation... [2025-02-24T17:49:54.023Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-02-24T17:49:54.026Z] $ docker exec 089aa5a338620feaa3cf97050543fc5fd930566e35709aeb1e99f19b2472bb24 ssh-agent [2025-02-24T17:49:54.134Z] SSH_AUTH_SOCK=/tmp/ssh-mqcMaaivaoHv/agent.71 [2025-02-24T17:49:54.134Z] SSH_AGENT_PID=77 [2025-02-24T17:49:54.138Z] Running ssh-add (command line suppressed) [2025-02-24T17:49:54.244Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp/private_key_16934028997964392793.key (/w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp/private_key_16934028997964392793.key) [2025-02-24T17:49:54.258Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-02-24T17:49:54.596Z] + git semver init [2025-02-24T17:49:54.859Z] 2025-02-24 17:49:54,765 [run_init] DEBUG init version:0.0.0 force:False [2025-02-24T17:49:54.859Z] 2025-02-24 17:49:54,766 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-551/.semver [2025-02-24T17:49:54.859Z] 2025-02-24 17:49:54,766 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-551/.semver [2025-02-24T17:49:54.859Z] 2025-02-24 17:49:54,767 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-551/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-551, universal_newlines=False, shell=None, istream=None) [2025-02-24T17:49:55.805Z] 2025-02-24 17:49:55,525 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-551/.git/info/exclude [2025-02-24T17:49:55.805Z] 2025-02-24 17:49:55,526 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-551/.semver/PR-551 with force:False [2025-02-24T17:49:55.805Z] 2025-02-24 17:49:55,526 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-551/.semver/PR-551 [2025-02-24T17:49:55.805Z] 2025-02-24 17:49:55,530 [execute] INFO git cat-file --batch-check [2025-02-24T17:49:55.805Z] 2025-02-24 17:49:55,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-551/.semver, universal_newlines=False, shell=None, istream=) [2025-02-24T17:49:55.805Z] 2025-02-24 17:49:55,536 [execute] INFO git cat-file --batch [2025-02-24T17:49:55.805Z] 2025-02-24 17:49:55,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-551/.semver, universal_newlines=False, shell=None, istream=) [2025-02-24T17:49:55.805Z] 2025-02-24 17:49:55,542 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-551/.semver/PR-551 [2025-02-24T17:49:55.805Z] 0.0.0 [Pipeline] } [2025-02-24T17:49:55.828Z] $ docker exec --env ******** --env ******** 089aa5a338620feaa3cf97050543fc5fd930566e35709aeb1e99f19b2472bb24 ssh-agent -k [2025-02-24T17:49:55.907Z] unset SSH_AUTH_SOCK; [2025-02-24T17:49:55.908Z] unset SSH_AGENT_PID; [2025-02-24T17:49:55.908Z] echo Agent pid 77 killed; [2025-02-24T17:49:55.919Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-02-24T17:49:56.367Z] + git semver [Pipeline] } [2025-02-24T17:49:56.660Z] $ docker stop --time=1 089aa5a338620feaa3cf97050543fc5fd930566e35709aeb1e99f19b2472bb24 [2025-02-24T17:49:58.122Z] $ docker rm -f --volumes 089aa5a338620feaa3cf97050543fc5fd930566e35709aeb1e99f19b2472bb24 [Pipeline] // withDockerContainer [Pipeline] sh [2025-02-24T17:49:58.531Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-02-24T17:49:58.830Z] Stashed 1 file(s) [Pipeline] echo [2025-02-24T17:49:58.854Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-02-24T17:49:59.783Z] provisioning config files... [2025-02-24T17:49:59.793Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp/config3766989969149853285tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2025-02-24T17:50:00.250Z] ---> ****-login.sh [2025-02-24T17:50:00.250Z] nexus3.edgexfoundry.org:10001 [2025-02-24T17:50:00.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-24T17:50:00.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-24T17:50:00.250Z] Configure a credential helper to remove this warning. See [2025-02-24T17:50:00.250Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-24T17:50:00.250Z] [2025-02-24T17:50:00.250Z] Login Succeeded [2025-02-24T17:50:00.250Z] nexus3.edgexfoundry.org:10002 [2025-02-24T17:50:00.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-24T17:50:00.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-24T17:50:00.250Z] Configure a credential helper to remove this warning. See [2025-02-24T17:50:00.250Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-24T17:50:00.250Z] [2025-02-24T17:50:00.250Z] Login Succeeded [2025-02-24T17:50:00.250Z] nexus3.edgexfoundry.org:10003 [2025-02-24T17:50:00.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-24T17:50:00.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-24T17:50:00.510Z] Configure a credential helper to remove this warning. See [2025-02-24T17:50:00.510Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-24T17:50:00.510Z] [2025-02-24T17:50:00.510Z] Login Succeeded [2025-02-24T17:50:00.510Z] nexus3.edgexfoundry.org:10004 [2025-02-24T17:50:00.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-24T17:50:00.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-24T17:50:00.510Z] Configure a credential helper to remove this warning. See [2025-02-24T17:50:00.511Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-24T17:50:00.511Z] [2025-02-24T17:50:00.511Z] Login Succeeded [2025-02-24T17:50:00.511Z] ****.io [2025-02-24T17:50:00.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-24T17:50:00.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-24T17:50:00.770Z] Configure a credential helper to remove this warning. See [2025-02-24T17:50:00.770Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-24T17:50:00.770Z] [2025-02-24T17:50:00.770Z] Login Succeeded [2025-02-24T17:50:00.770Z] ---> ****-login.sh ends [Pipeline] } [2025-02-24T17:50:00.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-02-24T17:50:01.033Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2025-02-24T17:50:01.072Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2025-02-24T17:50:01.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2025-02-24T17:50:01.154Z] ========================================================= [2025-02-24T17:50:01.154Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2025-02-24T17:50:01.154Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-24T17:50:01.597Z] + 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 . [2025-02-24T17:50:01.597Z] Sending build context to Docker daemon 5.519MB [2025-02-24T17:50:01.597Z] Step 1/22 : ARG BASE=alpine:3.18 [2025-02-24T17:50:01.597Z] Step 2/22 : FROM ${BASE} as builder [2025-02-24T17:50:01.597Z] latest: Pulling from edgex-devops/edgex-gcc-base [2025-02-24T17:50:01.597Z] 96526aa774ef: Pulling fs layer [2025-02-24T17:50:01.597Z] da60e534fd72: Pulling fs layer [2025-02-24T17:50:01.597Z] 96526aa774ef: Verifying Checksum [2025-02-24T17:50:01.597Z] 96526aa774ef: Download complete [2025-02-24T17:50:01.856Z] 96526aa774ef: Pull complete [2025-02-24T17:50:02.431Z] da60e534fd72: Verifying Checksum [2025-02-24T17:50:02.431Z] da60e534fd72: Download complete [2025-02-24T17:50:05.723Z] da60e534fd72: Pull complete [2025-02-24T17:50:05.723Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2025-02-24T17:50:05.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2025-02-24T17:50:05.723Z] ---> 6605166a5db4 [2025-02-24T17:50:05.723Z] 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 [2025-02-24T17:50:07.629Z] ---> Running in b671b7de0709 [2025-02-24T17:50:08.197Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2025-02-24T17:50:08.456Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2025-02-24T17:50:08.456Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2025-02-24T17:50:08.456Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2025-02-24T17:50:08.716Z] Removing intermediate container b671b7de0709 [2025-02-24T17:50:08.716Z] ---> 5209a47b3887 [2025-02-24T17:50:08.716Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2025-02-24T17:50:08.977Z] ---> Running in 1e4722439dee [2025-02-24T17:50:09.914Z] Removing intermediate container 1e4722439dee [2025-02-24T17:50:09.914Z] ---> 6b6c1794e6fc [2025-02-24T17:50:09.914Z] 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 [2025-02-24T17:50:10.173Z] ---> Running in b5f51a2b6599 [2025-02-24T17:50:10.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:10.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:10.433Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:11.371Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-02-24T17:50:11.371Z] (1/15) Installing libcbor (0.10.2-r1) [2025-02-24T17:50:11.371Z] (2/15) Installing iotech-iot-1.5 (1.5.5-r0) [2025-02-24T17:50:11.941Z] (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) [2025-02-24T17:50:11.941Z] (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2025-02-24T17:50:12.201Z] (5/15) Installing libcbor-dev (0.10.2-r1) [2025-02-24T17:50:12.201Z] (6/15) Installing libmenuw (6.4_p20230506-r0) [2025-02-24T17:50:12.201Z] (7/15) Installing libpanelw (6.4_p20230506-r0) [2025-02-24T17:50:12.201Z] (8/15) Installing libncurses++ (6.4_p20230506-r0) [2025-02-24T17:50:12.201Z] (9/15) Installing ncurses-dev (6.4_p20230506-r0) [2025-02-24T17:50:12.201Z] (10/15) Installing libblkid (2.38.1-r8) [2025-02-24T17:50:12.201Z] (11/15) Installing libuuid (2.38.1-r8) [2025-02-24T17:50:12.201Z] (12/15) Installing libfdisk (2.38.1-r8) [2025-02-24T17:50:12.201Z] (13/15) Installing libmount (2.38.1-r8) [2025-02-24T17:50:12.201Z] (14/15) Installing libsmartcols (2.38.1-r8) [2025-02-24T17:50:12.201Z] (15/15) Installing util-linux-dev (2.38.1-r8) [2025-02-24T17:50:12.201Z] Executing busybox-1.36.1-r4.trigger [2025-02-24T17:50:12.201Z] OK: 336 MiB in 97 packages [2025-02-24T17:50:12.768Z] Removing intermediate container b5f51a2b6599 [2025-02-24T17:50:12.768Z] ---> 98aa0bd56840 [2025-02-24T17:50:12.768Z] Step 6/22 : RUN mkdir /tmp/sdk [2025-02-24T17:50:12.768Z] ---> Running in 5509b6f4b780 [2025-02-24T17:50:13.338Z] Removing intermediate container 5509b6f4b780 [2025-02-24T17:50:13.338Z] ---> c6f9e8a572c5 [2025-02-24T17:50:13.338Z] Step 7/22 : COPY VERSION /tmp/sdk [2025-02-24T17:50:13.338Z] ---> d54d32d7e033 [2025-02-24T17:50:13.338Z] Step 8/22 : COPY src /tmp/sdk/src [2025-02-24T17:50:13.597Z] ---> 807a0a007e3e [2025-02-24T17:50:13.597Z] Step 9/22 : COPY include /tmp/sdk/include [2025-02-24T17:50:13.597Z] ---> 5fd36c706828 [2025-02-24T17:50:13.597Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2025-02-24T17:50:13.858Z] ---> 69eeab5bd66e [2025-02-24T17:50:13.858Z] Step 11/22 : COPY LICENSE /tmp/sdk [2025-02-24T17:50:13.858Z] ---> 702f7ae62805 [2025-02-24T17:50:13.858Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2025-02-24T17:50:14.118Z] ---> 76ada2485c26 [2025-02-24T17:50:14.118Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2025-02-24T17:50:14.118Z] ---> Running in c5ffbcad7c88 [2025-02-24T17:50:14.379Z] + CPPCHECK=false [2025-02-24T17:50:14.379Z] + DOCGEN=false [2025-02-24T17:50:14.379Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2025-02-24T17:50:14.379Z] + '[' 0 -gt 0 ] [2025-02-24T17:50:14.379Z] + readlink -f ./scripts/build.sh [2025-02-24T17:50:14.379Z] + dirname /tmp/sdk/scripts/build.sh [2025-02-24T17:50:14.379Z] + dirname /tmp/sdk/scripts [2025-02-24T17:50:14.379Z] + ROOT=/tmp/sdk [2025-02-24T17:50:14.379Z] + cd /tmp/sdk [2025-02-24T17:50:14.379Z] + mkdir -p /tmp/sdk/build/release [2025-02-24T17:50:14.379Z] + cd /tmp/sdk/build/release [2025-02-24T17:50:14.379Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2025-02-24T17:50:14.379Z] -- The C compiler identification is GNU 12.2.1 [2025-02-24T17:50:14.379Z] -- Detecting C compiler ABI info [2025-02-24T17:50:14.638Z] -- Detecting C compiler ABI info - done [2025-02-24T17:50:14.638Z] -- Check for working C compiler: /usr/bin/cc - skipped [2025-02-24T17:50:14.638Z] -- Detecting C compile features [2025-02-24T17:50:14.638Z] -- Detecting C compile features - done [2025-02-24T17:50:14.638Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2025-02-24T17:50:14.638Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2025-02-24T17:50:14.638Z] -- Found LIBYAML: /usr/lib/libyaml.so [2025-02-24T17:50:14.638Z] -- Found LIBUUID: /usr/lib/libuuid.so [2025-02-24T17:50:14.638Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2025-02-24T17:50:14.638Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2025-02-24T17:50:14.638Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2025-02-24T17:50:14.638Z] -- /opt/iotech/iot/1.5/include [2025-02-24T17:50:14.638Z] -- C SDK 0.0.0 for Linux [2025-02-24T17:50:14.638Z] -- Performing Test CSDK_HAVE_ATOMIC [2025-02-24T17:50:14.638Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2025-02-24T17:50:14.638Z] -- Found Curses: /usr/lib/libcurses.so [2025-02-24T17:50:14.899Z] -- Configuring done (0.4s) [2025-02-24T17:50:14.899Z] -- Generating done (0.0s) [2025-02-24T17:50:14.899Z] -- Build files have been written to: /tmp/sdk/build/release [2025-02-24T17:50:14.899Z] + make all package [2025-02-24T17:50:14.899Z] + tee release.log [2025-02-24T17:50:14.899Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2025-02-24T17:50:14.899Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2025-02-24T17:50:15.158Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2025-02-24T17:50:15.158Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2025-02-24T17:50:15.418Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2025-02-24T17:50:15.678Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2025-02-24T17:50:15.679Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2025-02-24T17:50:15.939Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2025-02-24T17:50:16.197Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2025-02-24T17:50:16.197Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2025-02-24T17:50:16.457Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2025-02-24T17:50:16.457Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2025-02-24T17:50:16.457Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2025-02-24T17:50:16.715Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2025-02-24T17:50:16.715Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2025-02-24T17:50:16.977Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2025-02-24T17:50:17.236Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2025-02-24T17:50:17.236Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2025-02-24T17:50:17.236Z] from /tmp/sdk/src/c/registry.h:14, [2025-02-24T17:50:17.236Z] from /tmp/sdk/src/c/registry-impl.h:12, [2025-02-24T17:50:17.236Z] from /tmp/sdk/src/c/keeper.h:12, [2025-02-24T17:50:17.236Z] from /tmp/sdk/src/c/keeper.c:4: [2025-02-24T17:50:17.236Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2025-02-24T17:50:17.236Z] /tmp/sdk/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2025-02-24T17:50:17.236Z] 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2025-02-24T17:50:17.236Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-02-24T17:50:17.236Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2025-02-24T17:50:17.236Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2025-02-24T17:50:17.236Z] | ^~~~~~~~~~~ [2025-02-24T17:50:17.236Z] /tmp/sdk/src/c/keeper.c:121:55: note: format string is defined here [2025-02-24T17:50:17.236Z] 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2025-02-24T17:50:17.236Z] | ~^ [2025-02-24T17:50:17.236Z] | | [2025-02-24T17:50:17.236Z] | char * [2025-02-24T17:50:17.236Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2025-02-24T17:50:17.496Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2025-02-24T17:50:17.756Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2025-02-24T17:50:17.756Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2025-02-24T17:50:18.696Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2025-02-24T17:50:18.956Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2025-02-24T17:50:18.956Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2025-02-24T17:50:18.956Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2025-02-24T17:50:18.956Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2025-02-24T17:50:19.217Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2025-02-24T17:50:19.787Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2025-02-24T17:50:19.787Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2025-02-24T17:50:19.787Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2025-02-24T17:50:20.047Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2025-02-24T17:50:20.311Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2025-02-24T17:50:20.311Z] /tmp/sdk/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2025-02-24T17:50:20.311Z] 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2025-02-24T17:50:20.311Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-02-24T17:50:20.311Z] /tmp/sdk/src/c/service.c:875:21: note: 'deviceservices_config' was declared here [2025-02-24T17:50:20.311Z] 875 | const iot_data_t *deviceservices_config; [2025-02-24T17:50:20.311Z] | ^~~~~~~~~~~~~~~~~~~~~ [2025-02-24T17:50:20.311Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2025-02-24T17:50:20.575Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2025-02-24T17:50:20.575Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2025-02-24T17:50:20.575Z] [ 68%] Linking C shared library libcsdk.so [2025-02-24T17:50:20.836Z] [ 68%] Built target csdk [2025-02-24T17:50:20.836Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2025-02-24T17:50:20.836Z] [ 72%] Linking C executable template [2025-02-24T17:50:20.836Z] [ 72%] Built target template [2025-02-24T17:50:21.096Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2025-02-24T17:50:21.096Z] [ 76%] Linking C executable device-counter [2025-02-24T17:50:21.096Z] [ 76%] Built target device-counter [2025-02-24T17:50:21.096Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2025-02-24T17:50:21.355Z] [ 80%] Linking C executable device-random [2025-02-24T17:50:21.355Z] [ 80%] Built target device-random [2025-02-24T17:50:21.355Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2025-02-24T17:50:21.355Z] [ 84%] Linking C executable device-gyro [2025-02-24T17:50:21.355Z] [ 84%] Built target device-gyro [2025-02-24T17:50:21.615Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2025-02-24T17:50:21.615Z] [ 88%] Linking C executable device-bitfields [2025-02-24T17:50:21.615Z] [ 88%] Built target device-bitfields [2025-02-24T17:50:21.615Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2025-02-24T17:50:21.879Z] [ 92%] Linking C executable template-discovery [2025-02-24T17:50:21.879Z] [ 92%] Built target template-discovery [2025-02-24T17:50:21.879Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2025-02-24T17:50:22.140Z] [ 96%] Linking C executable device-file [2025-02-24T17:50:22.140Z] [ 96%] Built target device-file [2025-02-24T17:50:22.140Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2025-02-24T17:50:22.140Z] [100%] Linking C executable device-terminal [2025-02-24T17:50:22.400Z] [100%] Built target device-terminal [2025-02-24T17:50:22.400Z] Run CPack packaging tool... [2025-02-24T17:50:22.400Z] CPack: Create package using TGZ [2025-02-24T17:50:22.400Z] CPack: Install projects [2025-02-24T17:50:22.400Z] CPack: - Run preinstall target for: Csdk [2025-02-24T17:50:22.660Z] CPack: - Install project: Csdk [] [2025-02-24T17:50:22.660Z] CPack: Create package [2025-02-24T17:50:22.660Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2025-02-24T17:50:22.660Z] + '[' false '=' true ] [2025-02-24T17:50:22.660Z] + '[' false '=' true ] [2025-02-24T17:50:22.660Z] + mkdir -p /tmp/sdk/build/debug [2025-02-24T17:50:22.660Z] + cd /tmp/sdk/build/debug [2025-02-24T17:50:22.660Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2025-02-24T17:50:22.660Z] -- The C compiler identification is GNU 12.2.1 [2025-02-24T17:50:22.660Z] -- Detecting C compiler ABI info [2025-02-24T17:50:22.660Z] -- Detecting C compiler ABI info - done [2025-02-24T17:50:22.920Z] -- Check for working C compiler: /usr/bin/cc - skipped [2025-02-24T17:50:22.920Z] -- Detecting C compile features [2025-02-24T17:50:22.920Z] -- Detecting C compile features - done [2025-02-24T17:50:22.920Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2025-02-24T17:50:22.920Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2025-02-24T17:50:22.920Z] -- Found LIBYAML: /usr/lib/libyaml.so [2025-02-24T17:50:22.920Z] -- Found LIBUUID: /usr/lib/libuuid.so [2025-02-24T17:50:22.920Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2025-02-24T17:50:22.920Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2025-02-24T17:50:22.920Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2025-02-24T17:50:22.920Z] -- /opt/iotech/iot/1.5/include [2025-02-24T17:50:22.920Z] -- C SDK 0.0.0 for Linux [2025-02-24T17:50:22.920Z] -- Performing Test CSDK_HAVE_ATOMIC [2025-02-24T17:50:22.920Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2025-02-24T17:50:22.920Z] -- Found Curses: /usr/lib/libcurses.so [2025-02-24T17:50:22.920Z] -- Configuring done (0.4s) [2025-02-24T17:50:22.920Z] -- Generating done (0.0s) [2025-02-24T17:50:22.920Z] -- Build files have been written to: /tmp/sdk/build/debug [2025-02-24T17:50:22.920Z] + make [2025-02-24T17:50:22.920Z] + tee debug.log [2025-02-24T17:50:23.179Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2025-02-24T17:50:23.179Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2025-02-24T17:50:23.179Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2025-02-24T17:50:23.179Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2025-02-24T17:50:23.438Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2025-02-24T17:50:23.438Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2025-02-24T17:50:23.438Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2025-02-24T17:50:23.698Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2025-02-24T17:50:23.699Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2025-02-24T17:50:23.699Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2025-02-24T17:50:23.960Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2025-02-24T17:50:23.960Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2025-02-24T17:50:23.960Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2025-02-24T17:50:23.960Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2025-02-24T17:50:24.220Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2025-02-24T17:50:24.220Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2025-02-24T17:50:24.220Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2025-02-24T17:50:24.220Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2025-02-24T17:50:24.220Z] from /tmp/sdk/src/c/registry.h:14, [2025-02-24T17:50:24.220Z] from /tmp/sdk/src/c/registry-impl.h:12, [2025-02-24T17:50:24.220Z] from /tmp/sdk/src/c/keeper.h:12, [2025-02-24T17:50:24.220Z] from /tmp/sdk/src/c/keeper.c:4: [2025-02-24T17:50:24.220Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2025-02-24T17:50:24.220Z] /tmp/sdk/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2025-02-24T17:50:24.220Z] 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2025-02-24T17:50:24.220Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-02-24T17:50:24.220Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2025-02-24T17:50:24.220Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2025-02-24T17:50:24.220Z] | ^~~~~~~~~~~ [2025-02-24T17:50:24.220Z] /tmp/sdk/src/c/keeper.c:121:55: note: format string is defined here [2025-02-24T17:50:24.220Z] 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2025-02-24T17:50:24.220Z] | ~^ [2025-02-24T17:50:24.220Z] | | [2025-02-24T17:50:24.220Z] | char * [2025-02-24T17:50:24.480Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2025-02-24T17:50:24.480Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2025-02-24T17:50:24.480Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2025-02-24T17:50:24.480Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2025-02-24T17:50:24.744Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2025-02-24T17:50:25.003Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2025-02-24T17:50:25.003Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2025-02-24T17:50:25.003Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2025-02-24T17:50:25.003Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2025-02-24T17:50:25.263Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2025-02-24T17:50:25.263Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2025-02-24T17:50:25.524Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2025-02-24T17:50:25.524Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2025-02-24T17:50:25.524Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2025-02-24T17:50:25.788Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2025-02-24T17:50:25.788Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2025-02-24T17:50:25.788Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2025-02-24T17:50:25.788Z] [ 68%] Linking C shared library libcsdk.so [2025-02-24T17:50:26.048Z] [ 68%] Built target csdk [2025-02-24T17:50:26.048Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2025-02-24T17:50:26.048Z] [ 72%] Linking C executable template [2025-02-24T17:50:26.048Z] [ 72%] Built target template [2025-02-24T17:50:26.048Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2025-02-24T17:50:26.048Z] [ 76%] Linking C executable device-counter [2025-02-24T17:50:26.307Z] [ 76%] Built target device-counter [2025-02-24T17:50:26.307Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2025-02-24T17:50:26.307Z] [ 80%] Linking C executable device-random [2025-02-24T17:50:26.307Z] [ 80%] Built target device-random [2025-02-24T17:50:26.307Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2025-02-24T17:50:26.307Z] [ 84%] Linking C executable device-gyro [2025-02-24T17:50:26.568Z] [ 84%] Built target device-gyro [2025-02-24T17:50:26.568Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2025-02-24T17:50:26.568Z] [ 88%] Linking C executable device-bitfields [2025-02-24T17:50:26.568Z] [ 88%] Built target device-bitfields [2025-02-24T17:50:26.568Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2025-02-24T17:50:26.828Z] [ 92%] Linking C executable template-discovery [2025-02-24T17:50:26.828Z] [ 92%] Built target template-discovery [2025-02-24T17:50:26.828Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2025-02-24T17:50:26.828Z] [ 96%] Linking C executable device-file [2025-02-24T17:50:26.828Z] [ 96%] Built target device-file [2025-02-24T17:50:26.828Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2025-02-24T17:50:27.087Z] [100%] Linking C executable device-terminal [2025-02-24T17:50:27.087Z] [100%] Built target device-terminal [2025-02-24T17:50:27.087Z] make: Entering directory '/tmp/sdk/build/release' [2025-02-24T17:50:27.087Z] [ 68%] Built target csdk [2025-02-24T17:50:27.087Z] [ 72%] Built target template [2025-02-24T17:50:27.087Z] [ 76%] Built target device-counter [2025-02-24T17:50:27.087Z] [ 80%] Built target device-random [2025-02-24T17:50:27.087Z] [ 84%] Built target device-gyro [2025-02-24T17:50:27.087Z] [ 88%] Built target device-bitfields [2025-02-24T17:50:27.347Z] [ 92%] Built target template-discovery [2025-02-24T17:50:27.347Z] [ 96%] Built target device-file [2025-02-24T17:50:27.347Z] [100%] Built target device-terminal [2025-02-24T17:50:27.347Z] Install the project... [2025-02-24T17:50:27.347Z] -- Install configuration: "Release" [2025-02-24T17:50:27.347Z] -- Installing: /usr/local/lib/libcsdk.so [2025-02-24T17:50:27.347Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2025-02-24T17:50:27.347Z] -- Installing: /usr/local/include [2025-02-24T17:50:27.347Z] -- Installing: /usr/local/include/devsdk [2025-02-24T17:50:27.347Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2025-02-24T17:50:27.347Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2025-02-24T17:50:27.347Z] -- Installing: /usr/local/include/edgex [2025-02-24T17:50:27.347Z] -- Installing: /usr/local/include/edgex/edgex.h [2025-02-24T17:50:27.347Z] -- Installing: /usr/local/include/edgex/devices.h [2025-02-24T17:50:27.347Z] -- Installing: /usr/local/include/edgex/profiles.h [2025-02-24T17:50:27.347Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2025-02-24T17:50:27.347Z] -- Installing: /usr/local/include/edgex/rest-server.h [2025-02-24T17:50:27.347Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2025-02-24T17:50:27.347Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2025-02-24T17:50:27.347Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2025-02-24T17:50:27.347Z] make: Leaving directory '/tmp/sdk/build/release' [2025-02-24T17:50:27.915Z] Removing intermediate container c5ffbcad7c88 [2025-02-24T17:50:27.915Z] ---> 6e5e5f8a90f4 [2025-02-24T17:50:27.915Z] Step 14/22 : FROM ${BASE} [2025-02-24T17:50:27.915Z] ---> 6605166a5db4 [2025-02-24T17:50:27.915Z] Step 15/22 : LABEL maintainer="IOTech " [2025-02-24T17:50:27.915Z] ---> Running in 10f23f71c843 [2025-02-24T17:50:27.915Z] Removing intermediate container 10f23f71c843 [2025-02-24T17:50:27.915Z] ---> ab01e8228741 [2025-02-24T17:50:27.915Z] 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 [2025-02-24T17:50:27.915Z] ---> Running in af4d0151d511 [2025-02-24T17:50:28.174Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2025-02-24T17:50:28.743Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2025-02-24T17:50:28.743Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2025-02-24T17:50:28.743Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2025-02-24T17:50:29.005Z] Removing intermediate container af4d0151d511 [2025-02-24T17:50:29.005Z] ---> e70571ae4895 [2025-02-24T17:50:29.005Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2025-02-24T17:50:29.005Z] ---> Running in f7a866b94e66 [2025-02-24T17:50:29.264Z] Removing intermediate container f7a866b94e66 [2025-02-24T17:50:29.264Z] ---> bcb2ddc24505 [2025-02-24T17:50:29.264Z] 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 [2025-02-24T17:50:29.523Z] ---> Running in 559904afe9d4 [2025-02-24T17:50:29.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:29.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:29.783Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:30.351Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-02-24T17:50:30.351Z] (1/11) Installing libpsl (0.21.5-r0) [2025-02-24T17:50:30.351Z] (2/11) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) [2025-02-24T17:50:30.351Z] (3/11) Installing curl (8.12.1-r0) [2025-02-24T17:50:30.351Z] (4/11) Installing libpsl-utils (0.21.5-r0) [2025-02-24T17:50:30.351Z] (5/11) Installing libpsl-dev (0.21.5-r0) [2025-02-24T17:50:30.351Z] (6/11) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) [2025-02-24T17:50:30.351Z] (7/11) Installing dumb-init (1.2.5-r2) [2025-02-24T17:50:30.351Z] (8/11) Installing libcbor (0.10.2-r1) [2025-02-24T17:50:30.351Z] (9/11) Installing iotech-iot-1.5 (1.5.5-r0) [2025-02-24T17:50:31.288Z] (10/11) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2025-02-24T17:50:31.288Z] (11/11) Installing libuuid (2.38.1-r8) [2025-02-24T17:50:31.288Z] Executing busybox-1.36.1-r4.trigger [2025-02-24T17:50:31.288Z] OK: 331 MiB in 91 packages [2025-02-24T17:50:31.860Z] Removing intermediate container 559904afe9d4 [2025-02-24T17:50:31.860Z] ---> 1a5c1658ba9a [2025-02-24T17:50:31.860Z] Step 19/22 : RUN apk --no-cache upgrade [2025-02-24T17:50:31.860Z] ---> Running in d53336cdcdaa [2025-02-24T17:50:31.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:32.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:32.120Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:32.689Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-02-24T17:50:32.689Z] Upgrading critical system libraries and apk-tools: [2025-02-24T17:50:32.689Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2025-02-24T17:50:32.689Z] Executing busybox-1.36.1-r4.trigger [2025-02-24T17:50:32.948Z] Continuing the upgrade transaction with new apk-tools: [2025-02-24T17:50:32.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:32.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:32.948Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:33.517Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-02-24T17:50:33.517Z] (1/20) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) [2025-02-24T17:50:33.777Z] (2/20) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2025-02-24T17:50:33.777Z] Executing busybox-1.36.1-r7.post-upgrade [2025-02-24T17:50:33.777Z] (3/20) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2025-02-24T17:50:33.778Z] (4/20) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) [2025-02-24T17:50:33.778Z] (5/20) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) [2025-02-24T17:50:33.778Z] (6/20) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) [2025-02-24T17:50:33.778Z] (7/20) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2025-02-24T17:50:33.778Z] (8/20) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) [2025-02-24T17:50:33.778Z] (9/20) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2025-02-24T17:50:33.778Z] (10/20) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2025-02-24T17:50:33.778Z] (11/20) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) [2025-02-24T17:50:33.778Z] (12/20) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) [2025-02-24T17:50:33.778Z] (13/20) Upgrading git (2.40.1-r0 -> 2.40.4-r0) [2025-02-24T17:50:33.778Z] (14/20) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3) [2025-02-24T17:50:33.778Z] (15/20) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) [2025-02-24T17:50:33.778Z] (16/20) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2025-02-24T17:50:34.038Z] (17/20) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2025-02-24T17:50:34.038Z] (18/20) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) [2025-02-24T17:50:34.038Z] (19/20) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) [2025-02-24T17:50:34.038Z] (20/20) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2025-02-24T17:50:34.038Z] Executing busybox-1.36.1-r7.trigger [2025-02-24T17:50:34.038Z] Executing ca-certificates-20241121-r1.trigger [2025-02-24T17:50:34.038Z] OK: 331 MiB in 91 packages [2025-02-24T17:50:34.976Z] Removing intermediate container d53336cdcdaa [2025-02-24T17:50:34.976Z] ---> a2255f6514ea [2025-02-24T17:50:34.976Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2025-02-24T17:50:34.976Z] ---> 4b1cba11ed13 [2025-02-24T17:50:34.976Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2025-02-24T17:50:35.238Z] ---> 52792d8b1cd7 [2025-02-24T17:50:35.238Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2025-02-24T17:50:35.238Z] ---> cbc5866cd678 [2025-02-24T17:50:35.238Z] Successfully built cbc5866cd678 [2025-02-24T17:50:35.238Z] 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 [2025-02-24T17:50:35.944Z] + docker inspect -f . ci-base-image-x86_64 [2025-02-24T17:50:35.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-02-24T17:50:36.113Z] prd-ubuntu20.04-docker-8c-8g-39625 does not seem to be running inside a container [2025-02-24T17:50:36.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-551 -v /w/workspace/edgexfoundry_device-sdk-c_PR-551:/w/workspace/edgexfoundry_device-sdk-c_PR-551:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2025-02-24T17:50:36.500Z] $ docker top 55d26b2dbd0dd5fbf9882560588118f4e67dce4d8b6142b3a1ea32657c12d825 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-02-24T17:50:36.908Z] + make test [2025-02-24T17:50:36.908Z] echo "make test" [2025-02-24T17:50:36.908Z] make test [Pipeline] } [2025-02-24T17:50:36.940Z] $ docker stop --time=1 55d26b2dbd0dd5fbf9882560588118f4e67dce4d8b6142b3a1ea32657c12d825 [2025-02-24T17:50:38.185Z] $ docker rm -f --volumes 55d26b2dbd0dd5fbf9882560588118f4e67dce4d8b6142b3a1ea32657c12d825 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-02-24T17:50:39.082Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-02-24T17:50:39.395Z] + ls -al . [2025-02-24T17:50:39.395Z] total 212 [2025-02-24T17:50:39.395Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 24 17:49 . [2025-02-24T17:50:39.396Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 17:49 .. [2025-02-24T17:50:39.396Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 17:49 .git [2025-02-24T17:50:39.396Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 17:49 .github [2025-02-24T17:50:39.396Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 24 17:49 .gitignore [2025-02-24T17:50:39.396Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 17:49 .semver [2025-02-24T17:50:39.396Z] -rw-rw-r-- 1 jenkins jenkins 2908 Feb 24 17:49 Attribution.txt [2025-02-24T17:50:39.396Z] -rw-rw-r-- 1 jenkins jenkins 11953 Feb 24 17:49 CHANGELOG.md [2025-02-24T17:50:39.396Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 24 17:49 Doxyfile [2025-02-24T17:50:39.396Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 17:49 GOVERNANCE.md [2025-02-24T17:50:39.396Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 24 17:49 Jenkinsfile [2025-02-24T17:50:39.396Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 24 17:49 LICENSE [2025-02-24T17:50:39.396Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 24 17:49 Makefile [2025-02-24T17:50:39.396Z] -rw-rw-r-- 1 jenkins jenkins 618 Feb 24 17:49 OWNERS.md [2025-02-24T17:50:39.396Z] -rw-rw-r-- 1 jenkins jenkins 1651 Feb 24 17:49 README.IOT.md [2025-02-24T17:50:39.396Z] -rw-rw-r-- 1 jenkins jenkins 4173 Feb 24 17:49 README.md [2025-02-24T17:50:39.396Z] -rw-rw-r-- 1 jenkins jenkins 1245 Feb 24 17:49 README.v3.md [2025-02-24T17:50:39.396Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 17:49 VERSION [2025-02-24T17:50:39.396Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 17:49 docs [2025-02-24T17:50:39.396Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 17:49 include [2025-02-24T17:50:39.396Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 17:49 scripts [2025-02-24T17:50:39.396Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 17:49 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-24T17:50:39.802Z] + 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=437cedec99f095b414dd258198aec3214fc29360 --label arch=amd64 --label version=0.0.0 . [2025-02-24T17:50:39.802Z] Sending build context to Docker daemon 5.519MB [2025-02-24T17:50:39.802Z] Step 1/18 : ARG BASE=alpine:3.18 [2025-02-24T17:50:39.802Z] Step 2/18 : FROM ${BASE} [2025-02-24T17:50:39.802Z] ---> cbc5866cd678 [2025-02-24T17:50:39.802Z] Step 3/18 : LABEL maintainer="IOTech " [2025-02-24T17:50:39.802Z] ---> Running in 5869ef79b1e0 [2025-02-24T17:50:39.802Z] Removing intermediate container 5869ef79b1e0 [2025-02-24T17:50:39.802Z] ---> 25676859de81 [2025-02-24T17:50:39.802Z] 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 [2025-02-24T17:50:39.802Z] ---> Running in 2ed4dc943f2b [2025-02-24T17:50:40.061Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2025-02-24T17:50:40.630Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2025-02-24T17:50:40.630Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2025-02-24T17:50:40.630Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2025-02-24T17:50:40.891Z] Removing intermediate container 2ed4dc943f2b [2025-02-24T17:50:40.891Z] ---> 9d9941a8b1f3 [2025-02-24T17:50:40.891Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2025-02-24T17:50:40.891Z] ---> Running in e448e2f73432 [2025-02-24T17:50:41.459Z] Removing intermediate container e448e2f73432 [2025-02-24T17:50:41.459Z] ---> 7ec4c18010f6 [2025-02-24T17:50:41.459Z] 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 [2025-02-24T17:50:41.459Z] ---> Running in 77506f8bed84 [2025-02-24T17:50:41.719Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:41.719Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:41.978Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:42.549Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-02-24T17:50:42.549Z] (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) [2025-02-24T17:50:42.549Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2025-02-24T17:50:42.549Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2025-02-24T17:50:42.549Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2025-02-24T17:50:42.549Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2025-02-24T17:50:42.549Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2025-02-24T17:50:42.549Z] (7/11) Installing libblkid (2.38.1-r8) [2025-02-24T17:50:42.549Z] (8/11) Installing libfdisk (2.38.1-r8) [2025-02-24T17:50:42.549Z] (9/11) Installing libmount (2.38.1-r8) [2025-02-24T17:50:42.549Z] (10/11) Installing libsmartcols (2.38.1-r8) [2025-02-24T17:50:42.549Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2025-02-24T17:50:42.549Z] Executing busybox-1.36.1-r7.trigger [2025-02-24T17:50:42.549Z] OK: 336 MiB in 102 packages [2025-02-24T17:50:43.118Z] Removing intermediate container 77506f8bed84 [2025-02-24T17:50:43.118Z] ---> 75d3187e975d [2025-02-24T17:50:43.118Z] Step 7/18 : RUN apk --no-cache upgrade [2025-02-24T17:50:43.118Z] ---> Running in 7bc17eb14913 [2025-02-24T17:50:43.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:43.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:43.637Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-24T17:50:44.216Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-02-24T17:50:44.216Z] OK: 336 MiB in 102 packages [2025-02-24T17:50:44.476Z] Removing intermediate container 7bc17eb14913 [2025-02-24T17:50:44.476Z] ---> 38b06a9fe951 [2025-02-24T17:50:44.476Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2025-02-24T17:50:44.476Z] ---> dd40f8ba441a [2025-02-24T17:50:44.476Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2025-02-24T17:50:44.736Z] ---> 31239ff2d898 [2025-02-24T17:50:44.736Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2025-02-24T17:50:44.736Z] ---> 76f83c3219a9 [2025-02-24T17:50:44.736Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2025-02-24T17:50:44.995Z] ---> 01686fad1bbd [2025-02-24T17:50:44.995Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2025-02-24T17:50:44.995Z] ---> 14cdf511887f [2025-02-24T17:50:44.995Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2025-02-24T17:50:45.254Z] ---> b8f5731071f8 [2025-02-24T17:50:45.254Z] Step 14/18 : WORKDIR /edgex-c-sdk [2025-02-24T17:50:45.254Z] ---> Running in 78508e870d0d [2025-02-24T17:50:45.254Z] Removing intermediate container 78508e870d0d [2025-02-24T17:50:45.254Z] ---> ef4f8cea1990 [2025-02-24T17:50:45.254Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2025-02-24T17:50:45.254Z] ---> Running in 01cd1ce619e8 [2025-02-24T17:50:45.254Z] Removing intermediate container 01cd1ce619e8 [2025-02-24T17:50:45.254Z] ---> 971870697dfe [2025-02-24T17:50:45.254Z] Step 16/18 : LABEL arch=amd64 [2025-02-24T17:50:45.254Z] ---> Running in bdfa7d618535 [2025-02-24T17:50:45.514Z] Removing intermediate container bdfa7d618535 [2025-02-24T17:50:45.514Z] ---> 51516f75426e [2025-02-24T17:50:45.514Z] Step 17/18 : LABEL git_sha=437cedec99f095b414dd258198aec3214fc29360 [2025-02-24T17:50:45.514Z] ---> Running in b0739bd9790f [2025-02-24T17:50:45.514Z] Removing intermediate container b0739bd9790f [2025-02-24T17:50:45.514Z] ---> 2295352bd211 [2025-02-24T17:50:45.514Z] Step 18/18 : LABEL version=0.0.0 [2025-02-24T17:50:45.514Z] ---> Running in ce716f74206a [2025-02-24T17:50:45.514Z] Removing intermediate container ce716f74206a [2025-02-24T17:50:45.514Z] ---> a53bfae78b76 [2025-02-24T17:50:45.514Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2025-02-24T17:50:45.514Z] Successfully built a53bfae78b76 [2025-02-24T17:50:45.514Z] 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 [2025-02-24T17:50:46.514Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-02-24T17:50:46.514Z] [2025-02-24T17:50:46.514Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-24T17:50:46.896Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-02-24T17:50:46.896Z] latest: Pulling from edgex-lftools-log-publisher [2025-02-24T17:50:46.896Z] 5eb5b503b376: Pulling fs layer [2025-02-24T17:50:46.896Z] 5c69ac0246d0: Pulling fs layer [2025-02-24T17:50:46.896Z] ec43610c2a17: Pulling fs layer [2025-02-24T17:50:46.896Z] 3a2ae6a8a46f: Pulling fs layer [2025-02-24T17:50:46.896Z] 33b1e0a273af: Pulling fs layer [2025-02-24T17:50:46.896Z] 5d3b04190fa2: Pulling fs layer [2025-02-24T17:50:46.896Z] 2f39f015ded8: Pulling fs layer [2025-02-24T17:50:46.896Z] 5d3b04190fa2: Waiting [2025-02-24T17:50:46.896Z] 3a2ae6a8a46f: Waiting [2025-02-24T17:50:46.896Z] 33b1e0a273af: Waiting [2025-02-24T17:50:46.896Z] 5c69ac0246d0: Download complete [2025-02-24T17:50:46.896Z] 3a2ae6a8a46f: Verifying Checksum [2025-02-24T17:50:46.896Z] 3a2ae6a8a46f: Download complete [2025-02-24T17:50:46.896Z] 33b1e0a273af: Verifying Checksum [2025-02-24T17:50:46.896Z] 33b1e0a273af: Download complete [2025-02-24T17:50:46.896Z] 5d3b04190fa2: Verifying Checksum [2025-02-24T17:50:46.896Z] 5d3b04190fa2: Download complete [2025-02-24T17:50:46.896Z] ec43610c2a17: Download complete [2025-02-24T17:50:47.154Z] 5eb5b503b376: Verifying Checksum [2025-02-24T17:50:47.154Z] 5eb5b503b376: Download complete [2025-02-24T17:50:47.721Z] 2f39f015ded8: Download complete [2025-02-24T17:50:48.285Z] 5eb5b503b376: Pull complete [2025-02-24T17:50:48.285Z] 5c69ac0246d0: Pull complete [2025-02-24T17:50:48.544Z] ec43610c2a17: Pull complete [2025-02-24T17:50:48.803Z] 3a2ae6a8a46f: Pull complete [2025-02-24T17:50:48.803Z] 33b1e0a273af: Pull complete [2025-02-24T17:50:49.061Z] 5d3b04190fa2: Pull complete [2025-02-24T17:50:52.346Z] 2f39f015ded8: Pull complete [2025-02-24T17:50:52.346Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-02-24T17:50:52.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-02-24T17:50:52.346Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-02-24T17:50:52.588Z] prd-ubuntu20.04-docker-8c-8g-39625 does not seem to be running inside a container [2025-02-24T17:50:52.613Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-551 -v /w/workspace/edgexfoundry_device-sdk-c_PR-551:/w/workspace/edgexfoundry_device-sdk-c_PR-551:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-02-24T17:50:55.785Z] $ docker top 68521bddc9a9d709022130d1cbde5eb1e45a7bc04efbfd14ae3ddeff4ad20465 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-02-24T17:50:56.241Z] ---> job-cost.sh [2025-02-24T17:50:56.242Z] lf-activate-venv: SKIPPING [2025-02-24T17:50:56.242Z] INFO: No Stack... [2025-02-24T17:50:56.501Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-02-24T17:50:57.070Z] INFO: Archiving Costs [Pipeline] sh [2025-02-24T17:50:57.389Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-551/archives/cost.csv [2025-02-24T17:50:57.389Z] + cut -d, -f6 [Pipeline] lock [2025-02-24T17:50:57.430Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-551-1-stack-cost] [2025-02-24T17:50:57.435Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-551-1-stack-cost] did not exist. Created. [2025-02-24T17:50:57.449Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-551-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-02-24T17:50:57.854Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-02-24T17:50:57.927Z] Stashed 1 file(s) [Pipeline] } [2025-02-24T17:50:57.945Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-551-1-stack-cost] [Pipeline] // lock [Pipeline] } [2025-02-24T17:50:58.030Z] $ docker stop --time=1 68521bddc9a9d709022130d1cbde5eb1e45a7bc04efbfd14ae3ddeff4ad20465 [2025-02-24T17:50:59.165Z] $ docker rm -f --volumes 68521bddc9a9d709022130d1cbde5eb1e45a7bc04efbfd14ae3ddeff4ad20465 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2025-02-24T17:51:00.720Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-551/archives ] [2025-02-24T17:51:00.721Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-551/archives [2025-02-24T17:51:00.721Z] total 16 [2025-02-24T17:51:00.721Z] drwxr-xr-x 3 root root 4096 Feb 24 17:50 . [2025-02-24T17:51:00.721Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 17:50 .. [2025-02-24T17:51:00.721Z] drwxr-xr-x 2 root root 4096 Feb 24 17:50 cost [2025-02-24T17:51:00.721Z] -rw-r--r-- 1 root root 84 Feb 24 17:50 cost.csv [2025-02-24T17:51:00.721Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-551/archives [2025-02-24T17:51:00.721Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-551/archives [2025-02-24T17:51:00.721Z] total 16 [2025-02-24T17:51:00.721Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 17:50 . [2025-02-24T17:51:00.721Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 17:50 .. [2025-02-24T17:51:00.721Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 24 17:50 cost [2025-02-24T17:51:00.721Z] -rw-r--r-- 1 jenkins jenkins 84 Feb 24 17:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-02-24T17:51:01.050Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-24T17:51:01.947Z] ---> package-listing.sh [2025-02-24T17:51:01.947Z] ++ facter osfamily [2025-02-24T17:51:01.947Z] ++ tr '[:upper:]' '[:lower:]' [2025-02-24T17:51:02.206Z] + OS_FAMILY=debian [2025-02-24T17:51:02.206Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-551 [2025-02-24T17:51:02.206Z] + START_PACKAGES=/tmp/packages_start.txt [2025-02-24T17:51:02.206Z] + END_PACKAGES=/tmp/packages_end.txt [2025-02-24T17:51:02.206Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-02-24T17:51:02.206Z] + PACKAGES=/tmp/packages_start.txt [2025-02-24T17:51:02.206Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-551 ']' [2025-02-24T17:51:02.206Z] + PACKAGES=/tmp/packages_end.txt [2025-02-24T17:51:02.206Z] + case "${OS_FAMILY}" in [2025-02-24T17:51:02.206Z] + grep '^ii' [2025-02-24T17:51:02.206Z] + dpkg -l [2025-02-24T17:51:02.206Z] + '[' -f /tmp/packages_start.txt ']' [2025-02-24T17:51:02.206Z] + '[' -f /tmp/packages_end.txt ']' [2025-02-24T17:51:02.206Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-02-24T17:51:02.206Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-551 ']' [2025-02-24T17:51:02.206Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-551/archives/ [2025-02-24T17:51:02.206Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-551/archives/ [Pipeline] echo [2025-02-24T17:51:02.244Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-551/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2025-02-24T17:51:02.539Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-24T17:51:03.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-02-24T17:51:03.175Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-02-24T17:51:03.323Z] prd-ubuntu20.04-docker-8c-8g-39625 does not seem to be running inside a container [2025-02-24T17:51:03.353Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-551/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-551 -v /w/workspace/edgexfoundry_device-sdk-c_PR-551:/w/workspace/edgexfoundry_device-sdk-c_PR-551:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-02-24T17:51:03.543Z] $ docker top 11cfe774b995d26451809ab56860d8536697a23816ec949647d43ac2c33a49e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-02-24T17:51:03.950Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-02-24T17:51:04.260Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-02-24T17:51:04.575Z] + ls /var/log/sa-host [2025-02-24T17:51:04.575Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-02-24T17:51:04.802Z] provisioning config files... [2025-02-24T17:51:04.811Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp/config13877595622054239757tmp [Pipeline] { [Pipeline] echo [2025-02-24T17:51:04.873Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-24T17:51:05.189Z] ---> create-netrc.sh [Pipeline] } [2025-02-24T17:51:05.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-02-24T17:51:05.619Z] ---> python-tools-install.sh [Pipeline] echo [2025-02-24T17:51:05.653Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-24T17:51:05.969Z] ---> sudo-logs.sh [2025-02-24T17:51:05.969Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-02-24T17:51:06.056Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-24T17:51:06.431Z] ---> job-cost.sh [2025-02-24T17:51:06.431Z] lf-activate-venv: SKIPPING [2025-02-24T17:51:06.431Z] DEBUG: total: 0.2199999988079071 [2025-02-24T17:51:06.431Z] INFO: Retrieving Stack Cost... [2025-02-24T17:51:06.431Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-02-24T17:51:06.693Z] INFO: Archiving Costs [Pipeline] echo [2025-02-24T17:51:06.728Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-24T17:51:07.103Z] ---> logs-deploy.sh [2025-02-24T17:51:07.103Z] lf-activate-venv: SKIPPING [2025-02-24T17:51:07.103Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-551/1 [2025-02-24T17:51:07.103Z] INFO: archiving workspace using pattern(s): [2025-02-24T17:51:08.078Z] Archives upload complete. [2025-02-24T17:51:08.343Z] INFO: archiving logs to Nexus [2025-02-24T17:51:08.913Z] ---> uname -a: [2025-02-24T17:51:08.913Z] Linux prd-ubuntu20-04-docker-8c-8g-39625 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z] ---> lscpu: [2025-02-24T17:51:08.913Z] Architecture: x86_64 [2025-02-24T17:51:08.913Z] CPU op-mode(s): 32-bit, 64-bit [2025-02-24T17:51:08.913Z] Byte Order: Little Endian [2025-02-24T17:51:08.913Z] Address sizes: 40 bits physical, 48 bits virtual [2025-02-24T17:51:08.913Z] CPU(s): 8 [2025-02-24T17:51:08.913Z] On-line CPU(s) list: 0-7 [2025-02-24T17:51:08.913Z] Thread(s) per core: 1 [2025-02-24T17:51:08.913Z] Core(s) per socket: 1 [2025-02-24T17:51:08.913Z] Socket(s): 8 [2025-02-24T17:51:08.913Z] NUMA node(s): 1 [2025-02-24T17:51:08.913Z] Vendor ID: AuthenticAMD [2025-02-24T17:51:08.913Z] CPU family: 23 [2025-02-24T17:51:08.913Z] Model: 49 [2025-02-24T17:51:08.913Z] Model name: AMD EPYC-Rome Processor [2025-02-24T17:51:08.913Z] Stepping: 0 [2025-02-24T17:51:08.913Z] CPU MHz: 2799.998 [2025-02-24T17:51:08.913Z] BogoMIPS: 5599.99 [2025-02-24T17:51:08.913Z] Virtualization: AMD-V [2025-02-24T17:51:08.913Z] Hypervisor vendor: KVM [2025-02-24T17:51:08.913Z] Virtualization type: full [2025-02-24T17:51:08.913Z] L1d cache: 256 KiB [2025-02-24T17:51:08.913Z] L1i cache: 256 KiB [2025-02-24T17:51:08.913Z] L2 cache: 4 MiB [2025-02-24T17:51:08.913Z] L3 cache: 128 MiB [2025-02-24T17:51:08.913Z] NUMA node0 CPU(s): 0-7 [2025-02-24T17:51:08.913Z] Vulnerability Itlb multihit: Not affected [2025-02-24T17:51:08.913Z] Vulnerability L1tf: Not affected [2025-02-24T17:51:08.913Z] Vulnerability Mds: Not affected [2025-02-24T17:51:08.913Z] Vulnerability Meltdown: Not affected [2025-02-24T17:51:08.913Z] Vulnerability Mmio stale data: Not affected [2025-02-24T17:51:08.913Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2025-02-24T17:51:08.913Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2025-02-24T17:51:08.913Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2025-02-24T17:51:08.913Z] Vulnerability Srbds: Not affected [2025-02-24T17:51:08.913Z] Vulnerability Tsx async abort: Not affected [2025-02-24T17:51:08.913Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z] ---> nproc: [2025-02-24T17:51:08.913Z] 8 [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z] ---> df -h: [2025-02-24T17:51:08.913Z] Filesystem Size Used Avail Use% Mounted on [2025-02-24T17:51:08.913Z] overlay 155G 11G 145G 7% / [2025-02-24T17:51:08.913Z] tmpfs 64M 0 64M 0% /dev [2025-02-24T17:51:08.913Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2025-02-24T17:51:08.913Z] shm 64M 0 64M 0% /dev/shm [2025-02-24T17:51:08.913Z] /dev/vda1 155G 11G 145G 7% /facter-os [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z] ---> sar -b -r -n DEV: [2025-02-24T17:51:08.913Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-39625) 02/24/25 _x86_64_ (8 CPU) [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z] 17:48:52 LINUX RESTART (8 CPU) [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z] 17:49:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2025-02-24T17:51:08.913Z] 17:50:01 369.12 48.39 320.73 0.00 5418.03 134593.70 0.00 [2025-02-24T17:51:08.913Z] 17:51:01 257.21 0.38 256.82 0.00 33.86 36008.27 0.00 [2025-02-24T17:51:08.913Z] Average: 313.16 24.39 288.78 0.00 2725.95 85300.98 0.00 [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z] 17:49:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2025-02-24T17:51:08.913Z] 17:50:01 29864216 31576292 774124 2.35 60852 1951092 1903360 5.61 993356 1691108 57404 [2025-02-24T17:51:08.913Z] 17:51:01 28917088 31508088 796408 2.42 90816 2749644 1855164 5.47 1123844 2414900 420 [2025-02-24T17:51:08.913Z] Average: 29390652 31542190 785266 2.39 75834 2350368 1879262 5.54 1058600 2053004 28912 [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z] 17:49:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2025-02-24T17:51:08.913Z] 17:50:01 ens3 482.79 313.85 3372.79 89.46 0.00 0.00 0.00 0.00 [2025-02-24T17:51:08.913Z] 17:50:01 lo 6.60 6.60 0.64 0.64 0.00 0.00 0.00 0.00 [2025-02-24T17:51:08.913Z] 17:50:01 docker0 3.67 3.47 0.36 33.28 0.00 0.00 0.00 0.00 [2025-02-24T17:51:08.913Z] 17:51:01 ens3 217.45 126.51 4155.16 36.53 0.00 0.00 0.00 0.00 [2025-02-24T17:51:08.913Z] 17:51:01 lo 1.40 1.40 0.13 0.13 0.00 0.00 0.00 0.00 [2025-02-24T17:51:08.913Z] 17:51:01 docker0 22.33 36.43 1.53 455.03 0.00 0.00 0.00 0.00 [2025-02-24T17:51:08.913Z] Average: ens3 350.12 220.18 3763.97 62.99 0.00 0.00 0.00 0.00 [2025-02-24T17:51:08.913Z] Average: lo 4.00 4.00 0.39 0.39 0.00 0.00 0.00 0.00 [2025-02-24T17:51:08.913Z] Average: docker0 13.00 19.95 0.95 244.15 0.00 0.00 0.00 0.00 [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z] ---> sar -P ALL: [2025-02-24T17:51:08.913Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-39625) 02/24/25 _x86_64_ (8 CPU) [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z] 17:48:52 LINUX RESTART (8 CPU) [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z] 17:49:01 CPU %user %nice %system %iowait %steal %idle [2025-02-24T17:51:08.913Z] 17:50:01 all 6.92 0.00 2.10 3.17 0.05 87.76 [2025-02-24T17:51:08.913Z] 17:50:01 0 5.43 0.00 2.24 0.80 0.03 91.49 [2025-02-24T17:51:08.913Z] 17:50:01 1 4.76 0.00 1.63 2.84 0.05 90.72 [2025-02-24T17:51:08.913Z] 17:50:01 2 9.38 0.00 1.76 0.67 0.03 88.16 [2025-02-24T17:51:08.913Z] 17:50:01 3 9.44 0.00 2.45 11.94 0.07 76.11 [2025-02-24T17:51:08.913Z] 17:50:01 4 6.83 0.00 1.70 0.15 0.05 91.27 [2025-02-24T17:51:08.913Z] 17:50:01 5 7.09 0.00 2.72 3.41 0.05 86.72 [2025-02-24T17:51:08.913Z] 17:50:01 6 6.27 0.00 1.68 5.05 0.05 86.96 [2025-02-24T17:51:08.913Z] 17:50:01 7 6.13 0.00 2.60 0.52 0.05 90.70 [2025-02-24T17:51:08.913Z] 17:51:01 all 8.30 0.00 3.54 1.80 0.07 86.29 [2025-02-24T17:51:08.913Z] 17:51:01 0 8.99 0.00 3.69 1.65 0.07 85.61 [2025-02-24T17:51:08.913Z] 17:51:01 1 8.21 0.00 3.78 4.92 0.08 83.00 [2025-02-24T17:51:08.913Z] 17:51:01 2 11.32 0.00 4.41 4.26 0.08 79.92 [2025-02-24T17:51:08.913Z] 17:51:01 3 7.59 0.00 3.56 0.79 0.07 87.99 [2025-02-24T17:51:08.913Z] 17:51:01 4 8.44 0.00 3.37 0.07 0.05 88.07 [2025-02-24T17:51:08.913Z] 17:51:01 5 8.33 0.00 3.02 1.38 0.07 87.20 [2025-02-24T17:51:08.913Z] 17:51:01 6 6.71 0.00 3.28 0.79 0.07 89.15 [2025-02-24T17:51:08.913Z] 17:51:01 7 6.79 0.00 3.19 0.53 0.05 89.44 [2025-02-24T17:51:08.913Z] Average: all 7.61 0.00 2.82 2.49 0.06 87.03 [2025-02-24T17:51:08.913Z] Average: 0 7.20 0.00 2.96 1.22 0.05 88.56 [2025-02-24T17:51:08.913Z] Average: 1 6.48 0.00 2.70 3.88 0.07 86.87 [2025-02-24T17:51:08.913Z] Average: 2 10.35 0.00 3.08 2.46 0.06 84.05 [2025-02-24T17:51:08.913Z] Average: 3 8.52 0.00 3.00 6.39 0.07 82.02 [2025-02-24T17:51:08.913Z] Average: 4 7.63 0.00 2.54 0.11 0.05 89.67 [2025-02-24T17:51:08.913Z] Average: 5 7.71 0.00 2.87 2.40 0.06 86.96 [2025-02-24T17:51:08.913Z] Average: 6 6.49 0.00 2.48 2.92 0.06 88.05 [2025-02-24T17:51:08.913Z] Average: 7 6.46 0.00 2.89 0.52 0.05 90.07 [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z] [2025-02-24T17:51:08.913Z]