Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 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-ssh9930869961954076157.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-ssh6137945330150937160.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-ssh348911318349715907.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-ssh12212220560229315221.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-ssh15840231236968080911.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-34905 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 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 (main) > 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 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 # timeout=10 Commit message: "feat: Add device up/down detection (#532)" > git rev-list --no-walk 3521595b3d029ad48779306d8d3c838e476b6612 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-12-11T11:27:02.852Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-12-11T11:27:02.927Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-12-11T11:27:02.955Z] ========================================================= [2024-12-11T11:27:02.955Z] EdgeX Global Pipelines Version Info [2024-12-11T11:27:02.955Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-12-11T11:27:04.082Z] ------------------- [2024-12-11T11:27:04.082Z] stable info: [2024-12-11T11:27:04.082Z] ------------------- [2024-12-11T11:27:04.082Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-12-11T11:27:04.082Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-11T11:27:04.082Z] Message: update stable to v1.0.269 [2024-12-11T11:27:04.344Z] ------------------- [2024-12-11T11:27:04.344Z] experimental info: [2024-12-11T11:27:04.344Z] ------------------- [2024-12-11T11:27:04.344Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-12-11T11:27:04.344Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-11T11:27:04.344Z] Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-12-11T11:27:04.417Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-12-11T11:27:04.433Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-12-11T11:27:04.451Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-12-11T11:27:04.472Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-12-11T11:27:04.489Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-12-11T11:27:04.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-12-11T11:27:04.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-12-11T11:27:04.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-12-11T11:27:04.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-12-11T11:27:04.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-12-11T11:27:04.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-12-11T11:27:04.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-12-11T11:27:04.658Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-12-11T11:27:04.679Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-12-11T11:27:04.697Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-12-11T11:27:04.715Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-12-11T11:27:04.737Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-12-11T11:27:04.760Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-12-11T11:27:04.781Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-12-11T11:27:04.799Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-12-11T11:27:04.820Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 [Pipeline] echo [2024-12-11T11:27:04.841Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7abe510 [Pipeline] echo [2024-12-11T11:27:04.866Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-11T11:27:04.934Z] provisioning config files... [2024-12-11T11:27:04.949Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13520895736026331873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-11T11:27:05.280Z] ---> ****-login.sh [2024-12-11T11:27:05.280Z] nexus3.edgexfoundry.org:10001 [2024-12-11T11:27:05.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T11:27:06.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T11:27:06.114Z] Configure a credential helper to remove this warning. See [2024-12-11T11:27:06.114Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T11:27:06.114Z] [2024-12-11T11:27:06.114Z] Login Succeeded [2024-12-11T11:27:06.114Z] nexus3.edgexfoundry.org:10002 [2024-12-11T11:27:06.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T11:27:06.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T11:27:06.115Z] Configure a credential helper to remove this warning. See [2024-12-11T11:27:06.115Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T11:27:06.115Z] [2024-12-11T11:27:06.115Z] Login Succeeded [2024-12-11T11:27:06.115Z] nexus3.edgexfoundry.org:10003 [2024-12-11T11:27:06.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T11:27:06.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T11:27:06.376Z] Configure a credential helper to remove this warning. See [2024-12-11T11:27:06.376Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T11:27:06.376Z] [2024-12-11T11:27:06.376Z] Login Succeeded [2024-12-11T11:27:06.376Z] nexus3.edgexfoundry.org:10004 [2024-12-11T11:27:06.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T11:27:06.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T11:27:06.376Z] Configure a credential helper to remove this warning. See [2024-12-11T11:27:06.376Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T11:27:06.376Z] [2024-12-11T11:27:06.376Z] Login Succeeded [2024-12-11T11:27:06.376Z] ****.io [2024-12-11T11:27:06.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T11:27:06.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T11:27:06.637Z] Configure a credential helper to remove this warning. See [2024-12-11T11:27:06.637Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T11:27:06.637Z] [2024-12-11T11:27:06.637Z] Login Succeeded [2024-12-11T11:27:06.637Z] ---> ****-login.sh ends [Pipeline] } [2024-12-11T11:27:06.645Z] 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-11T11:27:07.052Z] + git rev-list -1 --merges 7abe510cbd0ecbc788545c64ca7f1b281e5aa337~1..7abe510cbd0ecbc788545c64ca7f1b281e5aa337 [Pipeline] echo [2024-12-11T11:27:07.079Z] -----------> git rev-list -1 --merges 7abe510cbd0ecbc788545c64ca7f1b281e5aa337~1..7abe510cbd0ecbc788545c64ca7f1b281e5aa337 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 [false] [Pipeline] sh [2024-12-11T11:27:07.371Z] + git log --format=format:%s -1 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 [Pipeline] echo [2024-12-11T11:27:07.383Z] ========================================================= [2024-12-11T11:27:07.383Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-11T11:27:07.383Z] ========================================================= 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-11T11:27:07.782Z] + git rev-list -1 --merges 7abe510cbd0ecbc788545c64ca7f1b281e5aa337~1..7abe510cbd0ecbc788545c64ca7f1b281e5aa337 [Pipeline] echo [2024-12-11T11:27:07.793Z] -----------> git rev-list -1 --merges 7abe510cbd0ecbc788545c64ca7f1b281e5aa337~1..7abe510cbd0ecbc788545c64ca7f1b281e5aa337 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 [false] [Pipeline] sh [2024-12-11T11:27:08.077Z] + git log --format=format:%s -1 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 [Pipeline] echo [2024-12-11T11:27:08.092Z] ========================================================= [2024-12-11T11:27:08.092Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-11T11:27:08.092Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-12-11T11:27:08.511Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-11T11:27:08.511Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-12-11T11:27:08.511Z] + [ -e /tmp/ssh_known_hosts ] [2024-12-11T11:27:08.511Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-12-11T11:27:08.511Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-12-11T11:27:08.511Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-12-11T11:27:08.511Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T11:27:08.925Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-11T11:27:08.925Z] [2024-12-11T11:27:08.925Z] 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-11T11:27:09.252Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-11T11:27:09.515Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-12-11T11:27:09.515Z] b85a868b505f: Pulling fs layer [2024-12-11T11:27:09.515Z] e2be974225ed: Pulling fs layer [2024-12-11T11:27:09.515Z] 339a4e72a1f5: Pulling fs layer [2024-12-11T11:27:09.515Z] 988bab9f4d93: Pulling fs layer [2024-12-11T11:27:09.515Z] 1469e6f7b9e6: Pulling fs layer [2024-12-11T11:27:09.515Z] eaf3925da568: Pulling fs layer [2024-12-11T11:27:09.515Z] bab4dde63d76: Pulling fs layer [2024-12-11T11:27:09.515Z] bde34c3a00c8: Pulling fs layer [2024-12-11T11:27:09.515Z] b352a97aabf1: Pulling fs layer [2024-12-11T11:27:09.515Z] 4872d77fe225: Pulling fs layer [2024-12-11T11:27:09.515Z] 5851b861e8e6: Pulling fs layer [2024-12-11T11:27:09.515Z] bab4dde63d76: Waiting [2024-12-11T11:27:09.515Z] 4872d77fe225: Waiting [2024-12-11T11:27:09.515Z] 5851b861e8e6: Waiting [2024-12-11T11:27:09.515Z] b352a97aabf1: Waiting [2024-12-11T11:27:09.515Z] 988bab9f4d93: Waiting [2024-12-11T11:27:09.515Z] bde34c3a00c8: Waiting [2024-12-11T11:27:09.515Z] 1469e6f7b9e6: Waiting [2024-12-11T11:27:09.515Z] eaf3925da568: Waiting [2024-12-11T11:27:09.515Z] e2be974225ed: Verifying Checksum [2024-12-11T11:27:09.515Z] e2be974225ed: Download complete [2024-12-11T11:27:09.515Z] 988bab9f4d93: Verifying Checksum [2024-12-11T11:27:09.515Z] 988bab9f4d93: Download complete [2024-12-11T11:27:09.515Z] 339a4e72a1f5: Verifying Checksum [2024-12-11T11:27:09.515Z] 339a4e72a1f5: Download complete [2024-12-11T11:27:09.515Z] 1469e6f7b9e6: Verifying Checksum [2024-12-11T11:27:09.515Z] 1469e6f7b9e6: Download complete [2024-12-11T11:27:09.515Z] eaf3925da568: Verifying Checksum [2024-12-11T11:27:09.515Z] eaf3925da568: Download complete [2024-12-11T11:27:09.515Z] bde34c3a00c8: Download complete [2024-12-11T11:27:09.515Z] b352a97aabf1: Verifying Checksum [2024-12-11T11:27:09.515Z] b352a97aabf1: Download complete [2024-12-11T11:27:09.515Z] 4872d77fe225: Verifying Checksum [2024-12-11T11:27:09.515Z] 4872d77fe225: Download complete [2024-12-11T11:27:09.515Z] 5851b861e8e6: Verifying Checksum [2024-12-11T11:27:09.515Z] 5851b861e8e6: Download complete [2024-12-11T11:27:09.774Z] b85a868b505f: Download complete [2024-12-11T11:27:10.032Z] bab4dde63d76: Verifying Checksum [2024-12-11T11:27:10.032Z] bab4dde63d76: Download complete [2024-12-11T11:27:10.970Z] b85a868b505f: Pull complete [2024-12-11T11:27:11.244Z] e2be974225ed: Pull complete [2024-12-11T11:27:11.817Z] 339a4e72a1f5: Pull complete [2024-12-11T11:27:11.817Z] 988bab9f4d93: Pull complete [2024-12-11T11:27:12.079Z] 1469e6f7b9e6: Pull complete [2024-12-11T11:27:12.339Z] eaf3925da568: Pull complete [2024-12-11T11:27:14.245Z] bab4dde63d76: Pull complete [2024-12-11T11:27:14.245Z] bde34c3a00c8: Pull complete [2024-12-11T11:27:14.245Z] b352a97aabf1: Pull complete [2024-12-11T11:27:14.505Z] 4872d77fe225: Pull complete [2024-12-11T11:27:14.505Z] 5851b861e8e6: Pull complete [2024-12-11T11:27:14.505Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-12-11T11:27:14.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-11T11:27:14.505Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-11T11:27:14.659Z] prd-ubuntu20.04-docker-8c-8g-34905 does not seem to be running inside a container [2024-12-11T11:27:14.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-12-11T11:27:17.568Z] $ docker top 91fa1ab27a54afae885b8be0c4d0f8dd5ba70ddd693f27bd4fd6ae705a2ddbbe -eo pid,comm [2024-12-11T11:27:17.625Z] 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-11T11:27:17.625Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-11T11:27:17.685Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-11T11:27:17.685Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-11T11:27:17.801Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-11T11:27:17.803Z] $ docker exec 91fa1ab27a54afae885b8be0c4d0f8dd5ba70ddd693f27bd4fd6ae705a2ddbbe ssh-agent [2024-12-11T11:27:17.915Z] SSH_AUTH_SOCK=/tmp/ssh-yXHgCYr1OfYb/agent.32 [2024-12-11T11:27:17.915Z] SSH_AGENT_PID=38 [2024-12-11T11:27:17.921Z] Running ssh-add (command line suppressed) [2024-12-11T11:27:18.026Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11412985631184281343.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11412985631184281343.key) [2024-12-11T11:27:18.041Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-11T11:27:18.340Z] + git tag --points-at HEAD [Pipeline] } [2024-12-11T11:27:18.352Z] $ docker exec --env ******** --env ******** 91fa1ab27a54afae885b8be0c4d0f8dd5ba70ddd693f27bd4fd6ae705a2ddbbe ssh-agent -k [2024-12-11T11:27:18.457Z] unset SSH_AUTH_SOCK; [2024-12-11T11:27:18.458Z] unset SSH_AGENT_PID; [2024-12-11T11:27:18.458Z] echo Agent pid 38 killed; [2024-12-11T11:27:18.469Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-12-11T11:27:18.506Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-11T11:27:18.506Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-11T11:27:18.618Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-11T11:27:18.619Z] $ docker exec 91fa1ab27a54afae885b8be0c4d0f8dd5ba70ddd693f27bd4fd6ae705a2ddbbe ssh-agent [2024-12-11T11:27:18.728Z] SSH_AUTH_SOCK=/tmp/ssh-dVpyz14GjX0E/agent.71 [2024-12-11T11:27:18.728Z] SSH_AGENT_PID=77 [2024-12-11T11:27:18.733Z] Running ssh-add (command line suppressed) [2024-12-11T11:27:18.847Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_387169310577468757.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_387169310577468757.key) [2024-12-11T11:27:18.863Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-11T11:27:19.154Z] + git semver init [2024-12-11T11:27:19.414Z] 2024-12-11 11:27:19,352 [run_init] DEBUG init version:0.0.0 force:False [2024-12-11T11:27:19.414Z] 2024-12-11 11:27:19,352 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-12-11T11:27:19.414Z] 2024-12-11 11:27:19,353 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-12-11T11:27:19.414Z] 2024-12-11 11:27:19,353 [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-11T11:27:20.354Z] 2024-12-11 11:27:20,161 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2024-12-11T11:27:20.354Z] 2024-12-11 11:27:20,162 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2024-12-11T11:27:20.354Z] 2024-12-11 11:27:20,162 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T11:27:20.354Z] 2024-12-11 11:27:20,162 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T11:27:20.354Z] 4.0.0-dev.8 [Pipeline] } [2024-12-11T11:27:20.363Z] $ docker exec --env ******** --env ******** 91fa1ab27a54afae885b8be0c4d0f8dd5ba70ddd693f27bd4fd6ae705a2ddbbe ssh-agent -k [2024-12-11T11:27:20.457Z] unset SSH_AUTH_SOCK; [2024-12-11T11:27:20.458Z] unset SSH_AGENT_PID; [2024-12-11T11:27:20.458Z] echo Agent pid 77 killed; [2024-12-11T11:27:20.470Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-11T11:27:20.788Z] + git semver [Pipeline] } [2024-12-11T11:27:21.061Z] $ docker stop --time=1 91fa1ab27a54afae885b8be0c4d0f8dd5ba70ddd693f27bd4fd6ae705a2ddbbe [2024-12-11T11:27:22.395Z] $ docker rm -f --volumes 91fa1ab27a54afae885b8be0c4d0f8dd5ba70ddd693f27bd4fd6ae705a2ddbbe [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-11T11:27:22.742Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-12-11T11:27:22.995Z] Stashed 1 file(s) [Pipeline] echo [2024-12-11T11:27:23.000Z] [edgeXSemver]: initialized semver on version 4.0.0-dev.8 [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-11T11:27:23.262Z] provisioning config files... [2024-12-11T11:27:23.273Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17928126032113314857tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2024-12-11T11:27:23.602Z] ---> ****-login.sh [2024-12-11T11:27:23.602Z] nexus3.edgexfoundry.org:10001 [2024-12-11T11:27:23.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T11:27:23.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T11:27:23.602Z] Configure a credential helper to remove this warning. See [2024-12-11T11:27:23.602Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T11:27:23.602Z] [2024-12-11T11:27:23.602Z] Login Succeeded [2024-12-11T11:27:23.602Z] nexus3.edgexfoundry.org:10002 [2024-12-11T11:27:23.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T11:27:23.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T11:27:23.603Z] Configure a credential helper to remove this warning. See [2024-12-11T11:27:23.603Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T11:27:23.603Z] [2024-12-11T11:27:23.603Z] Login Succeeded [2024-12-11T11:27:23.603Z] nexus3.edgexfoundry.org:10003 [2024-12-11T11:27:23.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T11:27:23.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T11:27:23.863Z] Configure a credential helper to remove this warning. See [2024-12-11T11:27:23.864Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T11:27:23.864Z] [2024-12-11T11:27:23.864Z] Login Succeeded [2024-12-11T11:27:23.864Z] nexus3.edgexfoundry.org:10004 [2024-12-11T11:27:23.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T11:27:23.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T11:27:23.864Z] Configure a credential helper to remove this warning. See [2024-12-11T11:27:23.864Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T11:27:23.864Z] [2024-12-11T11:27:23.864Z] Login Succeeded [2024-12-11T11:27:23.864Z] ****.io [2024-12-11T11:27:24.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T11:27:24.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T11:27:24.124Z] Configure a credential helper to remove this warning. See [2024-12-11T11:27:24.124Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T11:27:24.124Z] [2024-12-11T11:27:24.124Z] Login Succeeded [2024-12-11T11:27:24.124Z] ---> ****-login.sh ends [Pipeline] } [2024-12-11T11:27:24.132Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-12-11T11:27:24.221Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-11T11:27:24.237Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-12-11T11:27:24.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-11T11:27:24.260Z] ========================================================= [2024-12-11T11:27:24.260Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-12-11T11:27:24.260Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T11:27:24.579Z] + 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-11T11:27:24.579Z] Sending build context to Docker daemon 5.198MB [2024-12-11T11:27:24.579Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-12-11T11:27:24.579Z] Step 2/22 : FROM ${BASE} as builder [2024-12-11T11:27:24.579Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-12-11T11:27:24.579Z] 96526aa774ef: Pulling fs layer [2024-12-11T11:27:24.580Z] da60e534fd72: Pulling fs layer [2024-12-11T11:27:24.841Z] 96526aa774ef: Verifying Checksum [2024-12-11T11:27:24.841Z] 96526aa774ef: Download complete [2024-12-11T11:27:24.841Z] 96526aa774ef: Pull complete [2024-12-11T11:27:25.830Z] da60e534fd72: Verifying Checksum [2024-12-11T11:27:25.830Z] da60e534fd72: Download complete [2024-12-11T11:27:29.142Z] da60e534fd72: Pull complete [2024-12-11T11:27:29.143Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-12-11T11:27:29.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-12-11T11:27:29.143Z] ---> 6605166a5db4 [2024-12-11T11:27:29.143Z] 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-11T11:27:31.055Z] ---> Running in 8b09ac615dda [2024-12-11T11:27:31.314Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-12-11T11:27:31.574Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-11T11:27:31.574Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-11T11:27:31.574Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-11T11:27:31.834Z] Removing intermediate container 8b09ac615dda [2024-12-11T11:27:31.834Z] ---> 123b131d8150 [2024-12-11T11:27:31.834Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-11T11:27:32.094Z] ---> Running in c271f6b35d1e [2024-12-11T11:27:32.663Z] Removing intermediate container c271f6b35d1e [2024-12-11T11:27:32.663Z] ---> 8860317a3b3a [2024-12-11T11:27:32.663Z] 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-11T11:27:32.663Z] ---> Running in 4b20751169cc [2024-12-11T11:27:32.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T11:27:32.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-11T11:27:33.183Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T11:27:33.752Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-11T11:27:33.752Z] (1/15) Installing libcbor (0.10.2-r1) [2024-12-11T11:27:33.752Z] (2/15) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-11T11:27:34.690Z] (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-11T11:27:34.690Z] (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-11T11:27:34.690Z] (5/15) Installing libcbor-dev (0.10.2-r1) [2024-12-11T11:27:34.690Z] (6/15) Installing libmenuw (6.4_p20230506-r0) [2024-12-11T11:27:34.949Z] (7/15) Installing libpanelw (6.4_p20230506-r0) [2024-12-11T11:27:34.949Z] (8/15) Installing libncurses++ (6.4_p20230506-r0) [2024-12-11T11:27:34.949Z] (9/15) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-11T11:27:34.949Z] (10/15) Installing libblkid (2.38.1-r8) [2024-12-11T11:27:34.949Z] (11/15) Installing libuuid (2.38.1-r8) [2024-12-11T11:27:34.949Z] (12/15) Installing libfdisk (2.38.1-r8) [2024-12-11T11:27:34.949Z] (13/15) Installing libmount (2.38.1-r8) [2024-12-11T11:27:34.949Z] (14/15) Installing libsmartcols (2.38.1-r8) [2024-12-11T11:27:34.949Z] (15/15) Installing util-linux-dev (2.38.1-r8) [2024-12-11T11:27:34.949Z] Executing busybox-1.36.1-r4.trigger [2024-12-11T11:27:34.949Z] OK: 336 MiB in 97 packages [2024-12-11T11:27:35.517Z] Removing intermediate container 4b20751169cc [2024-12-11T11:27:35.517Z] ---> d78e4fb7dac0 [2024-12-11T11:27:35.517Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-12-11T11:27:35.517Z] ---> Running in fafd15c15c85 [2024-12-11T11:27:36.086Z] Removing intermediate container fafd15c15c85 [2024-12-11T11:27:36.086Z] ---> 6dfe2a03f47f [2024-12-11T11:27:36.086Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-12-11T11:27:36.346Z] ---> 3cbab334a62d [2024-12-11T11:27:36.346Z] Step 8/22 : COPY src /tmp/sdk/src [2024-12-11T11:27:36.605Z] ---> 9cf2075a35c7 [2024-12-11T11:27:36.605Z] Step 9/22 : COPY include /tmp/sdk/include [2024-12-11T11:27:36.864Z] ---> 989e8b5c8c3e [2024-12-11T11:27:36.864Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-12-11T11:27:36.864Z] ---> a5eb73fed4d3 [2024-12-11T11:27:36.864Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-12-11T11:27:37.122Z] ---> b7d8902872f0 [2024-12-11T11:27:37.122Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-12-11T11:27:37.122Z] ---> 0b374ac848a6 [2024-12-11T11:27:37.122Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-12-11T11:27:37.122Z] ---> Running in 4f29e3ba8bfd [2024-12-11T11:27:37.385Z] + CPPCHECK=false [2024-12-11T11:27:37.385Z] + DOCGEN=false [2024-12-11T11:27:37.385Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-12-11T11:27:37.385Z] + '[' 0 -gt 0 ] [2024-12-11T11:27:37.385Z] + readlink -f ./scripts/build.sh [2024-12-11T11:27:37.385Z] + dirname /tmp/sdk/scripts/build.sh [2024-12-11T11:27:37.385Z] + dirname /tmp/sdk/scripts [2024-12-11T11:27:37.385Z] + ROOT=/tmp/sdk [2024-12-11T11:27:37.385Z] + cd /tmp/sdk [2024-12-11T11:27:37.385Z] + mkdir -p /tmp/sdk/build/release [2024-12-11T11:27:37.385Z] + cd /tmp/sdk/build/release [2024-12-11T11:27:37.385Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-12-11T11:27:37.644Z] -- The C compiler identification is GNU 12.2.1 [2024-12-11T11:27:37.644Z] -- Detecting C compiler ABI info [2024-12-11T11:27:37.644Z] -- Detecting C compiler ABI info - done [2024-12-11T11:27:37.644Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-11T11:27:37.644Z] -- Detecting C compile features [2024-12-11T11:27:37.644Z] -- Detecting C compile features - done [2024-12-11T11:27:37.644Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-11T11:27:37.644Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-11T11:27:37.644Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-11T11:27:37.644Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-11T11:27:37.644Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-11T11:27:37.644Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-11T11:27:37.644Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-11T11:27:37.644Z] -- /opt/iotech/iot/1.5/include [2024-12-11T11:27:37.644Z] -- C SDK 4.0.0-dev.8 for Linux [2024-12-11T11:27:37.644Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-11T11:27:37.905Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-11T11:27:37.905Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-11T11:27:37.905Z] -- Configuring done (0.4s) [2024-12-11T11:27:37.905Z] -- Generating done (0.0s) [2024-12-11T11:27:37.905Z] -- Build files have been written to: /tmp/sdk/build/release [2024-12-11T11:27:37.905Z] + make all package [2024-12-11T11:27:37.905Z] + tee release.log [2024-12-11T11:27:37.905Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-11T11:27:38.166Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-11T11:27:38.166Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-11T11:27:38.425Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-11T11:27:38.425Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-11T11:27:38.993Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-12-11T11:27:38.993Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-12-11T11:27:38.993Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-11T11:27:38.993Z] 294 | while (privateConfig) [2024-12-11T11:27:38.993Z] | ^~~~~~~~~~~~~ [2024-12-11T11:27:38.993Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-12-11T11:27:38.993Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-12-11T11:27:38.993Z] | ^~~~~~~~~~~~~ [2024-12-11T11:27:38.993Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-11T11:27:38.993Z] 271 | while (result) [2024-12-11T11:27:38.993Z] | ^~~~~~ [2024-12-11T11:27:38.993Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-12-11T11:27:38.993Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-12-11T11:27:38.993Z] | ^~~~~~ [2024-12-11T11:27:38.993Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-11T11:27:38.993Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-11T11:27:39.253Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-11T11:27:39.513Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-11T11:27:39.513Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-11T11:27:39.772Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-11T11:27:39.772Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-11T11:27:40.033Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-11T11:27:40.033Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-11T11:27:40.033Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-11T11:27:40.604Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-11T11:27:40.604Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-12-11T11:27:40.604Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2024-12-11T11:27:40.604Z] from /tmp/sdk/src/c/registry.h:14, [2024-12-11T11:27:40.604Z] from /tmp/sdk/src/c/registry-impl.h:12, [2024-12-11T11:27:40.604Z] from /tmp/sdk/src/c/keeper.h:12, [2024-12-11T11:27:40.604Z] from /tmp/sdk/src/c/keeper.c:1: [2024-12-11T11:27:40.604Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2024-12-11T11:27:40.604Z] /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2024-12-11T11:27:40.604Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-11T11:27:40.604Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-11T11:27:40.604Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-11T11:27:40.604Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-11T11:27:40.604Z] | ^~~~~~~~~~~ [2024-12-11T11:27:40.604Z] /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here [2024-12-11T11:27:40.604Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-11T11:27:40.604Z] | ~^ [2024-12-11T11:27:40.604Z] | | [2024-12-11T11:27:40.604Z] | char * [2024-12-11T11:27:40.863Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-11T11:27:40.863Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-11T11:27:41.122Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2024-12-11T11:27:41.122Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-11T11:27:42.501Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-11T11:27:42.501Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-11T11:27:42.501Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-11T11:27:42.501Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-11T11:27:42.501Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-11T11:27:42.762Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-11T11:27:43.023Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-11T11:27:43.284Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-11T11:27:43.284Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-11T11:27:43.544Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-11T11:27:43.805Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-11T11:27:43.805Z] /tmp/sdk/src/c/service.c:1079:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-11T11:27:43.805Z] 1079 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-12-11T11:27:43.805Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-11T11:27:43.806Z] /tmp/sdk/src/c/service.c:883:21: note: 'deviceservices_config' was declared here [2024-12-11T11:27:43.806Z] 883 | const iot_data_t *deviceservices_config; [2024-12-11T11:27:43.806Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-11T11:27:43.806Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-11T11:27:44.069Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-11T11:27:44.069Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-11T11:27:44.069Z] [ 69%] Linking C shared library libcsdk.so [2024-12-11T11:27:44.069Z] [ 69%] Built target csdk [2024-12-11T11:27:44.069Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-11T11:27:44.330Z] [ 73%] Linking C executable template [2024-12-11T11:27:44.330Z] [ 73%] Built target template [2024-12-11T11:27:44.330Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-11T11:27:44.589Z] [ 76%] Linking C executable device-counter [2024-12-11T11:27:44.589Z] [ 76%] Built target device-counter [2024-12-11T11:27:44.589Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-11T11:27:44.589Z] [ 80%] Linking C executable device-random [2024-12-11T11:27:44.849Z] [ 80%] Built target device-random [2024-12-11T11:27:44.849Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-11T11:27:44.849Z] [ 84%] Linking C executable device-gyro [2024-12-11T11:27:44.849Z] [ 84%] Built target device-gyro [2024-12-11T11:27:44.849Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-11T11:27:45.111Z] [ 88%] Linking C executable device-bitfields [2024-12-11T11:27:45.111Z] [ 88%] Built target device-bitfields [2024-12-11T11:27:45.111Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-11T11:27:45.372Z] [ 92%] Linking C executable template-discovery [2024-12-11T11:27:45.372Z] [ 92%] Built target template-discovery [2024-12-11T11:27:45.372Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-11T11:27:45.372Z] [ 96%] Linking C executable device-file [2024-12-11T11:27:45.632Z] [ 96%] Built target device-file [2024-12-11T11:27:45.632Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-11T11:27:45.632Z] [100%] Linking C executable device-terminal [2024-12-11T11:27:45.891Z] [100%] Built target device-terminal [2024-12-11T11:27:45.891Z] Run CPack packaging tool... [2024-12-11T11:27:45.891Z] CPack: Create package using TGZ [2024-12-11T11:27:45.891Z] CPack: Install projects [2024-12-11T11:27:45.891Z] CPack: - Run preinstall target for: Csdk [2024-12-11T11:27:46.150Z] CPack: - Install project: Csdk [] [2024-12-11T11:27:46.150Z] CPack: Create package [2024-12-11T11:27:46.150Z] CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.8.tar.gz generated. [2024-12-11T11:27:46.150Z] + '[' false '=' true ] [2024-12-11T11:27:46.150Z] + '[' false '=' true ] [2024-12-11T11:27:46.150Z] + mkdir -p /tmp/sdk/build/debug [2024-12-11T11:27:46.150Z] + cd /tmp/sdk/build/debug [2024-12-11T11:27:46.150Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-12-11T11:27:46.150Z] -- The C compiler identification is GNU 12.2.1 [2024-12-11T11:27:46.150Z] -- Detecting C compiler ABI info [2024-12-11T11:27:46.150Z] -- Detecting C compiler ABI info - done [2024-12-11T11:27:46.410Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-11T11:27:46.410Z] -- Detecting C compile features [2024-12-11T11:27:46.410Z] -- Detecting C compile features - done [2024-12-11T11:27:46.410Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-11T11:27:46.410Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-11T11:27:46.410Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-11T11:27:46.410Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-11T11:27:46.410Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-11T11:27:46.410Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-11T11:27:46.410Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-11T11:27:46.410Z] -- /opt/iotech/iot/1.5/include [2024-12-11T11:27:46.410Z] -- C SDK 4.0.0-dev.8 for Linux [2024-12-11T11:27:46.410Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-11T11:27:46.410Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-11T11:27:46.410Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-11T11:27:46.410Z] -- Configuring done (0.4s) [2024-12-11T11:27:46.669Z] -- Generating done (0.0s) [2024-12-11T11:27:46.669Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-12-11T11:27:46.669Z] + tee debug.log [2024-12-11T11:27:46.669Z] + make [2024-12-11T11:27:46.669Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-11T11:27:46.669Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-11T11:27:46.669Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-11T11:27:46.931Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-11T11:27:46.931Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-11T11:27:46.931Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-12-11T11:27:47.197Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-11T11:27:47.197Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-11T11:27:47.197Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-11T11:27:47.456Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-11T11:27:47.456Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-11T11:27:47.456Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-11T11:27:47.715Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-11T11:27:47.715Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-11T11:27:47.715Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-11T11:27:47.715Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-11T11:27:47.975Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-11T11:27:47.975Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-12-11T11:27:47.975Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2024-12-11T11:27:47.975Z] from /tmp/sdk/src/c/registry.h:14, [2024-12-11T11:27:47.975Z] from /tmp/sdk/src/c/registry-impl.h:12, [2024-12-11T11:27:47.975Z] from /tmp/sdk/src/c/keeper.h:12, [2024-12-11T11:27:47.975Z] from /tmp/sdk/src/c/keeper.c:1: [2024-12-11T11:27:47.975Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2024-12-11T11:27:47.975Z] /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2024-12-11T11:27:47.975Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-11T11:27:47.975Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-11T11:27:47.975Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-11T11:27:47.975Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-11T11:27:47.975Z] | ^~~~~~~~~~~ [2024-12-11T11:27:47.975Z] /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here [2024-12-11T11:27:47.975Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-11T11:27:47.975Z] | ~^ [2024-12-11T11:27:47.975Z] | | [2024-12-11T11:27:47.975Z] | char * [2024-12-11T11:27:47.975Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-11T11:27:48.235Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-11T11:27:48.235Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2024-12-11T11:27:48.235Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-11T11:27:48.496Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-11T11:27:48.496Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-11T11:27:48.756Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-11T11:27:48.756Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-11T11:27:48.756Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-11T11:27:49.016Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-11T11:27:49.016Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-11T11:27:49.275Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-11T11:27:49.275Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-11T11:27:49.275Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-11T11:27:49.534Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-11T11:27:49.534Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-11T11:27:49.534Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-11T11:27:49.795Z] [ 69%] Linking C shared library libcsdk.so [2024-12-11T11:27:49.795Z] [ 69%] Built target csdk [2024-12-11T11:27:49.795Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-11T11:27:49.795Z] [ 73%] Linking C executable template [2024-12-11T11:27:50.056Z] [ 73%] Built target template [2024-12-11T11:27:50.056Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-11T11:27:50.056Z] [ 76%] Linking C executable device-counter [2024-12-11T11:27:50.056Z] [ 76%] Built target device-counter [2024-12-11T11:27:50.056Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-11T11:27:50.056Z] [ 80%] Linking C executable device-random [2024-12-11T11:27:50.318Z] [ 80%] Built target device-random [2024-12-11T11:27:50.318Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-11T11:27:50.318Z] [ 84%] Linking C executable device-gyro [2024-12-11T11:27:50.318Z] [ 84%] Built target device-gyro [2024-12-11T11:27:50.318Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-11T11:27:50.577Z] [ 88%] Linking C executable device-bitfields [2024-12-11T11:27:50.577Z] [ 88%] Built target device-bitfields [2024-12-11T11:27:50.577Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-11T11:27:50.577Z] [ 92%] Linking C executable template-discovery [2024-12-11T11:27:50.577Z] [ 92%] Built target template-discovery [2024-12-11T11:27:50.837Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-11T11:27:50.837Z] [ 96%] Linking C executable device-file [2024-12-11T11:27:50.837Z] [ 96%] Built target device-file [2024-12-11T11:27:50.837Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-11T11:27:51.128Z] [100%] Linking C executable device-terminal [2024-12-11T11:27:51.128Z] [100%] Built target device-terminal [2024-12-11T11:27:51.128Z] make: Entering directory '/tmp/sdk/build/release' [2024-12-11T11:27:51.128Z] [ 69%] Built target csdk [2024-12-11T11:27:51.128Z] [ 73%] Built target template [2024-12-11T11:27:51.128Z] [ 76%] Built target device-counter [2024-12-11T11:27:51.128Z] [ 80%] Built target device-random [2024-12-11T11:27:51.128Z] [ 84%] Built target device-gyro [2024-12-11T11:27:51.128Z] [ 88%] Built target device-bitfields [2024-12-11T11:27:51.388Z] [ 92%] Built target template-discovery [2024-12-11T11:27:51.388Z] [ 96%] Built target device-file [2024-12-11T11:27:51.388Z] [100%] Built target device-terminal [2024-12-11T11:27:51.388Z] Install the project... [2024-12-11T11:27:51.388Z] -- Install configuration: "Release" [2024-12-11T11:27:51.388Z] -- Installing: /usr/local/lib/libcsdk.so [2024-12-11T11:27:51.388Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-12-11T11:27:51.388Z] -- Installing: /usr/local/include [2024-12-11T11:27:51.388Z] -- Installing: /usr/local/include/devsdk [2024-12-11T11:27:51.388Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-12-11T11:27:51.388Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-12-11T11:27:51.388Z] -- Installing: /usr/local/include/edgex [2024-12-11T11:27:51.388Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-12-11T11:27:51.388Z] -- Installing: /usr/local/include/edgex/devices.h [2024-12-11T11:27:51.388Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-12-11T11:27:51.388Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-12-11T11:27:51.388Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-12-11T11:27:51.388Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-12-11T11:27:51.388Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-12-11T11:27:51.388Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-12-11T11:27:51.388Z] make: Leaving directory '/tmp/sdk/build/release' [2024-12-11T11:27:52.763Z] Removing intermediate container 4f29e3ba8bfd [2024-12-11T11:27:52.763Z] ---> a8bd77dcc005 [2024-12-11T11:27:52.763Z] Step 14/22 : FROM ${BASE} [2024-12-11T11:27:52.763Z] ---> 6605166a5db4 [2024-12-11T11:27:52.763Z] Step 15/22 : LABEL maintainer="IOTech " [2024-12-11T11:27:52.763Z] ---> Running in d1091cf6fa47 [2024-12-11T11:27:52.763Z] Removing intermediate container d1091cf6fa47 [2024-12-11T11:27:52.763Z] ---> 492c760d1a9e [2024-12-11T11:27:52.763Z] 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-11T11:27:53.023Z] ---> Running in a1356c73a3d2 [2024-12-11T11:27:53.284Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-12-11T11:27:53.544Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-11T11:27:53.544Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-11T11:27:53.544Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-11T11:27:54.117Z] Removing intermediate container a1356c73a3d2 [2024-12-11T11:27:54.117Z] ---> 6559debeaf2e [2024-12-11T11:27:54.117Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-11T11:27:54.377Z] ---> Running in 6105d919fb36 [2024-12-11T11:27:54.949Z] Removing intermediate container 6105d919fb36 [2024-12-11T11:27:54.949Z] ---> 340efc96405c [2024-12-11T11:27:54.949Z] 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-11T11:27:55.222Z] ---> Running in f64f318f879f [2024-12-11T11:27:55.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T11:27:56.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-11T11:27:56.049Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T11:27:56.617Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-11T11:27:56.877Z] (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-12-11T11:27:56.877Z] (2/8) Installing curl (8.9.1-r1) [2024-12-11T11:27:56.877Z] (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-12-11T11:27:56.877Z] (4/8) Installing dumb-init (1.2.5-r2) [2024-12-11T11:27:56.877Z] (5/8) Installing libcbor (0.10.2-r1) [2024-12-11T11:27:56.877Z] (6/8) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-11T11:27:57.447Z] (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-11T11:27:57.708Z] (8/8) Installing libuuid (2.38.1-r8) [2024-12-11T11:27:57.708Z] Executing busybox-1.36.1-r4.trigger [2024-12-11T11:27:57.708Z] OK: 331 MiB in 88 packages [2024-12-11T11:27:58.276Z] Removing intermediate container f64f318f879f [2024-12-11T11:27:58.276Z] ---> d7775fc0badb [2024-12-11T11:27:58.276Z] Step 19/22 : RUN apk --no-cache upgrade [2024-12-11T11:27:58.276Z] ---> Running in 89e9f057c11a [2024-12-11T11:27:58.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T11:27:58.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-11T11:27:58.794Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T11:27:59.363Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-11T11:27:59.363Z] Upgrading critical system libraries and apk-tools: [2024-12-11T11:27:59.363Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-12-11T11:27:59.363Z] Executing busybox-1.36.1-r4.trigger [2024-12-11T11:27:59.363Z] Continuing the upgrade transaction with new apk-tools: [2024-12-11T11:27:59.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T11:27:59.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-11T11:27:59.622Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T11:28:00.192Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-11T11:28:00.192Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-12-11T11:28:00.192Z] Executing busybox-1.36.1-r7.post-upgrade [2024-12-11T11:28:00.192Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-12-11T11:28:00.192Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-12-11T11:28:00.192Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-11T11:28:00.192Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-11T11:28:00.192Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-12-11T11:28:00.192Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-12-11T11:28:00.192Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-12-11T11:28:00.453Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-12-11T11:28:00.453Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-12-11T11:28:00.453Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-12-11T11:28:00.712Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-12-11T11:28:00.712Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-12-11T11:28:00.712Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-12-11T11:28:00.712Z] Executing busybox-1.36.1-r7.trigger [2024-12-11T11:28:00.712Z] Executing ca-certificates-20240226-r0.trigger [2024-12-11T11:28:00.712Z] OK: 331 MiB in 88 packages [2024-12-11T11:28:01.657Z] Removing intermediate container 89e9f057c11a [2024-12-11T11:28:01.657Z] ---> 69b0f299b0d0 [2024-12-11T11:28:01.657Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-12-11T11:28:01.917Z] ---> 13b5f43d3f7b [2024-12-11T11:28:01.917Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-12-11T11:28:01.917Z] ---> 666d501f0967 [2024-12-11T11:28:01.917Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-12-11T11:28:02.177Z] ---> 3ce4553114b0 [2024-12-11T11:28:02.177Z] Successfully built 3ce4553114b0 [2024-12-11T11:28:02.177Z] 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-11T11:28:02.601Z] + docker inspect -f . ci-base-image-x86_64 [2024-12-11T11:28:02.601Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-11T11:28:02.701Z] prd-ubuntu20.04-docker-8c-8g-34905 does not seem to be running inside a container [2024-12-11T11:28:02.738Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-12-11T11:28:03.302Z] $ docker top 36c5d8de3560d886a5c12db55c059b7adc982db35f7fa9fa7af3eea5b67d5a37 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-11T11:28:03.662Z] + make test [2024-12-11T11:28:03.662Z] echo "make test" [2024-12-11T11:28:03.662Z] make test [Pipeline] } [2024-12-11T11:28:03.673Z] $ docker stop --time=1 36c5d8de3560d886a5c12db55c059b7adc982db35f7fa9fa7af3eea5b67d5a37 [2024-12-11T11:28:05.281Z] $ docker rm -f --volumes 36c5d8de3560d886a5c12db55c059b7adc982db35f7fa9fa7af3eea5b67d5a37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-12-11T11:28:06.028Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-12-11T11:28:06.315Z] + ls -al . [2024-12-11T11:28:06.315Z] total 212 [2024-12-11T11:28:06.315Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 11 11:27 . [2024-12-11T11:28:06.315Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 11 11:26 .. [2024-12-11T11:28:06.315Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 11 11:27 .git [2024-12-11T11:28:06.315Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 11 11:26 .github [2024-12-11T11:28:06.315Z] -rw-rw-r-- 1 jenkins jenkins 176 Dec 11 11:26 .gitignore [2024-12-11T11:28:06.315Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 11 11:27 .semver [2024-12-11T11:28:06.315Z] -rw-rw-r-- 1 jenkins jenkins 2908 Dec 11 11:26 Attribution.txt [2024-12-11T11:28:06.315Z] -rw-rw-r-- 1 jenkins jenkins 11953 Dec 11 11:26 CHANGELOG.md [2024-12-11T11:28:06.315Z] -rw-rw-r-- 1 jenkins jenkins 108574 Dec 11 11:26 Doxyfile [2024-12-11T11:28:06.315Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 11 11:26 GOVERNANCE.md [2024-12-11T11:28:06.315Z] -rw-rw-r-- 1 jenkins jenkins 784 Dec 11 11:26 Jenkinsfile [2024-12-11T11:28:06.315Z] -rw-rw-r-- 1 jenkins jenkins 10174 Dec 11 11:26 LICENSE [2024-12-11T11:28:06.315Z] -rw-rw-r-- 1 jenkins jenkins 444 Dec 11 11:26 Makefile [2024-12-11T11:28:06.315Z] -rw-rw-r-- 1 jenkins jenkins 618 Dec 11 11:26 OWNERS.md [2024-12-11T11:28:06.316Z] -rw-rw-r-- 1 jenkins jenkins 1651 Dec 11 11:26 README.IOT.md [2024-12-11T11:28:06.316Z] -rw-rw-r-- 1 jenkins jenkins 4173 Dec 11 11:26 README.md [2024-12-11T11:28:06.316Z] -rw-rw-r-- 1 jenkins jenkins 1245 Dec 11 11:26 README.v3.md [2024-12-11T11:28:06.316Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 11 11:27 VERSION [2024-12-11T11:28:06.316Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 11 11:26 docs [2024-12-11T11:28:06.316Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 11 11:26 include [2024-12-11T11:28:06.316Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 11 11:26 scripts [2024-12-11T11:28:06.316Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 11 11:26 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T11:28:06.629Z] + 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=7abe510cbd0ecbc788545c64ca7f1b281e5aa337 --label arch=amd64 --label version=4.0.0-dev.8 . [2024-12-11T11:28:06.630Z] Sending build context to Docker daemon 5.198MB [2024-12-11T11:28:06.630Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-12-11T11:28:06.630Z] Step 2/18 : FROM ${BASE} [2024-12-11T11:28:06.630Z] ---> 3ce4553114b0 [2024-12-11T11:28:06.630Z] Step 3/18 : LABEL maintainer="IOTech " [2024-12-11T11:28:06.889Z] ---> Running in 30f37a5ca76b [2024-12-11T11:28:06.889Z] Removing intermediate container 30f37a5ca76b [2024-12-11T11:28:06.889Z] ---> d5b96cf3f3de [2024-12-11T11:28:06.889Z] 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-11T11:28:06.889Z] ---> Running in 401c0a0d012b [2024-12-11T11:28:07.458Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-12-11T11:28:07.716Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-11T11:28:07.716Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-11T11:28:07.716Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-11T11:28:08.300Z] Removing intermediate container 401c0a0d012b [2024-12-11T11:28:08.300Z] ---> b1b78a8c31a3 [2024-12-11T11:28:08.300Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-11T11:28:08.300Z] ---> Running in 2053170d0184 [2024-12-11T11:28:08.871Z] Removing intermediate container 2053170d0184 [2024-12-11T11:28:08.871Z] ---> cfe0404b63d3 [2024-12-11T11:28:08.871Z] 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-11T11:28:08.871Z] ---> Running in 289d8a935e6f [2024-12-11T11:28:09.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T11:28:09.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-11T11:28:09.702Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T11:28:10.270Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-11T11:28:10.270Z] (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-11T11:28:10.529Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-12-11T11:28:10.529Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-12-11T11:28:10.529Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-12-11T11:28:10.529Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-12-11T11:28:10.529Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-11T11:28:10.529Z] (7/11) Installing libblkid (2.38.1-r8) [2024-12-11T11:28:10.529Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-12-11T11:28:10.529Z] (9/11) Installing libmount (2.38.1-r8) [2024-12-11T11:28:10.529Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-12-11T11:28:10.529Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-12-11T11:28:10.529Z] Executing busybox-1.36.1-r7.trigger [2024-12-11T11:28:10.529Z] OK: 336 MiB in 99 packages [2024-12-11T11:28:11.470Z] Removing intermediate container 289d8a935e6f [2024-12-11T11:28:11.470Z] ---> 2837eb3f48af [2024-12-11T11:28:11.470Z] Step 7/18 : RUN apk --no-cache upgrade [2024-12-11T11:28:11.470Z] ---> Running in 3063f1286b9f [2024-12-11T11:28:11.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T11:28:11.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-11T11:28:11.989Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T11:28:12.558Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-11T11:28:12.558Z] OK: 336 MiB in 99 packages [2024-12-11T11:28:13.147Z] Removing intermediate container 3063f1286b9f [2024-12-11T11:28:13.147Z] ---> 7d4ad0fe4a57 [2024-12-11T11:28:13.147Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-12-11T11:28:13.407Z] ---> be47e503c0e6 [2024-12-11T11:28:13.407Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-12-11T11:28:13.984Z] ---> 5b2a83f01786 [2024-12-11T11:28:13.984Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-12-11T11:28:14.243Z] ---> b6db368e5daa [2024-12-11T11:28:14.243Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-12-11T11:28:14.502Z] ---> 10f0d68a5c50 [2024-12-11T11:28:14.502Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-12-11T11:28:15.072Z] ---> 01d3e8695009 [2024-12-11T11:28:15.072Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-12-11T11:28:15.072Z] ---> 6b4684192fcb [2024-12-11T11:28:15.072Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-12-11T11:28:15.331Z] ---> Running in 6f0ac2bd7ebc [2024-12-11T11:28:15.617Z] Removing intermediate container 6f0ac2bd7ebc [2024-12-11T11:28:15.617Z] ---> c38062b17481 [2024-12-11T11:28:15.617Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-12-11T11:28:16.188Z] ---> Running in dd675f4c5302 [2024-12-11T11:28:16.188Z] Removing intermediate container dd675f4c5302 [2024-12-11T11:28:16.188Z] ---> 711dd49d12e8 [2024-12-11T11:28:16.188Z] Step 16/18 : LABEL arch=amd64 [2024-12-11T11:28:16.447Z] ---> Running in f6e8d1e6b144 [2024-12-11T11:28:16.447Z] Removing intermediate container f6e8d1e6b144 [2024-12-11T11:28:16.447Z] ---> be56d090787a [2024-12-11T11:28:16.447Z] Step 17/18 : LABEL git_sha=7abe510cbd0ecbc788545c64ca7f1b281e5aa337 [2024-12-11T11:28:16.447Z] ---> Running in 4f7d045b1d88 [2024-12-11T11:28:16.707Z] Removing intermediate container 4f7d045b1d88 [2024-12-11T11:28:16.707Z] ---> 22fbb4655935 [2024-12-11T11:28:16.707Z] Step 18/18 : LABEL version=4.0.0-dev.8 [2024-12-11T11:28:16.707Z] ---> Running in 9ef80f04101e [2024-12-11T11:28:16.707Z] Removing intermediate container 9ef80f04101e [2024-12-11T11:28:16.707Z] ---> c37b7185893f [2024-12-11T11:28:16.707Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-12-11T11:28:16.707Z] Successfully built c37b7185893f [2024-12-11T11:28:16.707Z] 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-11T11:28:17.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-11T11:28:17.169Z] [2024-12-11T11:28:17.169Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T11:28:17.473Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-11T11:28:17.473Z] latest: Pulling from edgex-lftools-log-publisher [2024-12-11T11:28:17.473Z] 5eb5b503b376: Pulling fs layer [2024-12-11T11:28:17.473Z] 5c69ac0246d0: Pulling fs layer [2024-12-11T11:28:17.473Z] ec43610c2a17: Pulling fs layer [2024-12-11T11:28:17.473Z] 3a2ae6a8a46f: Pulling fs layer [2024-12-11T11:28:17.473Z] 33b1e0a273af: Pulling fs layer [2024-12-11T11:28:17.473Z] 5d3b04190fa2: Pulling fs layer [2024-12-11T11:28:17.473Z] 2f39f015ded8: Pulling fs layer [2024-12-11T11:28:17.473Z] 3a2ae6a8a46f: Waiting [2024-12-11T11:28:17.473Z] 33b1e0a273af: Waiting [2024-12-11T11:28:17.473Z] 2f39f015ded8: Waiting [2024-12-11T11:28:17.473Z] 5d3b04190fa2: Waiting [2024-12-11T11:28:17.473Z] 5c69ac0246d0: Verifying Checksum [2024-12-11T11:28:17.473Z] 5c69ac0246d0: Download complete [2024-12-11T11:28:17.473Z] 3a2ae6a8a46f: Download complete [2024-12-11T11:28:17.473Z] 33b1e0a273af: Verifying Checksum [2024-12-11T11:28:17.473Z] 33b1e0a273af: Download complete [2024-12-11T11:28:17.473Z] 5d3b04190fa2: Verifying Checksum [2024-12-11T11:28:17.473Z] 5d3b04190fa2: Download complete [2024-12-11T11:28:17.871Z] ec43610c2a17: Verifying Checksum [2024-12-11T11:28:17.871Z] ec43610c2a17: Download complete [2024-12-11T11:28:17.871Z] 5eb5b503b376: Verifying Checksum [2024-12-11T11:28:17.871Z] 5eb5b503b376: Download complete [2024-12-11T11:28:18.438Z] 2f39f015ded8: Download complete [2024-12-11T11:28:19.007Z] 5eb5b503b376: Pull complete [2024-12-11T11:28:19.268Z] 5c69ac0246d0: Pull complete [2024-12-11T11:28:19.838Z] ec43610c2a17: Pull complete [2024-12-11T11:28:19.838Z] 3a2ae6a8a46f: Pull complete [2024-12-11T11:28:20.111Z] 33b1e0a273af: Pull complete [2024-12-11T11:28:20.111Z] 5d3b04190fa2: Pull complete [2024-12-11T11:28:25.393Z] 2f39f015ded8: Pull complete [2024-12-11T11:28:25.393Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-12-11T11:28:25.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-11T11:28:25.393Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-11T11:28:25.507Z] prd-ubuntu20.04-docker-8c-8g-34905 does not seem to be running inside a container [2024-12-11T11:28:25.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-12-11T11:28:34.287Z] $ docker top 553e3234dcf7ba5c8819a52b95ff7f75225c8ad567b5f3e6755d5cbddacf1e34 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-11T11:28:34.699Z] ---> job-cost.sh [2024-12-11T11:28:34.699Z] lf-activate-venv: SKIPPING [2024-12-11T11:28:34.699Z] INFO: No Stack... [2024-12-11T11:28:34.959Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-11T11:28:35.219Z] INFO: Archiving Costs [Pipeline] sh [2024-12-11T11:28:35.511Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2024-12-11T11:28:35.511Z] + cut -d, -f6 [Pipeline] lock [2024-12-11T11:28:35.526Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-85-stack-cost] [2024-12-11T11:28:35.533Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-85-stack-cost] did not exist. Created. [2024-12-11T11:28:35.539Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-85-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-12-11T11:28:35.850Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-12-11T11:28:35.931Z] Stashed 1 file(s) [Pipeline] } [2024-12-11T11:28:35.939Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-85-stack-cost] [Pipeline] // lock [Pipeline] } [2024-12-11T11:28:35.964Z] $ docker stop --time=1 553e3234dcf7ba5c8819a52b95ff7f75225c8ad567b5f3e6755d5cbddacf1e34 [2024-12-11T11:28:37.366Z] $ docker rm -f --volumes 553e3234dcf7ba5c8819a52b95ff7f75225c8ad567b5f3e6755d5cbddacf1e34 [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-11T11:28:37.927Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-11T11:28:37.927Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T11:28:38.229Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-11T11:28:38.229Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-11T11:28:38.310Z] prd-ubuntu20.04-docker-8c-8g-34905 does not seem to be running inside a container [2024-12-11T11:28:38.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-12-11T11:28:38.956Z] $ docker top 0213c44b55b9ed287cf538c18d6a9d6b4e2ccee5fe6721da5db01df096b5202c -eo pid,comm [2024-12-11T11:28:39.009Z] 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-11T11:28:39.009Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-11T11:28:39.063Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-11T11:28:39.063Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-11T11:28:39.208Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-11T11:28:39.209Z] $ docker exec 0213c44b55b9ed287cf538c18d6a9d6b4e2ccee5fe6721da5db01df096b5202c ssh-agent [2024-12-11T11:28:39.339Z] SSH_AUTH_SOCK=/tmp/ssh-mWwJs7LkIZuP/agent.32 [2024-12-11T11:28:39.339Z] SSH_AGENT_PID=38 [2024-12-11T11:28:39.346Z] Running ssh-add (command line suppressed) [2024-12-11T11:28:39.456Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8458561216397308703.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8458561216397308703.key) [2024-12-11T11:28:39.475Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-11T11:28:39.770Z] + git semver tag [2024-12-11T11:28:40.029Z] 2024-12-11 11:28:39,950 [run_tag] DEBUG tag force:False [2024-12-11T11:28:40.029Z] 2024-12-11 11:28:39,950 [check_head_tag] DEBUG check head tag [2024-12-11T11:28:40.029Z] 2024-12-11 11:28:39,951 [execute] INFO git cat-file --batch-check [2024-12-11T11:28:40.029Z] 2024-12-11 11:28:39,951 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-12-11T11:28:40.029Z] 2024-12-11 11:28:39,954 [execute] INFO git cat-file --batch [2024-12-11T11:28:40.029Z] 2024-12-11 11:28:39,955 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-12-11T11:28:40.029Z] 2024-12-11 11:28:39,974 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T11:28:40.029Z] 2024-12-11 11:28:39,974 [execute] INFO git tag -a v4.0.0-dev.8 -m v4.0.0-dev.8 [2024-12-11T11:28:40.029Z] 2024-12-11 11:28:39,975 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.8', '-m', 'v4.0.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-12-11T11:28:40.029Z] 2024-12-11 11:28:39,980 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T11:28:40.029Z] 4.0.0-dev.8 [Pipeline] } [2024-12-11T11:28:40.037Z] $ docker exec --env ******** --env ******** 0213c44b55b9ed287cf538c18d6a9d6b4e2ccee5fe6721da5db01df096b5202c ssh-agent -k [2024-12-11T11:28:40.142Z] unset SSH_AUTH_SOCK; [2024-12-11T11:28:40.143Z] unset SSH_AGENT_PID; [2024-12-11T11:28:40.143Z] echo Agent pid 38 killed; [2024-12-11T11:28:40.156Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-11T11:28:40.485Z] + git semver [Pipeline] } [2024-12-11T11:28:40.755Z] $ docker stop --time=1 0213c44b55b9ed287cf538c18d6a9d6b4e2ccee5fe6721da5db01df096b5202c [2024-12-11T11:28:42.043Z] $ docker rm -f --volumes 0213c44b55b9ed287cf538c18d6a9d6b4e2ccee5fe6721da5db01df096b5202c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T11:28:42.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-11T11:28:42.456Z] [2024-12-11T11:28:42.456Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T11:28:42.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-11T11:28:42.757Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-12-11T11:28:42.757Z] ab5ef0e58194: Pulling fs layer [2024-12-11T11:28:42.757Z] 9712f1f96733: Pulling fs layer [2024-12-11T11:28:42.757Z] 63f879dbbcfc: Pulling fs layer [2024-12-11T11:28:42.757Z] 0d9ebad4ef96: Pulling fs layer [2024-12-11T11:28:42.757Z] e9a5061849ea: Pulling fs layer [2024-12-11T11:28:42.757Z] d747dcd14b5f: Pulling fs layer [2024-12-11T11:28:42.757Z] 2de7ff778b66: Pulling fs layer [2024-12-11T11:28:42.757Z] 0d9ebad4ef96: Waiting [2024-12-11T11:28:42.757Z] 2de7ff778b66: Waiting [2024-12-11T11:28:42.757Z] e9a5061849ea: Waiting [2024-12-11T11:28:42.757Z] 9712f1f96733: Verifying Checksum [2024-12-11T11:28:42.757Z] 9712f1f96733: Download complete [2024-12-11T11:28:43.018Z] 63f879dbbcfc: Verifying Checksum [2024-12-11T11:28:43.018Z] 63f879dbbcfc: Download complete [2024-12-11T11:28:43.276Z] e9a5061849ea: Verifying Checksum [2024-12-11T11:28:43.276Z] e9a5061849ea: Download complete [2024-12-11T11:28:43.276Z] d747dcd14b5f: Verifying Checksum [2024-12-11T11:28:43.276Z] d747dcd14b5f: Download complete [2024-12-11T11:28:43.276Z] ab5ef0e58194: Verifying Checksum [2024-12-11T11:28:43.276Z] ab5ef0e58194: Download complete [2024-12-11T11:28:43.534Z] 0d9ebad4ef96: Verifying Checksum [2024-12-11T11:28:43.534Z] 0d9ebad4ef96: Download complete [2024-12-11T11:28:43.534Z] 2de7ff778b66: Verifying Checksum [2024-12-11T11:28:43.534Z] 2de7ff778b66: Download complete [2024-12-11T11:28:46.072Z] ab5ef0e58194: Pull complete [2024-12-11T11:28:46.330Z] 9712f1f96733: Pull complete [2024-12-11T11:28:46.900Z] 63f879dbbcfc: Pull complete [2024-12-11T11:28:51.092Z] 0d9ebad4ef96: Pull complete [2024-12-11T11:28:51.092Z] e9a5061849ea: Pull complete [2024-12-11T11:28:51.092Z] d747dcd14b5f: Pull complete [2024-12-11T11:28:52.026Z] 2de7ff778b66: Pull complete [2024-12-11T11:28:52.026Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-12-11T11:28:52.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-11T11:28:52.026Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-11T11:28:52.119Z] prd-ubuntu20.04-docker-8c-8g-34905 does not seem to be running inside a container [2024-12-11T11:28:52.146Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-12-11T11:28:58.261Z] $ docker top c9a41f55a85a38a99358bd733cbe6fff42b3426073d7c60493f546c8c0a161b1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-12-11T11:28:58.334Z] provisioning config files... [2024-12-11T11:28:58.341Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17228800662151794397tmp [2024-12-11T11:28:58.351Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config12261148984607702656tmp [2024-12-11T11:28:58.361Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10040417580106873919tmp [Pipeline] { [Pipeline] echo [2024-12-11T11:28:58.454Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-11T11:28:58.753Z] ---> sigul-configuration.sh [2024-12-11T11:28:58.753Z] gpg: directory `/root/.gnupg' created [2024-12-11T11:28:58.753Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-12-11T11:28:58.753Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-12-11T11:28:58.753Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-12-11T11:28:58.753Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-12-11T11:28:58.753Z] gpg: CAST5 encrypted data [2024-12-11T11:28:58.753Z] gpg: encrypted with 1 passphrase [2024-12-11T11:28:58.753Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-12-11T11:28:59.059Z] + mkdir /home/jenkins [2024-12-11T11:28:59.059Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-12-11T11:28:59.358Z] + 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-11T11:28:59.377Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-11T11:28:59.684Z] ---> sigul-install.sh [2024-12-11T11:28:59.684Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-12-11T11:28:59.980Z] + git tag --list [2024-12-11T11:28:59.981Z] 0.7.0 [2024-12-11T11:28:59.981Z] 0.7.1 [2024-12-11T11:28:59.981Z] 1.0.0 [2024-12-11T11:28:59.981Z] v1.0.1 [2024-12-11T11:28:59.981Z] v1.0.2 [2024-12-11T11:28:59.981Z] v1.0.3 [2024-12-11T11:28:59.981Z] v1.1.0 [2024-12-11T11:28:59.981Z] v1.1.1 [2024-12-11T11:28:59.981Z] v1.2.0 [2024-12-11T11:28:59.981Z] v1.2.1 [2024-12-11T11:28:59.981Z] v1.2.2 [2024-12-11T11:28:59.981Z] v1.3.0 [2024-12-11T11:28:59.981Z] v1.3.1 [2024-12-11T11:28:59.981Z] v2.0.0 [2024-12-11T11:28:59.981Z] v2.1.0 [2024-12-11T11:28:59.981Z] v2.2.0 [2024-12-11T11:28:59.981Z] v2.3.0 [2024-12-11T11:28:59.981Z] v3.0 [2024-12-11T11:28:59.981Z] v3.0.0 [2024-12-11T11:28:59.981Z] v3.0.1 [2024-12-11T11:28:59.981Z] v3.0.2 [2024-12-11T11:28:59.981Z] v3.0.3-dev.1 [2024-12-11T11:28:59.981Z] v3.0.3-dev.10 [2024-12-11T11:28:59.981Z] v3.0.3-dev.11 [2024-12-11T11:28:59.981Z] v3.0.3-dev.12 [2024-12-11T11:28:59.981Z] v3.0.3-dev.13 [2024-12-11T11:28:59.981Z] v3.0.3-dev.14 [2024-12-11T11:28:59.981Z] v3.0.3-dev.15 [2024-12-11T11:28:59.981Z] v3.0.3-dev.16 [2024-12-11T11:28:59.981Z] v3.0.3-dev.17 [2024-12-11T11:28:59.981Z] v3.0.3-dev.2 [2024-12-11T11:28:59.981Z] v3.0.3-dev.3 [2024-12-11T11:28:59.981Z] v3.0.3-dev.4 [2024-12-11T11:28:59.981Z] v3.0.3-dev.5 [2024-12-11T11:28:59.981Z] v3.0.3-dev.6 [2024-12-11T11:28:59.981Z] v3.0.3-dev.7 [2024-12-11T11:28:59.981Z] v3.0.3-dev.8 [2024-12-11T11:28:59.981Z] v3.0.3-dev.9 [2024-12-11T11:28:59.981Z] v3.1 [2024-12-11T11:28:59.981Z] v3.1.0 [2024-12-11T11:28:59.981Z] v3.1.0-dev.1 [2024-12-11T11:28:59.981Z] v3.1.0-dev.2 [2024-12-11T11:28:59.981Z] v3.1.0-dev.3 [2024-12-11T11:28:59.981Z] v3.1.0-dev.4 [2024-12-11T11:28:59.981Z] v3.1.0-dev.5 [2024-12-11T11:28:59.981Z] v3.1.0-dev.6 [2024-12-11T11:28:59.981Z] v3.1.0-dev.7 [2024-12-11T11:28:59.981Z] v3.1.0-dev.8 [2024-12-11T11:28:59.981Z] v3.1.0-dev.9 [2024-12-11T11:28:59.981Z] v3.1.1 [2024-12-11T11:28:59.981Z] v3.1.1-dev.1 [2024-12-11T11:28:59.981Z] v4.0.0-dev.1 [2024-12-11T11:28:59.981Z] v4.0.0-dev.2 [2024-12-11T11:28:59.981Z] v4.0.0-dev.3 [2024-12-11T11:28:59.981Z] v4.0.0-dev.4 [2024-12-11T11:28:59.981Z] v4.0.0-dev.5 [2024-12-11T11:28:59.981Z] v4.0.0-dev.6 [2024-12-11T11:28:59.981Z] v4.0.0-dev.7 [2024-12-11T11:28:59.981Z] v4.0.0-dev.8 [Pipeline] sh [2024-12-11T11:29:00.363Z] + lftools sign git-tag v4.0.0-dev.8 [2024-12-11T11:29:00.928Z] Signing Git tag with Sigul... [2024-12-11T11:29:00.928Z] Signing v4.0.0-dev.8 [Pipeline] echo [2024-12-11T11:29:01.201Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-11T11:29:01.566Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-12-11T11:29:01.576Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-12-11T11:29:01.596Z] $ docker stop --time=1 c9a41f55a85a38a99358bd733cbe6fff42b3426073d7c60493f546c8c0a161b1 [2024-12-11T11:29:02.854Z] $ docker rm -f --volumes c9a41f55a85a38a99358bd733cbe6fff42b3426073d7c60493f546c8c0a161b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-12-11T11:29:03.347Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-11T11:29:03.347Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T11:29:03.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-11T11:29:03.646Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-11T11:29:03.726Z] prd-ubuntu20.04-docker-8c-8g-34905 does not seem to be running inside a container [2024-12-11T11:29:03.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-12-11T11:29:04.147Z] $ docker top e319f16987c4de7511c32cc948c34a308d7a2cf1520df09ce06018a34443869b -eo pid,comm [2024-12-11T11:29:04.197Z] 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-11T11:29:04.198Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-11T11:29:04.245Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-11T11:29:04.245Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-11T11:29:04.363Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-11T11:29:04.362Z] $ docker exec e319f16987c4de7511c32cc948c34a308d7a2cf1520df09ce06018a34443869b ssh-agent [2024-12-11T11:29:04.478Z] SSH_AUTH_SOCK=/tmp/ssh-ENJfDTq2Bxam/agent.33 [2024-12-11T11:29:04.478Z] SSH_AGENT_PID=39 [2024-12-11T11:29:04.483Z] Running ssh-add (command line suppressed) [2024-12-11T11:29:04.580Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12862003923545656343.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12862003923545656343.key) [2024-12-11T11:29:04.594Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-11T11:29:04.884Z] + git semver bump pre [2024-12-11T11:29:05.143Z] 2024-12-11 11:29:05,041 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T11:29:05.143Z] 2024-12-11 11:29:05,041 [bump_version] DEBUG bumping version:4.0.0-dev.8 on axis:pre with prefix:dev [2024-12-11T11:29:05.143Z] 2024-12-11 11:29:05,041 [bump_version] DEBUG bumped version:4.0.0-dev.9 [2024-12-11T11:29:05.143Z] 2024-12-11 11:29:05,041 [write_version] DEBUG write version:4.0.0-dev.9 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2024-12-11T11:29:05.143Z] 2024-12-11 11:29:05,041 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T11:29:05.143Z] 2024-12-11 11:29:05,041 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T11:29:05.143Z] 2024-12-11 11:29:05,043 [execute] INFO git cat-file --batch-check [2024-12-11T11:29:05.144Z] 2024-12-11 11:29:05,043 [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-11T11:29:05.144Z] 2024-12-11 11:29:05,047 [execute] INFO git cat-file --batch [2024-12-11T11:29:05.144Z] 2024-12-11 11:29:05,047 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-12-11T11:29:05.144Z] 2024-12-11 11:29:05,051 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T11:29:05.144Z] 4.0.0-dev.9 [Pipeline] } [2024-12-11T11:29:05.150Z] $ docker exec --env ******** --env ******** e319f16987c4de7511c32cc948c34a308d7a2cf1520df09ce06018a34443869b ssh-agent -k [2024-12-11T11:29:05.247Z] unset SSH_AUTH_SOCK; [2024-12-11T11:29:05.247Z] unset SSH_AGENT_PID; [2024-12-11T11:29:05.247Z] echo Agent pid 39 killed; [2024-12-11T11:29:05.260Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-11T11:29:05.578Z] + git semver [Pipeline] } [2024-12-11T11:29:05.850Z] $ docker stop --time=1 e319f16987c4de7511c32cc948c34a308d7a2cf1520df09ce06018a34443869b [2024-12-11T11:29:07.127Z] $ docker rm -f --volumes e319f16987c4de7511c32cc948c34a308d7a2cf1520df09ce06018a34443869b [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-11T11:29:07.496Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-11T11:29:07.496Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T11:29:07.788Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-11T11:29:07.788Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-11T11:29:07.860Z] prd-ubuntu20.04-docker-8c-8g-34905 does not seem to be running inside a container [2024-12-11T11:29:07.882Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-12-11T11:29:08.196Z] $ docker top b406d256f05fbc0cf1ec8b2c667c7bc1e92981242e06e32ef1a59e68c879f1e6 -eo pid,comm [2024-12-11T11:29:08.244Z] 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-11T11:29:08.244Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-11T11:29:08.294Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-11T11:29:08.294Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-11T11:29:08.409Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-11T11:29:08.408Z] $ docker exec b406d256f05fbc0cf1ec8b2c667c7bc1e92981242e06e32ef1a59e68c879f1e6 ssh-agent [2024-12-11T11:29:08.529Z] SSH_AUTH_SOCK=/tmp/ssh-EosTNvD19hgc/agent.33 [2024-12-11T11:29:08.529Z] SSH_AGENT_PID=39 [2024-12-11T11:29:08.543Z] Running ssh-add (command line suppressed) [2024-12-11T11:29:08.640Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4707517564375792537.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4707517564375792537.key) [2024-12-11T11:29:08.687Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-11T11:29:09.006Z] + git semver push [2024-12-11T11:29:09.265Z] 2024-12-11 11:29:09,170 [run_push] DEBUG push [2024-12-11T11:29:09.265Z] 2024-12-11 11:29:09,171 [execute] INFO git cat-file --batch-check [2024-12-11T11:29:09.265Z] 2024-12-11 11:29:09,171 [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-11T11:29:09.265Z] 2024-12-11 11:29:09,176 [execute] INFO git rev-list eb8c9d3dee4da9b4de5f4c858c3a133c148a45f6 -- [2024-12-11T11:29:09.265Z] 2024-12-11 11:29:09,176 [execute] DEBUG Popen(['git', 'rev-list', 'eb8c9d3dee4da9b4de5f4c858c3a133c148a45f6', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-12-11T11:29:09.265Z] 2024-12-11 11:29:09,182 [execute] INFO git fetch -v origin [2024-12-11T11:29:09.265Z] 2024-12-11 11:29:09,183 [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-11T11:29:09.835Z] 2024-12-11 11:29:09,649 [run_push] DEBUG no remote changes detected [2024-12-11T11:29:09.835Z] 2024-12-11 11:29:09,649 [execute] INFO git push origin semver [2024-12-11T11:29:09.835Z] 2024-12-11 11:29:09,650 [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-11T11:29:10.404Z] 2024-12-11 11:29:10,327 [run_push] DEBUG push all version tags [2024-12-11T11:29:10.404Z] 2024-12-11 11:29:10,328 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-12-11T11:29:10.404Z] 2024-12-11 11:29:10,328 [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-11T11:29:10.974Z] 2024-12-11 11:29:10,939 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T11:29:10.974Z] 4.0.0-dev.9 [Pipeline] } [2024-12-11T11:29:10.981Z] $ docker exec --env ******** --env ******** b406d256f05fbc0cf1ec8b2c667c7bc1e92981242e06e32ef1a59e68c879f1e6 ssh-agent -k [2024-12-11T11:29:11.080Z] unset SSH_AUTH_SOCK; [2024-12-11T11:29:11.080Z] unset SSH_AGENT_PID; [2024-12-11T11:29:11.080Z] echo Agent pid 39 killed; [2024-12-11T11:29:11.094Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-11T11:29:11.412Z] + git semver [Pipeline] } [2024-12-11T11:29:11.683Z] $ docker stop --time=1 b406d256f05fbc0cf1ec8b2c667c7bc1e92981242e06e32ef1a59e68c879f1e6 [2024-12-11T11:29:12.963Z] $ docker rm -f --volumes b406d256f05fbc0cf1ec8b2c667c7bc1e92981242e06e32ef1a59e68c879f1e6 [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-11T11:29:13.478Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2024-12-11T11:29:13.478Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-11T11:29:13.478Z] total 16 [2024-12-11T11:29:13.478Z] drwxr-xr-x 3 root root 4096 Dec 11 11:28 . [2024-12-11T11:29:13.478Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 11 11:28 .. [2024-12-11T11:29:13.478Z] drwxr-xr-x 2 root root 4096 Dec 11 11:28 cost [2024-12-11T11:29:13.478Z] -rw-r--r-- 1 root root 83 Dec 11 11:28 cost.csv [2024-12-11T11:29:13.478Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-11T11:29:13.478Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-11T11:29:13.478Z] total 16 [2024-12-11T11:29:13.478Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 11 11:28 . [2024-12-11T11:29:13.478Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 11 11:28 .. [2024-12-11T11:29:13.478Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 11 11:28 cost [2024-12-11T11:29:13.478Z] -rw-r--r-- 1 jenkins jenkins 83 Dec 11 11:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-12-11T11:29:13.767Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-11T11:29:14.632Z] ---> package-listing.sh [2024-12-11T11:29:14.632Z] ++ facter osfamily [2024-12-11T11:29:14.632Z] ++ tr '[:upper:]' '[:lower:]' [2024-12-11T11:29:14.632Z] + OS_FAMILY=debian [2024-12-11T11:29:14.632Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2024-12-11T11:29:14.632Z] + START_PACKAGES=/tmp/packages_start.txt [2024-12-11T11:29:14.632Z] + END_PACKAGES=/tmp/packages_end.txt [2024-12-11T11:29:14.632Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-12-11T11:29:14.632Z] + PACKAGES=/tmp/packages_start.txt [2024-12-11T11:29:14.632Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-12-11T11:29:14.632Z] + PACKAGES=/tmp/packages_end.txt [2024-12-11T11:29:14.632Z] + case "${OS_FAMILY}" in [2024-12-11T11:29:14.892Z] + dpkg -l [2024-12-11T11:29:14.892Z] + grep '^ii' [2024-12-11T11:29:14.892Z] + '[' -f /tmp/packages_start.txt ']' [2024-12-11T11:29:14.892Z] + '[' -f /tmp/packages_end.txt ']' [2024-12-11T11:29:14.892Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-12-11T11:29:14.892Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-12-11T11:29:14.892Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2024-12-11T11:29:14.892Z] + 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-11T11:29:14.904Z] 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-11T11:29:15.184Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T11:29:15.743Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-11T11:29:15.743Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-11T11:29:15.824Z] prd-ubuntu20.04-docker-8c-8g-34905 does not seem to be running inside a container [2024-12-11T11:29:15.852Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-12-11T11:29:16.057Z] $ docker top 7d2ef111ccb6e9c1096fbe0aa887a55cd75ea922c1fd414ccb282fca295841a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-11T11:29:16.402Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-12-11T11:29:16.685Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-12-11T11:29:16.965Z] + ls /var/log/sa-host [2024-12-11T11:29:16.966Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-11T11:29:17.113Z] provisioning config files... [2024-12-11T11:29:17.122Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17137036560414850221tmp [Pipeline] { [Pipeline] echo [2024-12-11T11:29:17.138Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-11T11:29:17.420Z] ---> create-netrc.sh [Pipeline] } [2024-12-11T11:29:17.427Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-12-11T11:29:17.754Z] ---> python-tools-install.sh [Pipeline] echo [2024-12-11T11:29:17.763Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-11T11:29:18.043Z] ---> sudo-logs.sh [2024-12-11T11:29:18.043Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-12-11T11:29:18.074Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-11T11:29:18.355Z] ---> job-cost.sh [2024-12-11T11:29:18.355Z] lf-activate-venv: SKIPPING [2024-12-11T11:29:18.355Z] DEBUG: total: 0.2199999988079071 [2024-12-11T11:29:18.355Z] INFO: Retrieving Stack Cost... [2024-12-11T11:29:18.614Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-11T11:29:19.183Z] INFO: Archiving Costs [Pipeline] echo [2024-12-11T11:29:19.197Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-11T11:29:19.477Z] ---> logs-deploy.sh [2024-12-11T11:29:19.477Z] lf-activate-venv: SKIPPING [2024-12-11T11:29:19.477Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/85 [2024-12-11T11:29:19.477Z] INFO: archiving workspace using pattern(s): [2024-12-11T11:29:20.415Z] Archives upload complete. [2024-12-11T11:29:20.415Z] INFO: archiving logs to Nexus