Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token 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-ssh13756906784440283648.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-ssh17771148439895344486.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6560860579315898201.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7664610732351721756.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1162987513762266015.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-39531 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision eb5cdce89b0962bcd2b083fabb45f85a531a29c5 (main) Commit message: "Merge pull request #548 from FelixTing/issue-547" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb5cdce89b0962bcd2b083fabb45f85a531a29c5 # timeout=10 > git rev-list --no-walk eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2025-02-23T10:58:27.805Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-02-23T10:58:27.861Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-02-23T10:58:27.891Z] ========================================================= [2025-02-23T10:58:27.891Z] EdgeX Global Pipelines Version Info [2025-02-23T10:58:27.891Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-02-23T10:58:29.033Z] ------------------- [2025-02-23T10:58:29.033Z] stable info: [2025-02-23T10:58:29.033Z] ------------------- [2025-02-23T10:58:29.033Z] Commited By: Cherry Wang cherry@iotechsys.com [2025-02-23T10:58:29.033Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2025-02-23T10:58:29.033Z] Message: update stable to v1.0.269 [2025-02-23T10:58:29.296Z] ------------------- [2025-02-23T10:58:29.297Z] experimental info: [2025-02-23T10:58:29.297Z] ------------------- [2025-02-23T10:58:29.298Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2025-02-23T10:58:29.298Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2025-02-23T10:58:29.298Z] Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-02-23T10:58:29.378Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2025-02-23T10:58:29.393Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2025-02-23T10:58:29.408Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-02-23T10:58:29.421Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2025-02-23T10:58:29.436Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-02-23T10:58:29.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2025-02-23T10:58:29.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2025-02-23T10:58:29.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-02-23T10:58:29.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-02-23T10:58:29.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2025-02-23T10:58:29.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-02-23T10:58:29.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-02-23T10:58:29.584Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-02-23T10:58:29.602Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2025-02-23T10:58:29.618Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-02-23T10:58:29.637Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-02-23T10:58:29.655Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-02-23T10:58:29.675Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2025-02-23T10:58:29.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2025-02-23T10:58:29.714Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2025-02-23T10:58:29.729Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb5cdce89b0962bcd2b083fabb45f85a531a29c5 [Pipeline] echo [2025-02-23T10:58:29.750Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb5cdce [Pipeline] echo [2025-02-23T10:58:29.768Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-02-23T10:58:29.823Z] provisioning config files... [2025-02-23T10:58:29.837Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5197250378867293897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-02-23T10:58:30.166Z] ---> ****-login.sh [2025-02-23T10:58:30.166Z] nexus3.edgexfoundry.org:10001 [2025-02-23T10:58:30.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-23T10:58:30.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-23T10:58:30.616Z] Configure a credential helper to remove this warning. See [2025-02-23T10:58:30.617Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-23T10:58:30.617Z] [2025-02-23T10:58:30.617Z] Login Succeeded [2025-02-23T10:58:30.617Z] nexus3.edgexfoundry.org:10002 [2025-02-23T10:58:30.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-23T10:58:30.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-23T10:58:30.617Z] Configure a credential helper to remove this warning. See [2025-02-23T10:58:30.617Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-23T10:58:30.617Z] [2025-02-23T10:58:30.617Z] Login Succeeded [2025-02-23T10:58:30.617Z] nexus3.edgexfoundry.org:10003 [2025-02-23T10:58:30.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-23T10:58:30.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-23T10:58:30.874Z] Configure a credential helper to remove this warning. See [2025-02-23T10:58:30.874Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-23T10:58:30.874Z] [2025-02-23T10:58:30.874Z] Login Succeeded [2025-02-23T10:58:30.875Z] nexus3.edgexfoundry.org:10004 [2025-02-23T10:58:30.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-23T10:58:30.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-23T10:58:30.875Z] Configure a credential helper to remove this warning. See [2025-02-23T10:58:30.875Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-23T10:58:30.875Z] [2025-02-23T10:58:30.875Z] Login Succeeded [2025-02-23T10:58:30.875Z] ****.io [2025-02-23T10:58:30.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-23T10:58:31.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-23T10:58:31.135Z] Configure a credential helper to remove this warning. See [2025-02-23T10:58:31.135Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-23T10:58:31.135Z] [2025-02-23T10:58:31.135Z] Login Succeeded [2025-02-23T10:58:31.135Z] ---> ****-login.sh ends [Pipeline] } [2025-02-23T10:58:31.143Z] 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-23T10:58:31.551Z] + git rev-list -1 --merges eb5cdce89b0962bcd2b083fabb45f85a531a29c5~1..eb5cdce89b0962bcd2b083fabb45f85a531a29c5 [Pipeline] echo [2025-02-23T10:58:31.581Z] -----------> git rev-list -1 --merges eb5cdce89b0962bcd2b083fabb45f85a531a29c5~1..eb5cdce89b0962bcd2b083fabb45f85a531a29c5 eb5cdce89b0962bcd2b083fabb45f85a531a29c5 [2025-02-23T10:58:31.581Z] eb5cdce89b0962bcd2b083fabb45f85a531a29c5 [false] [Pipeline] sh [2025-02-23T10:58:31.883Z] + git log --format=format:%s -1 eb5cdce89b0962bcd2b083fabb45f85a531a29c5 [Pipeline] echo [2025-02-23T10:58:31.899Z] ========================================================= [2025-02-23T10:58:31.899Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-02-23T10:58:31.899Z] ========================================================= 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-23T10:58:32.324Z] + git rev-list -1 --merges eb5cdce89b0962bcd2b083fabb45f85a531a29c5~1..eb5cdce89b0962bcd2b083fabb45f85a531a29c5 [Pipeline] echo [2025-02-23T10:58:32.338Z] -----------> git rev-list -1 --merges eb5cdce89b0962bcd2b083fabb45f85a531a29c5~1..eb5cdce89b0962bcd2b083fabb45f85a531a29c5 eb5cdce89b0962bcd2b083fabb45f85a531a29c5 [2025-02-23T10:58:32.338Z] eb5cdce89b0962bcd2b083fabb45f85a531a29c5 [false] [Pipeline] sh [2025-02-23T10:58:32.874Z] + git log --format=format:%s -1 eb5cdce89b0962bcd2b083fabb45f85a531a29c5 [Pipeline] echo [2025-02-23T10:58:32.892Z] ========================================================= [2025-02-23T10:58:32.892Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-02-23T10:58:32.892Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2025-02-23T10:58:33.335Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-02-23T10:58:33.335Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-02-23T10:58:33.335Z] + [ -e /tmp/ssh_known_hosts ] [2025-02-23T10:58:33.335Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-02-23T10:58:33.335Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-02-23T10:58:33.335Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-02-23T10:58:33.335Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-23T10:58:33.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-02-23T10:58:33.839Z] [2025-02-23T10:58:33.839Z] 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-23T10:58:34.146Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-02-23T10:58:34.146Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-02-23T10:58:34.146Z] b85a868b505f: Pulling fs layer [2025-02-23T10:58:34.146Z] e2be974225ed: Pulling fs layer [2025-02-23T10:58:34.146Z] 339a4e72a1f5: Pulling fs layer [2025-02-23T10:58:34.146Z] 988bab9f4d93: Pulling fs layer [2025-02-23T10:58:34.146Z] 1469e6f7b9e6: Pulling fs layer [2025-02-23T10:58:34.146Z] eaf3925da568: Pulling fs layer [2025-02-23T10:58:34.146Z] bab4dde63d76: Pulling fs layer [2025-02-23T10:58:34.146Z] bde34c3a00c8: Pulling fs layer [2025-02-23T10:58:34.146Z] b352a97aabf1: Pulling fs layer [2025-02-23T10:58:34.146Z] 4872d77fe225: Pulling fs layer [2025-02-23T10:58:34.146Z] 5851b861e8e6: Pulling fs layer [2025-02-23T10:58:34.146Z] bab4dde63d76: Waiting [2025-02-23T10:58:34.146Z] bde34c3a00c8: Waiting [2025-02-23T10:58:34.146Z] 4872d77fe225: Waiting [2025-02-23T10:58:34.146Z] b352a97aabf1: Waiting [2025-02-23T10:58:34.146Z] 5851b861e8e6: Waiting [2025-02-23T10:58:34.146Z] 988bab9f4d93: Waiting [2025-02-23T10:58:34.146Z] 1469e6f7b9e6: Waiting [2025-02-23T10:58:34.146Z] eaf3925da568: Waiting [2025-02-23T10:58:34.146Z] e2be974225ed: Verifying Checksum [2025-02-23T10:58:34.146Z] e2be974225ed: Download complete [2025-02-23T10:58:34.146Z] 988bab9f4d93: Download complete [2025-02-23T10:58:34.146Z] 339a4e72a1f5: Verifying Checksum [2025-02-23T10:58:34.146Z] 339a4e72a1f5: Download complete [2025-02-23T10:58:34.146Z] 1469e6f7b9e6: Verifying Checksum [2025-02-23T10:58:34.146Z] 1469e6f7b9e6: Download complete [2025-02-23T10:58:34.146Z] eaf3925da568: Download complete [2025-02-23T10:58:34.407Z] bde34c3a00c8: Download complete [2025-02-23T10:58:34.407Z] b352a97aabf1: Download complete [2025-02-23T10:58:34.407Z] 4872d77fe225: Verifying Checksum [2025-02-23T10:58:34.407Z] 4872d77fe225: Download complete [2025-02-23T10:58:34.407Z] 5851b861e8e6: Download complete [2025-02-23T10:58:34.407Z] b85a868b505f: Verifying Checksum [2025-02-23T10:58:34.407Z] b85a868b505f: Download complete [2025-02-23T10:58:34.667Z] bab4dde63d76: Verifying Checksum [2025-02-23T10:58:34.667Z] bab4dde63d76: Download complete [2025-02-23T10:58:35.616Z] b85a868b505f: Pull complete [2025-02-23T10:58:35.877Z] e2be974225ed: Pull complete [2025-02-23T10:58:36.445Z] 339a4e72a1f5: Pull complete [2025-02-23T10:58:36.445Z] 988bab9f4d93: Pull complete [2025-02-23T10:58:36.704Z] 1469e6f7b9e6: Pull complete [2025-02-23T10:58:36.704Z] eaf3925da568: Pull complete [2025-02-23T10:58:38.618Z] bab4dde63d76: Pull complete [2025-02-23T10:58:38.618Z] bde34c3a00c8: Pull complete [2025-02-23T10:58:38.877Z] b352a97aabf1: Pull complete [2025-02-23T10:58:38.877Z] 4872d77fe225: Pull complete [2025-02-23T10:58:38.877Z] 5851b861e8e6: Pull complete [2025-02-23T10:58:38.877Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2025-02-23T10:58:38.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-02-23T10:58:38.877Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-02-23T10:58:38.983Z] prd-ubuntu20.04-docker-8c-8g-39531 does not seem to be running inside a container [2025-02-23T10:58:39.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2025-02-23T10:58:41.182Z] $ docker top 60f532891cd96979c833c009e62331f1cd1c71184dba88706d6966d05224ed07 -eo pid,comm [2025-02-23T10:58:41.237Z] 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-23T10:58:41.237Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-02-23T10:58:41.285Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-02-23T10:58:41.285Z] [ssh-agent] Looking for ssh-agent implementation... [2025-02-23T10:58:41.397Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-02-23T10:58:41.398Z] $ docker exec 60f532891cd96979c833c009e62331f1cd1c71184dba88706d6966d05224ed07 ssh-agent [2025-02-23T10:58:41.511Z] SSH_AUTH_SOCK=/tmp/ssh-ej0JoXjkOdsn/agent.33 [2025-02-23T10:58:41.511Z] SSH_AGENT_PID=39 [2025-02-23T10:58:41.517Z] Running ssh-add (command line suppressed) [2025-02-23T10:58:41.622Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12406176998066783355.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12406176998066783355.key) [2025-02-23T10:58:41.637Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-02-23T10:58:41.932Z] + git tag --points-at HEAD [Pipeline] } [2025-02-23T10:58:41.939Z] $ docker exec --env ******** --env ******** 60f532891cd96979c833c009e62331f1cd1c71184dba88706d6966d05224ed07 ssh-agent -k [2025-02-23T10:58:42.053Z] unset SSH_AUTH_SOCK; [2025-02-23T10:58:42.053Z] unset SSH_AGENT_PID; [2025-02-23T10:58:42.053Z] echo Agent pid 39 killed; [2025-02-23T10:58:42.068Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2025-02-23T10:58:42.100Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-02-23T10:58:42.100Z] [ssh-agent] Looking for ssh-agent implementation... [2025-02-23T10:58:42.219Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-02-23T10:58:42.218Z] $ docker exec 60f532891cd96979c833c009e62331f1cd1c71184dba88706d6966d05224ed07 ssh-agent [2025-02-23T10:58:42.331Z] SSH_AUTH_SOCK=/tmp/ssh-siHnOpvPcjQT/agent.73 [2025-02-23T10:58:42.331Z] SSH_AGENT_PID=79 [2025-02-23T10:58:42.336Z] Running ssh-add (command line suppressed) [2025-02-23T10:58:42.438Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6915211305323296697.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6915211305323296697.key) [2025-02-23T10:58:42.456Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-02-23T10:58:42.744Z] + git semver init [2025-02-23T10:58:43.003Z] 2025-02-23 10:58:42,916 [run_init] DEBUG init version:0.0.0 force:False [2025-02-23T10:58:43.003Z] 2025-02-23 10:58:42,917 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2025-02-23T10:58:43.003Z] 2025-02-23 10:58:42,917 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2025-02-23T10:58:43.003Z] 2025-02-23 10:58:42,918 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2025-02-23T10:58:43.943Z] 2025-02-23 10:58:43,677 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2025-02-23T10:58:43.943Z] 2025-02-23 10:58:43,678 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2025-02-23T10:58:43.943Z] 2025-02-23 10:58:43,678 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2025-02-23T10:58:43.943Z] 2025-02-23 10:58:43,678 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2025-02-23T10:58:43.943Z] 4.0.0-dev.18 [Pipeline] } [2025-02-23T10:58:43.954Z] $ docker exec --env ******** --env ******** 60f532891cd96979c833c009e62331f1cd1c71184dba88706d6966d05224ed07 ssh-agent -k [2025-02-23T10:58:44.053Z] unset SSH_AUTH_SOCK; [2025-02-23T10:58:44.054Z] unset SSH_AGENT_PID; [2025-02-23T10:58:44.054Z] echo Agent pid 79 killed; [2025-02-23T10:58:44.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-02-23T10:58:44.393Z] + git semver [Pipeline] } [2025-02-23T10:58:44.686Z] $ docker stop --time=1 60f532891cd96979c833c009e62331f1cd1c71184dba88706d6966d05224ed07 [2025-02-23T10:58:45.989Z] $ docker rm -f --volumes 60f532891cd96979c833c009e62331f1cd1c71184dba88706d6966d05224ed07 [Pipeline] // withDockerContainer [Pipeline] sh [2025-02-23T10:58:46.363Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-02-23T10:58:47.175Z] Stashed 1 file(s) [Pipeline] echo [2025-02-23T10:58:47.179Z] [edgeXSemver]: initialized semver on version 4.0.0-dev.18 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-02-23T10:58:47.445Z] provisioning config files... [Pipeline] // stage [Pipeline] } [2025-02-23T10:58:47.456Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config16658127530056707813tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2025-02-23T10:58:47.774Z] ---> ****-login.sh [2025-02-23T10:58:47.774Z] nexus3.edgexfoundry.org:10001 [2025-02-23T10:58:47.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-23T10:58:47.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-23T10:58:47.774Z] Configure a credential helper to remove this warning. See [2025-02-23T10:58:47.774Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-23T10:58:47.774Z] [2025-02-23T10:58:47.774Z] Login Succeeded [2025-02-23T10:58:47.774Z] nexus3.edgexfoundry.org:10002 [2025-02-23T10:58:47.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-23T10:58:47.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-23T10:58:47.774Z] Configure a credential helper to remove this warning. See [2025-02-23T10:58:47.774Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-23T10:58:47.774Z] [2025-02-23T10:58:47.774Z] Login Succeeded [2025-02-23T10:58:47.774Z] nexus3.edgexfoundry.org:10003 [2025-02-23T10:58:48.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-23T10:58:48.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-23T10:58:48.034Z] Configure a credential helper to remove this warning. See [2025-02-23T10:58:48.034Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-23T10:58:48.034Z] [2025-02-23T10:58:48.034Z] Login Succeeded [2025-02-23T10:58:48.034Z] nexus3.edgexfoundry.org:10004 [2025-02-23T10:58:48.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-23T10:58:48.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-23T10:58:48.034Z] Configure a credential helper to remove this warning. See [2025-02-23T10:58:48.034Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-23T10:58:48.034Z] [2025-02-23T10:58:48.034Z] Login Succeeded [2025-02-23T10:58:48.035Z] ****.io [2025-02-23T10:58:48.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-23T10:58:48.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-23T10:58:48.294Z] Configure a credential helper to remove this warning. See [2025-02-23T10:58:48.294Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-23T10:58:48.294Z] [2025-02-23T10:58:48.294Z] Login Succeeded [2025-02-23T10:58:48.294Z] ---> ****-login.sh ends [Pipeline] } [2025-02-23T10:58:48.307Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-02-23T10:58:48.413Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2025-02-23T10:58:48.429Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2025-02-23T10:58:48.446Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2025-02-23T10:58:48.457Z] ========================================================= [2025-02-23T10:58:48.457Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2025-02-23T10:58:48.457Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-23T10:58:48.775Z] + 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-23T10:58:48.775Z] Sending build context to Docker daemon 5.496MB [2025-02-23T10:58:48.775Z] Step 1/22 : ARG BASE=alpine:3.18 [2025-02-23T10:58:48.775Z] Step 2/22 : FROM ${BASE} as builder [2025-02-23T10:58:48.775Z] latest: Pulling from edgex-devops/edgex-gcc-base [2025-02-23T10:58:48.775Z] 96526aa774ef: Pulling fs layer [2025-02-23T10:58:48.775Z] da60e534fd72: Pulling fs layer [2025-02-23T10:58:48.775Z] 96526aa774ef: Verifying Checksum [2025-02-23T10:58:48.775Z] 96526aa774ef: Download complete [2025-02-23T10:58:49.035Z] 96526aa774ef: Pull complete [2025-02-23T10:58:49.604Z] da60e534fd72: Verifying Checksum [2025-02-23T10:58:49.604Z] da60e534fd72: Download complete [2025-02-23T10:58:52.932Z] da60e534fd72: Pull complete [2025-02-23T10:58:52.932Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2025-02-23T10:58:52.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2025-02-23T10:58:52.932Z] ---> 6605166a5db4 [2025-02-23T10:58:52.932Z] 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-23T10:58:54.888Z] ---> Running in bea6df932ea1 [2025-02-23T10:58:54.888Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2025-02-23T10:58:55.155Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2025-02-23T10:58:55.155Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2025-02-23T10:58:55.155Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2025-02-23T10:58:55.736Z] Removing intermediate container bea6df932ea1 [2025-02-23T10:58:55.736Z] ---> 146db0eebef1 [2025-02-23T10:58:55.736Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2025-02-23T10:58:55.736Z] ---> Running in 87315ceee94f [2025-02-23T10:58:56.316Z] Removing intermediate container 87315ceee94f [2025-02-23T10:58:56.316Z] ---> f9af9f615c66 [2025-02-23T10:58:56.316Z] 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-23T10:58:56.316Z] ---> Running in 4c9e33d2f642 [2025-02-23T10:58:56.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-23T10:58:56.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-02-23T10:58:56.578Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-23T10:58:57.517Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-02-23T10:58:57.517Z] (1/15) Installing libcbor (0.10.2-r1) [2025-02-23T10:58:57.517Z] (2/15) Installing iotech-iot-1.5 (1.5.5-r0) [2025-02-23T10:58:58.086Z] (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) [2025-02-23T10:58:58.086Z] (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2025-02-23T10:58:58.348Z] (5/15) Installing libcbor-dev (0.10.2-r1) [2025-02-23T10:58:58.348Z] (6/15) Installing libmenuw (6.4_p20230506-r0) [2025-02-23T10:58:58.348Z] (7/15) Installing libpanelw (6.4_p20230506-r0) [2025-02-23T10:58:58.348Z] (8/15) Installing libncurses++ (6.4_p20230506-r0) [2025-02-23T10:58:58.348Z] (9/15) Installing ncurses-dev (6.4_p20230506-r0) [2025-02-23T10:58:58.348Z] (10/15) Installing libblkid (2.38.1-r8) [2025-02-23T10:58:58.348Z] (11/15) Installing libuuid (2.38.1-r8) [2025-02-23T10:58:58.348Z] (12/15) Installing libfdisk (2.38.1-r8) [2025-02-23T10:58:58.614Z] (13/15) Installing libmount (2.38.1-r8) [2025-02-23T10:58:58.614Z] (14/15) Installing libsmartcols (2.38.1-r8) [2025-02-23T10:58:58.614Z] (15/15) Installing util-linux-dev (2.38.1-r8) [2025-02-23T10:58:58.614Z] Executing busybox-1.36.1-r4.trigger [2025-02-23T10:58:58.614Z] OK: 336 MiB in 97 packages [2025-02-23T10:58:59.182Z] Removing intermediate container 4c9e33d2f642 [2025-02-23T10:58:59.182Z] ---> e9e4e9a0049e [2025-02-23T10:58:59.182Z] Step 6/22 : RUN mkdir /tmp/sdk [2025-02-23T10:58:59.182Z] ---> Running in 7cfd98260409 [2025-02-23T10:58:59.750Z] Removing intermediate container 7cfd98260409 [2025-02-23T10:58:59.750Z] ---> 0f3cc38aaefb [2025-02-23T10:58:59.750Z] Step 7/22 : COPY VERSION /tmp/sdk [2025-02-23T10:59:00.251Z] ---> 022c375ee837 [2025-02-23T10:59:00.251Z] Step 8/22 : COPY src /tmp/sdk/src [2025-02-23T10:59:00.251Z] ---> 261e9c9787f6 [2025-02-23T10:59:00.251Z] Step 9/22 : COPY include /tmp/sdk/include [2025-02-23T10:59:00.251Z] ---> 96d9565da47f [2025-02-23T10:59:00.251Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2025-02-23T10:59:00.517Z] ---> f5b3ce6f88fe [2025-02-23T10:59:00.517Z] Step 11/22 : COPY LICENSE /tmp/sdk [2025-02-23T10:59:00.517Z] ---> 0a33309083d4 [2025-02-23T10:59:00.517Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2025-02-23T10:59:00.787Z] ---> 46c3d194c68c [2025-02-23T10:59:00.787Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2025-02-23T10:59:00.787Z] ---> Running in ad954e4189b5 [2025-02-23T10:59:01.050Z] + CPPCHECK=false [2025-02-23T10:59:01.050Z] + DOCGEN=false [2025-02-23T10:59:01.050Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2025-02-23T10:59:01.050Z] + '[' 0 -gt 0 ] [2025-02-23T10:59:01.050Z] + readlink -f ./scripts/build.sh [2025-02-23T10:59:01.050Z] + dirname /tmp/sdk/scripts/build.sh [2025-02-23T10:59:01.050Z] + dirname /tmp/sdk/scripts [2025-02-23T10:59:01.050Z] + ROOT=/tmp/sdk [2025-02-23T10:59:01.050Z] + cd /tmp/sdk [2025-02-23T10:59:01.050Z] + mkdir -p /tmp/sdk/build/release [2025-02-23T10:59:01.050Z] + cd /tmp/sdk/build/release [2025-02-23T10:59:01.050Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2025-02-23T10:59:01.050Z] -- The C compiler identification is GNU 12.2.1 [2025-02-23T10:59:01.050Z] -- Detecting C compiler ABI info [2025-02-23T10:59:01.310Z] -- Detecting C compiler ABI info - done [2025-02-23T10:59:01.310Z] -- Check for working C compiler: /usr/bin/cc - skipped [2025-02-23T10:59:01.310Z] -- Detecting C compile features [2025-02-23T10:59:01.310Z] -- Detecting C compile features - done [2025-02-23T10:59:01.310Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2025-02-23T10:59:01.310Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2025-02-23T10:59:01.310Z] -- Found LIBYAML: /usr/lib/libyaml.so [2025-02-23T10:59:01.310Z] -- Found LIBUUID: /usr/lib/libuuid.so [2025-02-23T10:59:01.310Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2025-02-23T10:59:01.310Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2025-02-23T10:59:01.310Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2025-02-23T10:59:01.310Z] -- /opt/iotech/iot/1.5/include [2025-02-23T10:59:01.310Z] -- C SDK 0.0.0 for Linux [2025-02-23T10:59:01.310Z] -- Performing Test CSDK_HAVE_ATOMIC [2025-02-23T10:59:01.310Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2025-02-23T10:59:01.570Z] -- Found Curses: /usr/lib/libcurses.so [2025-02-23T10:59:01.570Z] -- Configuring done (0.4s) [2025-02-23T10:59:01.570Z] -- Generating done (0.0s) [2025-02-23T10:59:01.570Z] -- Build files have been written to: /tmp/sdk/build/release [2025-02-23T10:59:01.570Z] + make all package [2025-02-23T10:59:01.570Z] + tee release.log [2025-02-23T10:59:01.570Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2025-02-23T10:59:01.570Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2025-02-23T10:59:01.830Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2025-02-23T10:59:01.830Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2025-02-23T10:59:02.090Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2025-02-23T10:59:02.352Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2025-02-23T10:59:02.352Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2025-02-23T10:59:02.612Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2025-02-23T10:59:02.871Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2025-02-23T10:59:02.871Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2025-02-23T10:59:03.131Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2025-02-23T10:59:03.131Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2025-02-23T10:59:03.131Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2025-02-23T10:59:03.391Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2025-02-23T10:59:03.391Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2025-02-23T10:59:03.653Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2025-02-23T10:59:03.913Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2025-02-23T10:59:03.913Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2025-02-23T10:59:03.913Z] from /tmp/sdk/src/c/registry.h:14, [2025-02-23T10:59:03.913Z] from /tmp/sdk/src/c/registry-impl.h:12, [2025-02-23T10:59:03.913Z] from /tmp/sdk/src/c/keeper.h:12, [2025-02-23T10:59:03.913Z] from /tmp/sdk/src/c/keeper.c:4: [2025-02-23T10:59:03.913Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2025-02-23T10:59:03.913Z] /tmp/sdk/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2025-02-23T10:59:03.913Z] 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2025-02-23T10:59:03.913Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-02-23T10:59:03.913Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2025-02-23T10:59:03.913Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2025-02-23T10:59:03.913Z] | ^~~~~~~~~~~ [2025-02-23T10:59:03.913Z] /tmp/sdk/src/c/keeper.c:121:55: note: format string is defined here [2025-02-23T10:59:03.913Z] 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2025-02-23T10:59:03.913Z] | ~^ [2025-02-23T10:59:03.913Z] | | [2025-02-23T10:59:03.913Z] | char * [2025-02-23T10:59:04.174Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2025-02-23T10:59:04.174Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2025-02-23T10:59:04.433Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2025-02-23T10:59:04.433Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2025-02-23T10:59:05.471Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2025-02-23T10:59:05.727Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2025-02-23T10:59:05.727Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2025-02-23T10:59:05.727Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2025-02-23T10:59:05.727Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2025-02-23T10:59:06.881Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2025-02-23T10:59:06.881Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2025-02-23T10:59:06.881Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2025-02-23T10:59:06.881Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2025-02-23T10:59:06.881Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2025-02-23T10:59:06.881Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2025-02-23T10:59:06.881Z] /tmp/sdk/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2025-02-23T10:59:06.881Z] 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2025-02-23T10:59:06.881Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-02-23T10:59:06.881Z] /tmp/sdk/src/c/service.c:875:21: note: 'deviceservices_config' was declared here [2025-02-23T10:59:06.881Z] 875 | const iot_data_t *deviceservices_config; [2025-02-23T10:59:06.881Z] | ^~~~~~~~~~~~~~~~~~~~~ [2025-02-23T10:59:07.139Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2025-02-23T10:59:07.139Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2025-02-23T10:59:07.399Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2025-02-23T10:59:07.399Z] [ 68%] Linking C shared library libcsdk.so [2025-02-23T10:59:07.399Z] [ 68%] Built target csdk [2025-02-23T10:59:07.399Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2025-02-23T10:59:07.659Z] [ 72%] Linking C executable template [2025-02-23T10:59:07.659Z] [ 72%] Built target template [2025-02-23T10:59:07.659Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2025-02-23T10:59:07.659Z] [ 76%] Linking C executable device-counter [2025-02-23T10:59:07.918Z] [ 76%] Built target device-counter [2025-02-23T10:59:07.918Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2025-02-23T10:59:07.918Z] [ 80%] Linking C executable device-random [2025-02-23T10:59:07.918Z] [ 80%] Built target device-random [2025-02-23T10:59:07.918Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2025-02-23T10:59:08.177Z] [ 84%] Linking C executable device-gyro [2025-02-23T10:59:08.177Z] [ 84%] Built target device-gyro [2025-02-23T10:59:08.177Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2025-02-23T10:59:08.177Z] [ 88%] Linking C executable device-bitfields [2025-02-23T10:59:08.441Z] [ 88%] Built target device-bitfields [2025-02-23T10:59:08.442Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2025-02-23T10:59:08.442Z] [ 92%] Linking C executable template-discovery [2025-02-23T10:59:08.700Z] [ 92%] Built target template-discovery [2025-02-23T10:59:08.700Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2025-02-23T10:59:08.700Z] [ 96%] Linking C executable device-file [2025-02-23T10:59:08.700Z] [ 96%] Built target device-file [2025-02-23T10:59:08.961Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2025-02-23T10:59:08.961Z] [100%] Linking C executable device-terminal [2025-02-23T10:59:08.961Z] [100%] Built target device-terminal [2025-02-23T10:59:08.961Z] Run CPack packaging tool... [2025-02-23T10:59:08.961Z] CPack: Create package using TGZ [2025-02-23T10:59:08.961Z] CPack: Install projects [2025-02-23T10:59:08.961Z] CPack: - Run preinstall target for: Csdk [2025-02-23T10:59:09.221Z] CPack: - Install project: Csdk [] [2025-02-23T10:59:09.221Z] CPack: Create package [2025-02-23T10:59:09.221Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2025-02-23T10:59:09.221Z] + '[' false '=' true ] [2025-02-23T10:59:09.221Z] + '[' false '=' true ] [2025-02-23T10:59:09.221Z] + mkdir -p /tmp/sdk/build/debug [2025-02-23T10:59:09.221Z] + cd /tmp/sdk/build/debug [2025-02-23T10:59:09.221Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2025-02-23T10:59:09.480Z] -- The C compiler identification is GNU 12.2.1 [2025-02-23T10:59:09.480Z] -- Detecting C compiler ABI info [2025-02-23T10:59:09.480Z] -- Detecting C compiler ABI info - done [2025-02-23T10:59:09.480Z] -- Check for working C compiler: /usr/bin/cc - skipped [2025-02-23T10:59:09.480Z] -- Detecting C compile features [2025-02-23T10:59:09.480Z] -- Detecting C compile features - done [2025-02-23T10:59:09.480Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2025-02-23T10:59:09.480Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2025-02-23T10:59:09.480Z] -- Found LIBYAML: /usr/lib/libyaml.so [2025-02-23T10:59:09.480Z] -- Found LIBUUID: /usr/lib/libuuid.so [2025-02-23T10:59:09.480Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2025-02-23T10:59:09.740Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2025-02-23T10:59:09.740Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2025-02-23T10:59:09.740Z] -- /opt/iotech/iot/1.5/include [2025-02-23T10:59:09.740Z] -- C SDK 0.0.0 for Linux [2025-02-23T10:59:09.740Z] -- Performing Test CSDK_HAVE_ATOMIC [2025-02-23T10:59:09.740Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2025-02-23T10:59:09.740Z] -- Found Curses: /usr/lib/libcurses.so [2025-02-23T10:59:09.740Z] -- Configuring done (0.4s) [2025-02-23T10:59:09.740Z] -- Generating done (0.0s) [2025-02-23T10:59:09.740Z] -- Build files have been written to: /tmp/sdk/build/debug [2025-02-23T10:59:09.740Z] + make [2025-02-23T10:59:09.740Z] + tee debug.log [2025-02-23T10:59:10.000Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2025-02-23T10:59:10.000Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2025-02-23T10:59:10.000Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2025-02-23T10:59:10.000Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2025-02-23T10:59:10.259Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2025-02-23T10:59:10.259Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2025-02-23T10:59:10.259Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2025-02-23T10:59:10.519Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2025-02-23T10:59:10.519Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2025-02-23T10:59:10.519Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2025-02-23T10:59:10.779Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2025-02-23T10:59:10.779Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2025-02-23T10:59:10.779Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2025-02-23T10:59:10.779Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2025-02-23T10:59:11.039Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2025-02-23T10:59:11.039Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2025-02-23T10:59:11.039Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2025-02-23T10:59:11.039Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2025-02-23T10:59:11.039Z] from /tmp/sdk/src/c/registry.h:14, [2025-02-23T10:59:11.039Z] from /tmp/sdk/src/c/registry-impl.h:12, [2025-02-23T10:59:11.039Z] from /tmp/sdk/src/c/keeper.h:12, [2025-02-23T10:59:11.039Z] from /tmp/sdk/src/c/keeper.c:4: [2025-02-23T10:59:11.039Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2025-02-23T10:59:11.039Z] /tmp/sdk/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2025-02-23T10:59:11.039Z] 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2025-02-23T10:59:11.039Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-02-23T10:59:11.039Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2025-02-23T10:59:11.039Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2025-02-23T10:59:11.039Z] | ^~~~~~~~~~~ [2025-02-23T10:59:11.039Z] /tmp/sdk/src/c/keeper.c:121:55: note: format string is defined here [2025-02-23T10:59:11.039Z] 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2025-02-23T10:59:11.039Z] | ~^ [2025-02-23T10:59:11.039Z] | | [2025-02-23T10:59:11.039Z] | char * [2025-02-23T10:59:11.302Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2025-02-23T10:59:11.302Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2025-02-23T10:59:11.302Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2025-02-23T10:59:11.563Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2025-02-23T10:59:11.563Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2025-02-23T10:59:11.823Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2025-02-23T10:59:11.823Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2025-02-23T10:59:11.823Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2025-02-23T10:59:11.823Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2025-02-23T10:59:12.086Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2025-02-23T10:59:12.086Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2025-02-23T10:59:12.349Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2025-02-23T10:59:12.349Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2025-02-23T10:59:12.349Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2025-02-23T10:59:12.608Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2025-02-23T10:59:12.608Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2025-02-23T10:59:12.608Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2025-02-23T10:59:12.608Z] [ 68%] Linking C shared library libcsdk.so [2025-02-23T10:59:12.867Z] [ 68%] Built target csdk [2025-02-23T10:59:12.867Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2025-02-23T10:59:12.867Z] [ 72%] Linking C executable template [2025-02-23T10:59:12.867Z] [ 72%] Built target template [2025-02-23T10:59:12.867Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2025-02-23T10:59:13.134Z] [ 76%] Linking C executable device-counter [2025-02-23T10:59:13.134Z] [ 76%] Built target device-counter [2025-02-23T10:59:13.134Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2025-02-23T10:59:13.134Z] [ 80%] Linking C executable device-random [2025-02-23T10:59:13.394Z] [ 80%] Built target device-random [2025-02-23T10:59:13.394Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2025-02-23T10:59:13.394Z] [ 84%] Linking C executable device-gyro [2025-02-23T10:59:13.394Z] [ 84%] Built target device-gyro [2025-02-23T10:59:13.394Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2025-02-23T10:59:13.394Z] [ 88%] Linking C executable device-bitfields [2025-02-23T10:59:13.652Z] [ 88%] Built target device-bitfields [2025-02-23T10:59:13.652Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2025-02-23T10:59:13.652Z] [ 92%] Linking C executable template-discovery [2025-02-23T10:59:13.652Z] [ 92%] Built target template-discovery [2025-02-23T10:59:13.652Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2025-02-23T10:59:13.912Z] [ 96%] Linking C executable device-file [2025-02-23T10:59:13.912Z] [ 96%] Built target device-file [2025-02-23T10:59:13.912Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2025-02-23T10:59:13.912Z] [100%] Linking C executable device-terminal [2025-02-23T10:59:13.912Z] [100%] Built target device-terminal [2025-02-23T10:59:14.171Z] make: Entering directory '/tmp/sdk/build/release' [2025-02-23T10:59:14.171Z] [ 68%] Built target csdk [2025-02-23T10:59:14.171Z] [ 72%] Built target template [2025-02-23T10:59:14.171Z] [ 76%] Built target device-counter [2025-02-23T10:59:14.171Z] [ 80%] Built target device-random [2025-02-23T10:59:14.171Z] [ 84%] Built target device-gyro [2025-02-23T10:59:14.171Z] [ 88%] Built target device-bitfields [2025-02-23T10:59:14.171Z] [ 92%] Built target template-discovery [2025-02-23T10:59:14.171Z] [ 96%] Built target device-file [2025-02-23T10:59:14.171Z] [100%] Built target device-terminal [2025-02-23T10:59:14.171Z] Install the project... [2025-02-23T10:59:14.171Z] -- Install configuration: "Release" [2025-02-23T10:59:14.171Z] -- Installing: /usr/local/lib/libcsdk.so [2025-02-23T10:59:14.171Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2025-02-23T10:59:14.171Z] -- Installing: /usr/local/include [2025-02-23T10:59:14.171Z] -- Installing: /usr/local/include/devsdk [2025-02-23T10:59:14.171Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2025-02-23T10:59:14.171Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2025-02-23T10:59:14.171Z] -- Installing: /usr/local/include/edgex [2025-02-23T10:59:14.171Z] -- Installing: /usr/local/include/edgex/edgex.h [2025-02-23T10:59:14.171Z] -- Installing: /usr/local/include/edgex/devices.h [2025-02-23T10:59:14.171Z] -- Installing: /usr/local/include/edgex/profiles.h [2025-02-23T10:59:14.171Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2025-02-23T10:59:14.171Z] -- Installing: /usr/local/include/edgex/rest-server.h [2025-02-23T10:59:14.171Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2025-02-23T10:59:14.171Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2025-02-23T10:59:14.171Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2025-02-23T10:59:14.171Z] make: Leaving directory '/tmp/sdk/build/release' [2025-02-23T10:59:15.106Z] Removing intermediate container ad954e4189b5 [2025-02-23T10:59:15.106Z] ---> 03041fcfc089 [2025-02-23T10:59:15.106Z] Step 14/22 : FROM ${BASE} [2025-02-23T10:59:15.106Z] ---> 6605166a5db4 [2025-02-23T10:59:15.106Z] Step 15/22 : LABEL maintainer="IOTech " [2025-02-23T10:59:15.106Z] ---> Running in f40f49e50d6c [2025-02-23T10:59:15.106Z] Removing intermediate container f40f49e50d6c [2025-02-23T10:59:15.106Z] ---> dccfc5e8aedd [2025-02-23T10:59:15.106Z] 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-23T10:59:15.106Z] ---> Running in d660246373ba [2025-02-23T10:59:15.365Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2025-02-23T10:59:15.933Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2025-02-23T10:59:15.933Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2025-02-23T10:59:15.933Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2025-02-23T10:59:15.933Z] Removing intermediate container d660246373ba [2025-02-23T10:59:15.933Z] ---> 4378d5a524cc [2025-02-23T10:59:15.933Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2025-02-23T10:59:16.193Z] ---> Running in 560d11ee1d52 [2025-02-23T10:59:16.760Z] Removing intermediate container 560d11ee1d52 [2025-02-23T10:59:16.760Z] ---> a27da3a80c9f [2025-02-23T10:59:16.760Z] 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-23T10:59:16.760Z] ---> Running in 8b970da688e8 [2025-02-23T10:59:16.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-23T10:59:17.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-02-23T10:59:17.019Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-23T10:59:17.587Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-02-23T10:59:17.587Z] (1/11) Installing libpsl (0.21.5-r0) [2025-02-23T10:59:17.587Z] (2/11) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) [2025-02-23T10:59:17.587Z] (3/11) Installing curl (8.12.1-r0) [2025-02-23T10:59:17.587Z] (4/11) Installing libpsl-utils (0.21.5-r0) [2025-02-23T10:59:17.845Z] (5/11) Installing libpsl-dev (0.21.5-r0) [2025-02-23T10:59:17.846Z] (6/11) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) [2025-02-23T10:59:17.846Z] (7/11) Installing dumb-init (1.2.5-r2) [2025-02-23T10:59:18.105Z] (8/11) Installing libcbor (0.10.2-r1) [2025-02-23T10:59:18.105Z] (9/11) Installing iotech-iot-1.5 (1.5.5-r0) [2025-02-23T10:59:18.673Z] (10/11) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2025-02-23T10:59:18.932Z] (11/11) Installing libuuid (2.38.1-r8) [2025-02-23T10:59:18.932Z] Executing busybox-1.36.1-r4.trigger [2025-02-23T10:59:18.932Z] OK: 331 MiB in 91 packages [2025-02-23T10:59:19.191Z] Removing intermediate container 8b970da688e8 [2025-02-23T10:59:19.191Z] ---> f44f5ed24a7b [2025-02-23T10:59:19.191Z] Step 19/22 : RUN apk --no-cache upgrade [2025-02-23T10:59:19.191Z] ---> Running in 4c49f291ba63 [2025-02-23T10:59:19.450Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-23T10:59:19.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-02-23T10:59:19.709Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-23T10:59:20.279Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-02-23T10:59:20.279Z] Upgrading critical system libraries and apk-tools: [2025-02-23T10:59:20.279Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2025-02-23T10:59:20.279Z] Executing busybox-1.36.1-r4.trigger [2025-02-23T10:59:20.279Z] Continuing the upgrade transaction with new apk-tools: [2025-02-23T10:59:20.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-23T10:59:20.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-02-23T10:59:20.797Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-23T10:59:21.366Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-02-23T10:59:21.366Z] (1/20) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) [2025-02-23T10:59:21.366Z] (2/20) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2025-02-23T10:59:21.366Z] Executing busybox-1.36.1-r7.post-upgrade [2025-02-23T10:59:21.366Z] (3/20) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2025-02-23T10:59:21.366Z] (4/20) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) [2025-02-23T10:59:21.366Z] (5/20) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) [2025-02-23T10:59:21.366Z] (6/20) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) [2025-02-23T10:59:21.366Z] (7/20) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2025-02-23T10:59:21.366Z] (8/20) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) [2025-02-23T10:59:21.625Z] (9/20) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2025-02-23T10:59:21.625Z] (10/20) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2025-02-23T10:59:21.625Z] (11/20) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) [2025-02-23T10:59:21.625Z] (12/20) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) [2025-02-23T10:59:21.625Z] (13/20) Upgrading git (2.40.1-r0 -> 2.40.4-r0) [2025-02-23T10:59:21.625Z] (14/20) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3) [2025-02-23T10:59:21.625Z] (15/20) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) [2025-02-23T10:59:21.625Z] (16/20) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2025-02-23T10:59:21.625Z] (17/20) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2025-02-23T10:59:21.625Z] (18/20) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) [2025-02-23T10:59:21.625Z] (19/20) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) [2025-02-23T10:59:21.884Z] (20/20) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2025-02-23T10:59:21.884Z] Executing busybox-1.36.1-r7.trigger [2025-02-23T10:59:21.884Z] Executing ca-certificates-20241121-r1.trigger [2025-02-23T10:59:21.884Z] OK: 331 MiB in 91 packages [2025-02-23T10:59:23.263Z] Removing intermediate container 4c49f291ba63 [2025-02-23T10:59:23.263Z] ---> 027d31a30527 [2025-02-23T10:59:23.263Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2025-02-23T10:59:23.263Z] ---> a623a5002b26 [2025-02-23T10:59:23.263Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2025-02-23T10:59:23.263Z] ---> 11562b3570a2 [2025-02-23T10:59:23.263Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2025-02-23T10:59:23.263Z] ---> 54a291252a3c [2025-02-23T10:59:23.263Z] Successfully built 54a291252a3c [2025-02-23T10:59:23.263Z] 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-23T10:59:23.700Z] + docker inspect -f . ci-base-image-x86_64 [2025-02-23T10:59:23.700Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-02-23T10:59:23.805Z] prd-ubuntu20.04-docker-8c-8g-39531 does not seem to be running inside a container [2025-02-23T10:59:23.835Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2025-02-23T10:59:24.200Z] $ docker top e45866fb8839a0bdb522f70b7e50542c0116e542fdb97ee55ef7113fc39e38c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-02-23T10:59:24.550Z] + make test [2025-02-23T10:59:24.551Z] echo "make test" [2025-02-23T10:59:24.551Z] make test [Pipeline] } [2025-02-23T10:59:24.561Z] $ docker stop --time=1 e45866fb8839a0bdb522f70b7e50542c0116e542fdb97ee55ef7113fc39e38c1 [2025-02-23T10:59:25.894Z] $ docker rm -f --volumes e45866fb8839a0bdb522f70b7e50542c0116e542fdb97ee55ef7113fc39e38c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-02-23T10:59:26.585Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-02-23T10:59:26.873Z] + ls -al . [2025-02-23T10:59:26.873Z] total 212 [2025-02-23T10:59:26.873Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 23 10:58 . [2025-02-23T10:59:26.873Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 10:58 .. [2025-02-23T10:59:26.873Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 10:58 .git [2025-02-23T10:59:26.873Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 10:58 .github [2025-02-23T10:59:26.873Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 23 10:58 .gitignore [2025-02-23T10:59:26.873Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 10:58 .semver [2025-02-23T10:59:26.873Z] -rw-rw-r-- 1 jenkins jenkins 2908 Feb 23 10:58 Attribution.txt [2025-02-23T10:59:26.873Z] -rw-rw-r-- 1 jenkins jenkins 11953 Feb 23 10:58 CHANGELOG.md [2025-02-23T10:59:26.873Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 23 10:58 Doxyfile [2025-02-23T10:59:26.873Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 23 10:58 GOVERNANCE.md [2025-02-23T10:59:26.873Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 23 10:58 Jenkinsfile [2025-02-23T10:59:26.873Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 23 10:58 LICENSE [2025-02-23T10:59:26.873Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 23 10:58 Makefile [2025-02-23T10:59:26.873Z] -rw-rw-r-- 1 jenkins jenkins 618 Feb 23 10:58 OWNERS.md [2025-02-23T10:59:26.874Z] -rw-rw-r-- 1 jenkins jenkins 1651 Feb 23 10:58 README.IOT.md [2025-02-23T10:59:26.874Z] -rw-rw-r-- 1 jenkins jenkins 4173 Feb 23 10:58 README.md [2025-02-23T10:59:26.874Z] -rw-rw-r-- 1 jenkins jenkins 1245 Feb 23 10:58 README.v3.md [2025-02-23T10:59:26.874Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 23 10:58 VERSION [2025-02-23T10:59:26.874Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 10:58 docs [2025-02-23T10:59:26.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 10:58 include [2025-02-23T10:59:26.874Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 10:58 scripts [2025-02-23T10:59:26.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 10:58 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-23T10:59:27.196Z] + 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=eb5cdce89b0962bcd2b083fabb45f85a531a29c5 --label arch=amd64 --label version=4.0.0-dev.18 . [2025-02-23T10:59:27.196Z] Sending build context to Docker daemon 5.496MB [2025-02-23T10:59:27.196Z] Step 1/18 : ARG BASE=alpine:3.18 [2025-02-23T10:59:27.196Z] Step 2/18 : FROM ${BASE} [2025-02-23T10:59:27.196Z] ---> 54a291252a3c [2025-02-23T10:59:27.196Z] Step 3/18 : LABEL maintainer="IOTech " [2025-02-23T10:59:27.196Z] ---> Running in 4c598fab73ce [2025-02-23T10:59:27.196Z] Removing intermediate container 4c598fab73ce [2025-02-23T10:59:27.196Z] ---> f8a01d373461 [2025-02-23T10:59:27.196Z] 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-23T10:59:27.457Z] ---> Running in d2a4e8c1fa09 [2025-02-23T10:59:27.717Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2025-02-23T10:59:27.977Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2025-02-23T10:59:27.977Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2025-02-23T10:59:27.977Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2025-02-23T10:59:28.236Z] Removing intermediate container d2a4e8c1fa09 [2025-02-23T10:59:28.236Z] ---> 01bddfd52693 [2025-02-23T10:59:28.236Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2025-02-23T10:59:28.236Z] ---> Running in 77c0c0c08aea [2025-02-23T10:59:28.804Z] Removing intermediate container 77c0c0c08aea [2025-02-23T10:59:28.804Z] ---> 53304078b202 [2025-02-23T10:59:28.804Z] 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-23T10:59:28.804Z] ---> Running in d513a0b3b92c [2025-02-23T10:59:29.063Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-23T10:59:29.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-02-23T10:59:29.322Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-23T10:59:29.890Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-02-23T10:59:29.890Z] (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) [2025-02-23T10:59:30.148Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2025-02-23T10:59:30.148Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2025-02-23T10:59:30.148Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2025-02-23T10:59:30.148Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2025-02-23T10:59:30.148Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2025-02-23T10:59:30.148Z] (7/11) Installing libblkid (2.38.1-r8) [2025-02-23T10:59:30.148Z] (8/11) Installing libfdisk (2.38.1-r8) [2025-02-23T10:59:30.148Z] (9/11) Installing libmount (2.38.1-r8) [2025-02-23T10:59:30.148Z] (10/11) Installing libsmartcols (2.38.1-r8) [2025-02-23T10:59:30.148Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2025-02-23T10:59:30.148Z] Executing busybox-1.36.1-r7.trigger [2025-02-23T10:59:30.148Z] OK: 336 MiB in 102 packages [2025-02-23T10:59:30.714Z] Removing intermediate container d513a0b3b92c [2025-02-23T10:59:30.714Z] ---> b33273af9fdd [2025-02-23T10:59:30.714Z] Step 7/18 : RUN apk --no-cache upgrade [2025-02-23T10:59:30.714Z] ---> Running in 9bbece849421 [2025-02-23T10:59:30.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-23T10:59:30.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-02-23T10:59:31.232Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-02-23T10:59:31.801Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-02-23T10:59:31.801Z] OK: 336 MiB in 102 packages [2025-02-23T10:59:32.369Z] Removing intermediate container 9bbece849421 [2025-02-23T10:59:32.369Z] ---> edd176f8cdeb [2025-02-23T10:59:32.369Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2025-02-23T10:59:32.369Z] ---> cfd1e06fe332 [2025-02-23T10:59:32.369Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2025-02-23T10:59:32.369Z] ---> 911de827435b [2025-02-23T10:59:32.369Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2025-02-23T10:59:32.628Z] ---> c427d8140041 [2025-02-23T10:59:32.628Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2025-02-23T10:59:32.628Z] ---> 256de44c8054 [2025-02-23T10:59:32.628Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2025-02-23T10:59:32.887Z] ---> 081f1f617cf2 [2025-02-23T10:59:32.887Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2025-02-23T10:59:32.887Z] ---> a51bbe4db664 [2025-02-23T10:59:32.887Z] Step 14/18 : WORKDIR /edgex-c-sdk [2025-02-23T10:59:32.887Z] ---> Running in 604d5c9cf681 [2025-02-23T10:59:33.145Z] Removing intermediate container 604d5c9cf681 [2025-02-23T10:59:33.145Z] ---> 371fd455a97c [2025-02-23T10:59:33.145Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2025-02-23T10:59:33.145Z] ---> Running in dfad4f398f9c [2025-02-23T10:59:33.145Z] Removing intermediate container dfad4f398f9c [2025-02-23T10:59:33.145Z] ---> 5f3c74e68ff1 [2025-02-23T10:59:33.145Z] Step 16/18 : LABEL arch=amd64 [2025-02-23T10:59:33.145Z] ---> Running in 47b8ce5081fb [2025-02-23T10:59:33.145Z] Removing intermediate container 47b8ce5081fb [2025-02-23T10:59:33.145Z] ---> 2d27f9d9aa16 [2025-02-23T10:59:33.145Z] Step 17/18 : LABEL git_sha=eb5cdce89b0962bcd2b083fabb45f85a531a29c5 [2025-02-23T10:59:33.145Z] ---> Running in 857a7676ec32 [2025-02-23T10:59:33.406Z] Removing intermediate container 857a7676ec32 [2025-02-23T10:59:33.406Z] ---> d6df17046e5f [2025-02-23T10:59:33.406Z] Step 18/18 : LABEL version=4.0.0-dev.18 [2025-02-23T10:59:33.406Z] ---> Running in a78cdac2a87a [2025-02-23T10:59:33.406Z] Removing intermediate container a78cdac2a87a [2025-02-23T10:59:33.406Z] ---> 4806a237353b [2025-02-23T10:59:33.406Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2025-02-23T10:59:33.406Z] Successfully built 4806a237353b [2025-02-23T10:59:33.406Z] 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-23T10:59:33.928Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-02-23T10:59:33.928Z] [2025-02-23T10:59:33.928Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-23T10:59:34.240Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-02-23T10:59:34.240Z] latest: Pulling from edgex-lftools-log-publisher [2025-02-23T10:59:34.240Z] 5eb5b503b376: Pulling fs layer [2025-02-23T10:59:34.240Z] 5c69ac0246d0: Pulling fs layer [2025-02-23T10:59:34.240Z] ec43610c2a17: Pulling fs layer [2025-02-23T10:59:34.240Z] 3a2ae6a8a46f: Pulling fs layer [2025-02-23T10:59:34.240Z] 33b1e0a273af: Pulling fs layer [2025-02-23T10:59:34.240Z] 5d3b04190fa2: Pulling fs layer [2025-02-23T10:59:34.240Z] 2f39f015ded8: Pulling fs layer [2025-02-23T10:59:34.240Z] 3a2ae6a8a46f: Waiting [2025-02-23T10:59:34.240Z] 5d3b04190fa2: Waiting [2025-02-23T10:59:34.240Z] 2f39f015ded8: Waiting [2025-02-23T10:59:34.240Z] 33b1e0a273af: Waiting [2025-02-23T10:59:34.240Z] 5c69ac0246d0: Download complete [2025-02-23T10:59:34.240Z] 3a2ae6a8a46f: Verifying Checksum [2025-02-23T10:59:34.240Z] 3a2ae6a8a46f: Download complete [2025-02-23T10:59:34.240Z] 33b1e0a273af: Verifying Checksum [2025-02-23T10:59:34.240Z] 33b1e0a273af: Download complete [2025-02-23T10:59:34.240Z] ec43610c2a17: Verifying Checksum [2025-02-23T10:59:34.240Z] ec43610c2a17: Download complete [2025-02-23T10:59:34.240Z] 5d3b04190fa2: Verifying Checksum [2025-02-23T10:59:34.240Z] 5d3b04190fa2: Download complete [2025-02-23T10:59:34.499Z] 5eb5b503b376: Verifying Checksum [2025-02-23T10:59:34.499Z] 5eb5b503b376: Download complete [2025-02-23T10:59:35.068Z] 2f39f015ded8: Download complete [2025-02-23T10:59:35.635Z] 5eb5b503b376: Pull complete [2025-02-23T10:59:35.635Z] 5c69ac0246d0: Pull complete [2025-02-23T10:59:36.203Z] ec43610c2a17: Pull complete [2025-02-23T10:59:36.203Z] 3a2ae6a8a46f: Pull complete [2025-02-23T10:59:36.461Z] 33b1e0a273af: Pull complete [2025-02-23T10:59:36.461Z] 5d3b04190fa2: Pull complete [2025-02-23T10:59:40.651Z] 2f39f015ded8: Pull complete [2025-02-23T10:59:40.651Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-02-23T10:59:40.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-02-23T10:59:40.651Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-02-23T10:59:40.760Z] prd-ubuntu20.04-docker-8c-8g-39531 does not seem to be running inside a container [2025-02-23T10:59:40.789Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-02-23T10:59:43.326Z] $ docker top d9bc620ee05241076038409665eaa43699f2918d63a0a78e9ee1e6c081e1705d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-02-23T10:59:43.735Z] ---> job-cost.sh [2025-02-23T10:59:43.735Z] lf-activate-venv: SKIPPING [2025-02-23T10:59:43.735Z] INFO: No Stack... [2025-02-23T10:59:43.994Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-02-23T10:59:44.253Z] INFO: Archiving Costs [Pipeline] sh [2025-02-23T10:59:44.544Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2025-02-23T10:59:44.544Z] + cut -d, -f6 [Pipeline] lock [2025-02-23T10:59:44.557Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-95-stack-cost] [2025-02-23T10:59:44.565Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-95-stack-cost] did not exist. Created. [2025-02-23T10:59:44.571Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-02-23T10:59:44.881Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-02-23T10:59:44.934Z] Stashed 1 file(s) [Pipeline] } [2025-02-23T10:59:44.947Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-95-stack-cost] [Pipeline] // lock [Pipeline] } [2025-02-23T10:59:44.976Z] $ docker stop --time=1 d9bc620ee05241076038409665eaa43699f2918d63a0a78e9ee1e6c081e1705d [2025-02-23T10:59:46.135Z] $ docker rm -f --volumes d9bc620ee05241076038409665eaa43699f2918d63a0a78e9ee1e6c081e1705d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2025-02-23T10:59:46.677Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-02-23T10:59:46.677Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-23T10:59:46.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-02-23T10:59:46.979Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-02-23T10:59:47.064Z] prd-ubuntu20.04-docker-8c-8g-39531 does not seem to be running inside a container [2025-02-23T10:59:47.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2025-02-23T10:59:47.424Z] $ docker top 2b4687ad2d2c890fbb1836b3055fd150c33793e1af8ebf3b44b9fa5324efacb0 -eo pid,comm [2025-02-23T10:59:47.470Z] 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-23T10:59:47.470Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-02-23T10:59:47.528Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-02-23T10:59:47.528Z] [ssh-agent] Looking for ssh-agent implementation... [2025-02-23T10:59:47.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-02-23T10:59:47.647Z] $ docker exec 2b4687ad2d2c890fbb1836b3055fd150c33793e1af8ebf3b44b9fa5324efacb0 ssh-agent [2025-02-23T10:59:47.767Z] SSH_AUTH_SOCK=/tmp/ssh-hYENMvH2dkHk/agent.32 [2025-02-23T10:59:47.767Z] SSH_AGENT_PID=38 [2025-02-23T10:59:47.772Z] Running ssh-add (command line suppressed) [2025-02-23T10:59:47.890Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13767959441886904183.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13767959441886904183.key) [2025-02-23T10:59:47.904Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-02-23T10:59:48.197Z] + git semver tag [2025-02-23T10:59:48.457Z] 2025-02-23 10:59:48,375 [run_tag] DEBUG tag force:False [2025-02-23T10:59:48.457Z] 2025-02-23 10:59:48,376 [check_head_tag] DEBUG check head tag [2025-02-23T10:59:48.457Z] 2025-02-23 10:59:48,377 [execute] INFO git cat-file --batch-check [2025-02-23T10:59:48.457Z] 2025-02-23 10:59:48,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2025-02-23T10:59:48.457Z] 2025-02-23 10:59:48,381 [execute] INFO git cat-file --batch [2025-02-23T10:59:48.457Z] 2025-02-23 10:59:48,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2025-02-23T10:59:48.457Z] 2025-02-23 10:59:48,403 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2025-02-23T10:59:48.457Z] 2025-02-23 10:59:48,403 [execute] INFO git tag -a v4.0.0-dev.18 -m v4.0.0-dev.18 [2025-02-23T10:59:48.457Z] 2025-02-23 10:59:48,403 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.18', '-m', 'v4.0.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2025-02-23T10:59:48.457Z] 2025-02-23 10:59:48,409 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2025-02-23T10:59:48.457Z] 4.0.0-dev.18 [Pipeline] } [2025-02-23T10:59:48.465Z] $ docker exec --env ******** --env ******** 2b4687ad2d2c890fbb1836b3055fd150c33793e1af8ebf3b44b9fa5324efacb0 ssh-agent -k [2025-02-23T10:59:48.562Z] unset SSH_AUTH_SOCK; [2025-02-23T10:59:48.563Z] unset SSH_AGENT_PID; [2025-02-23T10:59:48.563Z] echo Agent pid 38 killed; [2025-02-23T10:59:48.576Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-02-23T10:59:48.907Z] + git semver [Pipeline] } [2025-02-23T10:59:49.179Z] $ docker stop --time=1 2b4687ad2d2c890fbb1836b3055fd150c33793e1af8ebf3b44b9fa5324efacb0 [2025-02-23T10:59:50.468Z] $ docker rm -f --volumes 2b4687ad2d2c890fbb1836b3055fd150c33793e1af8ebf3b44b9fa5324efacb0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-23T10:59:50.859Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2025-02-23T10:59:50.859Z] [2025-02-23T10:59:50.859Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-23T10:59:51.162Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2025-02-23T10:59:51.162Z] 0.23.1-centos7: Pulling from edgex-lftools [2025-02-23T10:59:51.162Z] ab5ef0e58194: Pulling fs layer [2025-02-23T10:59:51.162Z] 9712f1f96733: Pulling fs layer [2025-02-23T10:59:51.162Z] 63f879dbbcfc: Pulling fs layer [2025-02-23T10:59:51.162Z] 0d9ebad4ef96: Pulling fs layer [2025-02-23T10:59:51.162Z] e9a5061849ea: Pulling fs layer [2025-02-23T10:59:51.162Z] d747dcd14b5f: Pulling fs layer [2025-02-23T10:59:51.162Z] 2de7ff778b66: Pulling fs layer [2025-02-23T10:59:51.162Z] 2de7ff778b66: Waiting [2025-02-23T10:59:51.162Z] e9a5061849ea: Waiting [2025-02-23T10:59:51.162Z] d747dcd14b5f: Waiting [2025-02-23T10:59:51.162Z] 0d9ebad4ef96: Waiting [2025-02-23T10:59:51.162Z] 9712f1f96733: Download complete [2025-02-23T10:59:51.422Z] 63f879dbbcfc: Verifying Checksum [2025-02-23T10:59:51.422Z] 63f879dbbcfc: Download complete [2025-02-23T10:59:51.422Z] e9a5061849ea: Verifying Checksum [2025-02-23T10:59:51.422Z] e9a5061849ea: Download complete [2025-02-23T10:59:51.682Z] d747dcd14b5f: Verifying Checksum [2025-02-23T10:59:51.682Z] d747dcd14b5f: Download complete [2025-02-23T10:59:51.682Z] 0d9ebad4ef96: Verifying Checksum [2025-02-23T10:59:51.682Z] 0d9ebad4ef96: Download complete [2025-02-23T10:59:51.682Z] ab5ef0e58194: Verifying Checksum [2025-02-23T10:59:51.682Z] ab5ef0e58194: Download complete [2025-02-23T10:59:51.682Z] 2de7ff778b66: Verifying Checksum [2025-02-23T10:59:51.682Z] 2de7ff778b66: Download complete [2025-02-23T10:59:54.237Z] ab5ef0e58194: Pull complete [2025-02-23T10:59:54.237Z] 9712f1f96733: Pull complete [2025-02-23T10:59:54.806Z] 63f879dbbcfc: Pull complete [2025-02-23T10:59:58.994Z] 0d9ebad4ef96: Pull complete [2025-02-23T10:59:58.994Z] e9a5061849ea: Pull complete [2025-02-23T10:59:58.994Z] d747dcd14b5f: Pull complete [2025-02-23T10:59:59.929Z] 2de7ff778b66: Pull complete [2025-02-23T10:59:59.929Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2025-02-23T10:59:59.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2025-02-23T10:59:59.929Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-02-23T11:00:00.026Z] prd-ubuntu20.04-docker-8c-8g-39531 does not seem to be running inside a container [2025-02-23T11:00:00.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2025-02-23T11:00:03.683Z] $ docker top f3f5318fad83ad38b30f2c88b3bb2dd7c098df38146666e04a20d71403a39869 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2025-02-23T11:00:03.761Z] provisioning config files... [2025-02-23T11:00:03.768Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3243436085006806234tmp [2025-02-23T11:00:03.776Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4588873907936541417tmp [2025-02-23T11:00:03.786Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7662883972167604013tmp [Pipeline] { [Pipeline] echo [2025-02-23T11:00:03.818Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-23T11:00:04.121Z] ---> sigul-configuration.sh [2025-02-23T11:00:04.121Z] gpg: directory `/root/.gnupg' created [2025-02-23T11:00:04.121Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2025-02-23T11:00:04.121Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2025-02-23T11:00:04.121Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2025-02-23T11:00:04.121Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2025-02-23T11:00:04.121Z] gpg: CAST5 encrypted data [2025-02-23T11:00:04.121Z] gpg: encrypted with 1 passphrase [2025-02-23T11:00:04.121Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2025-02-23T11:00:04.429Z] + mkdir /home/jenkins [2025-02-23T11:00:04.430Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2025-02-23T11:00:04.721Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2025-02-23T11:00:04.733Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-23T11:00:05.024Z] ---> sigul-install.sh [2025-02-23T11:00:05.024Z] Sigul already installed; skipping installation. [Pipeline] sh [2025-02-23T11:00:05.319Z] + git tag --list [2025-02-23T11:00:05.319Z] 0.7.0 [2025-02-23T11:00:05.319Z] 0.7.1 [2025-02-23T11:00:05.319Z] 1.0.0 [2025-02-23T11:00:05.319Z] v1.0.1 [2025-02-23T11:00:05.319Z] v1.0.2 [2025-02-23T11:00:05.319Z] v1.0.3 [2025-02-23T11:00:05.319Z] v1.1.0 [2025-02-23T11:00:05.319Z] v1.1.1 [2025-02-23T11:00:05.319Z] v1.2.0 [2025-02-23T11:00:05.319Z] v1.2.1 [2025-02-23T11:00:05.319Z] v1.2.2 [2025-02-23T11:00:05.319Z] v1.3.0 [2025-02-23T11:00:05.319Z] v1.3.1 [2025-02-23T11:00:05.319Z] v2.0.0 [2025-02-23T11:00:05.319Z] v2.1.0 [2025-02-23T11:00:05.319Z] v2.2.0 [2025-02-23T11:00:05.319Z] v2.3.0 [2025-02-23T11:00:05.319Z] v3.0 [2025-02-23T11:00:05.319Z] v3.0.0 [2025-02-23T11:00:05.319Z] v3.0.1 [2025-02-23T11:00:05.319Z] v3.0.2 [2025-02-23T11:00:05.319Z] v3.0.3-dev.1 [2025-02-23T11:00:05.319Z] v3.0.3-dev.10 [2025-02-23T11:00:05.319Z] v3.0.3-dev.11 [2025-02-23T11:00:05.319Z] v3.0.3-dev.12 [2025-02-23T11:00:05.319Z] v3.0.3-dev.13 [2025-02-23T11:00:05.319Z] v3.0.3-dev.14 [2025-02-23T11:00:05.319Z] v3.0.3-dev.15 [2025-02-23T11:00:05.319Z] v3.0.3-dev.16 [2025-02-23T11:00:05.319Z] v3.0.3-dev.17 [2025-02-23T11:00:05.319Z] v3.0.3-dev.2 [2025-02-23T11:00:05.319Z] v3.0.3-dev.3 [2025-02-23T11:00:05.319Z] v3.0.3-dev.4 [2025-02-23T11:00:05.319Z] v3.0.3-dev.5 [2025-02-23T11:00:05.319Z] v3.0.3-dev.6 [2025-02-23T11:00:05.319Z] v3.0.3-dev.7 [2025-02-23T11:00:05.319Z] v3.0.3-dev.8 [2025-02-23T11:00:05.319Z] v3.0.3-dev.9 [2025-02-23T11:00:05.319Z] v3.1 [2025-02-23T11:00:05.319Z] v3.1.0 [2025-02-23T11:00:05.319Z] v3.1.0-dev.1 [2025-02-23T11:00:05.319Z] v3.1.0-dev.2 [2025-02-23T11:00:05.319Z] v3.1.0-dev.3 [2025-02-23T11:00:05.319Z] v3.1.0-dev.4 [2025-02-23T11:00:05.319Z] v3.1.0-dev.5 [2025-02-23T11:00:05.319Z] v3.1.0-dev.6 [2025-02-23T11:00:05.319Z] v3.1.0-dev.7 [2025-02-23T11:00:05.319Z] v3.1.0-dev.8 [2025-02-23T11:00:05.319Z] v3.1.0-dev.9 [2025-02-23T11:00:05.319Z] v3.1.1 [2025-02-23T11:00:05.319Z] v3.1.1-dev.1 [2025-02-23T11:00:05.319Z] v4.0.0-dev.1 [2025-02-23T11:00:05.319Z] v4.0.0-dev.10 [2025-02-23T11:00:05.319Z] v4.0.0-dev.11 [2025-02-23T11:00:05.319Z] v4.0.0-dev.12 [2025-02-23T11:00:05.319Z] v4.0.0-dev.13 [2025-02-23T11:00:05.319Z] v4.0.0-dev.14 [2025-02-23T11:00:05.319Z] v4.0.0-dev.15 [2025-02-23T11:00:05.319Z] v4.0.0-dev.16 [2025-02-23T11:00:05.319Z] v4.0.0-dev.17 [2025-02-23T11:00:05.319Z] v4.0.0-dev.18 [2025-02-23T11:00:05.319Z] v4.0.0-dev.2 [2025-02-23T11:00:05.319Z] v4.0.0-dev.3 [2025-02-23T11:00:05.319Z] v4.0.0-dev.4 [2025-02-23T11:00:05.319Z] v4.0.0-dev.5 [2025-02-23T11:00:05.319Z] v4.0.0-dev.6 [2025-02-23T11:00:05.319Z] v4.0.0-dev.7 [2025-02-23T11:00:05.319Z] v4.0.0-dev.8 [2025-02-23T11:00:05.319Z] v4.0.0-dev.9 [Pipeline] sh [2025-02-23T11:00:05.610Z] + lftools sign git-tag v4.0.0-dev.18 [2025-02-23T11:00:06.178Z] Signing Git tag with Sigul... [2025-02-23T11:00:06.178Z] Signing v4.0.0-dev.18 [Pipeline] echo [2025-02-23T11:00:06.765Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-23T11:00:07.058Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2025-02-23T11:00:07.065Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2025-02-23T11:00:07.090Z] $ docker stop --time=1 f3f5318fad83ad38b30f2c88b3bb2dd7c098df38146666e04a20d71403a39869 [2025-02-23T11:00:08.364Z] $ docker rm -f --volumes f3f5318fad83ad38b30f2c88b3bb2dd7c098df38146666e04a20d71403a39869 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2025-02-23T11:00:08.784Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-02-23T11:00:08.784Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-23T11:00:09.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-02-23T11:00:09.087Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-02-23T11:00:09.184Z] prd-ubuntu20.04-docker-8c-8g-39531 does not seem to be running inside a container [2025-02-23T11:00:09.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2025-02-23T11:00:09.587Z] $ docker top ccaf4c251f1cdf369fa213aad4e2d7075ab0601fae4ebcc08ca764dc07e13809 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-02-23T11:00:09.685Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-02-23T11:00:09.685Z] [ssh-agent] Looking for ssh-agent implementation... [2025-02-23T11:00:09.799Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-02-23T11:00:09.801Z] $ docker exec ccaf4c251f1cdf369fa213aad4e2d7075ab0601fae4ebcc08ca764dc07e13809 ssh-agent [2025-02-23T11:00:09.903Z] SSH_AUTH_SOCK=/tmp/ssh-4b2jVPVVXnpi/agent.32 [2025-02-23T11:00:09.903Z] SSH_AGENT_PID=38 [2025-02-23T11:00:09.919Z] Running ssh-add (command line suppressed) [2025-02-23T11:00:10.020Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8824739625175119020.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8824739625175119020.key) [2025-02-23T11:00:10.040Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-02-23T11:00:10.381Z] + git semver bump pre [2025-02-23T11:00:10.638Z] 2025-02-23 11:00:10,528 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2025-02-23T11:00:10.638Z] 2025-02-23 11:00:10,528 [bump_version] DEBUG bumping version:4.0.0-dev.18 on axis:pre with prefix:dev [2025-02-23T11:00:10.638Z] 2025-02-23 11:00:10,528 [bump_version] DEBUG bumped version:4.0.0-dev.19 [2025-02-23T11:00:10.638Z] 2025-02-23 11:00:10,528 [write_version] DEBUG write version:4.0.0-dev.19 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2025-02-23T11:00:10.638Z] 2025-02-23 11:00:10,528 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2025-02-23T11:00:10.638Z] 2025-02-23 11:00:10,528 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2025-02-23T11:00:10.638Z] 2025-02-23 11:00:10,530 [execute] INFO git cat-file --batch-check [2025-02-23T11:00:10.638Z] 2025-02-23 11:00:10,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2025-02-23T11:00:10.638Z] 2025-02-23 11:00:10,536 [execute] INFO git cat-file --batch [2025-02-23T11:00:10.638Z] 2025-02-23 11:00:10,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2025-02-23T11:00:10.638Z] 2025-02-23 11:00:10,542 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2025-02-23T11:00:10.638Z] 4.0.0-dev.19 [Pipeline] } [2025-02-23T11:00:10.646Z] $ docker exec --env ******** --env ******** ccaf4c251f1cdf369fa213aad4e2d7075ab0601fae4ebcc08ca764dc07e13809 ssh-agent -k [2025-02-23T11:00:10.737Z] unset SSH_AUTH_SOCK; [2025-02-23T11:00:10.737Z] unset SSH_AGENT_PID; [2025-02-23T11:00:10.737Z] echo Agent pid 38 killed; [2025-02-23T11:00:10.748Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-02-23T11:00:11.067Z] + git semver [Pipeline] } [2025-02-23T11:00:11.339Z] $ docker stop --time=1 ccaf4c251f1cdf369fa213aad4e2d7075ab0601fae4ebcc08ca764dc07e13809 [2025-02-23T11:00:12.703Z] $ docker rm -f --volumes ccaf4c251f1cdf369fa213aad4e2d7075ab0601fae4ebcc08ca764dc07e13809 [Pipeline] // withDockerContainer [Pipeline] sh [2025-02-23T11:00:13.063Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-02-23T11:00:13.063Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-23T11:00:13.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-02-23T11:00:13.370Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-02-23T11:00:13.449Z] prd-ubuntu20.04-docker-8c-8g-39531 does not seem to be running inside a container [2025-02-23T11:00:13.481Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2025-02-23T11:00:13.829Z] $ docker top becb7facb6db10d1b52bb5bfa0613f26ee58d548d94e1a4afe2f01111b1ac5ee -eo pid,comm [2025-02-23T11:00:13.878Z] 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-23T11:00:13.878Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-02-23T11:00:13.939Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-02-23T11:00:13.939Z] [ssh-agent] Looking for ssh-agent implementation... [2025-02-23T11:00:14.043Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-02-23T11:00:14.045Z] $ docker exec becb7facb6db10d1b52bb5bfa0613f26ee58d548d94e1a4afe2f01111b1ac5ee ssh-agent [2025-02-23T11:00:14.151Z] SSH_AUTH_SOCK=/tmp/ssh-MWJVtkQQsW7J/agent.31 [2025-02-23T11:00:14.151Z] SSH_AGENT_PID=37 [2025-02-23T11:00:14.156Z] Running ssh-add (command line suppressed) [2025-02-23T11:00:14.251Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17396474945466504221.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17396474945466504221.key) [2025-02-23T11:00:14.268Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-02-23T11:00:14.556Z] + git semver push [2025-02-23T11:00:14.816Z] 2025-02-23 11:00:14,737 [run_push] DEBUG push [2025-02-23T11:00:14.816Z] 2025-02-23 11:00:14,738 [execute] INFO git cat-file --batch-check [2025-02-23T11:00:14.816Z] 2025-02-23 11:00:14,738 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2025-02-23T11:00:14.816Z] 2025-02-23 11:00:14,743 [execute] INFO git rev-list 359e07a3140ef25913c573f723d7db565043580f -- [2025-02-23T11:00:14.816Z] 2025-02-23 11:00:14,743 [execute] DEBUG Popen(['git', 'rev-list', '359e07a3140ef25913c573f723d7db565043580f', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2025-02-23T11:00:14.816Z] 2025-02-23 11:00:14,752 [execute] INFO git fetch -v origin [2025-02-23T11:00:14.816Z] 2025-02-23 11:00:14,752 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2025-02-23T11:00:15.387Z] 2025-02-23 11:00:15,199 [run_push] DEBUG no remote changes detected [2025-02-23T11:00:15.387Z] 2025-02-23 11:00:15,199 [execute] INFO git push origin semver [2025-02-23T11:00:15.387Z] 2025-02-23 11:00:15,200 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2025-02-23T11:00:15.957Z] 2025-02-23 11:00:15,865 [run_push] DEBUG push all version tags [2025-02-23T11:00:15.957Z] 2025-02-23 11:00:15,865 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2025-02-23T11:00:15.957Z] 2025-02-23 11:00:15,866 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2025-02-23T11:00:18.498Z] 2025-02-23 11:00:18,472 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2025-02-23T11:00:18.498Z] 4.0.0-dev.19 [Pipeline] } [2025-02-23T11:00:18.506Z] $ docker exec --env ******** --env ******** becb7facb6db10d1b52bb5bfa0613f26ee58d548d94e1a4afe2f01111b1ac5ee ssh-agent -k [2025-02-23T11:00:18.597Z] unset SSH_AUTH_SOCK; [2025-02-23T11:00:18.598Z] unset SSH_AGENT_PID; [2025-02-23T11:00:18.598Z] echo Agent pid 37 killed; [2025-02-23T11:00:18.607Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-02-23T11:00:18.934Z] + git semver [Pipeline] } [2025-02-23T11:00:19.206Z] $ docker stop --time=1 becb7facb6db10d1b52bb5bfa0613f26ee58d548d94e1a4afe2f01111b1ac5ee [2025-02-23T11:00:20.517Z] $ docker rm -f --volumes becb7facb6db10d1b52bb5bfa0613f26ee58d548d94e1a4afe2f01111b1ac5ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2025-02-23T11:00:21.259Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2025-02-23T11:00:21.259Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2025-02-23T11:00:21.259Z] total 16 [2025-02-23T11:00:21.259Z] drwxr-xr-x 3 root root 4096 Feb 23 10:59 . [2025-02-23T11:00:21.259Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 11:00 .. [2025-02-23T11:00:21.259Z] drwxr-xr-x 2 root root 4096 Feb 23 10:59 cost [2025-02-23T11:00:21.259Z] -rw-r--r-- 1 root root 83 Feb 23 10:59 cost.csv [2025-02-23T11:00:21.259Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2025-02-23T11:00:21.259Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2025-02-23T11:00:21.259Z] total 16 [2025-02-23T11:00:21.259Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 10:59 . [2025-02-23T11:00:21.259Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 11:00 .. [2025-02-23T11:00:21.259Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 23 10:59 cost [2025-02-23T11:00:21.259Z] -rw-r--r-- 1 jenkins jenkins 83 Feb 23 10:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-02-23T11:00:21.546Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-23T11:00:22.408Z] ---> package-listing.sh [2025-02-23T11:00:22.408Z] ++ facter osfamily [2025-02-23T11:00:22.408Z] ++ tr '[:upper:]' '[:lower:]' [2025-02-23T11:00:22.668Z] + OS_FAMILY=debian [2025-02-23T11:00:22.668Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2025-02-23T11:00:22.668Z] + START_PACKAGES=/tmp/packages_start.txt [2025-02-23T11:00:22.668Z] + END_PACKAGES=/tmp/packages_end.txt [2025-02-23T11:00:22.668Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-02-23T11:00:22.668Z] + PACKAGES=/tmp/packages_start.txt [2025-02-23T11:00:22.668Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2025-02-23T11:00:22.668Z] + PACKAGES=/tmp/packages_end.txt [2025-02-23T11:00:22.668Z] + case "${OS_FAMILY}" in [2025-02-23T11:00:22.668Z] + dpkg -l [2025-02-23T11:00:22.668Z] + grep '^ii' [2025-02-23T11:00:22.668Z] + '[' -f /tmp/packages_start.txt ']' [2025-02-23T11:00:22.668Z] + '[' -f /tmp/packages_end.txt ']' [2025-02-23T11:00:22.668Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-02-23T11:00:22.668Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2025-02-23T11:00:22.668Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2025-02-23T11:00:22.668Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2025-02-23T11:00:22.678Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2025-02-23T11:00:22.956Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-23T11:00:23.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-02-23T11:00:23.528Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-02-23T11:00:23.609Z] prd-ubuntu20.04-docker-8c-8g-39531 does not seem to be running inside a container [2025-02-23T11:00:23.638Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-02-23T11:00:23.848Z] $ docker top e84ddc814ac0213009cd26afc629406a886b3aef44cadcc4b0a52a2bc7401d9b -eo pid,comm [Pipeline] { [Pipeline] sh [2025-02-23T11:00:24.202Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-02-23T11:00:24.490Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-02-23T11:00:24.778Z] + ls /var/log/sa-host [2025-02-23T11:00:24.778Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-02-23T11:00:24.935Z] provisioning config files... [2025-02-23T11:00:24.944Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1540970702313422580tmp [Pipeline] { [Pipeline] echo [2025-02-23T11:00:24.963Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-23T11:00:25.260Z] ---> create-netrc.sh [Pipeline] } [2025-02-23T11:00:25.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-02-23T11:00:25.595Z] ---> python-tools-install.sh [Pipeline] echo [2025-02-23T11:00:25.603Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-23T11:00:25.885Z] ---> sudo-logs.sh [2025-02-23T11:00:25.885Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-02-23T11:00:25.912Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-23T11:00:26.197Z] ---> job-cost.sh [2025-02-23T11:00:26.197Z] lf-activate-venv: SKIPPING [2025-02-23T11:00:26.197Z] DEBUG: total: 0.2199999988079071 [2025-02-23T11:00:26.197Z] INFO: Retrieving Stack Cost... [2025-02-23T11:00:26.766Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-02-23T11:00:27.026Z] INFO: Archiving Costs [Pipeline] echo [2025-02-23T11:00:27.040Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-23T11:00:27.319Z] ---> logs-deploy.sh [2025-02-23T11:00:27.319Z] lf-activate-venv: SKIPPING [2025-02-23T11:00:27.319Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/95 [2025-02-23T11:00:27.319Z] INFO: archiving workspace using pattern(s): [2025-02-23T11:00:28.258Z] Archives upload complete. [2025-02-23T11:00:28.258Z] INFO: archiving logs to Nexus