Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca 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-ssh1063387572990675495.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-ssh15752889883989873160.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-ssh15133441946290879958.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-ssh10926509543257482435.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-ssh129849675847670470.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-34912 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 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca (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 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca # timeout=10 Commit message: "feat!: Drop support for Consul (#530)" > git rev-list --no-walk 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-12-11T16:01:23.839Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-12-11T16:01:23.926Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-12-11T16:01:23.955Z] ========================================================= [2024-12-11T16:01:23.955Z] EdgeX Global Pipelines Version Info [2024-12-11T16:01:23.955Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-12-11T16:01:25.094Z] ------------------- [2024-12-11T16:01:25.094Z] stable info: [2024-12-11T16:01:25.094Z] ------------------- [2024-12-11T16:01:25.094Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-12-11T16:01:25.094Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-11T16:01:25.094Z] Message: update stable to v1.0.269 [2024-12-11T16:01:25.355Z] ------------------- [2024-12-11T16:01:25.355Z] experimental info: [2024-12-11T16:01:25.355Z] ------------------- [2024-12-11T16:01:25.355Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-12-11T16:01:25.355Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-11T16:01:25.355Z] Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-12-11T16:01:25.436Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-12-11T16:01:25.457Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-12-11T16:01:25.480Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-12-11T16:01:25.500Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-12-11T16:01:25.517Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-12-11T16:01:25.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-12-11T16:01:25.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-12-11T16:01:25.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-12-11T16:01:25.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-12-11T16:01:25.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-12-11T16:01:25.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-12-11T16:01:25.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-12-11T16:01:25.680Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-12-11T16:01:25.704Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-12-11T16:01:25.726Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-12-11T16:01:25.748Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-12-11T16:01:25.777Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-12-11T16:01:25.800Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-12-11T16:01:25.823Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-12-11T16:01:25.845Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-12-11T16:01:25.864Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca [Pipeline] echo [2024-12-11T16:01:25.883Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84c8015 [Pipeline] echo [2024-12-11T16:01:25.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-11T16:01:25.961Z] provisioning config files... [2024-12-11T16:01:25.979Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4155133755934346781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-11T16:01:26.326Z] ---> ****-login.sh [2024-12-11T16:01:26.326Z] nexus3.edgexfoundry.org:10001 [2024-12-11T16:01:26.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T16:01:26.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T16:01:26.856Z] Configure a credential helper to remove this warning. See [2024-12-11T16:01:26.856Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T16:01:26.856Z] [2024-12-11T16:01:26.856Z] Login Succeeded [2024-12-11T16:01:26.856Z] nexus3.edgexfoundry.org:10002 [2024-12-11T16:01:26.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T16:01:26.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T16:01:26.856Z] Configure a credential helper to remove this warning. See [2024-12-11T16:01:26.856Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T16:01:26.856Z] [2024-12-11T16:01:26.856Z] Login Succeeded [2024-12-11T16:01:26.856Z] nexus3.edgexfoundry.org:10003 [2024-12-11T16:01:27.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T16:01:27.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T16:01:27.122Z] Configure a credential helper to remove this warning. See [2024-12-11T16:01:27.122Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T16:01:27.122Z] [2024-12-11T16:01:27.122Z] Login Succeeded [2024-12-11T16:01:27.122Z] nexus3.edgexfoundry.org:10004 [2024-12-11T16:01:27.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T16:01:27.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T16:01:27.122Z] Configure a credential helper to remove this warning. See [2024-12-11T16:01:27.122Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T16:01:27.122Z] [2024-12-11T16:01:27.122Z] Login Succeeded [2024-12-11T16:01:27.122Z] ****.io [2024-12-11T16:01:27.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T16:01:27.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T16:01:27.390Z] Configure a credential helper to remove this warning. See [2024-12-11T16:01:27.390Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T16:01:27.390Z] [2024-12-11T16:01:27.390Z] Login Succeeded [2024-12-11T16:01:27.390Z] ---> ****-login.sh ends [Pipeline] } [2024-12-11T16:01:27.398Z] 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-11T16:01:27.807Z] + git rev-list -1 --merges 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca~1..84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca [Pipeline] echo [2024-12-11T16:01:27.840Z] -----------> git rev-list -1 --merges 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca~1..84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca [false] [Pipeline] sh [2024-12-11T16:01:28.136Z] + git log --format=format:%s -1 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca [Pipeline] echo [2024-12-11T16:01:28.156Z] ========================================================= [2024-12-11T16:01:28.156Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-11T16:01:28.156Z] ========================================================= 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-11T16:01:28.627Z] + git rev-list -1 --merges 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca~1..84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca [Pipeline] echo [2024-12-11T16:01:28.642Z] -----------> git rev-list -1 --merges 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca~1..84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca [false] [Pipeline] sh [2024-12-11T16:01:28.938Z] + git log --format=format:%s -1 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca [Pipeline] echo [2024-12-11T16:01:28.958Z] ========================================================= [2024-12-11T16:01:28.958Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-11T16:01:28.958Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-12-11T16:01:29.432Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-11T16:01:29.432Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-12-11T16:01:29.432Z] + [ -e /tmp/ssh_known_hosts ] [2024-12-11T16:01:29.432Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-12-11T16:01:29.432Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-12-11T16:01:29.432Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-12-11T16:01:29.432Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T16:01:29.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-11T16:01:29.890Z] [2024-12-11T16:01:29.890Z] 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-11T16:01:30.201Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-11T16:01:30.201Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-12-11T16:01:30.201Z] b85a868b505f: Pulling fs layer [2024-12-11T16:01:30.201Z] e2be974225ed: Pulling fs layer [2024-12-11T16:01:30.201Z] 339a4e72a1f5: Pulling fs layer [2024-12-11T16:01:30.201Z] 988bab9f4d93: Pulling fs layer [2024-12-11T16:01:30.201Z] 1469e6f7b9e6: Pulling fs layer [2024-12-11T16:01:30.201Z] eaf3925da568: Pulling fs layer [2024-12-11T16:01:30.201Z] bab4dde63d76: Pulling fs layer [2024-12-11T16:01:30.201Z] bde34c3a00c8: Pulling fs layer [2024-12-11T16:01:30.201Z] b352a97aabf1: Pulling fs layer [2024-12-11T16:01:30.201Z] 4872d77fe225: Pulling fs layer [2024-12-11T16:01:30.201Z] 5851b861e8e6: Pulling fs layer [2024-12-11T16:01:30.201Z] bde34c3a00c8: Waiting [2024-12-11T16:01:30.201Z] b352a97aabf1: Waiting [2024-12-11T16:01:30.201Z] 4872d77fe225: Waiting [2024-12-11T16:01:30.201Z] 5851b861e8e6: Waiting [2024-12-11T16:01:30.201Z] 1469e6f7b9e6: Waiting [2024-12-11T16:01:30.201Z] eaf3925da568: Waiting [2024-12-11T16:01:30.201Z] bab4dde63d76: Waiting [2024-12-11T16:01:30.201Z] 988bab9f4d93: Waiting [2024-12-11T16:01:30.201Z] e2be974225ed: Download complete [2024-12-11T16:01:30.201Z] 988bab9f4d93: Verifying Checksum [2024-12-11T16:01:30.201Z] 988bab9f4d93: Download complete [2024-12-11T16:01:30.201Z] 1469e6f7b9e6: Download complete [2024-12-11T16:01:30.464Z] eaf3925da568: Verifying Checksum [2024-12-11T16:01:30.464Z] eaf3925da568: Download complete [2024-12-11T16:01:30.464Z] 339a4e72a1f5: Verifying Checksum [2024-12-11T16:01:30.464Z] 339a4e72a1f5: Download complete [2024-12-11T16:01:30.464Z] bde34c3a00c8: Verifying Checksum [2024-12-11T16:01:30.464Z] bde34c3a00c8: Download complete [2024-12-11T16:01:30.464Z] b352a97aabf1: Verifying Checksum [2024-12-11T16:01:30.464Z] b352a97aabf1: Download complete [2024-12-11T16:01:30.464Z] 4872d77fe225: Verifying Checksum [2024-12-11T16:01:30.464Z] 4872d77fe225: Download complete [2024-12-11T16:01:30.464Z] 5851b861e8e6: Verifying Checksum [2024-12-11T16:01:30.464Z] 5851b861e8e6: Download complete [2024-12-11T16:01:30.464Z] b85a868b505f: Verifying Checksum [2024-12-11T16:01:30.464Z] b85a868b505f: Download complete [2024-12-11T16:01:30.725Z] bab4dde63d76: Verifying Checksum [2024-12-11T16:01:30.725Z] bab4dde63d76: Download complete [2024-12-11T16:01:31.742Z] b85a868b505f: Pull complete [2024-12-11T16:01:31.742Z] e2be974225ed: Pull complete [2024-12-11T16:01:32.309Z] 339a4e72a1f5: Pull complete [2024-12-11T16:01:32.309Z] 988bab9f4d93: Pull complete [2024-12-11T16:01:32.570Z] 1469e6f7b9e6: Pull complete [2024-12-11T16:01:32.570Z] eaf3925da568: Pull complete [2024-12-11T16:01:34.490Z] bab4dde63d76: Pull complete [2024-12-11T16:01:34.490Z] bde34c3a00c8: Pull complete [2024-12-11T16:01:34.750Z] b352a97aabf1: Pull complete [2024-12-11T16:01:34.750Z] 4872d77fe225: Pull complete [2024-12-11T16:01:34.750Z] 5851b861e8e6: Pull complete [2024-12-11T16:01:34.750Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-12-11T16:01:34.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-11T16:01:34.750Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-11T16:01:34.908Z] prd-ubuntu20.04-docker-8c-8g-34912 does not seem to be running inside a container [2024-12-11T16:01:34.928Z] $ 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-11T16:01:38.077Z] $ docker top 7fa8bdf7f5473cf00beba75a5c751831838d6147351d0475e21a7ec417911b02 -eo pid,comm [2024-12-11T16:01:38.144Z] 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-11T16:01:38.144Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-11T16:01:38.198Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-11T16:01:38.198Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-11T16:01:38.313Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-11T16:01:38.302Z] $ docker exec 7fa8bdf7f5473cf00beba75a5c751831838d6147351d0475e21a7ec417911b02 ssh-agent [2024-12-11T16:01:38.424Z] SSH_AUTH_SOCK=/tmp/ssh-QiUjNeOIgnMT/agent.31 [2024-12-11T16:01:38.424Z] SSH_AGENT_PID=37 [2024-12-11T16:01:38.431Z] Running ssh-add (command line suppressed) [2024-12-11T16:01:38.529Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8006375967051884051.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8006375967051884051.key) [2024-12-11T16:01:38.556Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-11T16:01:38.850Z] + git tag --points-at HEAD [Pipeline] } [2024-12-11T16:01:38.849Z] $ docker exec --env ******** --env ******** 7fa8bdf7f5473cf00beba75a5c751831838d6147351d0475e21a7ec417911b02 ssh-agent -k [2024-12-11T16:01:38.957Z] unset SSH_AUTH_SOCK; [2024-12-11T16:01:38.957Z] unset SSH_AGENT_PID; [2024-12-11T16:01:38.957Z] echo Agent pid 37 killed; [2024-12-11T16:01:38.979Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-12-11T16:01:39.014Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-11T16:01:39.015Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-11T16:01:39.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-11T16:01:39.125Z] $ docker exec 7fa8bdf7f5473cf00beba75a5c751831838d6147351d0475e21a7ec417911b02 ssh-agent [2024-12-11T16:01:39.252Z] SSH_AUTH_SOCK=/tmp/ssh-D3eZ36i3Qlor/agent.70 [2024-12-11T16:01:39.252Z] SSH_AGENT_PID=76 [2024-12-11T16:01:39.256Z] Running ssh-add (command line suppressed) [2024-12-11T16:01:39.343Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3857942958284701685.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3857942958284701685.key) [2024-12-11T16:01:39.370Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-11T16:01:39.664Z] + git semver init [2024-12-11T16:01:39.924Z] 2024-12-11 16:01:39,829 [run_init] DEBUG init version:0.0.0 force:False [2024-12-11T16:01:39.924Z] 2024-12-11 16:01:39,830 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-12-11T16:01:39.924Z] 2024-12-11 16:01:39,830 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-12-11T16:01:39.924Z] 2024-12-11 16:01:39,831 [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-11T16:01:40.866Z] 2024-12-11 16:01:40,634 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2024-12-11T16:01:40.866Z] 2024-12-11 16:01:40,634 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2024-12-11T16:01:40.866Z] 2024-12-11 16:01:40,634 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T16:01:40.866Z] 2024-12-11 16:01:40,635 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T16:01:40.866Z] 4.0.0-dev.9 [Pipeline] } [2024-12-11T16:01:40.864Z] $ docker exec --env ******** --env ******** 7fa8bdf7f5473cf00beba75a5c751831838d6147351d0475e21a7ec417911b02 ssh-agent -k [2024-12-11T16:01:40.971Z] unset SSH_AUTH_SOCK; [2024-12-11T16:01:40.972Z] unset SSH_AGENT_PID; [2024-12-11T16:01:40.972Z] echo Agent pid 76 killed; [2024-12-11T16:01:40.993Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-11T16:01:41.319Z] + git semver [Pipeline] } [2024-12-11T16:01:41.579Z] $ docker stop --time=1 7fa8bdf7f5473cf00beba75a5c751831838d6147351d0475e21a7ec417911b02 [2024-12-11T16:01:42.896Z] $ docker rm -f --volumes 7fa8bdf7f5473cf00beba75a5c751831838d6147351d0475e21a7ec417911b02 [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-11T16:01:43.267Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-12-11T16:01:43.484Z] Stashed 1 file(s) [Pipeline] echo [2024-12-11T16:01:43.488Z] [edgeXSemver]: initialized semver on version 4.0.0-dev.9 [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-11T16:01:43.763Z] provisioning config files... [Pipeline] // stage [Pipeline] } [2024-12-11T16:01:43.775Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13702510190027338766tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2024-12-11T16:01:44.093Z] ---> ****-login.sh [2024-12-11T16:01:44.093Z] nexus3.edgexfoundry.org:10001 [2024-12-11T16:01:44.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T16:01:44.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T16:01:44.093Z] Configure a credential helper to remove this warning. See [2024-12-11T16:01:44.093Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T16:01:44.093Z] [2024-12-11T16:01:44.093Z] Login Succeeded [2024-12-11T16:01:44.093Z] nexus3.edgexfoundry.org:10002 [2024-12-11T16:01:44.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T16:01:44.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T16:01:44.094Z] Configure a credential helper to remove this warning. See [2024-12-11T16:01:44.094Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T16:01:44.094Z] [2024-12-11T16:01:44.094Z] Login Succeeded [2024-12-11T16:01:44.094Z] nexus3.edgexfoundry.org:10003 [2024-12-11T16:01:44.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T16:01:44.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T16:01:44.354Z] Configure a credential helper to remove this warning. See [2024-12-11T16:01:44.354Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T16:01:44.354Z] [2024-12-11T16:01:44.354Z] Login Succeeded [2024-12-11T16:01:44.354Z] nexus3.edgexfoundry.org:10004 [2024-12-11T16:01:44.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T16:01:44.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T16:01:44.354Z] Configure a credential helper to remove this warning. See [2024-12-11T16:01:44.354Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T16:01:44.354Z] [2024-12-11T16:01:44.354Z] Login Succeeded [2024-12-11T16:01:44.354Z] ****.io [2024-12-11T16:01:44.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-11T16:01:44.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-11T16:01:44.614Z] Configure a credential helper to remove this warning. See [2024-12-11T16:01:44.614Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-11T16:01:44.614Z] [2024-12-11T16:01:44.614Z] Login Succeeded [2024-12-11T16:01:44.614Z] ---> ****-login.sh ends [Pipeline] } [2024-12-11T16:01:44.623Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-12-11T16:01:44.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-11T16:01:44.737Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-12-11T16:01:44.753Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-11T16:01:44.766Z] ========================================================= [2024-12-11T16:01:44.766Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-12-11T16:01:44.766Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T16:01:45.076Z] + 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-11T16:01:45.076Z] Sending build context to Docker daemon 5.2MB [2024-12-11T16:01:45.076Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-12-11T16:01:45.076Z] Step 2/22 : FROM ${BASE} as builder [2024-12-11T16:01:45.076Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-12-11T16:01:45.076Z] 96526aa774ef: Pulling fs layer [2024-12-11T16:01:45.076Z] da60e534fd72: Pulling fs layer [2024-12-11T16:01:45.337Z] 96526aa774ef: Verifying Checksum [2024-12-11T16:01:45.337Z] 96526aa774ef: Download complete [2024-12-11T16:01:45.337Z] 96526aa774ef: Pull complete [2024-12-11T16:01:45.905Z] da60e534fd72: Verifying Checksum [2024-12-11T16:01:45.905Z] da60e534fd72: Download complete [2024-12-11T16:01:49.207Z] da60e534fd72: Pull complete [2024-12-11T16:01:49.207Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-12-11T16:01:49.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-12-11T16:01:49.207Z] ---> 6605166a5db4 [2024-12-11T16:01:49.207Z] 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-11T16:01:51.113Z] ---> Running in 7593e1ae3e6b [2024-12-11T16:01:51.681Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-12-11T16:01:51.941Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-11T16:01:51.941Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-11T16:01:51.941Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-11T16:01:52.200Z] Removing intermediate container 7593e1ae3e6b [2024-12-11T16:01:52.200Z] ---> 33656b46ba09 [2024-12-11T16:01:52.200Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-11T16:01:52.200Z] ---> Running in 02fbb3c33e00 [2024-12-11T16:01:52.769Z] Removing intermediate container 02fbb3c33e00 [2024-12-11T16:01:52.769Z] ---> fae9ebb8964d [2024-12-11T16:01:52.769Z] 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-11T16:01:53.028Z] ---> Running in 4ab1b20e94ca [2024-12-11T16:01:53.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T16:01:53.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-11T16:01:53.547Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T16:01:54.119Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-11T16:01:54.119Z] (1/15) Installing libcbor (0.10.2-r1) [2024-12-11T16:01:54.119Z] (2/15) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-11T16:01:55.060Z] (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-11T16:01:55.060Z] (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-11T16:01:55.319Z] (5/15) Installing libcbor-dev (0.10.2-r1) [2024-12-11T16:01:55.319Z] (6/15) Installing libmenuw (6.4_p20230506-r0) [2024-12-11T16:01:55.319Z] (7/15) Installing libpanelw (6.4_p20230506-r0) [2024-12-11T16:01:55.319Z] (8/15) Installing libncurses++ (6.4_p20230506-r0) [2024-12-11T16:01:55.319Z] (9/15) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-11T16:01:55.319Z] (10/15) Installing libblkid (2.38.1-r8) [2024-12-11T16:01:55.319Z] (11/15) Installing libuuid (2.38.1-r8) [2024-12-11T16:01:55.319Z] (12/15) Installing libfdisk (2.38.1-r8) [2024-12-11T16:01:55.319Z] (13/15) Installing libmount (2.38.1-r8) [2024-12-11T16:01:55.319Z] (14/15) Installing libsmartcols (2.38.1-r8) [2024-12-11T16:01:55.319Z] (15/15) Installing util-linux-dev (2.38.1-r8) [2024-12-11T16:01:55.319Z] Executing busybox-1.36.1-r4.trigger [2024-12-11T16:01:55.319Z] OK: 336 MiB in 97 packages [2024-12-11T16:01:56.258Z] Removing intermediate container 4ab1b20e94ca [2024-12-11T16:01:56.258Z] ---> f8a5961df035 [2024-12-11T16:01:56.258Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-12-11T16:01:56.258Z] ---> Running in 0b93fd492ef1 [2024-12-11T16:01:56.828Z] Removing intermediate container 0b93fd492ef1 [2024-12-11T16:01:56.828Z] ---> c060f2749fd6 [2024-12-11T16:01:56.828Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-12-11T16:01:56.828Z] ---> 4b979f561f87 [2024-12-11T16:01:56.828Z] Step 8/22 : COPY src /tmp/sdk/src [2024-12-11T16:01:57.088Z] ---> c27ec93b35e6 [2024-12-11T16:01:57.088Z] Step 9/22 : COPY include /tmp/sdk/include [2024-12-11T16:01:57.347Z] ---> 09131ba1852b [2024-12-11T16:01:57.347Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-12-11T16:01:57.347Z] ---> 3cce7892aee1 [2024-12-11T16:01:57.347Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-12-11T16:01:57.608Z] ---> 7f495f4173f9 [2024-12-11T16:01:57.608Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-12-11T16:01:57.608Z] ---> 1422c4860903 [2024-12-11T16:01:57.608Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-12-11T16:01:57.867Z] ---> Running in 78815d2d0817 [2024-12-11T16:01:58.127Z] + CPPCHECK=false [2024-12-11T16:01:58.128Z] + DOCGEN=false [2024-12-11T16:01:58.128Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-12-11T16:01:58.128Z] + '[' 0 -gt 0 ] [2024-12-11T16:01:58.128Z] + readlink -f ./scripts/build.sh [2024-12-11T16:01:58.128Z] + dirname /tmp/sdk/scripts/build.sh [2024-12-11T16:01:58.128Z] + dirname /tmp/sdk/scripts [2024-12-11T16:01:58.128Z] + ROOT=/tmp/sdk [2024-12-11T16:01:58.128Z] + cd /tmp/sdk [2024-12-11T16:01:58.128Z] + mkdir -p /tmp/sdk/build/release [2024-12-11T16:01:58.128Z] + cd /tmp/sdk/build/release [2024-12-11T16:01:58.128Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-12-11T16:01:58.128Z] -- The C compiler identification is GNU 12.2.1 [2024-12-11T16:01:58.128Z] -- Detecting C compiler ABI info [2024-12-11T16:01:58.128Z] -- Detecting C compiler ABI info - done [2024-12-11T16:01:58.128Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-11T16:01:58.128Z] -- Detecting C compile features [2024-12-11T16:01:58.128Z] -- Detecting C compile features - done [2024-12-11T16:01:58.128Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-11T16:01:58.387Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-11T16:01:58.387Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-11T16:01:58.387Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-11T16:01:58.387Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-11T16:01:58.388Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-11T16:01:58.388Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-11T16:01:58.388Z] -- /opt/iotech/iot/1.5/include [2024-12-11T16:01:58.388Z] -- C SDK 4.0.0-dev.9 for Linux [2024-12-11T16:01:58.388Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-11T16:01:58.388Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-11T16:01:58.388Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-11T16:01:58.388Z] -- Configuring done (0.4s) [2024-12-11T16:01:58.388Z] -- Generating done (0.0s) [2024-12-11T16:01:58.388Z] -- Build files have been written to: /tmp/sdk/build/release [2024-12-11T16:01:58.388Z] + make all package [2024-12-11T16:01:58.388Z] + tee release.log [2024-12-11T16:01:58.388Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-11T16:01:58.646Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-11T16:01:58.646Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-11T16:01:58.905Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-11T16:01:58.905Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-11T16:01:59.165Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-11T16:01:59.425Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-11T16:01:59.425Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-11T16:01:59.687Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-11T16:01:59.687Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-11T16:01:59.953Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-11T16:01:59.953Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-11T16:02:00.213Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-11T16:02:00.213Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-11T16:02:00.472Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-11T16:02:00.732Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-11T16:02:00.732Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-12-11T16:02:00.732Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2024-12-11T16:02:00.732Z] from /tmp/sdk/src/c/registry.h:14, [2024-12-11T16:02:00.732Z] from /tmp/sdk/src/c/registry-impl.h:12, [2024-12-11T16:02:00.732Z] from /tmp/sdk/src/c/keeper.h:12, [2024-12-11T16:02:00.732Z] from /tmp/sdk/src/c/keeper.c:1: [2024-12-11T16:02:00.732Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2024-12-11T16:02:00.732Z] /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2024-12-11T16:02:00.732Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-11T16:02:00.732Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-11T16:02:00.732Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-11T16:02:00.732Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-11T16:02:00.732Z] | ^~~~~~~~~~~ [2024-12-11T16:02:00.732Z] /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here [2024-12-11T16:02:00.732Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-11T16:02:00.732Z] | ~^ [2024-12-11T16:02:00.732Z] | | [2024-12-11T16:02:00.732Z] | char * [2024-12-11T16:02:00.992Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-11T16:02:00.992Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-11T16:02:01.252Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2024-12-11T16:02:01.511Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-11T16:02:02.455Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-11T16:02:02.455Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-11T16:02:02.718Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-11T16:02:02.718Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-11T16:02:02.718Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-11T16:02:02.977Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-11T16:02:03.242Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-11T16:02:03.242Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-11T16:02:03.503Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-11T16:02:03.503Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-11T16:02:03.764Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-11T16:02:03.764Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-11T16:02:03.764Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-12-11T16:02:03.764Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-11T16:02:03.764Z] /tmp/sdk/src/c/service.c:883:21: note: 'deviceservices_config' was declared here [2024-12-11T16:02:03.764Z] 883 | const iot_data_t *deviceservices_config; [2024-12-11T16:02:03.764Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-11T16:02:04.024Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-11T16:02:04.024Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-11T16:02:04.283Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-11T16:02:04.283Z] [ 68%] Linking C shared library libcsdk.so [2024-12-11T16:02:04.283Z] [ 68%] Built target csdk [2024-12-11T16:02:04.283Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-11T16:02:04.542Z] [ 72%] Linking C executable template [2024-12-11T16:02:04.542Z] [ 72%] Built target template [2024-12-11T16:02:04.542Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-11T16:02:04.542Z] [ 76%] Linking C executable device-counter [2024-12-11T16:02:04.801Z] [ 76%] Built target device-counter [2024-12-11T16:02:04.801Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-11T16:02:04.801Z] [ 80%] Linking C executable device-random [2024-12-11T16:02:04.801Z] [ 80%] Built target device-random [2024-12-11T16:02:04.801Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-11T16:02:05.061Z] [ 84%] Linking C executable device-gyro [2024-12-11T16:02:05.061Z] [ 84%] Built target device-gyro [2024-12-11T16:02:05.061Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-11T16:02:05.061Z] [ 88%] Linking C executable device-bitfields [2024-12-11T16:02:05.321Z] [ 88%] Built target device-bitfields [2024-12-11T16:02:05.321Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-11T16:02:05.321Z] [ 92%] Linking C executable template-discovery [2024-12-11T16:02:05.321Z] [ 92%] Built target template-discovery [2024-12-11T16:02:05.321Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-11T16:02:05.582Z] [ 96%] Linking C executable device-file [2024-12-11T16:02:05.582Z] [ 96%] Built target device-file [2024-12-11T16:02:05.582Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-11T16:02:05.841Z] [100%] Linking C executable device-terminal [2024-12-11T16:02:05.841Z] [100%] Built target device-terminal [2024-12-11T16:02:05.841Z] Run CPack packaging tool... [2024-12-11T16:02:05.841Z] CPack: Create package using TGZ [2024-12-11T16:02:05.841Z] CPack: Install projects [2024-12-11T16:02:05.841Z] CPack: - Run preinstall target for: Csdk [2024-12-11T16:02:06.100Z] CPack: - Install project: Csdk [] [2024-12-11T16:02:06.100Z] CPack: Create package [2024-12-11T16:02:06.100Z] CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.9.tar.gz generated. [2024-12-11T16:02:06.100Z] + '[' false '=' true ] [2024-12-11T16:02:06.100Z] + '[' false '=' true ] [2024-12-11T16:02:06.100Z] + mkdir -p /tmp/sdk/build/debug [2024-12-11T16:02:06.100Z] + cd /tmp/sdk/build/debug [2024-12-11T16:02:06.100Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-12-11T16:02:06.100Z] -- The C compiler identification is GNU 12.2.1 [2024-12-11T16:02:06.100Z] -- Detecting C compiler ABI info [2024-12-11T16:02:06.359Z] -- Detecting C compiler ABI info - done [2024-12-11T16:02:06.359Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-11T16:02:06.359Z] -- Detecting C compile features [2024-12-11T16:02:06.359Z] -- Detecting C compile features - done [2024-12-11T16:02:06.359Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-11T16:02:06.359Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-11T16:02:06.359Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-11T16:02:06.359Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-11T16:02:06.359Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-11T16:02:06.359Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-11T16:02:06.359Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-11T16:02:06.359Z] -- /opt/iotech/iot/1.5/include [2024-12-11T16:02:06.359Z] -- C SDK 4.0.0-dev.9 for Linux [2024-12-11T16:02:06.359Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-11T16:02:06.359Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-11T16:02:06.620Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-11T16:02:06.620Z] -- Configuring done (0.4s) [2024-12-11T16:02:06.620Z] -- Generating done (0.0s) [2024-12-11T16:02:06.620Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-12-11T16:02:06.620Z] + make [2024-12-11T16:02:06.620Z] + tee debug.log [2024-12-11T16:02:06.620Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-11T16:02:06.620Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-11T16:02:06.880Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-11T16:02:06.880Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-11T16:02:06.880Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-11T16:02:07.139Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-11T16:02:07.139Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-11T16:02:07.139Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-11T16:02:07.139Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-11T16:02:07.397Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-11T16:02:07.397Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-11T16:02:07.397Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-11T16:02:07.397Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-11T16:02:07.656Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-11T16:02:07.656Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-11T16:02:07.656Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-11T16:02:07.938Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-12-11T16:02:07.938Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2024-12-11T16:02:07.938Z] from /tmp/sdk/src/c/registry.h:14, [2024-12-11T16:02:07.938Z] from /tmp/sdk/src/c/registry-impl.h:12, [2024-12-11T16:02:07.938Z] from /tmp/sdk/src/c/keeper.h:12, [2024-12-11T16:02:07.938Z] from /tmp/sdk/src/c/keeper.c:1: [2024-12-11T16:02:07.938Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2024-12-11T16:02:07.938Z] /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2024-12-11T16:02:07.938Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-11T16:02:07.938Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-11T16:02:07.938Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-11T16:02:07.938Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-11T16:02:07.938Z] | ^~~~~~~~~~~ [2024-12-11T16:02:07.938Z] /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here [2024-12-11T16:02:07.938Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-11T16:02:07.938Z] | ~^ [2024-12-11T16:02:07.938Z] | | [2024-12-11T16:02:07.938Z] | char * [2024-12-11T16:02:07.938Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-11T16:02:07.938Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-11T16:02:08.271Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2024-12-11T16:02:08.271Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-11T16:02:08.271Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-11T16:02:08.592Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-11T16:02:08.592Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-11T16:02:08.592Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-11T16:02:08.592Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-11T16:02:08.592Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-11T16:02:08.911Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-11T16:02:08.911Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-11T16:02:08.911Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-11T16:02:09.176Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-11T16:02:09.176Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-11T16:02:09.176Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-11T16:02:09.435Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-11T16:02:09.435Z] [ 68%] Linking C shared library libcsdk.so [2024-12-11T16:02:09.435Z] [ 68%] Built target csdk [2024-12-11T16:02:09.435Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-11T16:02:09.435Z] [ 72%] Linking C executable template [2024-12-11T16:02:09.694Z] [ 72%] Built target template [2024-12-11T16:02:09.694Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-11T16:02:09.694Z] [ 76%] Linking C executable device-counter [2024-12-11T16:02:09.694Z] [ 76%] Built target device-counter [2024-12-11T16:02:09.694Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-11T16:02:09.694Z] [ 80%] Linking C executable device-random [2024-12-11T16:02:09.954Z] [ 80%] Built target device-random [2024-12-11T16:02:09.954Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-11T16:02:09.954Z] [ 84%] Linking C executable device-gyro [2024-12-11T16:02:09.954Z] [ 84%] Built target device-gyro [2024-12-11T16:02:09.954Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-11T16:02:09.954Z] [ 88%] Linking C executable device-bitfields [2024-12-11T16:02:10.295Z] [ 88%] Built target device-bitfields [2024-12-11T16:02:10.295Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-11T16:02:10.295Z] [ 92%] Linking C executable template-discovery [2024-12-11T16:02:10.295Z] [ 92%] Built target template-discovery [2024-12-11T16:02:10.295Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-11T16:02:10.295Z] [ 96%] Linking C executable device-file [2024-12-11T16:02:10.553Z] [ 96%] Built target device-file [2024-12-11T16:02:10.553Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-11T16:02:10.553Z] [100%] Linking C executable device-terminal [2024-12-11T16:02:10.553Z] [100%] Built target device-terminal [2024-12-11T16:02:10.553Z] make: Entering directory '/tmp/sdk/build/release' [2024-12-11T16:02:10.553Z] [ 68%] Built target csdk [2024-12-11T16:02:10.553Z] [ 72%] Built target template [2024-12-11T16:02:10.553Z] [ 76%] Built target device-counter [2024-12-11T16:02:10.553Z] [ 80%] Built target device-random [2024-12-11T16:02:10.812Z] [ 84%] Built target device-gyro [2024-12-11T16:02:10.812Z] [ 88%] Built target device-bitfields [2024-12-11T16:02:10.812Z] [ 92%] Built target template-discovery [2024-12-11T16:02:10.812Z] [ 96%] Built target device-file [2024-12-11T16:02:10.812Z] [100%] Built target device-terminal [2024-12-11T16:02:10.812Z] Install the project... [2024-12-11T16:02:10.812Z] -- Install configuration: "Release" [2024-12-11T16:02:10.812Z] -- Installing: /usr/local/lib/libcsdk.so [2024-12-11T16:02:10.812Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-12-11T16:02:10.812Z] -- Installing: /usr/local/include [2024-12-11T16:02:10.812Z] -- Installing: /usr/local/include/devsdk [2024-12-11T16:02:10.812Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-12-11T16:02:10.812Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-12-11T16:02:10.812Z] -- Installing: /usr/local/include/edgex [2024-12-11T16:02:10.812Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-12-11T16:02:10.812Z] -- Installing: /usr/local/include/edgex/devices.h [2024-12-11T16:02:10.812Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-12-11T16:02:10.812Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-12-11T16:02:10.812Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-12-11T16:02:10.812Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-12-11T16:02:10.812Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-12-11T16:02:10.812Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-12-11T16:02:10.812Z] make: Leaving directory '/tmp/sdk/build/release' [2024-12-11T16:02:11.806Z] Removing intermediate container 78815d2d0817 [2024-12-11T16:02:11.806Z] ---> 3c075809a2e0 [2024-12-11T16:02:11.806Z] Step 14/22 : FROM ${BASE} [2024-12-11T16:02:11.806Z] ---> 6605166a5db4 [2024-12-11T16:02:11.806Z] Step 15/22 : LABEL maintainer="IOTech " [2024-12-11T16:02:11.806Z] ---> Running in d9488162e2a9 [2024-12-11T16:02:11.806Z] Removing intermediate container d9488162e2a9 [2024-12-11T16:02:11.806Z] ---> aecda398f7ec [2024-12-11T16:02:11.806Z] 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-11T16:02:11.806Z] ---> Running in 9e31a54cffe6 [2024-12-11T16:02:12.065Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-12-11T16:02:12.635Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-11T16:02:12.635Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-11T16:02:12.635Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-11T16:02:12.893Z] Removing intermediate container 9e31a54cffe6 [2024-12-11T16:02:12.893Z] ---> 6998072e139a [2024-12-11T16:02:12.893Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-11T16:02:12.893Z] ---> Running in 4be89122b9a3 [2024-12-11T16:02:13.519Z] Removing intermediate container 4be89122b9a3 [2024-12-11T16:02:13.519Z] ---> 8673bc2f9060 [2024-12-11T16:02:13.519Z] 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-11T16:02:13.519Z] ---> Running in e4cd5f7def4a [2024-12-11T16:02:13.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T16:02:13.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-11T16:02:14.111Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T16:02:14.681Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-11T16:02:14.681Z] (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-12-11T16:02:14.681Z] (2/8) Installing curl (8.9.1-r1) [2024-12-11T16:02:14.681Z] (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-12-11T16:02:14.681Z] (4/8) Installing dumb-init (1.2.5-r2) [2024-12-11T16:02:14.681Z] (5/8) Installing libcbor (0.10.2-r1) [2024-12-11T16:02:14.681Z] (6/8) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-11T16:02:15.317Z] (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-11T16:02:15.577Z] (8/8) Installing libuuid (2.38.1-r8) [2024-12-11T16:02:15.577Z] Executing busybox-1.36.1-r4.trigger [2024-12-11T16:02:15.577Z] OK: 331 MiB in 88 packages [2024-12-11T16:02:16.146Z] Removing intermediate container e4cd5f7def4a [2024-12-11T16:02:16.146Z] ---> f62612b91b95 [2024-12-11T16:02:16.146Z] Step 19/22 : RUN apk --no-cache upgrade [2024-12-11T16:02:16.146Z] ---> Running in 0f2619d975bb [2024-12-11T16:02:16.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T16:02:16.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-11T16:02:16.405Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T16:02:16.975Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-11T16:02:16.975Z] Upgrading critical system libraries and apk-tools: [2024-12-11T16:02:16.975Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-12-11T16:02:17.235Z] Executing busybox-1.36.1-r4.trigger [2024-12-11T16:02:17.235Z] Continuing the upgrade transaction with new apk-tools: [2024-12-11T16:02:17.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T16:02:17.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-11T16:02:17.235Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T16:02:17.804Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-11T16:02:17.804Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-12-11T16:02:17.804Z] Executing busybox-1.36.1-r7.post-upgrade [2024-12-11T16:02:17.804Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-12-11T16:02:18.064Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-12-11T16:02:18.064Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-11T16:02:18.064Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-11T16:02:18.064Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-12-11T16:02:18.064Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-12-11T16:02:18.064Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-12-11T16:02:18.064Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-12-11T16:02:18.064Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-12-11T16:02:18.064Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-12-11T16:02:18.064Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-12-11T16:02:18.064Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-12-11T16:02:18.064Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-12-11T16:02:18.064Z] Executing busybox-1.36.1-r7.trigger [2024-12-11T16:02:18.064Z] Executing ca-certificates-20240226-r0.trigger [2024-12-11T16:02:18.064Z] OK: 331 MiB in 88 packages [2024-12-11T16:02:19.000Z] Removing intermediate container 0f2619d975bb [2024-12-11T16:02:19.000Z] ---> 5adc63c81349 [2024-12-11T16:02:19.000Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-12-11T16:02:19.265Z] ---> 2b8470f0adc1 [2024-12-11T16:02:19.265Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-12-11T16:02:19.523Z] ---> 67b578b06e25 [2024-12-11T16:02:19.523Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-12-11T16:02:19.523Z] ---> ef42fc55fd0e [2024-12-11T16:02:19.523Z] Successfully built ef42fc55fd0e [2024-12-11T16:02:19.523Z] 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-11T16:02:19.931Z] + docker inspect -f . ci-base-image-x86_64 [2024-12-11T16:02:19.931Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-11T16:02:20.009Z] prd-ubuntu20.04-docker-8c-8g-34912 does not seem to be running inside a container [2024-12-11T16:02:20.040Z] $ 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-11T16:02:20.393Z] $ docker top 0eaf9395444b0e931c10c638fe37f83fe27b13ecee7f53f6bf6735e7b02ff9bc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-11T16:02:20.742Z] + make test [2024-12-11T16:02:20.742Z] echo "make test" [2024-12-11T16:02:20.742Z] make test [Pipeline] } [2024-12-11T16:02:20.754Z] $ docker stop --time=1 0eaf9395444b0e931c10c638fe37f83fe27b13ecee7f53f6bf6735e7b02ff9bc [2024-12-11T16:02:21.999Z] $ docker rm -f --volumes 0eaf9395444b0e931c10c638fe37f83fe27b13ecee7f53f6bf6735e7b02ff9bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-12-11T16:02:22.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-12-11T16:02:22.926Z] + ls -al . [2024-12-11T16:02:22.926Z] total 212 [2024-12-11T16:02:22.926Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 11 16:01 . [2024-12-11T16:02:22.926Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 11 16:01 .. [2024-12-11T16:02:22.926Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 11 16:01 .git [2024-12-11T16:02:22.926Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 11 16:01 .github [2024-12-11T16:02:22.926Z] -rw-rw-r-- 1 jenkins jenkins 176 Dec 11 16:01 .gitignore [2024-12-11T16:02:22.926Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 11 16:01 .semver [2024-12-11T16:02:22.926Z] -rw-rw-r-- 1 jenkins jenkins 2908 Dec 11 16:01 Attribution.txt [2024-12-11T16:02:22.926Z] -rw-rw-r-- 1 jenkins jenkins 11953 Dec 11 16:01 CHANGELOG.md [2024-12-11T16:02:22.926Z] -rw-rw-r-- 1 jenkins jenkins 108574 Dec 11 16:01 Doxyfile [2024-12-11T16:02:22.926Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 11 16:01 GOVERNANCE.md [2024-12-11T16:02:22.926Z] -rw-rw-r-- 1 jenkins jenkins 784 Dec 11 16:01 Jenkinsfile [2024-12-11T16:02:22.926Z] -rw-rw-r-- 1 jenkins jenkins 10174 Dec 11 16:01 LICENSE [2024-12-11T16:02:22.926Z] -rw-rw-r-- 1 jenkins jenkins 444 Dec 11 16:01 Makefile [2024-12-11T16:02:22.926Z] -rw-rw-r-- 1 jenkins jenkins 618 Dec 11 16:01 OWNERS.md [2024-12-11T16:02:22.926Z] -rw-rw-r-- 1 jenkins jenkins 1651 Dec 11 16:01 README.IOT.md [2024-12-11T16:02:22.926Z] -rw-rw-r-- 1 jenkins jenkins 4173 Dec 11 16:01 README.md [2024-12-11T16:02:22.926Z] -rw-rw-r-- 1 jenkins jenkins 1245 Dec 11 16:01 README.v3.md [2024-12-11T16:02:22.926Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 11 16:01 VERSION [2024-12-11T16:02:22.926Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 11 16:01 docs [2024-12-11T16:02:22.926Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 11 16:01 include [2024-12-11T16:02:22.926Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 11 16:01 scripts [2024-12-11T16:02:22.926Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 11 16:01 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T16:02:23.249Z] + 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=84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca --label arch=amd64 --label version=4.0.0-dev.9 . [2024-12-11T16:02:23.249Z] Sending build context to Docker daemon 5.2MB [2024-12-11T16:02:23.249Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-12-11T16:02:23.249Z] Step 2/18 : FROM ${BASE} [2024-12-11T16:02:23.249Z] ---> ef42fc55fd0e [2024-12-11T16:02:23.249Z] Step 3/18 : LABEL maintainer="IOTech " [2024-12-11T16:02:23.249Z] ---> Running in 559c35aa80de [2024-12-11T16:02:23.509Z] Removing intermediate container 559c35aa80de [2024-12-11T16:02:23.509Z] ---> ab8da25f2a0f [2024-12-11T16:02:23.509Z] 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-11T16:02:23.509Z] ---> Running in e6c075d3c071 [2024-12-11T16:02:23.771Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-12-11T16:02:24.034Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-11T16:02:24.034Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-11T16:02:24.034Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-11T16:02:24.295Z] Removing intermediate container e6c075d3c071 [2024-12-11T16:02:24.295Z] ---> 9cf521a74e02 [2024-12-11T16:02:24.295Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-11T16:02:24.555Z] ---> Running in 47f7d6a79ef5 [2024-12-11T16:02:25.125Z] Removing intermediate container 47f7d6a79ef5 [2024-12-11T16:02:25.125Z] ---> 42f151a47cac [2024-12-11T16:02:25.125Z] 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-11T16:02:25.125Z] ---> Running in 3abccec1e626 [2024-12-11T16:02:25.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T16:02:25.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-11T16:02:25.645Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T16:02:26.214Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-11T16:02:26.214Z] (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-11T16:02:26.474Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-12-11T16:02:26.474Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-12-11T16:02:26.474Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-12-11T16:02:26.474Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-12-11T16:02:26.474Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-11T16:02:26.474Z] (7/11) Installing libblkid (2.38.1-r8) [2024-12-11T16:02:26.474Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-12-11T16:02:26.474Z] (9/11) Installing libmount (2.38.1-r8) [2024-12-11T16:02:26.474Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-12-11T16:02:26.474Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-12-11T16:02:26.474Z] Executing busybox-1.36.1-r7.trigger [2024-12-11T16:02:26.474Z] OK: 336 MiB in 99 packages [2024-12-11T16:02:27.044Z] Removing intermediate container 3abccec1e626 [2024-12-11T16:02:27.044Z] ---> 40f9dcd004f4 [2024-12-11T16:02:27.044Z] Step 7/18 : RUN apk --no-cache upgrade [2024-12-11T16:02:27.044Z] ---> Running in 086501beca19 [2024-12-11T16:02:27.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T16:02:27.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-11T16:02:27.565Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-11T16:02:28.137Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-11T16:02:28.137Z] OK: 336 MiB in 99 packages [2024-12-11T16:02:28.407Z] Removing intermediate container 086501beca19 [2024-12-11T16:02:28.407Z] ---> 6404f67359e4 [2024-12-11T16:02:28.407Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-12-11T16:02:28.668Z] ---> e7f86ca81fe8 [2024-12-11T16:02:28.668Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-12-11T16:02:28.928Z] ---> 90a184c93302 [2024-12-11T16:02:28.928Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-12-11T16:02:28.928Z] ---> 4c993bd32e75 [2024-12-11T16:02:28.928Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-12-11T16:02:29.188Z] ---> 373d18860ad3 [2024-12-11T16:02:29.188Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-12-11T16:02:29.188Z] ---> 5315c5984abf [2024-12-11T16:02:29.188Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-12-11T16:02:29.461Z] ---> 687f4c338d52 [2024-12-11T16:02:29.461Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-12-11T16:02:29.461Z] ---> Running in b6068f3bd94d [2024-12-11T16:02:29.461Z] Removing intermediate container b6068f3bd94d [2024-12-11T16:02:29.461Z] ---> 0ba0bfb735af [2024-12-11T16:02:29.461Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-12-11T16:02:29.722Z] ---> Running in 2265cbe27709 [2024-12-11T16:02:29.722Z] Removing intermediate container 2265cbe27709 [2024-12-11T16:02:29.722Z] ---> 46c303c644c1 [2024-12-11T16:02:29.722Z] Step 16/18 : LABEL arch=amd64 [2024-12-11T16:02:29.722Z] ---> Running in 509d42b0e960 [2024-12-11T16:02:29.722Z] Removing intermediate container 509d42b0e960 [2024-12-11T16:02:29.722Z] ---> 86ddb0194048 [2024-12-11T16:02:29.722Z] Step 17/18 : LABEL git_sha=84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca [2024-12-11T16:02:29.980Z] ---> Running in 107ccc1fe887 [2024-12-11T16:02:29.981Z] Removing intermediate container 107ccc1fe887 [2024-12-11T16:02:29.981Z] ---> ca1a9bf77607 [2024-12-11T16:02:29.981Z] Step 18/18 : LABEL version=4.0.0-dev.9 [2024-12-11T16:02:29.981Z] ---> Running in a54b09908c7d [2024-12-11T16:02:29.981Z] Removing intermediate container a54b09908c7d [2024-12-11T16:02:29.981Z] ---> 9290233c9769 [2024-12-11T16:02:29.981Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-12-11T16:02:29.981Z] Successfully built 9290233c9769 [2024-12-11T16:02:29.981Z] 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-11T16:02:30.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-11T16:02:30.481Z] [2024-12-11T16:02:30.481Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T16:02:30.781Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-11T16:02:30.781Z] latest: Pulling from edgex-lftools-log-publisher [2024-12-11T16:02:30.781Z] 5eb5b503b376: Pulling fs layer [2024-12-11T16:02:30.781Z] 5c69ac0246d0: Pulling fs layer [2024-12-11T16:02:30.781Z] ec43610c2a17: Pulling fs layer [2024-12-11T16:02:30.781Z] 3a2ae6a8a46f: Pulling fs layer [2024-12-11T16:02:30.781Z] 33b1e0a273af: Pulling fs layer [2024-12-11T16:02:30.781Z] 5d3b04190fa2: Pulling fs layer [2024-12-11T16:02:30.781Z] 2f39f015ded8: Pulling fs layer [2024-12-11T16:02:30.781Z] 33b1e0a273af: Waiting [2024-12-11T16:02:30.781Z] 5d3b04190fa2: Waiting [2024-12-11T16:02:30.781Z] 2f39f015ded8: Waiting [2024-12-11T16:02:30.781Z] 3a2ae6a8a46f: Waiting [2024-12-11T16:02:30.781Z] 5c69ac0246d0: Download complete [2024-12-11T16:02:30.781Z] 3a2ae6a8a46f: Verifying Checksum [2024-12-11T16:02:30.781Z] 3a2ae6a8a46f: Download complete [2024-12-11T16:02:30.781Z] 33b1e0a273af: Verifying Checksum [2024-12-11T16:02:30.781Z] 33b1e0a273af: Download complete [2024-12-11T16:02:30.781Z] 5d3b04190fa2: Verifying Checksum [2024-12-11T16:02:30.781Z] 5d3b04190fa2: Download complete [2024-12-11T16:02:31.039Z] ec43610c2a17: Verifying Checksum [2024-12-11T16:02:31.039Z] ec43610c2a17: Download complete [2024-12-11T16:02:31.039Z] 5eb5b503b376: Verifying Checksum [2024-12-11T16:02:31.039Z] 5eb5b503b376: Download complete [2024-12-11T16:02:31.606Z] 2f39f015ded8: Download complete [2024-12-11T16:02:32.174Z] 5eb5b503b376: Pull complete [2024-12-11T16:02:32.174Z] 5c69ac0246d0: Pull complete [2024-12-11T16:02:32.741Z] ec43610c2a17: Pull complete [2024-12-11T16:02:32.741Z] 3a2ae6a8a46f: Pull complete [2024-12-11T16:02:33.000Z] 33b1e0a273af: Pull complete [2024-12-11T16:02:33.000Z] 5d3b04190fa2: Pull complete [2024-12-11T16:02:36.289Z] 2f39f015ded8: Pull complete [2024-12-11T16:02:36.289Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-12-11T16:02:36.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-11T16:02:36.289Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-11T16:02:36.385Z] prd-ubuntu20.04-docker-8c-8g-34912 does not seem to be running inside a container [2024-12-11T16:02:36.422Z] $ 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-11T16:02:40.811Z] $ docker top 920aa13d24bf699e336e7f37fa448fd6c728f394b04edb0ce4aaadc74e298c59 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-11T16:02:41.226Z] ---> job-cost.sh [2024-12-11T16:02:41.226Z] lf-activate-venv: SKIPPING [2024-12-11T16:02:41.226Z] INFO: No Stack... [2024-12-11T16:02:41.486Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-11T16:02:41.745Z] INFO: Archiving Costs [Pipeline] sh [2024-12-11T16:02:42.038Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2024-12-11T16:02:42.038Z] + cut -d, -f6 [Pipeline] lock [2024-12-11T16:02:42.052Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-86-stack-cost] [2024-12-11T16:02:42.060Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-86-stack-cost] did not exist. Created. [2024-12-11T16:02:42.068Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-86-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-12-11T16:02:42.384Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-12-11T16:02:42.439Z] Stashed 1 file(s) [Pipeline] } [2024-12-11T16:02:42.450Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-86-stack-cost] [Pipeline] // lock [Pipeline] } [2024-12-11T16:02:42.481Z] $ docker stop --time=1 920aa13d24bf699e336e7f37fa448fd6c728f394b04edb0ce4aaadc74e298c59 [2024-12-11T16:02:43.652Z] $ docker rm -f --volumes 920aa13d24bf699e336e7f37fa448fd6c728f394b04edb0ce4aaadc74e298c59 [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-11T16:02:44.157Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-11T16:02:44.157Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T16:02:44.458Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-11T16:02:44.458Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-11T16:02:44.529Z] prd-ubuntu20.04-docker-8c-8g-34912 does not seem to be running inside a container [2024-12-11T16:02:44.558Z] $ 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-11T16:02:44.875Z] $ docker top e2c151abcd5342d1fe16a41c612338d1f52ed4eca98761c74baea356e1045653 -eo pid,comm [2024-12-11T16:02:44.918Z] 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-11T16:02:44.918Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-11T16:02:44.978Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-11T16:02:44.978Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-11T16:02:45.077Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-11T16:02:45.084Z] $ docker exec e2c151abcd5342d1fe16a41c612338d1f52ed4eca98761c74baea356e1045653 ssh-agent [2024-12-11T16:02:45.187Z] SSH_AUTH_SOCK=/tmp/ssh-FcVZFjuXwK26/agent.33 [2024-12-11T16:02:45.187Z] SSH_AGENT_PID=40 [2024-12-11T16:02:45.192Z] Running ssh-add (command line suppressed) [2024-12-11T16:02:45.306Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5015301843852914310.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5015301843852914310.key) [2024-12-11T16:02:45.312Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-11T16:02:45.608Z] + git semver tag [2024-12-11T16:02:45.868Z] 2024-12-11 16:02:45,783 [run_tag] DEBUG tag force:False [2024-12-11T16:02:45.868Z] 2024-12-11 16:02:45,783 [check_head_tag] DEBUG check head tag [2024-12-11T16:02:45.868Z] 2024-12-11 16:02:45,784 [execute] INFO git cat-file --batch-check [2024-12-11T16:02:45.868Z] 2024-12-11 16:02:45,784 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-12-11T16:02:45.868Z] 2024-12-11 16:02:45,788 [execute] INFO git cat-file --batch [2024-12-11T16:02:45.868Z] 2024-12-11 16:02:45,788 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-12-11T16:02:45.868Z] 2024-12-11 16:02:45,803 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T16:02:45.868Z] 2024-12-11 16:02:45,804 [execute] INFO git tag -a v4.0.0-dev.9 -m v4.0.0-dev.9 [2024-12-11T16:02:45.868Z] 2024-12-11 16:02:45,804 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.9', '-m', 'v4.0.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-12-11T16:02:45.868Z] 2024-12-11 16:02:45,807 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T16:02:45.868Z] 4.0.0-dev.9 [Pipeline] } [2024-12-11T16:02:45.882Z] $ docker exec --env ******** --env ******** e2c151abcd5342d1fe16a41c612338d1f52ed4eca98761c74baea356e1045653 ssh-agent -k [2024-12-11T16:02:45.971Z] unset SSH_AUTH_SOCK; [2024-12-11T16:02:45.971Z] unset SSH_AGENT_PID; [2024-12-11T16:02:45.971Z] echo Agent pid 40 killed; [2024-12-11T16:02:45.975Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-11T16:02:46.295Z] + git semver [Pipeline] } [2024-12-11T16:02:46.572Z] $ docker stop --time=1 e2c151abcd5342d1fe16a41c612338d1f52ed4eca98761c74baea356e1045653 [2024-12-11T16:02:47.881Z] $ docker rm -f --volumes e2c151abcd5342d1fe16a41c612338d1f52ed4eca98761c74baea356e1045653 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T16:02:48.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-11T16:02:48.283Z] [2024-12-11T16:02:48.283Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T16:02:48.588Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-11T16:02:48.589Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-12-11T16:02:48.589Z] ab5ef0e58194: Pulling fs layer [2024-12-11T16:02:48.589Z] 9712f1f96733: Pulling fs layer [2024-12-11T16:02:48.589Z] 63f879dbbcfc: Pulling fs layer [2024-12-11T16:02:48.589Z] 0d9ebad4ef96: Pulling fs layer [2024-12-11T16:02:48.589Z] e9a5061849ea: Pulling fs layer [2024-12-11T16:02:48.589Z] d747dcd14b5f: Pulling fs layer [2024-12-11T16:02:48.589Z] 2de7ff778b66: Pulling fs layer [2024-12-11T16:02:48.589Z] e9a5061849ea: Waiting [2024-12-11T16:02:48.589Z] 0d9ebad4ef96: Waiting [2024-12-11T16:02:48.589Z] 2de7ff778b66: Waiting [2024-12-11T16:02:48.589Z] d747dcd14b5f: Waiting [2024-12-11T16:02:48.589Z] 9712f1f96733: Verifying Checksum [2024-12-11T16:02:48.589Z] 9712f1f96733: Download complete [2024-12-11T16:02:48.848Z] 63f879dbbcfc: Verifying Checksum [2024-12-11T16:02:48.849Z] 63f879dbbcfc: Download complete [2024-12-11T16:02:49.108Z] e9a5061849ea: Verifying Checksum [2024-12-11T16:02:49.108Z] e9a5061849ea: Download complete [2024-12-11T16:02:49.108Z] d747dcd14b5f: Download complete [2024-12-11T16:02:49.108Z] 0d9ebad4ef96: Verifying Checksum [2024-12-11T16:02:49.108Z] 0d9ebad4ef96: Download complete [2024-12-11T16:02:49.108Z] ab5ef0e58194: Verifying Checksum [2024-12-11T16:02:49.108Z] ab5ef0e58194: Download complete [2024-12-11T16:02:49.108Z] 2de7ff778b66: Verifying Checksum [2024-12-11T16:02:51.640Z] ab5ef0e58194: Pull complete [2024-12-11T16:02:51.640Z] 9712f1f96733: Pull complete [2024-12-11T16:02:52.207Z] 63f879dbbcfc: Pull complete [2024-12-11T16:02:55.493Z] 0d9ebad4ef96: Pull complete [2024-12-11T16:02:55.751Z] e9a5061849ea: Pull complete [2024-12-11T16:02:55.751Z] d747dcd14b5f: Pull complete [2024-12-11T16:02:56.687Z] 2de7ff778b66: Pull complete [2024-12-11T16:02:56.687Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-12-11T16:02:56.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-11T16:02:56.687Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-11T16:02:56.787Z] prd-ubuntu20.04-docker-8c-8g-34912 does not seem to be running inside a container [2024-12-11T16:02:56.815Z] $ 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-11T16:03:01.118Z] $ docker top 52f67efcb6123a431df6909c6e9e6f489844593c03129d785411f5a41836cfb3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-12-11T16:03:01.203Z] provisioning config files... [2024-12-11T16:03:01.216Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6552822571273144567tmp [2024-12-11T16:03:01.228Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15841874697746021977tmp [2024-12-11T16:03:01.246Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14289772122954079981tmp [Pipeline] { [Pipeline] echo [2024-12-11T16:03:01.276Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-11T16:03:01.565Z] ---> sigul-configuration.sh [2024-12-11T16:03:01.565Z] gpg: directory `/root/.gnupg' created [2024-12-11T16:03:01.565Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-12-11T16:03:01.565Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-12-11T16:03:01.565Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-12-11T16:03:01.565Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-12-11T16:03:01.565Z] gpg: CAST5 encrypted data [2024-12-11T16:03:01.565Z] gpg: encrypted with 1 passphrase [2024-12-11T16:03:01.565Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-12-11T16:03:01.862Z] + mkdir /home/jenkins [2024-12-11T16:03:01.862Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-12-11T16:03:02.159Z] + 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-11T16:03:02.174Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-11T16:03:02.467Z] ---> sigul-install.sh [2024-12-11T16:03:02.467Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-12-11T16:03:02.756Z] + git tag --list [2024-12-11T16:03:02.756Z] 0.7.0 [2024-12-11T16:03:02.757Z] 0.7.1 [2024-12-11T16:03:02.757Z] 1.0.0 [2024-12-11T16:03:02.757Z] v1.0.1 [2024-12-11T16:03:02.757Z] v1.0.2 [2024-12-11T16:03:02.757Z] v1.0.3 [2024-12-11T16:03:02.757Z] v1.1.0 [2024-12-11T16:03:02.757Z] v1.1.1 [2024-12-11T16:03:02.757Z] v1.2.0 [2024-12-11T16:03:02.757Z] v1.2.1 [2024-12-11T16:03:02.757Z] v1.2.2 [2024-12-11T16:03:02.757Z] v1.3.0 [2024-12-11T16:03:02.757Z] v1.3.1 [2024-12-11T16:03:02.757Z] v2.0.0 [2024-12-11T16:03:02.757Z] v2.1.0 [2024-12-11T16:03:02.757Z] v2.2.0 [2024-12-11T16:03:02.757Z] v2.3.0 [2024-12-11T16:03:02.757Z] v3.0 [2024-12-11T16:03:02.757Z] v3.0.0 [2024-12-11T16:03:02.757Z] v3.0.1 [2024-12-11T16:03:02.757Z] v3.0.2 [2024-12-11T16:03:02.757Z] v3.0.3-dev.1 [2024-12-11T16:03:02.757Z] v3.0.3-dev.10 [2024-12-11T16:03:02.757Z] v3.0.3-dev.11 [2024-12-11T16:03:02.757Z] v3.0.3-dev.12 [2024-12-11T16:03:02.757Z] v3.0.3-dev.13 [2024-12-11T16:03:02.757Z] v3.0.3-dev.14 [2024-12-11T16:03:02.757Z] v3.0.3-dev.15 [2024-12-11T16:03:02.757Z] v3.0.3-dev.16 [2024-12-11T16:03:02.757Z] v3.0.3-dev.17 [2024-12-11T16:03:02.757Z] v3.0.3-dev.2 [2024-12-11T16:03:02.757Z] v3.0.3-dev.3 [2024-12-11T16:03:02.757Z] v3.0.3-dev.4 [2024-12-11T16:03:02.757Z] v3.0.3-dev.5 [2024-12-11T16:03:02.757Z] v3.0.3-dev.6 [2024-12-11T16:03:02.757Z] v3.0.3-dev.7 [2024-12-11T16:03:02.757Z] v3.0.3-dev.8 [2024-12-11T16:03:02.757Z] v3.0.3-dev.9 [2024-12-11T16:03:02.757Z] v3.1 [2024-12-11T16:03:02.757Z] v3.1.0 [2024-12-11T16:03:02.757Z] v3.1.0-dev.1 [2024-12-11T16:03:02.757Z] v3.1.0-dev.2 [2024-12-11T16:03:02.757Z] v3.1.0-dev.3 [2024-12-11T16:03:02.757Z] v3.1.0-dev.4 [2024-12-11T16:03:02.757Z] v3.1.0-dev.5 [2024-12-11T16:03:02.757Z] v3.1.0-dev.6 [2024-12-11T16:03:02.757Z] v3.1.0-dev.7 [2024-12-11T16:03:02.757Z] v3.1.0-dev.8 [2024-12-11T16:03:02.757Z] v3.1.0-dev.9 [2024-12-11T16:03:02.757Z] v3.1.1 [2024-12-11T16:03:02.757Z] v3.1.1-dev.1 [2024-12-11T16:03:02.757Z] v4.0.0-dev.1 [2024-12-11T16:03:02.757Z] v4.0.0-dev.2 [2024-12-11T16:03:02.757Z] v4.0.0-dev.3 [2024-12-11T16:03:02.757Z] v4.0.0-dev.4 [2024-12-11T16:03:02.757Z] v4.0.0-dev.5 [2024-12-11T16:03:02.757Z] v4.0.0-dev.6 [2024-12-11T16:03:02.757Z] v4.0.0-dev.7 [2024-12-11T16:03:02.757Z] v4.0.0-dev.8 [2024-12-11T16:03:02.757Z] v4.0.0-dev.9 [Pipeline] sh [2024-12-11T16:03:03.048Z] + lftools sign git-tag v4.0.0-dev.9 [2024-12-11T16:03:03.618Z] Signing Git tag with Sigul... [2024-12-11T16:03:03.618Z] Signing v4.0.0-dev.9 [Pipeline] echo [2024-12-11T16:03:03.893Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-11T16:03:04.185Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-12-11T16:03:04.192Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-12-11T16:03:04.220Z] $ docker stop --time=1 52f67efcb6123a431df6909c6e9e6f489844593c03129d785411f5a41836cfb3 [2024-12-11T16:03:05.521Z] $ docker rm -f --volumes 52f67efcb6123a431df6909c6e9e6f489844593c03129d785411f5a41836cfb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-12-11T16:03:05.942Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-11T16:03:05.942Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T16:03:06.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-11T16:03:06.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-11T16:03:06.326Z] prd-ubuntu20.04-docker-8c-8g-34912 does not seem to be running inside a container [2024-12-11T16:03:06.355Z] $ 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-11T16:03:06.707Z] $ docker top 3c017106efdfc02cbe918c55d93352a21eabb23f34d2e3336d79e725481a1378 -eo pid,comm [2024-12-11T16:03:06.748Z] 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-11T16:03:06.748Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-11T16:03:06.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-11T16:03:06.810Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-11T16:03:06.912Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-11T16:03:06.917Z] $ docker exec 3c017106efdfc02cbe918c55d93352a21eabb23f34d2e3336d79e725481a1378 ssh-agent [2024-12-11T16:03:07.016Z] SSH_AUTH_SOCK=/tmp/ssh-tlbHGhhNscjx/agent.32 [2024-12-11T16:03:07.016Z] SSH_AGENT_PID=38 [2024-12-11T16:03:07.021Z] Running ssh-add (command line suppressed) [2024-12-11T16:03:07.132Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12613662533682192991.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12613662533682192991.key) [2024-12-11T16:03:07.148Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-11T16:03:07.441Z] + git semver bump pre [2024-12-11T16:03:07.702Z] 2024-12-11 16:03:07,629 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T16:03:07.702Z] 2024-12-11 16:03:07,629 [bump_version] DEBUG bumping version:4.0.0-dev.9 on axis:pre with prefix:dev [2024-12-11T16:03:07.702Z] 2024-12-11 16:03:07,629 [bump_version] DEBUG bumped version:4.0.0-dev.10 [2024-12-11T16:03:07.702Z] 2024-12-11 16:03:07,629 [write_version] DEBUG write version:4.0.0-dev.10 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2024-12-11T16:03:07.702Z] 2024-12-11 16:03:07,630 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T16:03:07.702Z] 2024-12-11 16:03:07,630 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T16:03:07.702Z] 2024-12-11 16:03:07,631 [execute] INFO git cat-file --batch-check [2024-12-11T16:03:07.702Z] 2024-12-11 16:03:07,632 [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-11T16:03:07.702Z] 2024-12-11 16:03:07,636 [execute] INFO git cat-file --batch [2024-12-11T16:03:07.702Z] 2024-12-11 16:03:07,636 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-12-11T16:03:07.702Z] 2024-12-11 16:03:07,641 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T16:03:07.702Z] 4.0.0-dev.10 [Pipeline] } [2024-12-11T16:03:07.716Z] $ docker exec --env ******** --env ******** 3c017106efdfc02cbe918c55d93352a21eabb23f34d2e3336d79e725481a1378 ssh-agent -k [2024-12-11T16:03:07.808Z] unset SSH_AUTH_SOCK; [2024-12-11T16:03:07.808Z] unset SSH_AGENT_PID; [2024-12-11T16:03:07.808Z] echo Agent pid 38 killed; [2024-12-11T16:03:07.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-11T16:03:08.149Z] + git semver [Pipeline] } [2024-12-11T16:03:08.430Z] $ docker stop --time=1 3c017106efdfc02cbe918c55d93352a21eabb23f34d2e3336d79e725481a1378 [2024-12-11T16:03:09.729Z] $ docker rm -f --volumes 3c017106efdfc02cbe918c55d93352a21eabb23f34d2e3336d79e725481a1378 [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-11T16:03:10.082Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-11T16:03:10.082Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T16:03:10.385Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-11T16:03:10.385Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-11T16:03:10.481Z] prd-ubuntu20.04-docker-8c-8g-34912 does not seem to be running inside a container [2024-12-11T16:03:10.515Z] $ 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-11T16:03:10.853Z] $ docker top 74bc47b3dffdf424c11ac5839e4274da5c9a6dd4e95967f33dc1847131dd2b17 -eo pid,comm [2024-12-11T16:03:10.898Z] 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-11T16:03:10.898Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-11T16:03:10.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-11T16:03:10.947Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-11T16:03:11.052Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-11T16:03:11.058Z] $ docker exec 74bc47b3dffdf424c11ac5839e4274da5c9a6dd4e95967f33dc1847131dd2b17 ssh-agent [2024-12-11T16:03:11.170Z] SSH_AUTH_SOCK=/tmp/ssh-OfTyTghvgVfd/agent.32 [2024-12-11T16:03:11.170Z] SSH_AGENT_PID=38 [2024-12-11T16:03:11.174Z] Running ssh-add (command line suppressed) [2024-12-11T16:03:11.273Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_161278924489671417.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_161278924489671417.key) [2024-12-11T16:03:11.342Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-11T16:03:11.778Z] + git semver push [2024-12-11T16:03:12.047Z] 2024-12-11 16:03:11,922 [run_push] DEBUG push [2024-12-11T16:03:12.047Z] 2024-12-11 16:03:11,922 [execute] INFO git cat-file --batch-check [2024-12-11T16:03:12.047Z] 2024-12-11 16:03:11,922 [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-11T16:03:12.047Z] 2024-12-11 16:03:11,925 [execute] INFO git rev-list fa3215d1286f5c210e6e338447f06fbaa6d7778c -- [2024-12-11T16:03:12.047Z] 2024-12-11 16:03:11,926 [execute] DEBUG Popen(['git', 'rev-list', 'fa3215d1286f5c210e6e338447f06fbaa6d7778c', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-12-11T16:03:12.047Z] 2024-12-11 16:03:11,931 [execute] INFO git fetch -v origin [2024-12-11T16:03:12.047Z] 2024-12-11 16:03:11,932 [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-11T16:03:12.674Z] 2024-12-11 16:03:12,371 [run_push] DEBUG no remote changes detected [2024-12-11T16:03:12.674Z] 2024-12-11 16:03:12,372 [execute] INFO git push origin semver [2024-12-11T16:03:12.674Z] 2024-12-11 16:03:12,372 [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-11T16:03:13.278Z] 2024-12-11 16:03:13,200 [run_push] DEBUG push all version tags [2024-12-11T16:03:13.278Z] 2024-12-11 16:03:13,200 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-12-11T16:03:13.278Z] 2024-12-11 16:03:13,201 [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-11T16:03:14.218Z] 2024-12-11 16:03:13,902 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-11T16:03:14.218Z] 4.0.0-dev.10 [Pipeline] } [2024-12-11T16:03:14.231Z] $ docker exec --env ******** --env ******** 74bc47b3dffdf424c11ac5839e4274da5c9a6dd4e95967f33dc1847131dd2b17 ssh-agent -k [2024-12-11T16:03:14.319Z] unset SSH_AUTH_SOCK; [2024-12-11T16:03:14.319Z] unset SSH_AGENT_PID; [2024-12-11T16:03:14.319Z] echo Agent pid 38 killed; [2024-12-11T16:03:14.326Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-11T16:03:14.655Z] + git semver [Pipeline] } [2024-12-11T16:03:14.929Z] $ docker stop --time=1 74bc47b3dffdf424c11ac5839e4274da5c9a6dd4e95967f33dc1847131dd2b17 [2024-12-11T16:03:16.196Z] $ docker rm -f --volumes 74bc47b3dffdf424c11ac5839e4274da5c9a6dd4e95967f33dc1847131dd2b17 [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-11T16:03:16.732Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2024-12-11T16:03:16.732Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-11T16:03:16.732Z] total 16 [2024-12-11T16:03:16.732Z] drwxr-xr-x 3 root root 4096 Dec 11 16:02 . [2024-12-11T16:03:16.732Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 11 16:03 .. [2024-12-11T16:03:16.732Z] drwxr-xr-x 2 root root 4096 Dec 11 16:02 cost [2024-12-11T16:03:16.732Z] -rw-r--r-- 1 root root 83 Dec 11 16:02 cost.csv [2024-12-11T16:03:16.732Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-11T16:03:16.732Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-11T16:03:16.732Z] total 16 [2024-12-11T16:03:16.732Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 11 16:02 . [2024-12-11T16:03:16.732Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 11 16:03 .. [2024-12-11T16:03:16.732Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 11 16:02 cost [2024-12-11T16:03:16.732Z] -rw-r--r-- 1 jenkins jenkins 83 Dec 11 16:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-12-11T16:03:17.024Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-11T16:03:17.886Z] ---> package-listing.sh [2024-12-11T16:03:17.886Z] ++ facter osfamily [2024-12-11T16:03:17.886Z] ++ tr '[:upper:]' '[:lower:]' [2024-12-11T16:03:18.146Z] + OS_FAMILY=debian [2024-12-11T16:03:18.146Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2024-12-11T16:03:18.146Z] + START_PACKAGES=/tmp/packages_start.txt [2024-12-11T16:03:18.146Z] + END_PACKAGES=/tmp/packages_end.txt [2024-12-11T16:03:18.146Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-12-11T16:03:18.146Z] + PACKAGES=/tmp/packages_start.txt [2024-12-11T16:03:18.146Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-12-11T16:03:18.146Z] + PACKAGES=/tmp/packages_end.txt [2024-12-11T16:03:18.146Z] + case "${OS_FAMILY}" in [2024-12-11T16:03:18.146Z] + dpkg -l [2024-12-11T16:03:18.146Z] + grep '^ii' [2024-12-11T16:03:18.146Z] + '[' -f /tmp/packages_start.txt ']' [2024-12-11T16:03:18.146Z] + '[' -f /tmp/packages_end.txt ']' [2024-12-11T16:03:18.146Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-12-11T16:03:18.146Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-12-11T16:03:18.146Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2024-12-11T16:03:18.146Z] + 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-11T16:03:18.158Z] 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-11T16:03:18.434Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-11T16:03:19.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-11T16:03:19.012Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-11T16:03:19.092Z] prd-ubuntu20.04-docker-8c-8g-34912 does not seem to be running inside a container [2024-12-11T16:03:19.118Z] $ 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-11T16:03:19.356Z] $ docker top 6a3d5ea5c534a7018558a41436d38247878fab4c44b487158a4f338c2cd96104 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-11T16:03:19.708Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-12-11T16:03:19.996Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-12-11T16:03:20.281Z] + ls /var/log/sa-host [2024-12-11T16:03:20.281Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-11T16:03:20.447Z] provisioning config files... [2024-12-11T16:03:20.458Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config11476063616514647322tmp [Pipeline] { [Pipeline] echo [2024-12-11T16:03:20.480Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-11T16:03:20.766Z] ---> create-netrc.sh [Pipeline] } [2024-12-11T16:03:20.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-12-11T16:03:21.111Z] ---> python-tools-install.sh [Pipeline] echo [2024-12-11T16:03:21.121Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-11T16:03:21.406Z] ---> sudo-logs.sh [2024-12-11T16:03:21.406Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-12-11T16:03:21.444Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-11T16:03:21.730Z] ---> job-cost.sh [2024-12-11T16:03:21.730Z] lf-activate-venv: SKIPPING [2024-12-11T16:03:21.730Z] DEBUG: total: 0.2199999988079071 [2024-12-11T16:03:21.730Z] INFO: Retrieving Stack Cost... [2024-12-11T16:03:21.990Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-11T16:03:22.249Z] INFO: Archiving Costs [Pipeline] echo [2024-12-11T16:03:22.263Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-11T16:03:22.546Z] ---> logs-deploy.sh [2024-12-11T16:03:22.547Z] lf-activate-venv: SKIPPING [2024-12-11T16:03:22.547Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/86 [2024-12-11T16:03:22.547Z] INFO: archiving workspace using pattern(s): [2024-12-11T16:03:23.485Z] Archives upload complete. [2024-12-11T16:03:23.485Z] INFO: archiving logs to Nexus