Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151 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-ssh13478029180296731733.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-ssh16164550446272472032.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-ssh13542342244595622692.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-ssh4073470804482209858.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-ssh7597081098962697195.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 ‘prd-ubuntu20.04-docker-8c-8g-35415’ is offline ‘prd-ubuntu20.04-docker-8c-8g-35420’ is offline ‘prd-ubuntu20.04-docker-8c-8g-35421’ is offline Running on prd-ubuntu20.04-docker-8c-8g-35420 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 8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151 (main) Commit message: "Merge pull request #537 from FelixTing/update-example-readme" > 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 8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151 # timeout=10 > git rev-list --no-walk a3a111b982cad7839e5b9752d22ac1e9c5972a88 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-12-20T01:05:19.815Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-12-20T01:05:19.878Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-12-20T01:05:19.905Z] ========================================================= [2024-12-20T01:05:19.905Z] EdgeX Global Pipelines Version Info [2024-12-20T01:05:19.905Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-12-20T01:05:20.628Z] ------------------- [2024-12-20T01:05:20.628Z] stable info: [2024-12-20T01:05:20.628Z] ------------------- [2024-12-20T01:05:20.628Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-12-20T01:05:20.628Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-20T01:05:20.628Z] Message: update stable to v1.0.269 [2024-12-20T01:05:21.197Z] ------------------- [2024-12-20T01:05:21.197Z] experimental info: [2024-12-20T01:05:21.197Z] ------------------- [2024-12-20T01:05:21.197Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-12-20T01:05:21.197Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-20T01:05:21.197Z] Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-12-20T01:05:21.262Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-12-20T01:05:21.281Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-12-20T01:05:21.301Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-12-20T01:05:21.319Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-12-20T01:05:21.339Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-12-20T01:05:21.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-12-20T01:05:21.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-12-20T01:05:21.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-12-20T01:05:21.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-12-20T01:05:21.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-12-20T01:05:21.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-12-20T01:05:21.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-12-20T01:05:21.509Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-12-20T01:05:21.532Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-12-20T01:05:21.552Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-12-20T01:05:21.575Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-12-20T01:05:21.596Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-12-20T01:05:21.616Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-12-20T01:05:21.636Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-12-20T01:05:21.654Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-12-20T01:05:21.675Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151 [Pipeline] echo [2024-12-20T01:05:21.696Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b7a811 [Pipeline] echo [2024-12-20T01:05:21.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-20T01:05:21.778Z] provisioning config files... [2024-12-20T01:05:21.791Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13816961982781937284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-20T01:05:22.122Z] ---> ****-login.sh [2024-12-20T01:05:22.122Z] nexus3.edgexfoundry.org:10001 [2024-12-20T01:05:22.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-20T01:05:22.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-20T01:05:22.384Z] Configure a credential helper to remove this warning. See [2024-12-20T01:05:22.384Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-20T01:05:22.384Z] [2024-12-20T01:05:22.384Z] Login Succeeded [2024-12-20T01:05:22.384Z] nexus3.edgexfoundry.org:10002 [2024-12-20T01:05:22.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-20T01:05:22.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-20T01:05:22.645Z] Configure a credential helper to remove this warning. See [2024-12-20T01:05:22.645Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-20T01:05:22.645Z] [2024-12-20T01:05:22.645Z] Login Succeeded [2024-12-20T01:05:22.645Z] nexus3.edgexfoundry.org:10003 [2024-12-20T01:05:22.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-20T01:05:22.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-20T01:05:22.645Z] Configure a credential helper to remove this warning. See [2024-12-20T01:05:22.645Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-20T01:05:22.645Z] [2024-12-20T01:05:22.645Z] Login Succeeded [2024-12-20T01:05:22.645Z] nexus3.edgexfoundry.org:10004 [2024-12-20T01:05:22.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-20T01:05:22.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-20T01:05:22.645Z] Configure a credential helper to remove this warning. See [2024-12-20T01:05:22.645Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-20T01:05:22.645Z] [2024-12-20T01:05:22.645Z] Login Succeeded [2024-12-20T01:05:22.645Z] ****.io [2024-12-20T01:05:22.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-20T01:05:22.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-20T01:05:22.906Z] Configure a credential helper to remove this warning. See [2024-12-20T01:05:22.906Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-20T01:05:22.906Z] [2024-12-20T01:05:22.906Z] Login Succeeded [2024-12-20T01:05:22.906Z] ---> ****-login.sh ends [Pipeline] } [2024-12-20T01:05:22.915Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-12-20T01:05:23.320Z] + git rev-list -1 --merges 8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151~1..8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151 [Pipeline] echo [2024-12-20T01:05:23.347Z] -----------> git rev-list -1 --merges 8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151~1..8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151 8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151 [2024-12-20T01:05:23.347Z] 8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151 [false] [Pipeline] sh [2024-12-20T01:05:23.639Z] + git log --format=format:%s -1 8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151 [Pipeline] echo [2024-12-20T01:05:23.654Z] ========================================================= [2024-12-20T01:05:23.654Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-20T01:05:23.654Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-12-20T01:05:24.092Z] + git rev-list -1 --merges 8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151~1..8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151 [Pipeline] echo [2024-12-20T01:05:24.106Z] -----------> git rev-list -1 --merges 8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151~1..8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151 8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151 [2024-12-20T01:05:24.106Z] 8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151 [false] [Pipeline] sh [2024-12-20T01:05:24.398Z] + git log --format=format:%s -1 8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151 [Pipeline] echo [2024-12-20T01:05:24.415Z] ========================================================= [2024-12-20T01:05:24.415Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-20T01:05:24.415Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-12-20T01:05:24.787Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-20T01:05:24.787Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-12-20T01:05:24.787Z] + [ -e /tmp/ssh_known_hosts ] [2024-12-20T01:05:24.787Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-12-20T01:05:24.787Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-12-20T01:05:24.787Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-12-20T01:05:24.787Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-20T01:05:25.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-20T01:05:25.138Z] [2024-12-20T01:05:25.138Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-20T01:05:25.446Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-20T01:05:25.706Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-12-20T01:05:25.706Z] b85a868b505f: Pulling fs layer [2024-12-20T01:05:25.706Z] e2be974225ed: Pulling fs layer [2024-12-20T01:05:25.706Z] 339a4e72a1f5: Pulling fs layer [2024-12-20T01:05:25.706Z] 988bab9f4d93: Pulling fs layer [2024-12-20T01:05:25.706Z] 1469e6f7b9e6: Pulling fs layer [2024-12-20T01:05:25.706Z] eaf3925da568: Pulling fs layer [2024-12-20T01:05:25.706Z] bab4dde63d76: Pulling fs layer [2024-12-20T01:05:25.706Z] bde34c3a00c8: Pulling fs layer [2024-12-20T01:05:25.706Z] b352a97aabf1: Pulling fs layer [2024-12-20T01:05:25.706Z] 4872d77fe225: Pulling fs layer [2024-12-20T01:05:25.706Z] 5851b861e8e6: Pulling fs layer [2024-12-20T01:05:25.706Z] eaf3925da568: Waiting [2024-12-20T01:05:25.706Z] bde34c3a00c8: Waiting [2024-12-20T01:05:25.706Z] bab4dde63d76: Waiting [2024-12-20T01:05:25.706Z] 988bab9f4d93: Waiting [2024-12-20T01:05:25.706Z] b352a97aabf1: Waiting [2024-12-20T01:05:25.706Z] 4872d77fe225: Waiting [2024-12-20T01:05:25.706Z] 1469e6f7b9e6: Waiting [2024-12-20T01:05:25.706Z] 5851b861e8e6: Waiting [2024-12-20T01:05:25.706Z] e2be974225ed: Download complete [2024-12-20T01:05:25.706Z] 988bab9f4d93: Download complete [2024-12-20T01:05:25.706Z] 1469e6f7b9e6: Verifying Checksum [2024-12-20T01:05:25.706Z] 1469e6f7b9e6: Download complete [2024-12-20T01:05:25.706Z] 339a4e72a1f5: Verifying Checksum [2024-12-20T01:05:25.706Z] 339a4e72a1f5: Download complete [2024-12-20T01:05:25.706Z] eaf3925da568: Verifying Checksum [2024-12-20T01:05:25.706Z] eaf3925da568: Download complete [2024-12-20T01:05:25.706Z] bde34c3a00c8: Download complete [2024-12-20T01:05:25.966Z] b352a97aabf1: Download complete [2024-12-20T01:05:25.966Z] 4872d77fe225: Download complete [2024-12-20T01:05:25.966Z] 5851b861e8e6: Verifying Checksum [2024-12-20T01:05:25.966Z] 5851b861e8e6: Download complete [2024-12-20T01:05:25.966Z] b85a868b505f: Verifying Checksum [2024-12-20T01:05:25.966Z] b85a868b505f: Download complete [2024-12-20T01:05:26.226Z] bab4dde63d76: Verifying Checksum [2024-12-20T01:05:26.226Z] bab4dde63d76: Download complete [2024-12-20T01:05:27.164Z] b85a868b505f: Pull complete [2024-12-20T01:05:27.735Z] e2be974225ed: Pull complete [2024-12-20T01:05:28.673Z] 339a4e72a1f5: Pull complete [2024-12-20T01:05:28.932Z] 988bab9f4d93: Pull complete [2024-12-20T01:05:29.501Z] 1469e6f7b9e6: Pull complete [2024-12-20T01:05:29.501Z] eaf3925da568: Pull complete [2024-12-20T01:05:31.401Z] bab4dde63d76: Pull complete [2024-12-20T01:05:31.681Z] bde34c3a00c8: Pull complete [2024-12-20T01:05:31.943Z] b352a97aabf1: Pull complete [2024-12-20T01:05:32.225Z] 4872d77fe225: Pull complete [2024-12-20T01:05:32.488Z] 5851b861e8e6: Pull complete [2024-12-20T01:05:32.488Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-12-20T01:05:32.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-20T01:05:32.488Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-20T01:05:32.704Z] prd-ubuntu20.04-docker-8c-8g-35420 does not seem to be running inside a container [2024-12-20T01:05:32.739Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-12-20T01:05:35.814Z] $ docker top 89a2f5556df9642921f28e5e561f8cb241cd598c573bd5d842b3446208598431 -eo pid,comm [2024-12-20T01:05:35.886Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-12-20T01:05:35.886Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-20T01:05:35.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-20T01:05:35.947Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-20T01:05:36.051Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-20T01:05:36.052Z] $ docker exec 89a2f5556df9642921f28e5e561f8cb241cd598c573bd5d842b3446208598431 ssh-agent [2024-12-20T01:05:36.161Z] SSH_AUTH_SOCK=/tmp/ssh-68wPGsGRykKs/agent.32 [2024-12-20T01:05:36.161Z] SSH_AGENT_PID=38 [2024-12-20T01:05:36.167Z] Running ssh-add (command line suppressed) [2024-12-20T01:05:36.265Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6949577113729929094.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6949577113729929094.key) [2024-12-20T01:05:36.276Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-20T01:05:36.566Z] + git tag --points-at HEAD [Pipeline] } [2024-12-20T01:05:36.577Z] $ docker exec --env ******** --env ******** 89a2f5556df9642921f28e5e561f8cb241cd598c573bd5d842b3446208598431 ssh-agent -k [2024-12-20T01:05:36.678Z] unset SSH_AUTH_SOCK; [2024-12-20T01:05:36.678Z] unset SSH_AGENT_PID; [2024-12-20T01:05:36.678Z] echo Agent pid 38 killed; [2024-12-20T01:05:36.690Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-12-20T01:05:36.735Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-20T01:05:36.735Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-20T01:05:36.839Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-20T01:05:36.840Z] $ docker exec 89a2f5556df9642921f28e5e561f8cb241cd598c573bd5d842b3446208598431 ssh-agent [2024-12-20T01:05:36.946Z] SSH_AUTH_SOCK=/tmp/ssh-6Sej13XJR7J3/agent.72 [2024-12-20T01:05:36.946Z] SSH_AGENT_PID=79 [2024-12-20T01:05:36.950Z] Running ssh-add (command line suppressed) [2024-12-20T01:05:37.043Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1614508779609221976.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1614508779609221976.key) [2024-12-20T01:05:37.059Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-20T01:05:37.348Z] + git semver init [2024-12-20T01:05:37.608Z] 2024-12-20 01:05:37,519 [run_init] DEBUG init version:0.0.0 force:False [2024-12-20T01:05:37.608Z] 2024-12-20 01:05:37,519 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-12-20T01:05:37.608Z] 2024-12-20 01:05:37,520 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-12-20T01:05:37.608Z] 2024-12-20 01:05:37,520 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-12-20T01:05:38.544Z] 2024-12-20 01:05:38,281 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2024-12-20T01:05:38.544Z] 2024-12-20 01:05:38,282 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2024-12-20T01:05:38.544Z] 2024-12-20 01:05:38,282 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-20T01:05:38.544Z] 2024-12-20 01:05:38,282 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-20T01:05:38.544Z] 4.0.0-dev.13 [Pipeline] } [2024-12-20T01:05:38.551Z] $ docker exec --env ******** --env ******** 89a2f5556df9642921f28e5e561f8cb241cd598c573bd5d842b3446208598431 ssh-agent -k [2024-12-20T01:05:38.643Z] unset SSH_AUTH_SOCK; [2024-12-20T01:05:38.644Z] unset SSH_AGENT_PID; [2024-12-20T01:05:38.644Z] echo Agent pid 79 killed; [2024-12-20T01:05:38.654Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-20T01:05:38.973Z] + git semver [Pipeline] } [2024-12-20T01:05:39.240Z] $ docker stop --time=1 89a2f5556df9642921f28e5e561f8cb241cd598c573bd5d842b3446208598431 [2024-12-20T01:05:40.540Z] $ docker rm -f --volumes 89a2f5556df9642921f28e5e561f8cb241cd598c573bd5d842b3446208598431 [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-20T01:05:40.881Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-12-20T01:05:41.104Z] Stashed 1 file(s) [Pipeline] echo [2024-12-20T01:05:41.108Z] [edgeXSemver]: initialized semver on version 4.0.0-dev.13 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-20T01:05:41.356Z] provisioning config files... [Pipeline] // stage [Pipeline] } [2024-12-20T01:05:41.367Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14081263870055986323tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2024-12-20T01:05:41.689Z] ---> ****-login.sh [2024-12-20T01:05:41.689Z] nexus3.edgexfoundry.org:10001 [2024-12-20T01:05:41.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-20T01:05:41.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-20T01:05:41.689Z] Configure a credential helper to remove this warning. See [2024-12-20T01:05:41.689Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-20T01:05:41.689Z] [2024-12-20T01:05:41.689Z] Login Succeeded [2024-12-20T01:05:41.689Z] nexus3.edgexfoundry.org:10002 [2024-12-20T01:05:41.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-20T01:05:41.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-20T01:05:41.689Z] Configure a credential helper to remove this warning. See [2024-12-20T01:05:41.689Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-20T01:05:41.689Z] [2024-12-20T01:05:41.689Z] Login Succeeded [2024-12-20T01:05:41.689Z] nexus3.edgexfoundry.org:10003 [2024-12-20T01:05:41.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-20T01:05:41.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-20T01:05:41.951Z] Configure a credential helper to remove this warning. See [2024-12-20T01:05:41.951Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-20T01:05:41.951Z] [2024-12-20T01:05:41.951Z] Login Succeeded [2024-12-20T01:05:41.951Z] nexus3.edgexfoundry.org:10004 [2024-12-20T01:05:41.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-20T01:05:41.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-20T01:05:41.951Z] Configure a credential helper to remove this warning. See [2024-12-20T01:05:41.951Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-20T01:05:41.951Z] [2024-12-20T01:05:41.951Z] Login Succeeded [2024-12-20T01:05:41.951Z] ****.io [2024-12-20T01:05:42.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-20T01:05:42.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-20T01:05:42.213Z] Configure a credential helper to remove this warning. See [2024-12-20T01:05:42.213Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-20T01:05:42.213Z] [2024-12-20T01:05:42.213Z] Login Succeeded [2024-12-20T01:05:42.213Z] ---> ****-login.sh ends [Pipeline] } [2024-12-20T01:05:42.220Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-12-20T01:05:42.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-20T01:05:42.330Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-12-20T01:05:42.343Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-20T01:05:42.360Z] ========================================================= [2024-12-20T01:05:42.360Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-12-20T01:05:42.360Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-20T01:05:42.684Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2024-12-20T01:05:42.684Z] Sending build context to Docker daemon 5.425MB [2024-12-20T01:05:42.684Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-12-20T01:05:42.684Z] Step 2/22 : FROM ${BASE} as builder [2024-12-20T01:05:42.684Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-12-20T01:05:42.684Z] 96526aa774ef: Pulling fs layer [2024-12-20T01:05:42.684Z] da60e534fd72: Pulling fs layer [2024-12-20T01:05:42.943Z] 96526aa774ef: Download complete [2024-12-20T01:05:42.943Z] 96526aa774ef: Pull complete [2024-12-20T01:05:43.509Z] da60e534fd72: Verifying Checksum [2024-12-20T01:05:43.509Z] da60e534fd72: Download complete [2024-12-20T01:05:46.795Z] da60e534fd72: Pull complete [2024-12-20T01:05:46.795Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-12-20T01:05:46.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-12-20T01:05:46.795Z] ---> 6605166a5db4 [2024-12-20T01:05:46.795Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-12-20T01:05:48.704Z] ---> Running in 857dc37deb47 [2024-12-20T01:05:48.963Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-12-20T01:05:49.222Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-20T01:05:49.223Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-20T01:05:49.223Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-20T01:05:49.482Z] Removing intermediate container 857dc37deb47 [2024-12-20T01:05:49.482Z] ---> 15ae456fbb52 [2024-12-20T01:05:49.482Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-20T01:05:49.742Z] ---> Running in 8a7fdc68faa4 [2024-12-20T01:05:50.313Z] Removing intermediate container 8a7fdc68faa4 [2024-12-20T01:05:50.314Z] ---> 4035df7a60c8 [2024-12-20T01:05:50.314Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev [2024-12-20T01:05:50.314Z] ---> Running in 10fb6db1e06e [2024-12-20T01:05:50.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-20T01:05:50.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-20T01:05:50.834Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-20T01:05:51.403Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-20T01:05:51.403Z] (1/15) Installing libcbor (0.10.2-r1) [2024-12-20T01:05:51.403Z] (2/15) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-20T01:05:52.344Z] (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-20T01:05:52.344Z] (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-20T01:05:52.604Z] (5/15) Installing libcbor-dev (0.10.2-r1) [2024-12-20T01:05:52.604Z] (6/15) Installing libmenuw (6.4_p20230506-r0) [2024-12-20T01:05:52.604Z] (7/15) Installing libpanelw (6.4_p20230506-r0) [2024-12-20T01:05:52.604Z] (8/15) Installing libncurses++ (6.4_p20230506-r0) [2024-12-20T01:05:52.604Z] (9/15) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-20T01:05:52.604Z] (10/15) Installing libblkid (2.38.1-r8) [2024-12-20T01:05:52.604Z] (11/15) Installing libuuid (2.38.1-r8) [2024-12-20T01:05:52.604Z] (12/15) Installing libfdisk (2.38.1-r8) [2024-12-20T01:05:52.604Z] (13/15) Installing libmount (2.38.1-r8) [2024-12-20T01:05:52.604Z] (14/15) Installing libsmartcols (2.38.1-r8) [2024-12-20T01:05:52.604Z] (15/15) Installing util-linux-dev (2.38.1-r8) [2024-12-20T01:05:52.604Z] Executing busybox-1.36.1-r4.trigger [2024-12-20T01:05:52.604Z] OK: 336 MiB in 97 packages [2024-12-20T01:05:53.540Z] Removing intermediate container 10fb6db1e06e [2024-12-20T01:05:53.540Z] ---> 1d36b6d010e6 [2024-12-20T01:05:53.540Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-12-20T01:05:53.540Z] ---> Running in 193291724dac [2024-12-20T01:05:54.110Z] Removing intermediate container 193291724dac [2024-12-20T01:05:54.110Z] ---> 0fe76aa538e7 [2024-12-20T01:05:54.110Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-12-20T01:05:54.110Z] ---> e047b31a3614 [2024-12-20T01:05:54.110Z] Step 8/22 : COPY src /tmp/sdk/src [2024-12-20T01:05:54.370Z] ---> f99b21ff3997 [2024-12-20T01:05:54.370Z] Step 9/22 : COPY include /tmp/sdk/include [2024-12-20T01:05:54.629Z] ---> 6029aa7c3ea6 [2024-12-20T01:05:54.629Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-12-20T01:05:54.629Z] ---> a47d4a036697 [2024-12-20T01:05:54.629Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-12-20T01:05:54.888Z] ---> bf499a73b60d [2024-12-20T01:05:54.888Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-12-20T01:05:54.888Z] ---> b6d6fcfe715a [2024-12-20T01:05:54.888Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-12-20T01:05:54.888Z] ---> Running in cb59a211141a [2024-12-20T01:05:55.146Z] + CPPCHECK=false [2024-12-20T01:05:55.146Z] + DOCGEN=false [2024-12-20T01:05:55.146Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-12-20T01:05:55.146Z] + '[' 0 -gt 0 ] [2024-12-20T01:05:55.146Z] + readlink -f ./scripts/build.sh [2024-12-20T01:05:55.146Z] + dirname /tmp/sdk/scripts/build.sh [2024-12-20T01:05:55.146Z] + dirname /tmp/sdk/scripts [2024-12-20T01:05:55.146Z] + ROOT=/tmp/sdk [2024-12-20T01:05:55.146Z] + cd /tmp/sdk [2024-12-20T01:05:55.146Z] + mkdir -p /tmp/sdk/build/release [2024-12-20T01:05:55.146Z] + cd /tmp/sdk/build/release [2024-12-20T01:05:55.146Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-12-20T01:05:55.146Z] -- The C compiler identification is GNU 12.2.1 [2024-12-20T01:05:55.146Z] -- Detecting C compiler ABI info [2024-12-20T01:05:55.406Z] -- Detecting C compiler ABI info - done [2024-12-20T01:05:55.406Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-20T01:05:55.406Z] -- Detecting C compile features [2024-12-20T01:05:55.406Z] -- Detecting C compile features - done [2024-12-20T01:05:55.406Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-20T01:05:55.406Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-20T01:05:55.406Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-20T01:05:55.406Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-20T01:05:55.406Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-20T01:05:55.406Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-20T01:05:55.406Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-20T01:05:55.406Z] -- /opt/iotech/iot/1.5/include [2024-12-20T01:05:55.406Z] -- C SDK 0.0.0 for Linux [2024-12-20T01:05:55.406Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-20T01:05:55.666Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-20T01:05:55.666Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-20T01:05:55.666Z] -- Configuring done (0.4s) [2024-12-20T01:05:55.666Z] -- Generating done (0.0s) [2024-12-20T01:05:55.666Z] -- Build files have been written to: /tmp/sdk/build/release [2024-12-20T01:05:55.666Z] + make all package [2024-12-20T01:05:55.666Z] + tee release.log [2024-12-20T01:05:55.666Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-20T01:05:55.924Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-20T01:05:55.924Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-20T01:05:56.184Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-20T01:05:56.184Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-20T01:05:56.443Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-20T01:05:56.443Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-20T01:05:56.702Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-20T01:05:56.962Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-20T01:05:56.962Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-20T01:05:57.222Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-20T01:05:57.222Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-20T01:05:57.492Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-20T01:05:57.492Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-20T01:05:57.752Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-20T01:05:58.011Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-20T01:05:58.011Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-12-20T01:05:58.011Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2024-12-20T01:05:58.011Z] from /tmp/sdk/src/c/registry.h:14, [2024-12-20T01:05:58.011Z] from /tmp/sdk/src/c/registry-impl.h:12, [2024-12-20T01:05:58.011Z] from /tmp/sdk/src/c/keeper.h:12, [2024-12-20T01:05:58.011Z] from /tmp/sdk/src/c/keeper.c:1: [2024-12-20T01:05:58.011Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2024-12-20T01:05:58.011Z] /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2024-12-20T01:05:58.011Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-20T01:05:58.011Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-20T01:05:58.011Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-20T01:05:58.011Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-20T01:05:58.011Z] | ^~~~~~~~~~~ [2024-12-20T01:05:58.011Z] /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here [2024-12-20T01:05:58.011Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-20T01:05:58.011Z] | ~^ [2024-12-20T01:05:58.011Z] | | [2024-12-20T01:05:58.011Z] | char * [2024-12-20T01:05:58.271Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-20T01:05:58.531Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-20T01:05:58.531Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2024-12-20T01:05:58.791Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-20T01:05:59.729Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-20T01:05:59.729Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-20T01:05:59.729Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-20T01:05:59.988Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-20T01:05:59.988Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-20T01:06:00.246Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-20T01:06:00.505Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-20T01:06:00.767Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-20T01:06:00.767Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-20T01:06:00.767Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-20T01:06:01.025Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-20T01:06:01.025Z] /tmp/sdk/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-20T01:06:01.025Z] 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-12-20T01:06:01.025Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-20T01:06:01.025Z] /tmp/sdk/src/c/service.c:875:21: note: 'deviceservices_config' was declared here [2024-12-20T01:06:01.025Z] 875 | const iot_data_t *deviceservices_config; [2024-12-20T01:06:01.025Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-20T01:06:01.284Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-20T01:06:01.284Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-20T01:06:01.543Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-20T01:06:01.543Z] [ 68%] Linking C shared library libcsdk.so [2024-12-20T01:06:01.543Z] [ 68%] Built target csdk [2024-12-20T01:06:01.543Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-20T01:06:01.803Z] [ 72%] Linking C executable template [2024-12-20T01:06:01.803Z] [ 72%] Built target template [2024-12-20T01:06:01.803Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-20T01:06:01.803Z] [ 76%] Linking C executable device-counter [2024-12-20T01:06:02.062Z] [ 76%] Built target device-counter [2024-12-20T01:06:02.062Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-20T01:06:02.062Z] [ 80%] Linking C executable device-random [2024-12-20T01:06:02.062Z] [ 80%] Built target device-random [2024-12-20T01:06:02.062Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-20T01:06:02.321Z] [ 84%] Linking C executable device-gyro [2024-12-20T01:06:02.321Z] [ 84%] Built target device-gyro [2024-12-20T01:06:02.321Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-20T01:06:02.321Z] [ 88%] Linking C executable device-bitfields [2024-12-20T01:06:02.581Z] [ 88%] Built target device-bitfields [2024-12-20T01:06:02.581Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-20T01:06:02.581Z] [ 92%] Linking C executable template-discovery [2024-12-20T01:06:02.581Z] [ 92%] Built target template-discovery [2024-12-20T01:06:02.581Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-20T01:06:02.840Z] [ 96%] Linking C executable device-file [2024-12-20T01:06:02.840Z] [ 96%] Built target device-file [2024-12-20T01:06:02.840Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-20T01:06:03.101Z] [100%] Linking C executable device-terminal [2024-12-20T01:06:03.101Z] [100%] Built target device-terminal [2024-12-20T01:06:03.101Z] Run CPack packaging tool... [2024-12-20T01:06:03.101Z] CPack: Create package using TGZ [2024-12-20T01:06:03.101Z] CPack: Install projects [2024-12-20T01:06:03.101Z] CPack: - Run preinstall target for: Csdk [2024-12-20T01:06:03.359Z] CPack: - Install project: Csdk [] [2024-12-20T01:06:03.359Z] CPack: Create package [2024-12-20T01:06:03.359Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-12-20T01:06:03.359Z] + '[' false '=' true ] [2024-12-20T01:06:03.359Z] + '[' false '=' true ] [2024-12-20T01:06:03.359Z] + mkdir -p /tmp/sdk/build/debug [2024-12-20T01:06:03.359Z] + cd /tmp/sdk/build/debug [2024-12-20T01:06:03.359Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-12-20T01:06:03.359Z] -- The C compiler identification is GNU 12.2.1 [2024-12-20T01:06:03.359Z] -- Detecting C compiler ABI info [2024-12-20T01:06:03.618Z] -- Detecting C compiler ABI info - done [2024-12-20T01:06:03.618Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-20T01:06:03.618Z] -- Detecting C compile features [2024-12-20T01:06:03.618Z] -- Detecting C compile features - done [2024-12-20T01:06:03.618Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-20T01:06:03.618Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-20T01:06:03.618Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-20T01:06:03.618Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-20T01:06:03.618Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-20T01:06:03.618Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-20T01:06:03.618Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-20T01:06:03.618Z] -- /opt/iotech/iot/1.5/include [2024-12-20T01:06:03.618Z] -- C SDK 0.0.0 for Linux [2024-12-20T01:06:03.618Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-20T01:06:03.618Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-20T01:06:03.878Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-20T01:06:03.878Z] -- Configuring done (0.4s) [2024-12-20T01:06:03.878Z] -- Generating done (0.0s) [2024-12-20T01:06:03.878Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-12-20T01:06:03.878Z] + make [2024-12-20T01:06:03.878Z] + tee debug.log [2024-12-20T01:06:03.878Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-20T01:06:03.878Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-20T01:06:04.137Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-20T01:06:04.137Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-20T01:06:04.137Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-20T01:06:04.395Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-20T01:06:04.395Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-20T01:06:04.395Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-20T01:06:04.653Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-20T01:06:04.653Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-20T01:06:04.653Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-20T01:06:04.653Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-20T01:06:04.911Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-20T01:06:04.911Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-20T01:06:04.911Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-20T01:06:05.170Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-20T01:06:05.170Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-12-20T01:06:05.170Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2024-12-20T01:06:05.170Z] from /tmp/sdk/src/c/registry.h:14, [2024-12-20T01:06:05.170Z] from /tmp/sdk/src/c/registry-impl.h:12, [2024-12-20T01:06:05.170Z] from /tmp/sdk/src/c/keeper.h:12, [2024-12-20T01:06:05.170Z] from /tmp/sdk/src/c/keeper.c:1: [2024-12-20T01:06:05.170Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2024-12-20T01:06:05.170Z] /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2024-12-20T01:06:05.170Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-20T01:06:05.170Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-20T01:06:05.170Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-20T01:06:05.170Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-20T01:06:05.170Z] | ^~~~~~~~~~~ [2024-12-20T01:06:05.170Z] /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here [2024-12-20T01:06:05.170Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-20T01:06:05.170Z] | ~^ [2024-12-20T01:06:05.170Z] | | [2024-12-20T01:06:05.170Z] | char * [2024-12-20T01:06:05.170Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-20T01:06:05.170Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-20T01:06:05.428Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2024-12-20T01:06:05.428Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-20T01:06:05.686Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-20T01:06:05.686Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-20T01:06:05.686Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-20T01:06:05.686Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-20T01:06:05.943Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-20T01:06:05.943Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-20T01:06:06.201Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-20T01:06:06.201Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-20T01:06:06.201Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-20T01:06:06.460Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-20T01:06:06.460Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-20T01:06:06.460Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-20T01:06:06.718Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-20T01:06:06.718Z] [ 68%] Linking C shared library libcsdk.so [2024-12-20T01:06:06.718Z] [ 68%] Built target csdk [2024-12-20T01:06:06.718Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-20T01:06:06.718Z] [ 72%] Linking C executable template [2024-12-20T01:06:06.976Z] [ 72%] Built target template [2024-12-20T01:06:06.976Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-20T01:06:06.976Z] [ 76%] Linking C executable device-counter [2024-12-20T01:06:06.976Z] [ 76%] Built target device-counter [2024-12-20T01:06:06.976Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-20T01:06:06.976Z] [ 80%] Linking C executable device-random [2024-12-20T01:06:07.234Z] [ 80%] Built target device-random [2024-12-20T01:06:07.234Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-20T01:06:07.234Z] [ 84%] Linking C executable device-gyro [2024-12-20T01:06:07.234Z] [ 84%] Built target device-gyro [2024-12-20T01:06:07.234Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-20T01:06:07.492Z] [ 88%] Linking C executable device-bitfields [2024-12-20T01:06:07.492Z] [ 88%] Built target device-bitfields [2024-12-20T01:06:07.492Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-20T01:06:07.492Z] [ 92%] Linking C executable template-discovery [2024-12-20T01:06:07.492Z] [ 92%] Built target template-discovery [2024-12-20T01:06:07.492Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-20T01:06:07.749Z] [ 96%] Linking C executable device-file [2024-12-20T01:06:07.749Z] [ 96%] Built target device-file [2024-12-20T01:06:07.749Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-20T01:06:07.749Z] [100%] Linking C executable device-terminal [2024-12-20T01:06:08.008Z] [100%] Built target device-terminal [2024-12-20T01:06:08.008Z] make: Entering directory '/tmp/sdk/build/release' [2024-12-20T01:06:08.008Z] [ 68%] Built target csdk [2024-12-20T01:06:08.008Z] [ 72%] Built target template [2024-12-20T01:06:08.008Z] [ 76%] Built target device-counter [2024-12-20T01:06:08.008Z] [ 80%] Built target device-random [2024-12-20T01:06:08.008Z] [ 84%] Built target device-gyro [2024-12-20T01:06:08.008Z] [ 88%] Built target device-bitfields [2024-12-20T01:06:08.008Z] [ 92%] Built target template-discovery [2024-12-20T01:06:08.008Z] [ 96%] Built target device-file [2024-12-20T01:06:08.008Z] [100%] Built target device-terminal [2024-12-20T01:06:08.008Z] Install the project... [2024-12-20T01:06:08.008Z] -- Install configuration: "Release" [2024-12-20T01:06:08.008Z] -- Installing: /usr/local/lib/libcsdk.so [2024-12-20T01:06:08.008Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-12-20T01:06:08.008Z] -- Installing: /usr/local/include [2024-12-20T01:06:08.008Z] -- Installing: /usr/local/include/devsdk [2024-12-20T01:06:08.008Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-12-20T01:06:08.008Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-12-20T01:06:08.008Z] -- Installing: /usr/local/include/edgex [2024-12-20T01:06:08.008Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-12-20T01:06:08.008Z] -- Installing: /usr/local/include/edgex/devices.h [2024-12-20T01:06:08.008Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-12-20T01:06:08.008Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-12-20T01:06:08.008Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-12-20T01:06:08.008Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-12-20T01:06:08.008Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-12-20T01:06:08.008Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-12-20T01:06:08.008Z] make: Leaving directory '/tmp/sdk/build/release' [2024-12-20T01:06:08.950Z] Removing intermediate container cb59a211141a [2024-12-20T01:06:08.950Z] ---> 2b7e141687b3 [2024-12-20T01:06:08.950Z] Step 14/22 : FROM ${BASE} [2024-12-20T01:06:08.950Z] ---> 6605166a5db4 [2024-12-20T01:06:08.950Z] Step 15/22 : LABEL maintainer="IOTech " [2024-12-20T01:06:08.950Z] ---> Running in d4ce926ec49e [2024-12-20T01:06:08.950Z] Removing intermediate container d4ce926ec49e [2024-12-20T01:06:08.950Z] ---> ca3e0fe343c6 [2024-12-20T01:06:08.950Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-12-20T01:06:08.950Z] ---> Running in e2fb5bef37c3 [2024-12-20T01:06:09.210Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-12-20T01:06:09.792Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-20T01:06:09.792Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-20T01:06:09.792Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-20T01:06:10.725Z] Removing intermediate container e2fb5bef37c3 [2024-12-20T01:06:10.725Z] ---> b835f552e77a [2024-12-20T01:06:10.725Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-20T01:06:10.725Z] ---> Running in 2ad707ab182d [2024-12-20T01:06:12.102Z] Removing intermediate container 2ad707ab182d [2024-12-20T01:06:12.102Z] ---> 70ad9091ec20 [2024-12-20T01:06:12.102Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 dumb-init [2024-12-20T01:06:12.102Z] ---> Running in 1a63d7f57c38 [2024-12-20T01:06:12.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-20T01:06:12.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-20T01:06:12.995Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-20T01:06:13.563Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-20T01:06:13.563Z] (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-12-20T01:06:13.563Z] (2/8) Installing curl (8.9.1-r1) [2024-12-20T01:06:13.563Z] (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-12-20T01:06:13.563Z] (4/8) Installing dumb-init (1.2.5-r2) [2024-12-20T01:06:13.563Z] (5/8) Installing libcbor (0.10.2-r1) [2024-12-20T01:06:13.563Z] (6/8) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-20T01:06:14.131Z] (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-20T01:06:14.390Z] (8/8) Installing libuuid (2.38.1-r8) [2024-12-20T01:06:14.390Z] Executing busybox-1.36.1-r4.trigger [2024-12-20T01:06:14.390Z] OK: 331 MiB in 88 packages [2024-12-20T01:06:14.959Z] Removing intermediate container 1a63d7f57c38 [2024-12-20T01:06:14.959Z] ---> 1cfed1d93199 [2024-12-20T01:06:14.959Z] Step 19/22 : RUN apk --no-cache upgrade [2024-12-20T01:06:14.959Z] ---> Running in a5d982d7773f [2024-12-20T01:06:15.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-20T01:06:15.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-20T01:06:15.479Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-20T01:06:16.048Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-20T01:06:16.048Z] Upgrading critical system libraries and apk-tools: [2024-12-20T01:06:16.048Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-12-20T01:06:16.048Z] Executing busybox-1.36.1-r4.trigger [2024-12-20T01:06:16.048Z] Continuing the upgrade transaction with new apk-tools: [2024-12-20T01:06:16.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-20T01:06:16.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-20T01:06:16.308Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-20T01:06:16.877Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-20T01:06:16.877Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-12-20T01:06:16.877Z] Executing busybox-1.36.1-r7.post-upgrade [2024-12-20T01:06:16.877Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-12-20T01:06:16.877Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-12-20T01:06:16.877Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-20T01:06:16.877Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-20T01:06:16.877Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-12-20T01:06:16.877Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-12-20T01:06:16.877Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-12-20T01:06:16.877Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-12-20T01:06:16.877Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-12-20T01:06:16.877Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-12-20T01:06:16.877Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-12-20T01:06:17.137Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-12-20T01:06:17.137Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-12-20T01:06:17.137Z] Executing busybox-1.36.1-r7.trigger [2024-12-20T01:06:17.137Z] Executing ca-certificates-20240226-r0.trigger [2024-12-20T01:06:17.137Z] OK: 331 MiB in 88 packages [2024-12-20T01:06:18.091Z] Removing intermediate container a5d982d7773f [2024-12-20T01:06:18.091Z] ---> aff11a997ae8 [2024-12-20T01:06:18.091Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-12-20T01:06:18.350Z] ---> b2c7c37b1414 [2024-12-20T01:06:18.350Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-12-20T01:06:18.350Z] ---> cdd271d63a64 [2024-12-20T01:06:18.350Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-12-20T01:06:18.610Z] ---> f290acd53863 [2024-12-20T01:06:18.610Z] Successfully built f290acd53863 [2024-12-20T01:06:18.610Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-20T01:06:19.007Z] + docker inspect -f . ci-base-image-x86_64 [2024-12-20T01:06:19.007Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-20T01:06:19.087Z] prd-ubuntu20.04-docker-8c-8g-35420 does not seem to be running inside a container [2024-12-20T01:06:19.117Z] $ 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 ******** ci-base-image-x86_64 cat [2024-12-20T01:06:19.498Z] $ docker top a242a9681e7f5b9efc39b8f4b78b3467e0f7d6f9a9e633035b3bbb05bcf33beb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-20T01:06:19.855Z] + make test [2024-12-20T01:06:19.855Z] echo "make test" [2024-12-20T01:06:19.855Z] make test [Pipeline] } [2024-12-20T01:06:19.864Z] $ docker stop --time=1 a242a9681e7f5b9efc39b8f4b78b3467e0f7d6f9a9e633035b3bbb05bcf33beb [2024-12-20T01:06:21.127Z] $ docker rm -f --volumes a242a9681e7f5b9efc39b8f4b78b3467e0f7d6f9a9e633035b3bbb05bcf33beb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-12-20T01:06:21.680Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-12-20T01:06:21.969Z] + ls -al . [2024-12-20T01:06:21.969Z] total 212 [2024-12-20T01:06:21.969Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 20 01:05 . [2024-12-20T01:06:21.969Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 01:05 .. [2024-12-20T01:06:21.969Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 20 01:05 .git [2024-12-20T01:06:21.969Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 01:05 .github [2024-12-20T01:06:21.969Z] -rw-rw-r-- 1 jenkins jenkins 176 Dec 20 01:05 .gitignore [2024-12-20T01:06:21.969Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 20 01:05 .semver [2024-12-20T01:06:21.969Z] -rw-rw-r-- 1 jenkins jenkins 2908 Dec 20 01:05 Attribution.txt [2024-12-20T01:06:21.969Z] -rw-rw-r-- 1 jenkins jenkins 11953 Dec 20 01:05 CHANGELOG.md [2024-12-20T01:06:21.969Z] -rw-rw-r-- 1 jenkins jenkins 108574 Dec 20 01:05 Doxyfile [2024-12-20T01:06:21.969Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 20 01:05 GOVERNANCE.md [2024-12-20T01:06:21.969Z] -rw-rw-r-- 1 jenkins jenkins 784 Dec 20 01:05 Jenkinsfile [2024-12-20T01:06:21.969Z] -rw-rw-r-- 1 jenkins jenkins 10174 Dec 20 01:05 LICENSE [2024-12-20T01:06:21.969Z] -rw-rw-r-- 1 jenkins jenkins 444 Dec 20 01:05 Makefile [2024-12-20T01:06:21.969Z] -rw-rw-r-- 1 jenkins jenkins 618 Dec 20 01:05 OWNERS.md [2024-12-20T01:06:21.969Z] -rw-rw-r-- 1 jenkins jenkins 1651 Dec 20 01:05 README.IOT.md [2024-12-20T01:06:21.969Z] -rw-rw-r-- 1 jenkins jenkins 4173 Dec 20 01:05 README.md [2024-12-20T01:06:21.969Z] -rw-rw-r-- 1 jenkins jenkins 1245 Dec 20 01:05 README.v3.md [2024-12-20T01:06:21.969Z] -rw-rw-r-- 1 jenkins jenkins 12 Dec 20 01:05 VERSION [2024-12-20T01:06:21.969Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 01:05 docs [2024-12-20T01:06:21.969Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 01:05 include [2024-12-20T01:06:21.969Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 01:05 scripts [2024-12-20T01:06:21.969Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 01:05 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-20T01:06:22.297Z] + 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=8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151 --label arch=amd64 --label version=4.0.0-dev.13 . [2024-12-20T01:06:22.297Z] Sending build context to Docker daemon 5.425MB [2024-12-20T01:06:22.297Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-12-20T01:06:22.297Z] Step 2/18 : FROM ${BASE} [2024-12-20T01:06:22.297Z] ---> f290acd53863 [2024-12-20T01:06:22.297Z] Step 3/18 : LABEL maintainer="IOTech " [2024-12-20T01:06:22.297Z] ---> Running in 15ed22a1cd98 [2024-12-20T01:06:22.298Z] Removing intermediate container 15ed22a1cd98 [2024-12-20T01:06:22.298Z] ---> 09963051acd1 [2024-12-20T01:06:22.298Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-12-20T01:06:22.298Z] ---> Running in 97b3a7e22a2e [2024-12-20T01:06:22.557Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-12-20T01:06:23.126Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-20T01:06:23.126Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-20T01:06:23.126Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-20T01:06:23.386Z] Removing intermediate container 97b3a7e22a2e [2024-12-20T01:06:23.386Z] ---> 0aa6c31e95bf [2024-12-20T01:06:23.386Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-20T01:06:23.386Z] ---> Running in 5b85bc6c2815 [2024-12-20T01:06:23.964Z] Removing intermediate container 5b85bc6c2815 [2024-12-20T01:06:23.964Z] ---> 3ef6b740a626 [2024-12-20T01:06:23.964Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-12-20T01:06:23.964Z] ---> Running in 70ebaf0e1068 [2024-12-20T01:06:24.223Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-20T01:06:24.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-20T01:06:24.483Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-20T01:06:25.050Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-20T01:06:25.050Z] (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-20T01:06:25.312Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-12-20T01:06:25.312Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-12-20T01:06:25.312Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-12-20T01:06:25.312Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-12-20T01:06:25.312Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-20T01:06:25.312Z] (7/11) Installing libblkid (2.38.1-r8) [2024-12-20T01:06:25.312Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-12-20T01:06:25.312Z] (9/11) Installing libmount (2.38.1-r8) [2024-12-20T01:06:25.312Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-12-20T01:06:25.312Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-12-20T01:06:25.312Z] Executing busybox-1.36.1-r7.trigger [2024-12-20T01:06:25.312Z] OK: 336 MiB in 99 packages [2024-12-20T01:06:26.257Z] Removing intermediate container 70ebaf0e1068 [2024-12-20T01:06:26.257Z] ---> c80d83641df3 [2024-12-20T01:06:26.257Z] Step 7/18 : RUN apk --no-cache upgrade [2024-12-20T01:06:26.257Z] ---> Running in 652c96a00fb3 [2024-12-20T01:06:26.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-20T01:06:26.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-20T01:06:26.777Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-20T01:06:27.346Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-20T01:06:27.346Z] OK: 336 MiB in 99 packages [2024-12-20T01:06:27.604Z] Removing intermediate container 652c96a00fb3 [2024-12-20T01:06:27.604Z] ---> b942bddc0d5b [2024-12-20T01:06:27.604Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-12-20T01:06:27.863Z] ---> 35014a75e562 [2024-12-20T01:06:27.863Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-12-20T01:06:27.863Z] ---> 33b8376db66e [2024-12-20T01:06:27.863Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-12-20T01:06:28.123Z] ---> efa4e1e3ee03 [2024-12-20T01:06:28.123Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-12-20T01:06:28.123Z] ---> 3799cb08e1c1 [2024-12-20T01:06:28.123Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-12-20T01:06:28.384Z] ---> 10717c461c4b [2024-12-20T01:06:28.384Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-12-20T01:06:28.384Z] ---> b82ae6e07bf8 [2024-12-20T01:06:28.384Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-12-20T01:06:28.384Z] ---> Running in 15832e57bd6b [2024-12-20T01:06:28.384Z] Removing intermediate container 15832e57bd6b [2024-12-20T01:06:28.384Z] ---> 8c060ae3b173 [2024-12-20T01:06:28.384Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-12-20T01:06:28.644Z] ---> Running in b05134ee82f5 [2024-12-20T01:06:28.644Z] Removing intermediate container b05134ee82f5 [2024-12-20T01:06:28.644Z] ---> 8614e9909848 [2024-12-20T01:06:28.644Z] Step 16/18 : LABEL arch=amd64 [2024-12-20T01:06:28.644Z] ---> Running in 83d16119e3dd [2024-12-20T01:06:28.644Z] Removing intermediate container 83d16119e3dd [2024-12-20T01:06:28.644Z] ---> 2fe6b0511afb [2024-12-20T01:06:28.644Z] Step 17/18 : LABEL git_sha=8b7a811caa8c4c30c104a130aeb3a7ff4cfa5151 [2024-12-20T01:06:28.644Z] ---> Running in de83e799f369 [2024-12-20T01:06:28.644Z] Removing intermediate container de83e799f369 [2024-12-20T01:06:28.644Z] ---> 471ba101f392 [2024-12-20T01:06:28.644Z] Step 18/18 : LABEL version=4.0.0-dev.13 [2024-12-20T01:06:28.903Z] ---> Running in 36844cebe61f [2024-12-20T01:06:28.903Z] Removing intermediate container 36844cebe61f [2024-12-20T01:06:28.903Z] ---> 885c594fc5f6 [2024-12-20T01:06:28.903Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-12-20T01:06:28.903Z] Successfully built 885c594fc5f6 [2024-12-20T01:06:28.903Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-20T01:06:29.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-20T01:06:29.399Z] [2024-12-20T01:06:29.399Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-20T01:06:29.703Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-20T01:06:29.703Z] latest: Pulling from edgex-lftools-log-publisher [2024-12-20T01:06:29.703Z] 5eb5b503b376: Pulling fs layer [2024-12-20T01:06:29.703Z] 5c69ac0246d0: Pulling fs layer [2024-12-20T01:06:29.703Z] ec43610c2a17: Pulling fs layer [2024-12-20T01:06:29.703Z] 3a2ae6a8a46f: Pulling fs layer [2024-12-20T01:06:29.703Z] 33b1e0a273af: Pulling fs layer [2024-12-20T01:06:29.703Z] 5d3b04190fa2: Pulling fs layer [2024-12-20T01:06:29.703Z] 2f39f015ded8: Pulling fs layer [2024-12-20T01:06:29.703Z] 3a2ae6a8a46f: Waiting [2024-12-20T01:06:29.703Z] 33b1e0a273af: Waiting [2024-12-20T01:06:29.703Z] 5d3b04190fa2: Waiting [2024-12-20T01:06:29.703Z] 2f39f015ded8: Waiting [2024-12-20T01:06:29.703Z] 5c69ac0246d0: Download complete [2024-12-20T01:06:29.703Z] 3a2ae6a8a46f: Download complete [2024-12-20T01:06:29.703Z] 33b1e0a273af: Verifying Checksum [2024-12-20T01:06:29.703Z] 33b1e0a273af: Download complete [2024-12-20T01:06:29.703Z] ec43610c2a17: Verifying Checksum [2024-12-20T01:06:29.703Z] ec43610c2a17: Download complete [2024-12-20T01:06:29.703Z] 5d3b04190fa2: Verifying Checksum [2024-12-20T01:06:29.703Z] 5d3b04190fa2: Download complete [2024-12-20T01:06:29.968Z] 5eb5b503b376: Verifying Checksum [2024-12-20T01:06:29.968Z] 5eb5b503b376: Download complete [2024-12-20T01:06:30.534Z] 2f39f015ded8: Download complete [2024-12-20T01:06:31.099Z] 5eb5b503b376: Pull complete [2024-12-20T01:06:31.358Z] 5c69ac0246d0: Pull complete [2024-12-20T01:06:31.621Z] ec43610c2a17: Pull complete [2024-12-20T01:06:31.880Z] 3a2ae6a8a46f: Pull complete [2024-12-20T01:06:31.880Z] 33b1e0a273af: Pull complete [2024-12-20T01:06:32.138Z] 5d3b04190fa2: Pull complete [2024-12-20T01:06:36.324Z] 2f39f015ded8: Pull complete [2024-12-20T01:06:36.324Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-12-20T01:06:36.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-20T01:06:36.324Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-20T01:06:36.433Z] prd-ubuntu20.04-docker-8c-8g-35420 does not seem to be running inside a container [2024-12-20T01:06:36.462Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-12-20T01:06:40.641Z] $ docker top 147b6336451d646a26fca7bc042f08d8d3ec71b731de2ac3572bb5711b8a6d23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-20T01:06:41.036Z] ---> job-cost.sh [2024-12-20T01:06:41.036Z] lf-activate-venv: SKIPPING [2024-12-20T01:06:41.036Z] INFO: No Stack... [2024-12-20T01:06:41.295Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-20T01:06:41.554Z] INFO: Archiving Costs [Pipeline] sh [2024-12-20T01:06:41.846Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2024-12-20T01:06:41.846Z] + cut -d, -f6 [Pipeline] lock [2024-12-20T01:06:41.864Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-90-stack-cost] [2024-12-20T01:06:41.871Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-90-stack-cost] did not exist. Created. [2024-12-20T01:06:41.878Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-90-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-12-20T01:06:42.198Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-12-20T01:06:42.255Z] Stashed 1 file(s) [Pipeline] } [2024-12-20T01:06:42.266Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-90-stack-cost] [Pipeline] // lock [Pipeline] } [2024-12-20T01:06:42.295Z] $ docker stop --time=1 147b6336451d646a26fca7bc042f08d8d3ec71b731de2ac3572bb5711b8a6d23 [2024-12-20T01:06:43.465Z] $ docker rm -f --volumes 147b6336451d646a26fca7bc042f08d8d3ec71b731de2ac3572bb5711b8a6d23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2024-12-20T01:06:44.038Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-20T01:06:44.038Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-20T01:06:44.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-20T01:06:44.355Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-20T01:06:44.436Z] prd-ubuntu20.04-docker-8c-8g-35420 does not seem to be running inside a container [2024-12-20T01:06:44.461Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-12-20T01:06:44.829Z] $ docker top 0003962c3d016cdb723d149b8793b3ff7874ea5cf9c8c853bb7c459d09e5ce95 -eo pid,comm [2024-12-20T01:06:44.881Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-12-20T01:06:44.881Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-20T01:06:44.937Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-20T01:06:44.937Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-20T01:06:45.057Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-20T01:06:45.059Z] $ docker exec 0003962c3d016cdb723d149b8793b3ff7874ea5cf9c8c853bb7c459d09e5ce95 ssh-agent [2024-12-20T01:06:45.178Z] SSH_AUTH_SOCK=/tmp/ssh-fJqhvyv0SgcW/agent.33 [2024-12-20T01:06:45.178Z] SSH_AGENT_PID=39 [2024-12-20T01:06:45.183Z] Running ssh-add (command line suppressed) [2024-12-20T01:06:45.307Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17863255598669171520.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17863255598669171520.key) [2024-12-20T01:06:45.322Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-20T01:06:45.621Z] + git semver tag [2024-12-20T01:06:45.880Z] 2024-12-20 01:06:45,809 [run_tag] DEBUG tag force:False [2024-12-20T01:06:45.880Z] 2024-12-20 01:06:45,809 [check_head_tag] DEBUG check head tag [2024-12-20T01:06:45.880Z] 2024-12-20 01:06:45,810 [execute] INFO git cat-file --batch-check [2024-12-20T01:06:45.880Z] 2024-12-20 01:06:45,810 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-12-20T01:06:45.880Z] 2024-12-20 01:06:45,814 [execute] INFO git cat-file --batch [2024-12-20T01:06:45.880Z] 2024-12-20 01:06:45,814 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-12-20T01:06:45.880Z] 2024-12-20 01:06:45,830 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-20T01:06:45.880Z] 2024-12-20 01:06:45,830 [execute] INFO git tag -a v4.0.0-dev.13 -m v4.0.0-dev.13 [2024-12-20T01:06:45.880Z] 2024-12-20 01:06:45,831 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.13', '-m', 'v4.0.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-12-20T01:06:45.880Z] 2024-12-20 01:06:45,836 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-20T01:06:45.880Z] 4.0.0-dev.13 [Pipeline] } [2024-12-20T01:06:45.888Z] $ docker exec --env ******** --env ******** 0003962c3d016cdb723d149b8793b3ff7874ea5cf9c8c853bb7c459d09e5ce95 ssh-agent -k [2024-12-20T01:06:45.994Z] unset SSH_AUTH_SOCK; [2024-12-20T01:06:45.995Z] unset SSH_AGENT_PID; [2024-12-20T01:06:45.995Z] echo Agent pid 39 killed; [2024-12-20T01:06:46.009Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-20T01:06:46.333Z] + git semver [Pipeline] } [2024-12-20T01:06:46.606Z] $ docker stop --time=1 0003962c3d016cdb723d149b8793b3ff7874ea5cf9c8c853bb7c459d09e5ce95 [2024-12-20T01:06:47.855Z] $ docker rm -f --volumes 0003962c3d016cdb723d149b8793b3ff7874ea5cf9c8c853bb7c459d09e5ce95 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-20T01:06:48.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-20T01:06:48.269Z] [2024-12-20T01:06:48.269Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-20T01:06:48.574Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-20T01:06:48.574Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-12-20T01:06:48.574Z] ab5ef0e58194: Pulling fs layer [2024-12-20T01:06:48.574Z] 9712f1f96733: Pulling fs layer [2024-12-20T01:06:48.574Z] 63f879dbbcfc: Pulling fs layer [2024-12-20T01:06:48.574Z] 0d9ebad4ef96: Pulling fs layer [2024-12-20T01:06:48.574Z] e9a5061849ea: Pulling fs layer [2024-12-20T01:06:48.574Z] d747dcd14b5f: Pulling fs layer [2024-12-20T01:06:48.574Z] 2de7ff778b66: Pulling fs layer [2024-12-20T01:06:48.574Z] 0d9ebad4ef96: Waiting [2024-12-20T01:06:48.574Z] d747dcd14b5f: Waiting [2024-12-20T01:06:48.574Z] e9a5061849ea: Waiting [2024-12-20T01:06:48.574Z] 9712f1f96733: Verifying Checksum [2024-12-20T01:06:48.574Z] 9712f1f96733: Download complete [2024-12-20T01:06:48.834Z] 63f879dbbcfc: Verifying Checksum [2024-12-20T01:06:48.834Z] 63f879dbbcfc: Download complete [2024-12-20T01:06:49.093Z] e9a5061849ea: Verifying Checksum [2024-12-20T01:06:49.093Z] e9a5061849ea: Download complete [2024-12-20T01:06:49.093Z] d747dcd14b5f: Verifying Checksum [2024-12-20T01:06:49.093Z] d747dcd14b5f: Download complete [2024-12-20T01:06:49.093Z] 0d9ebad4ef96: Verifying Checksum [2024-12-20T01:06:49.093Z] 0d9ebad4ef96: Download complete [2024-12-20T01:06:49.093Z] ab5ef0e58194: Download complete [2024-12-20T01:06:49.093Z] 2de7ff778b66: Verifying Checksum [2024-12-20T01:06:49.093Z] 2de7ff778b66: Download complete [2024-12-20T01:06:51.625Z] ab5ef0e58194: Pull complete [2024-12-20T01:06:51.625Z] 9712f1f96733: Pull complete [2024-12-20T01:06:52.558Z] 63f879dbbcfc: Pull complete [2024-12-20T01:06:56.748Z] 0d9ebad4ef96: Pull complete [2024-12-20T01:06:56.748Z] e9a5061849ea: Pull complete [2024-12-20T01:06:56.748Z] d747dcd14b5f: Pull complete [2024-12-20T01:06:57.685Z] 2de7ff778b66: Pull complete [2024-12-20T01:06:57.685Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-12-20T01:06:57.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-20T01:06:57.685Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-20T01:06:57.789Z] prd-ubuntu20.04-docker-8c-8g-35420 does not seem to be running inside a container [2024-12-20T01:06:57.823Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-12-20T01:07:03.765Z] $ docker top 2873afeac31dcf4c0a808216a66cfa87121dc88897e6017c4f171afc1e348a05 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-12-20T01:07:03.842Z] provisioning config files... [2024-12-20T01:07:03.863Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15006971608349203662tmp [2024-12-20T01:07:03.890Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17554693232739703028tmp [2024-12-20T01:07:03.903Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config892500369493509263tmp [Pipeline] { [Pipeline] echo [2024-12-20T01:07:04.019Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-20T01:07:04.358Z] ---> sigul-configuration.sh [2024-12-20T01:07:04.358Z] gpg: directory `/root/.gnupg' created [2024-12-20T01:07:04.358Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-12-20T01:07:04.358Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-12-20T01:07:04.358Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-12-20T01:07:04.359Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-12-20T01:07:04.359Z] gpg: CAST5 encrypted data [2024-12-20T01:07:04.359Z] gpg: encrypted with 1 passphrase [2024-12-20T01:07:04.359Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-12-20T01:07:04.663Z] + mkdir /home/jenkins [2024-12-20T01:07:04.663Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-12-20T01:07:04.962Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2024-12-20T01:07:04.978Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-20T01:07:05.275Z] ---> sigul-install.sh [2024-12-20T01:07:05.275Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-12-20T01:07:05.574Z] + git tag --list [2024-12-20T01:07:05.574Z] 0.7.0 [2024-12-20T01:07:05.574Z] 0.7.1 [2024-12-20T01:07:05.574Z] 1.0.0 [2024-12-20T01:07:05.574Z] v1.0.1 [2024-12-20T01:07:05.574Z] v1.0.2 [2024-12-20T01:07:05.574Z] v1.0.3 [2024-12-20T01:07:05.574Z] v1.1.0 [2024-12-20T01:07:05.574Z] v1.1.1 [2024-12-20T01:07:05.574Z] v1.2.0 [2024-12-20T01:07:05.574Z] v1.2.1 [2024-12-20T01:07:05.574Z] v1.2.2 [2024-12-20T01:07:05.574Z] v1.3.0 [2024-12-20T01:07:05.574Z] v1.3.1 [2024-12-20T01:07:05.574Z] v2.0.0 [2024-12-20T01:07:05.574Z] v2.1.0 [2024-12-20T01:07:05.574Z] v2.2.0 [2024-12-20T01:07:05.574Z] v2.3.0 [2024-12-20T01:07:05.574Z] v3.0 [2024-12-20T01:07:05.574Z] v3.0.0 [2024-12-20T01:07:05.574Z] v3.0.1 [2024-12-20T01:07:05.574Z] v3.0.2 [2024-12-20T01:07:05.574Z] v3.0.3-dev.1 [2024-12-20T01:07:05.574Z] v3.0.3-dev.10 [2024-12-20T01:07:05.574Z] v3.0.3-dev.11 [2024-12-20T01:07:05.574Z] v3.0.3-dev.12 [2024-12-20T01:07:05.574Z] v3.0.3-dev.13 [2024-12-20T01:07:05.574Z] v3.0.3-dev.14 [2024-12-20T01:07:05.574Z] v3.0.3-dev.15 [2024-12-20T01:07:05.574Z] v3.0.3-dev.16 [2024-12-20T01:07:05.574Z] v3.0.3-dev.17 [2024-12-20T01:07:05.574Z] v3.0.3-dev.2 [2024-12-20T01:07:05.574Z] v3.0.3-dev.3 [2024-12-20T01:07:05.574Z] v3.0.3-dev.4 [2024-12-20T01:07:05.574Z] v3.0.3-dev.5 [2024-12-20T01:07:05.574Z] v3.0.3-dev.6 [2024-12-20T01:07:05.574Z] v3.0.3-dev.7 [2024-12-20T01:07:05.574Z] v3.0.3-dev.8 [2024-12-20T01:07:05.574Z] v3.0.3-dev.9 [2024-12-20T01:07:05.574Z] v3.1 [2024-12-20T01:07:05.574Z] v3.1.0 [2024-12-20T01:07:05.574Z] v3.1.0-dev.1 [2024-12-20T01:07:05.574Z] v3.1.0-dev.2 [2024-12-20T01:07:05.574Z] v3.1.0-dev.3 [2024-12-20T01:07:05.574Z] v3.1.0-dev.4 [2024-12-20T01:07:05.574Z] v3.1.0-dev.5 [2024-12-20T01:07:05.574Z] v3.1.0-dev.6 [2024-12-20T01:07:05.574Z] v3.1.0-dev.7 [2024-12-20T01:07:05.574Z] v3.1.0-dev.8 [2024-12-20T01:07:05.574Z] v3.1.0-dev.9 [2024-12-20T01:07:05.574Z] v3.1.1 [2024-12-20T01:07:05.574Z] v3.1.1-dev.1 [2024-12-20T01:07:05.574Z] v4.0.0-dev.1 [2024-12-20T01:07:05.574Z] v4.0.0-dev.10 [2024-12-20T01:07:05.574Z] v4.0.0-dev.11 [2024-12-20T01:07:05.574Z] v4.0.0-dev.12 [2024-12-20T01:07:05.574Z] v4.0.0-dev.13 [2024-12-20T01:07:05.574Z] v4.0.0-dev.2 [2024-12-20T01:07:05.574Z] v4.0.0-dev.3 [2024-12-20T01:07:05.574Z] v4.0.0-dev.4 [2024-12-20T01:07:05.574Z] v4.0.0-dev.5 [2024-12-20T01:07:05.574Z] v4.0.0-dev.6 [2024-12-20T01:07:05.574Z] v4.0.0-dev.7 [2024-12-20T01:07:05.574Z] v4.0.0-dev.8 [2024-12-20T01:07:05.574Z] v4.0.0-dev.9 [Pipeline] sh [2024-12-20T01:07:05.934Z] + lftools sign git-tag v4.0.0-dev.13 [2024-12-20T01:07:06.502Z] Signing Git tag with Sigul... [2024-12-20T01:07:06.502Z] Signing v4.0.0-dev.13 [Pipeline] echo [2024-12-20T01:07:06.782Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-20T01:07:07.078Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-12-20T01:07:07.085Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-12-20T01:07:07.107Z] $ docker stop --time=1 2873afeac31dcf4c0a808216a66cfa87121dc88897e6017c4f171afc1e348a05 [2024-12-20T01:07:08.375Z] $ docker rm -f --volumes 2873afeac31dcf4c0a808216a66cfa87121dc88897e6017c4f171afc1e348a05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-12-20T01:07:08.802Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-20T01:07:08.802Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-20T01:07:09.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-20T01:07:09.114Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-20T01:07:09.199Z] prd-ubuntu20.04-docker-8c-8g-35420 does not seem to be running inside a container [2024-12-20T01:07:09.228Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-12-20T01:07:09.562Z] $ docker top 75ac1cf7c40613dbba4141347645f7dc4bb392f9bba1ef8d3baa871a5fdd4a3a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-20T01:07:09.671Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-20T01:07:09.671Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-20T01:07:09.770Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-20T01:07:09.771Z] $ docker exec 75ac1cf7c40613dbba4141347645f7dc4bb392f9bba1ef8d3baa871a5fdd4a3a ssh-agent [2024-12-20T01:07:09.876Z] SSH_AUTH_SOCK=/tmp/ssh-8eNdYHeS8Irx/agent.31 [2024-12-20T01:07:09.876Z] SSH_AGENT_PID=37 [2024-12-20T01:07:09.880Z] Running ssh-add (command line suppressed) [2024-12-20T01:07:09.974Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4923036410070903792.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4923036410070903792.key) [2024-12-20T01:07:09.989Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-20T01:07:10.284Z] + git semver bump pre [2024-12-20T01:07:10.543Z] 2024-12-20 01:07:10,453 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-20T01:07:10.543Z] 2024-12-20 01:07:10,453 [bump_version] DEBUG bumping version:4.0.0-dev.13 on axis:pre with prefix:dev [2024-12-20T01:07:10.543Z] 2024-12-20 01:07:10,453 [bump_version] DEBUG bumped version:4.0.0-dev.14 [2024-12-20T01:07:10.544Z] 2024-12-20 01:07:10,453 [write_version] DEBUG write version:4.0.0-dev.14 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2024-12-20T01:07:10.544Z] 2024-12-20 01:07:10,453 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-20T01:07:10.544Z] 2024-12-20 01:07:10,453 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-20T01:07:10.544Z] 2024-12-20 01:07:10,455 [execute] INFO git cat-file --batch-check [2024-12-20T01:07:10.544Z] 2024-12-20 01:07:10,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-12-20T01:07:10.544Z] 2024-12-20 01:07:10,460 [execute] INFO git cat-file --batch [2024-12-20T01:07:10.544Z] 2024-12-20 01:07:10,461 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-12-20T01:07:10.544Z] 2024-12-20 01:07:10,465 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-20T01:07:10.544Z] 4.0.0-dev.14 [Pipeline] } [2024-12-20T01:07:10.553Z] $ docker exec --env ******** --env ******** 75ac1cf7c40613dbba4141347645f7dc4bb392f9bba1ef8d3baa871a5fdd4a3a ssh-agent -k [2024-12-20T01:07:10.643Z] unset SSH_AUTH_SOCK; [2024-12-20T01:07:10.644Z] unset SSH_AGENT_PID; [2024-12-20T01:07:10.644Z] echo Agent pid 37 killed; [2024-12-20T01:07:10.655Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-20T01:07:10.989Z] + git semver [Pipeline] } [2024-12-20T01:07:11.259Z] $ docker stop --time=1 75ac1cf7c40613dbba4141347645f7dc4bb392f9bba1ef8d3baa871a5fdd4a3a [2024-12-20T01:07:12.511Z] $ docker rm -f --volumes 75ac1cf7c40613dbba4141347645f7dc4bb392f9bba1ef8d3baa871a5fdd4a3a [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-20T01:07:12.878Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-20T01:07:12.878Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-20T01:07:13.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-20T01:07:13.179Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-20T01:07:13.260Z] prd-ubuntu20.04-docker-8c-8g-35420 does not seem to be running inside a container [2024-12-20T01:07:13.286Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-12-20T01:07:13.682Z] $ docker top bdd8729f3fa3694d64d1319e6fcf7670b665a22cffd7bf9a7ce5353e4501c08a -eo pid,comm [2024-12-20T01:07:13.729Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-12-20T01:07:13.729Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-20T01:07:13.791Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-20T01:07:13.791Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-20T01:07:13.897Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-20T01:07:13.898Z] $ docker exec bdd8729f3fa3694d64d1319e6fcf7670b665a22cffd7bf9a7ce5353e4501c08a ssh-agent [2024-12-20T01:07:14.007Z] SSH_AUTH_SOCK=/tmp/ssh-IM6UIx9mZFgh/agent.32 [2024-12-20T01:07:14.007Z] SSH_AGENT_PID=38 [2024-12-20T01:07:14.012Z] Running ssh-add (command line suppressed) [2024-12-20T01:07:14.109Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14388473358814348271.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14388473358814348271.key) [2024-12-20T01:07:14.123Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-20T01:07:14.418Z] + git semver push [2024-12-20T01:07:14.685Z] 2024-12-20 01:07:14,598 [run_push] DEBUG push [2024-12-20T01:07:14.685Z] 2024-12-20 01:07:14,599 [execute] INFO git cat-file --batch-check [2024-12-20T01:07:14.685Z] 2024-12-20 01:07:14,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-12-20T01:07:14.685Z] 2024-12-20 01:07:14,603 [execute] INFO git rev-list 4a37ac359775044dd4e4c379e5f2d2d7be4b71ab -- [2024-12-20T01:07:14.685Z] 2024-12-20 01:07:14,603 [execute] DEBUG Popen(['git', 'rev-list', '4a37ac359775044dd4e4c379e5f2d2d7be4b71ab', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-12-20T01:07:14.685Z] 2024-12-20 01:07:14,612 [execute] INFO git fetch -v origin [2024-12-20T01:07:14.685Z] 2024-12-20 01:07:14,612 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-12-20T01:07:15.253Z] 2024-12-20 01:07:15,071 [run_push] DEBUG no remote changes detected [2024-12-20T01:07:15.253Z] 2024-12-20 01:07:15,071 [execute] INFO git push origin semver [2024-12-20T01:07:15.253Z] 2024-12-20 01:07:15,072 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-12-20T01:07:15.821Z] 2024-12-20 01:07:15,681 [run_push] DEBUG push all version tags [2024-12-20T01:07:15.821Z] 2024-12-20 01:07:15,681 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-12-20T01:07:15.821Z] 2024-12-20 01:07:15,682 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-12-20T01:07:16.388Z] 2024-12-20 01:07:16,303 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-20T01:07:16.388Z] 4.0.0-dev.14 [Pipeline] } [2024-12-20T01:07:16.398Z] $ docker exec --env ******** --env ******** bdd8729f3fa3694d64d1319e6fcf7670b665a22cffd7bf9a7ce5353e4501c08a ssh-agent -k [2024-12-20T01:07:16.490Z] unset SSH_AUTH_SOCK; [2024-12-20T01:07:16.491Z] unset SSH_AGENT_PID; [2024-12-20T01:07:16.491Z] echo Agent pid 38 killed; [2024-12-20T01:07:16.501Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-20T01:07:16.840Z] + git semver [Pipeline] } [2024-12-20T01:07:17.111Z] $ docker stop --time=1 bdd8729f3fa3694d64d1319e6fcf7670b665a22cffd7bf9a7ce5353e4501c08a [2024-12-20T01:07:18.414Z] $ docker rm -f --volumes bdd8729f3fa3694d64d1319e6fcf7670b665a22cffd7bf9a7ce5353e4501c08a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-12-20T01:07:18.923Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2024-12-20T01:07:18.923Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-20T01:07:18.923Z] total 16 [2024-12-20T01:07:18.923Z] drwxr-xr-x 3 root root 4096 Dec 20 01:06 . [2024-12-20T01:07:18.923Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 20 01:07 .. [2024-12-20T01:07:18.923Z] drwxr-xr-x 2 root root 4096 Dec 20 01:06 cost [2024-12-20T01:07:18.923Z] -rw-r--r-- 1 root root 83 Dec 20 01:06 cost.csv [2024-12-20T01:07:18.923Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-20T01:07:18.923Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-20T01:07:18.923Z] total 16 [2024-12-20T01:07:18.923Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 20 01:06 . [2024-12-20T01:07:18.923Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 20 01:07 .. [2024-12-20T01:07:18.923Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 20 01:06 cost [2024-12-20T01:07:18.923Z] -rw-r--r-- 1 jenkins jenkins 83 Dec 20 01:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-12-20T01:07:19.226Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-20T01:07:20.082Z] ---> package-listing.sh [2024-12-20T01:07:20.082Z] ++ facter osfamily [2024-12-20T01:07:20.082Z] ++ tr '[:upper:]' '[:lower:]' [2024-12-20T01:07:20.342Z] + OS_FAMILY=debian [2024-12-20T01:07:20.342Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2024-12-20T01:07:20.342Z] + START_PACKAGES=/tmp/packages_start.txt [2024-12-20T01:07:20.342Z] + END_PACKAGES=/tmp/packages_end.txt [2024-12-20T01:07:20.342Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-12-20T01:07:20.342Z] + PACKAGES=/tmp/packages_start.txt [2024-12-20T01:07:20.342Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-12-20T01:07:20.342Z] + PACKAGES=/tmp/packages_end.txt [2024-12-20T01:07:20.342Z] + case "${OS_FAMILY}" in [2024-12-20T01:07:20.342Z] + dpkg -l [2024-12-20T01:07:20.342Z] + grep '^ii' [2024-12-20T01:07:20.342Z] + '[' -f /tmp/packages_start.txt ']' [2024-12-20T01:07:20.342Z] + '[' -f /tmp/packages_end.txt ']' [2024-12-20T01:07:20.342Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-12-20T01:07:20.342Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-12-20T01:07:20.342Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2024-12-20T01:07:20.342Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2024-12-20T01:07:20.354Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-12-20T01:07:20.632Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-20T01:07:21.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-20T01:07:21.202Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-20T01:07:21.280Z] prd-ubuntu20.04-docker-8c-8g-35420 does not seem to be running inside a container [2024-12-20T01:07:21.307Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-12-20T01:07:21.506Z] $ docker top e3b381443418a13e21e09ca4d212b4c0b43ef83027d533f2dad4d0dd653128b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-20T01:07:21.853Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-12-20T01:07:22.139Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-12-20T01:07:22.424Z] + ls /var/log/sa-host [2024-12-20T01:07:22.424Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-20T01:07:22.522Z] provisioning config files... [2024-12-20T01:07:22.531Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4711774512318880171tmp [Pipeline] { [Pipeline] echo [2024-12-20T01:07:22.547Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-20T01:07:22.830Z] ---> create-netrc.sh [Pipeline] } [2024-12-20T01:07:22.838Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-12-20T01:07:23.178Z] ---> python-tools-install.sh [Pipeline] echo [2024-12-20T01:07:23.189Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-20T01:07:23.477Z] ---> sudo-logs.sh [2024-12-20T01:07:23.477Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-12-20T01:07:23.513Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-20T01:07:23.796Z] ---> job-cost.sh [2024-12-20T01:07:23.796Z] lf-activate-venv: SKIPPING [2024-12-20T01:07:23.796Z] DEBUG: total: 0.2199999988079071 [2024-12-20T01:07:23.796Z] INFO: Retrieving Stack Cost... [2024-12-20T01:07:26.813Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-20T01:07:26.813Z] INFO: Archiving Costs [Pipeline] echo [2024-12-20T01:07:26.827Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-20T01:07:27.121Z] ---> logs-deploy.sh [2024-12-20T01:07:27.121Z] lf-activate-venv: SKIPPING [2024-12-20T01:07:27.121Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/90 [2024-12-20T01:07:27.121Z] INFO: archiving workspace using pattern(s): [2024-12-20T01:07:28.057Z] Archives upload complete. [2024-12-20T01:07:28.057Z] INFO: archiving logs to Nexus