Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aba20507516cf14527c3a1383b601b1fd004f4c0 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-ssh14185201032181905469.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-ssh2115478026505197198.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-ssh2578430129935539925.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-ssh4149700823079798759.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-ssh4690177297506737586.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-35236 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 aba20507516cf14527c3a1383b601b1fd004f4c0 (main) Commit message: "fix: Add JWT support for outgoing calls to core-keeper (#533)" > 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 aba20507516cf14527c3a1383b601b1fd004f4c0 # timeout=10 > git rev-list --no-walk 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-12-17T01:38:37.516Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-12-17T01:38:37.574Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-12-17T01:38:37.590Z] ========================================================= [2024-12-17T01:38:37.590Z] EdgeX Global Pipelines Version Info [2024-12-17T01:38:37.590Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-12-17T01:38:38.376Z] ------------------- [2024-12-17T01:38:38.376Z] stable info: [2024-12-17T01:38:38.376Z] ------------------- [2024-12-17T01:38:38.376Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-12-17T01:38:38.376Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-17T01:38:38.377Z] Message: update stable to v1.0.269 [2024-12-17T01:38:38.951Z] ------------------- [2024-12-17T01:38:38.951Z] experimental info: [2024-12-17T01:38:38.951Z] ------------------- [2024-12-17T01:38:38.951Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-12-17T01:38:38.951Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-17T01:38:38.951Z] Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-12-17T01:38:39.030Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-12-17T01:38:39.050Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-12-17T01:38:39.072Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-12-17T01:38:39.092Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-12-17T01:38:39.115Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-12-17T01:38:39.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-12-17T01:38:39.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-12-17T01:38:39.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-12-17T01:38:39.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-12-17T01:38:39.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-12-17T01:38:39.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-12-17T01:38:39.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-12-17T01:38:39.277Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-12-17T01:38:39.295Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-12-17T01:38:39.313Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-12-17T01:38:39.331Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-12-17T01:38:39.352Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-12-17T01:38:39.370Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-12-17T01:38:39.389Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-12-17T01:38:39.410Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-12-17T01:38:39.428Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aba20507516cf14527c3a1383b601b1fd004f4c0 [Pipeline] echo [2024-12-17T01:38:39.446Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aba2050 [Pipeline] echo [2024-12-17T01:38:39.467Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-17T01:38:39.536Z] provisioning config files... [2024-12-17T01:38:39.568Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15563707536981935892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-17T01:38:39.904Z] ---> ****-login.sh [2024-12-17T01:38:39.905Z] nexus3.edgexfoundry.org:10001 [2024-12-17T01:38:40.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-17T01:38:40.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-17T01:38:40.164Z] Configure a credential helper to remove this warning. See [2024-12-17T01:38:40.164Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-17T01:38:40.164Z] [2024-12-17T01:38:40.164Z] Login Succeeded [2024-12-17T01:38:40.424Z] nexus3.edgexfoundry.org:10002 [2024-12-17T01:38:40.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-17T01:38:40.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-17T01:38:40.424Z] Configure a credential helper to remove this warning. See [2024-12-17T01:38:40.424Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-17T01:38:40.424Z] [2024-12-17T01:38:40.424Z] Login Succeeded [2024-12-17T01:38:40.424Z] nexus3.edgexfoundry.org:10003 [2024-12-17T01:38:40.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-17T01:38:40.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-17T01:38:40.424Z] Configure a credential helper to remove this warning. See [2024-12-17T01:38:40.424Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-17T01:38:40.424Z] [2024-12-17T01:38:40.424Z] Login Succeeded [2024-12-17T01:38:40.424Z] nexus3.edgexfoundry.org:10004 [2024-12-17T01:38:40.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-17T01:38:40.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-17T01:38:40.684Z] Configure a credential helper to remove this warning. See [2024-12-17T01:38:40.684Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-17T01:38:40.684Z] [2024-12-17T01:38:40.684Z] Login Succeeded [2024-12-17T01:38:40.684Z] ****.io [2024-12-17T01:38:40.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-17T01:38:40.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-17T01:38:40.944Z] Configure a credential helper to remove this warning. See [2024-12-17T01:38:40.944Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-17T01:38:40.944Z] [2024-12-17T01:38:40.944Z] Login Succeeded [2024-12-17T01:38:40.944Z] ---> ****-login.sh ends [Pipeline] } [2024-12-17T01:38:40.952Z] 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-17T01:38:41.359Z] + git rev-list -1 --merges aba20507516cf14527c3a1383b601b1fd004f4c0~1..aba20507516cf14527c3a1383b601b1fd004f4c0 [Pipeline] echo [2024-12-17T01:38:41.383Z] -----------> git rev-list -1 --merges aba20507516cf14527c3a1383b601b1fd004f4c0~1..aba20507516cf14527c3a1383b601b1fd004f4c0 aba20507516cf14527c3a1383b601b1fd004f4c0 [false] [Pipeline] sh [2024-12-17T01:38:41.679Z] + git log --format=format:%s -1 aba20507516cf14527c3a1383b601b1fd004f4c0 [Pipeline] echo [2024-12-17T01:38:41.697Z] ========================================================= [2024-12-17T01:38:41.697Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-17T01:38:41.697Z] ========================================================= 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-17T01:38:42.199Z] + git rev-list -1 --merges aba20507516cf14527c3a1383b601b1fd004f4c0~1..aba20507516cf14527c3a1383b601b1fd004f4c0 [Pipeline] echo [2024-12-17T01:38:42.215Z] -----------> git rev-list -1 --merges aba20507516cf14527c3a1383b601b1fd004f4c0~1..aba20507516cf14527c3a1383b601b1fd004f4c0 aba20507516cf14527c3a1383b601b1fd004f4c0 [false] [Pipeline] sh [2024-12-17T01:38:42.509Z] + git log --format=format:%s -1 aba20507516cf14527c3a1383b601b1fd004f4c0 [Pipeline] echo [2024-12-17T01:38:42.529Z] ========================================================= [2024-12-17T01:38:42.529Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-17T01:38:42.529Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-12-17T01:38:42.990Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-17T01:38:42.990Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-12-17T01:38:42.990Z] + [ -e /tmp/ssh_known_hosts ] [2024-12-17T01:38:42.990Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-12-17T01:38:42.990Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2024-12-17T01:38:42.990Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-12-17T01:38:42.990Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-17T01:38:43.508Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-17T01:38:43.508Z] [2024-12-17T01:38:43.508Z] 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-17T01:38:43.813Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-17T01:38:43.813Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-12-17T01:38:43.813Z] b85a868b505f: Pulling fs layer [2024-12-17T01:38:43.813Z] e2be974225ed: Pulling fs layer [2024-12-17T01:38:43.813Z] 339a4e72a1f5: Pulling fs layer [2024-12-17T01:38:43.813Z] 988bab9f4d93: Pulling fs layer [2024-12-17T01:38:43.813Z] 1469e6f7b9e6: Pulling fs layer [2024-12-17T01:38:43.813Z] eaf3925da568: Pulling fs layer [2024-12-17T01:38:43.813Z] bab4dde63d76: Pulling fs layer [2024-12-17T01:38:43.813Z] bde34c3a00c8: Pulling fs layer [2024-12-17T01:38:43.813Z] b352a97aabf1: Pulling fs layer [2024-12-17T01:38:43.813Z] 4872d77fe225: Pulling fs layer [2024-12-17T01:38:43.813Z] 5851b861e8e6: Pulling fs layer [2024-12-17T01:38:43.813Z] 988bab9f4d93: Waiting [2024-12-17T01:38:43.813Z] 1469e6f7b9e6: Waiting [2024-12-17T01:38:43.813Z] eaf3925da568: Waiting [2024-12-17T01:38:43.813Z] bab4dde63d76: Waiting [2024-12-17T01:38:43.813Z] 5851b861e8e6: Waiting [2024-12-17T01:38:43.813Z] b352a97aabf1: Waiting [2024-12-17T01:38:43.813Z] 4872d77fe225: Waiting [2024-12-17T01:38:43.813Z] e2be974225ed: Verifying Checksum [2024-12-17T01:38:43.813Z] e2be974225ed: Download complete [2024-12-17T01:38:43.813Z] 988bab9f4d93: Verifying Checksum [2024-12-17T01:38:43.813Z] 988bab9f4d93: Download complete [2024-12-17T01:38:43.813Z] 1469e6f7b9e6: Verifying Checksum [2024-12-17T01:38:43.813Z] 1469e6f7b9e6: Download complete [2024-12-17T01:38:44.072Z] eaf3925da568: Verifying Checksum [2024-12-17T01:38:44.072Z] eaf3925da568: Download complete [2024-12-17T01:38:44.072Z] 339a4e72a1f5: Verifying Checksum [2024-12-17T01:38:44.072Z] 339a4e72a1f5: Download complete [2024-12-17T01:38:44.072Z] bde34c3a00c8: Verifying Checksum [2024-12-17T01:38:44.072Z] bde34c3a00c8: Download complete [2024-12-17T01:38:44.072Z] b352a97aabf1: Download complete [2024-12-17T01:38:44.072Z] 4872d77fe225: Download complete [2024-12-17T01:38:44.072Z] 5851b861e8e6: Verifying Checksum [2024-12-17T01:38:44.072Z] 5851b861e8e6: Download complete [2024-12-17T01:38:44.072Z] b85a868b505f: Verifying Checksum [2024-12-17T01:38:44.072Z] b85a868b505f: Download complete [2024-12-17T01:38:44.330Z] bab4dde63d76: Verifying Checksum [2024-12-17T01:38:44.330Z] bab4dde63d76: Download complete [2024-12-17T01:38:45.266Z] b85a868b505f: Pull complete [2024-12-17T01:38:45.526Z] e2be974225ed: Pull complete [2024-12-17T01:38:46.094Z] 339a4e72a1f5: Pull complete [2024-12-17T01:38:46.095Z] 988bab9f4d93: Pull complete [2024-12-17T01:38:46.352Z] 1469e6f7b9e6: Pull complete [2024-12-17T01:38:46.352Z] eaf3925da568: Pull complete [2024-12-17T01:38:48.257Z] bab4dde63d76: Pull complete [2024-12-17T01:38:48.257Z] bde34c3a00c8: Pull complete [2024-12-17T01:38:48.517Z] b352a97aabf1: Pull complete [2024-12-17T01:38:48.517Z] 4872d77fe225: Pull complete [2024-12-17T01:38:48.517Z] 5851b861e8e6: Pull complete [2024-12-17T01:38:48.517Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-12-17T01:38:48.517Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-17T01:38:48.517Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-17T01:38:48.658Z] prd-ubuntu20.04-docker-8c-8g-35236 does not seem to be running inside a container [2024-12-17T01:38:48.691Z] $ 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-17T01:38:52.773Z] $ docker top cd9febab2b7a2b889e6b468d7ad744d21608dc3f804a893cad960a82ba04accd -eo pid,comm [2024-12-17T01:38:52.836Z] 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-17T01:38:52.836Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-17T01:38:52.889Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-17T01:38:52.889Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-17T01:38:53.001Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-17T01:38:53.003Z] $ docker exec cd9febab2b7a2b889e6b468d7ad744d21608dc3f804a893cad960a82ba04accd ssh-agent [2024-12-17T01:38:53.117Z] SSH_AUTH_SOCK=/tmp/ssh-JBKgHczmkeKH/agent.32 [2024-12-17T01:38:53.117Z] SSH_AGENT_PID=39 [2024-12-17T01:38:53.124Z] Running ssh-add (command line suppressed) [2024-12-17T01:38:53.237Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13636650547084166102.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13636650547084166102.key) [2024-12-17T01:38:53.253Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-17T01:38:53.551Z] + git tag --points-at HEAD [Pipeline] } [2024-12-17T01:38:53.561Z] $ docker exec --env ******** --env ******** cd9febab2b7a2b889e6b468d7ad744d21608dc3f804a893cad960a82ba04accd ssh-agent -k [2024-12-17T01:38:53.668Z] unset SSH_AUTH_SOCK; [2024-12-17T01:38:53.669Z] unset SSH_AGENT_PID; [2024-12-17T01:38:53.669Z] echo Agent pid 39 killed; [2024-12-17T01:38:53.678Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-12-17T01:38:53.717Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-17T01:38:53.717Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-17T01:38:53.824Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-17T01:38:53.827Z] $ docker exec cd9febab2b7a2b889e6b468d7ad744d21608dc3f804a893cad960a82ba04accd ssh-agent [2024-12-17T01:38:53.943Z] SSH_AUTH_SOCK=/tmp/ssh-V0aJug3fO3W3/agent.72 [2024-12-17T01:38:53.943Z] SSH_AGENT_PID=78 [2024-12-17T01:38:53.948Z] Running ssh-add (command line suppressed) [2024-12-17T01:38:54.044Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6308913885005647377.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6308913885005647377.key) [2024-12-17T01:38:54.060Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-17T01:38:54.356Z] + git semver init [2024-12-17T01:38:54.617Z] 2024-12-17 01:38:54,543 [run_init] DEBUG init version:0.0.0 force:False [2024-12-17T01:38:54.617Z] 2024-12-17 01:38:54,544 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-12-17T01:38:54.617Z] 2024-12-17 01:38:54,544 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-12-17T01:38:54.617Z] 2024-12-17 01:38:54,544 [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-17T01:38:55.559Z] 2024-12-17 01:38:55,356 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2024-12-17T01:38:55.559Z] 2024-12-17 01:38:55,357 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2024-12-17T01:38:55.559Z] 2024-12-17 01:38:55,357 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-17T01:38:55.559Z] 2024-12-17 01:38:55,357 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-17T01:38:55.559Z] 4.0.0-dev.10 [Pipeline] } [2024-12-17T01:38:55.568Z] $ docker exec --env ******** --env ******** cd9febab2b7a2b889e6b468d7ad744d21608dc3f804a893cad960a82ba04accd ssh-agent -k [2024-12-17T01:38:55.663Z] unset SSH_AUTH_SOCK; [2024-12-17T01:38:55.663Z] unset SSH_AGENT_PID; [2024-12-17T01:38:55.663Z] echo Agent pid 78 killed; [2024-12-17T01:38:55.677Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-17T01:38:56.001Z] + git semver [Pipeline] } [2024-12-17T01:38:56.274Z] $ docker stop --time=1 cd9febab2b7a2b889e6b468d7ad744d21608dc3f804a893cad960a82ba04accd [2024-12-17T01:38:57.614Z] $ docker rm -f --volumes cd9febab2b7a2b889e6b468d7ad744d21608dc3f804a893cad960a82ba04accd [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-17T01:38:57.966Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-12-17T01:38:58.223Z] Stashed 1 file(s) [Pipeline] echo [2024-12-17T01:38:58.226Z] [edgeXSemver]: initialized semver on version 4.0.0-dev.10 [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-17T01:38:58.494Z] provisioning config files... [Pipeline] // stage [Pipeline] } [2024-12-17T01:38:58.504Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13213475509791967744tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2024-12-17T01:38:58.820Z] ---> ****-login.sh [2024-12-17T01:38:58.820Z] nexus3.edgexfoundry.org:10001 [2024-12-17T01:38:58.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-17T01:38:58.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-17T01:38:58.820Z] Configure a credential helper to remove this warning. See [2024-12-17T01:38:58.820Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-17T01:38:58.820Z] [2024-12-17T01:38:58.820Z] Login Succeeded [2024-12-17T01:38:58.820Z] nexus3.edgexfoundry.org:10002 [2024-12-17T01:38:58.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-17T01:38:58.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-17T01:38:58.820Z] Configure a credential helper to remove this warning. See [2024-12-17T01:38:58.820Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-17T01:38:58.820Z] [2024-12-17T01:38:58.820Z] Login Succeeded [2024-12-17T01:38:58.820Z] nexus3.edgexfoundry.org:10003 [2024-12-17T01:38:59.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-17T01:38:59.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-17T01:38:59.079Z] Configure a credential helper to remove this warning. See [2024-12-17T01:38:59.079Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-17T01:38:59.079Z] [2024-12-17T01:38:59.079Z] Login Succeeded [2024-12-17T01:38:59.079Z] nexus3.edgexfoundry.org:10004 [2024-12-17T01:38:59.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-17T01:38:59.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-17T01:38:59.079Z] Configure a credential helper to remove this warning. See [2024-12-17T01:38:59.079Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-17T01:38:59.079Z] [2024-12-17T01:38:59.079Z] Login Succeeded [2024-12-17T01:38:59.079Z] ****.io [2024-12-17T01:38:59.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-17T01:38:59.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-17T01:38:59.338Z] Configure a credential helper to remove this warning. See [2024-12-17T01:38:59.338Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-17T01:38:59.338Z] [2024-12-17T01:38:59.338Z] Login Succeeded [2024-12-17T01:38:59.338Z] ---> ****-login.sh ends [Pipeline] } [2024-12-17T01:38:59.346Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-12-17T01:38:59.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-17T01:38:59.471Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-12-17T01:38:59.486Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-17T01:38:59.503Z] ========================================================= [2024-12-17T01:38:59.503Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-12-17T01:38:59.503Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-17T01:38:59.817Z] + 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-17T01:38:59.817Z] Sending build context to Docker daemon 5.378MB [2024-12-17T01:38:59.817Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-12-17T01:38:59.817Z] Step 2/22 : FROM ${BASE} as builder [2024-12-17T01:38:59.817Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-12-17T01:38:59.817Z] 96526aa774ef: Pulling fs layer [2024-12-17T01:38:59.817Z] da60e534fd72: Pulling fs layer [2024-12-17T01:39:00.077Z] 96526aa774ef: Verifying Checksum [2024-12-17T01:39:00.077Z] 96526aa774ef: Download complete [2024-12-17T01:39:00.077Z] 96526aa774ef: Pull complete [2024-12-17T01:39:00.646Z] da60e534fd72: Verifying Checksum [2024-12-17T01:39:00.646Z] da60e534fd72: Download complete [2024-12-17T01:39:03.934Z] da60e534fd72: Pull complete [2024-12-17T01:39:03.934Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-12-17T01:39:03.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-12-17T01:39:03.934Z] ---> 6605166a5db4 [2024-12-17T01:39:03.934Z] 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-17T01:39:06.489Z] ---> Running in 6848ed2e6883 [2024-12-17T01:39:06.749Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-12-17T01:39:07.320Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-17T01:39:07.320Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-17T01:39:07.320Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-17T01:39:07.579Z] Removing intermediate container 6848ed2e6883 [2024-12-17T01:39:07.579Z] ---> d657d58778ec [2024-12-17T01:39:07.579Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-17T01:39:07.580Z] ---> Running in 77f881417b83 [2024-12-17T01:39:08.148Z] Removing intermediate container 77f881417b83 [2024-12-17T01:39:08.148Z] ---> 2dfd1cbb3cdb [2024-12-17T01:39:08.148Z] 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-17T01:39:08.148Z] ---> Running in 1a34dfadc6bf [2024-12-17T01:39:08.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:08.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:08.926Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:09.495Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-17T01:39:09.495Z] (1/15) Installing libcbor (0.10.2-r1) [2024-12-17T01:39:09.755Z] (2/15) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-17T01:39:10.327Z] (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-17T01:39:10.585Z] (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-17T01:39:10.847Z] (5/15) Installing libcbor-dev (0.10.2-r1) [2024-12-17T01:39:10.848Z] (6/15) Installing libmenuw (6.4_p20230506-r0) [2024-12-17T01:39:10.848Z] (7/15) Installing libpanelw (6.4_p20230506-r0) [2024-12-17T01:39:10.848Z] (8/15) Installing libncurses++ (6.4_p20230506-r0) [2024-12-17T01:39:10.848Z] (9/15) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-17T01:39:10.848Z] (10/15) Installing libblkid (2.38.1-r8) [2024-12-17T01:39:10.848Z] (11/15) Installing libuuid (2.38.1-r8) [2024-12-17T01:39:10.848Z] (12/15) Installing libfdisk (2.38.1-r8) [2024-12-17T01:39:11.108Z] (13/15) Installing libmount (2.38.1-r8) [2024-12-17T01:39:11.108Z] (14/15) Installing libsmartcols (2.38.1-r8) [2024-12-17T01:39:11.108Z] (15/15) Installing util-linux-dev (2.38.1-r8) [2024-12-17T01:39:11.108Z] Executing busybox-1.36.1-r4.trigger [2024-12-17T01:39:11.108Z] OK: 336 MiB in 97 packages [2024-12-17T01:39:12.046Z] Removing intermediate container 1a34dfadc6bf [2024-12-17T01:39:12.046Z] ---> 1d1db09e4667 [2024-12-17T01:39:12.046Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-12-17T01:39:12.046Z] ---> Running in a5ee01763a7d [2024-12-17T01:39:12.306Z] Removing intermediate container a5ee01763a7d [2024-12-17T01:39:12.306Z] ---> 8b5657f3f03c [2024-12-17T01:39:12.306Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-12-17T01:39:12.564Z] ---> a34dca7fc49e [2024-12-17T01:39:12.564Z] Step 8/22 : COPY src /tmp/sdk/src [2024-12-17T01:39:12.823Z] ---> 3374512ad45b [2024-12-17T01:39:12.824Z] Step 9/22 : COPY include /tmp/sdk/include [2024-12-17T01:39:12.824Z] ---> 7c4565fe456d [2024-12-17T01:39:12.824Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-12-17T01:39:13.391Z] ---> b70f08a4505b [2024-12-17T01:39:13.391Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-12-17T01:39:13.991Z] ---> d4b0a7899d7f [2024-12-17T01:39:13.991Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-12-17T01:39:14.251Z] ---> faf1dfae01f4 [2024-12-17T01:39:14.251Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-12-17T01:39:14.511Z] ---> Running in 56997075c50a [2024-12-17T01:39:15.080Z] + CPPCHECK=false [2024-12-17T01:39:15.080Z] + DOCGEN=false [2024-12-17T01:39:15.080Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-12-17T01:39:15.080Z] + '[' 0 -gt 0 ] [2024-12-17T01:39:15.080Z] + readlink -f ./scripts/build.sh [2024-12-17T01:39:15.080Z] + dirname /tmp/sdk/scripts/build.sh [2024-12-17T01:39:15.080Z] + dirname /tmp/sdk/scripts [2024-12-17T01:39:15.080Z] + ROOT=/tmp/sdk [2024-12-17T01:39:15.080Z] + cd /tmp/sdk [2024-12-17T01:39:15.080Z] + mkdir -p /tmp/sdk/build/release [2024-12-17T01:39:15.080Z] + cd /tmp/sdk/build/release [2024-12-17T01:39:15.080Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-12-17T01:39:15.080Z] -- The C compiler identification is GNU 12.2.1 [2024-12-17T01:39:15.080Z] -- Detecting C compiler ABI info [2024-12-17T01:39:15.080Z] -- Detecting C compiler ABI info - done [2024-12-17T01:39:15.338Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-17T01:39:15.338Z] -- Detecting C compile features [2024-12-17T01:39:15.338Z] -- Detecting C compile features - done [2024-12-17T01:39:15.338Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-17T01:39:15.338Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-17T01:39:15.338Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-17T01:39:15.338Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-17T01:39:15.338Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-17T01:39:15.338Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-17T01:39:15.338Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-17T01:39:15.338Z] -- /opt/iotech/iot/1.5/include [2024-12-17T01:39:15.338Z] -- C SDK 4.0.0-dev.10 for Linux [2024-12-17T01:39:15.338Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-17T01:39:15.338Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-17T01:39:15.338Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-17T01:39:15.338Z] -- Configuring done (0.4s) [2024-12-17T01:39:15.596Z] -- Generating done (0.0s) [2024-12-17T01:39:15.596Z] -- Build files have been written to: /tmp/sdk/build/release [2024-12-17T01:39:15.596Z] + make all package [2024-12-17T01:39:15.596Z] + tee release.log [2024-12-17T01:39:15.596Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-17T01:39:15.596Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-17T01:39:15.854Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-17T01:39:15.854Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-17T01:39:16.114Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-17T01:39:16.373Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-17T01:39:16.373Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-17T01:39:16.373Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-17T01:39:16.943Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-17T01:39:16.943Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-17T01:39:16.943Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-17T01:39:17.204Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-17T01:39:17.204Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-17T01:39:17.464Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-17T01:39:17.464Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-17T01:39:17.725Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-17T01:39:17.725Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-12-17T01:39:17.725Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2024-12-17T01:39:17.725Z] from /tmp/sdk/src/c/registry.h:14, [2024-12-17T01:39:17.725Z] from /tmp/sdk/src/c/registry-impl.h:12, [2024-12-17T01:39:17.725Z] from /tmp/sdk/src/c/keeper.h:12, [2024-12-17T01:39:17.725Z] from /tmp/sdk/src/c/keeper.c:1: [2024-12-17T01:39:17.725Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2024-12-17T01:39:17.725Z] /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2024-12-17T01:39:17.725Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-17T01:39:17.725Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-17T01:39:17.725Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-17T01:39:17.725Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-17T01:39:17.725Z] | ^~~~~~~~~~~ [2024-12-17T01:39:17.725Z] /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here [2024-12-17T01:39:17.725Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-17T01:39:17.725Z] | ~^ [2024-12-17T01:39:17.725Z] | | [2024-12-17T01:39:17.725Z] | char * [2024-12-17T01:39:17.984Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-17T01:39:18.242Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-17T01:39:18.242Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2024-12-17T01:39:18.502Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-17T01:39:19.450Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-17T01:39:19.450Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-17T01:39:19.710Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-17T01:39:19.710Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-17T01:39:19.710Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-17T01:39:19.969Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-17T01:39:20.229Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-17T01:39:20.229Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-17T01:39:20.487Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-17T01:39:20.487Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-17T01:39:20.745Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-17T01:39:20.745Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-17T01:39:20.745Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-12-17T01:39:20.745Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-17T01:39:20.745Z] /tmp/sdk/src/c/service.c:883:21: note: 'deviceservices_config' was declared here [2024-12-17T01:39:20.745Z] 883 | const iot_data_t *deviceservices_config; [2024-12-17T01:39:20.745Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-17T01:39:21.005Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-17T01:39:21.005Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-17T01:39:21.265Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-17T01:39:21.265Z] [ 68%] Linking C shared library libcsdk.so [2024-12-17T01:39:21.265Z] [ 68%] Built target csdk [2024-12-17T01:39:21.265Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-17T01:39:21.530Z] [ 72%] Linking C executable template [2024-12-17T01:39:21.530Z] [ 72%] Built target template [2024-12-17T01:39:21.530Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-17T01:39:21.530Z] [ 76%] Linking C executable device-counter [2024-12-17T01:39:21.789Z] [ 76%] Built target device-counter [2024-12-17T01:39:21.789Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-17T01:39:21.789Z] [ 80%] Linking C executable device-random [2024-12-17T01:39:21.789Z] [ 80%] Built target device-random [2024-12-17T01:39:21.789Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-17T01:39:22.049Z] [ 84%] Linking C executable device-gyro [2024-12-17T01:39:22.049Z] [ 84%] Built target device-gyro [2024-12-17T01:39:22.049Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-17T01:39:22.049Z] [ 88%] Linking C executable device-bitfields [2024-12-17T01:39:22.313Z] [ 88%] Built target device-bitfields [2024-12-17T01:39:22.313Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-17T01:39:22.313Z] [ 92%] Linking C executable template-discovery [2024-12-17T01:39:22.313Z] [ 92%] Built target template-discovery [2024-12-17T01:39:22.572Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-17T01:39:22.572Z] [ 96%] Linking C executable device-file [2024-12-17T01:39:22.572Z] [ 96%] Built target device-file [2024-12-17T01:39:22.572Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-17T01:39:22.831Z] [100%] Linking C executable device-terminal [2024-12-17T01:39:22.831Z] [100%] Built target device-terminal [2024-12-17T01:39:22.831Z] Run CPack packaging tool... [2024-12-17T01:39:22.831Z] CPack: Create package using TGZ [2024-12-17T01:39:22.831Z] CPack: Install projects [2024-12-17T01:39:22.831Z] CPack: - Run preinstall target for: Csdk [2024-12-17T01:39:23.094Z] CPack: - Install project: Csdk [] [2024-12-17T01:39:23.094Z] CPack: Create package [2024-12-17T01:39:23.094Z] CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.10.tar.gz generated. [2024-12-17T01:39:23.094Z] + '[' false '=' true ] [2024-12-17T01:39:23.094Z] + '[' false '=' true ] [2024-12-17T01:39:23.094Z] + mkdir -p /tmp/sdk/build/debug [2024-12-17T01:39:23.094Z] + cd /tmp/sdk/build/debug [2024-12-17T01:39:23.094Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-12-17T01:39:23.094Z] -- The C compiler identification is GNU 12.2.1 [2024-12-17T01:39:23.354Z] -- Detecting C compiler ABI info [2024-12-17T01:39:23.354Z] -- Detecting C compiler ABI info - done [2024-12-17T01:39:23.354Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-17T01:39:23.354Z] -- Detecting C compile features [2024-12-17T01:39:23.354Z] -- Detecting C compile features - done [2024-12-17T01:39:23.354Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-17T01:39:23.354Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-17T01:39:23.354Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-17T01:39:23.354Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-17T01:39:23.354Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-17T01:39:23.354Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-17T01:39:23.354Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-17T01:39:23.354Z] -- /opt/iotech/iot/1.5/include [2024-12-17T01:39:23.354Z] -- C SDK 4.0.0-dev.10 for Linux [2024-12-17T01:39:23.354Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-17T01:39:23.354Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-17T01:39:23.629Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-17T01:39:23.629Z] -- Configuring done (0.4s) [2024-12-17T01:39:23.629Z] -- Generating done (0.0s) [2024-12-17T01:39:23.629Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-12-17T01:39:23.629Z] + make [2024-12-17T01:39:23.629Z] + tee debug.log [2024-12-17T01:39:23.629Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-17T01:39:23.629Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-17T01:39:23.888Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-17T01:39:23.888Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-17T01:39:23.888Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-17T01:39:24.149Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-17T01:39:24.149Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-17T01:39:24.149Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-17T01:39:24.149Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-17T01:39:24.411Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-17T01:39:24.411Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-17T01:39:24.411Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-17T01:39:24.671Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-17T01:39:24.671Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-17T01:39:24.671Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-17T01:39:24.932Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-17T01:39:24.932Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-12-17T01:39:24.932Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2024-12-17T01:39:24.932Z] from /tmp/sdk/src/c/registry.h:14, [2024-12-17T01:39:24.932Z] from /tmp/sdk/src/c/registry-impl.h:12, [2024-12-17T01:39:24.932Z] from /tmp/sdk/src/c/keeper.h:12, [2024-12-17T01:39:24.932Z] from /tmp/sdk/src/c/keeper.c:1: [2024-12-17T01:39:24.932Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2024-12-17T01:39:24.932Z] /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2024-12-17T01:39:24.932Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-17T01:39:24.932Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-17T01:39:24.932Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-17T01:39:24.932Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-17T01:39:24.932Z] | ^~~~~~~~~~~ [2024-12-17T01:39:24.932Z] /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here [2024-12-17T01:39:24.932Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-17T01:39:24.932Z] | ~^ [2024-12-17T01:39:24.932Z] | | [2024-12-17T01:39:24.932Z] | char * [2024-12-17T01:39:24.932Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-17T01:39:24.932Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-17T01:39:25.192Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2024-12-17T01:39:25.192Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-17T01:39:25.452Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-17T01:39:25.452Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-17T01:39:25.452Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-17T01:39:25.452Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-17T01:39:25.713Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-17T01:39:25.713Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-17T01:39:25.972Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-17T01:39:25.972Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-17T01:39:25.972Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-17T01:39:26.232Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-17T01:39:26.232Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-17T01:39:26.232Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-17T01:39:26.492Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-17T01:39:26.492Z] [ 68%] Linking C shared library libcsdk.so [2024-12-17T01:39:26.492Z] [ 68%] Built target csdk [2024-12-17T01:39:26.492Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-17T01:39:26.492Z] [ 72%] Linking C executable template [2024-12-17T01:39:26.753Z] [ 72%] Built target template [2024-12-17T01:39:26.753Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-17T01:39:26.753Z] [ 76%] Linking C executable device-counter [2024-12-17T01:39:26.753Z] [ 76%] Built target device-counter [2024-12-17T01:39:26.753Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-17T01:39:26.753Z] [ 80%] Linking C executable device-random [2024-12-17T01:39:27.016Z] [ 80%] Built target device-random [2024-12-17T01:39:27.016Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-17T01:39:27.016Z] [ 84%] Linking C executable device-gyro [2024-12-17T01:39:27.016Z] [ 84%] Built target device-gyro [2024-12-17T01:39:27.016Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-17T01:39:27.016Z] [ 88%] Linking C executable device-bitfields [2024-12-17T01:39:27.276Z] [ 88%] Built target device-bitfields [2024-12-17T01:39:27.276Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-17T01:39:27.276Z] [ 92%] Linking C executable template-discovery [2024-12-17T01:39:27.276Z] [ 92%] Built target template-discovery [2024-12-17T01:39:27.276Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-17T01:39:27.536Z] [ 96%] Linking C executable device-file [2024-12-17T01:39:27.536Z] [ 96%] Built target device-file [2024-12-17T01:39:27.536Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-17T01:39:27.536Z] [100%] Linking C executable device-terminal [2024-12-17T01:39:27.795Z] [100%] Built target device-terminal [2024-12-17T01:39:27.795Z] make: Entering directory '/tmp/sdk/build/release' [2024-12-17T01:39:27.795Z] [ 68%] Built target csdk [2024-12-17T01:39:27.795Z] [ 72%] Built target template [2024-12-17T01:39:27.795Z] [ 76%] Built target device-counter [2024-12-17T01:39:27.795Z] [ 80%] Built target device-random [2024-12-17T01:39:27.795Z] [ 84%] Built target device-gyro [2024-12-17T01:39:27.795Z] [ 88%] Built target device-bitfields [2024-12-17T01:39:27.795Z] [ 92%] Built target template-discovery [2024-12-17T01:39:27.795Z] [ 96%] Built target device-file [2024-12-17T01:39:27.795Z] [100%] Built target device-terminal [2024-12-17T01:39:27.795Z] Install the project... [2024-12-17T01:39:27.795Z] -- Install configuration: "Release" [2024-12-17T01:39:27.795Z] -- Installing: /usr/local/lib/libcsdk.so [2024-12-17T01:39:27.795Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-12-17T01:39:27.795Z] -- Installing: /usr/local/include [2024-12-17T01:39:27.795Z] -- Installing: /usr/local/include/devsdk [2024-12-17T01:39:27.795Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-12-17T01:39:27.795Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-12-17T01:39:27.795Z] -- Installing: /usr/local/include/edgex [2024-12-17T01:39:27.795Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-12-17T01:39:27.795Z] -- Installing: /usr/local/include/edgex/devices.h [2024-12-17T01:39:27.795Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-12-17T01:39:27.795Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-12-17T01:39:27.795Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-12-17T01:39:27.795Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-12-17T01:39:27.795Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-12-17T01:39:27.795Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-12-17T01:39:27.795Z] make: Leaving directory '/tmp/sdk/build/release' [2024-12-17T01:39:28.733Z] Removing intermediate container 56997075c50a [2024-12-17T01:39:28.733Z] ---> 17c7a6c4b797 [2024-12-17T01:39:28.733Z] Step 14/22 : FROM ${BASE} [2024-12-17T01:39:28.733Z] ---> 6605166a5db4 [2024-12-17T01:39:28.733Z] Step 15/22 : LABEL maintainer="IOTech " [2024-12-17T01:39:28.733Z] ---> Running in 6f49ae8fd7a8 [2024-12-17T01:39:28.733Z] Removing intermediate container 6f49ae8fd7a8 [2024-12-17T01:39:28.733Z] ---> 1f094423a97f [2024-12-17T01:39:28.733Z] 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-17T01:39:28.733Z] ---> Running in 1d856225c570 [2024-12-17T01:39:28.993Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-12-17T01:39:29.561Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-17T01:39:29.562Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-17T01:39:29.562Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-17T01:39:29.821Z] Removing intermediate container 1d856225c570 [2024-12-17T01:39:29.821Z] ---> 5832f6f8d253 [2024-12-17T01:39:29.821Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-17T01:39:29.821Z] ---> Running in 3b2f2d0238a3 [2024-12-17T01:39:30.390Z] Removing intermediate container 3b2f2d0238a3 [2024-12-17T01:39:30.390Z] ---> 83fbb3f5d2cc [2024-12-17T01:39:30.390Z] 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-17T01:39:30.390Z] ---> Running in 6217843ccbe7 [2024-12-17T01:39:30.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:30.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:30.934Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:31.505Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-17T01:39:31.505Z] (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-12-17T01:39:31.505Z] (2/8) Installing curl (8.9.1-r1) [2024-12-17T01:39:31.505Z] (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-12-17T01:39:31.505Z] (4/8) Installing dumb-init (1.2.5-r2) [2024-12-17T01:39:31.767Z] (5/8) Installing libcbor (0.10.2-r1) [2024-12-17T01:39:31.767Z] (6/8) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-17T01:39:32.707Z] (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-17T01:39:32.707Z] (8/8) Installing libuuid (2.38.1-r8) [2024-12-17T01:39:32.707Z] Executing busybox-1.36.1-r4.trigger [2024-12-17T01:39:32.707Z] OK: 331 MiB in 88 packages [2024-12-17T01:39:33.277Z] Removing intermediate container 6217843ccbe7 [2024-12-17T01:39:33.277Z] ---> 43b1848ab947 [2024-12-17T01:39:33.277Z] Step 19/22 : RUN apk --no-cache upgrade [2024-12-17T01:39:33.537Z] ---> Running in c7760cf3f733 [2024-12-17T01:39:33.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:33.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:33.796Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:34.367Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-17T01:39:34.367Z] Upgrading critical system libraries and apk-tools: [2024-12-17T01:39:34.367Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-12-17T01:39:34.367Z] Executing busybox-1.36.1-r4.trigger [2024-12-17T01:39:34.627Z] Continuing the upgrade transaction with new apk-tools: [2024-12-17T01:39:34.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:34.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:34.627Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:35.198Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-17T01:39:35.198Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-12-17T01:39:35.198Z] Executing busybox-1.36.1-r7.post-upgrade [2024-12-17T01:39:35.198Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-12-17T01:39:35.198Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-12-17T01:39:35.198Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-17T01:39:35.459Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-17T01:39:35.459Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-12-17T01:39:35.459Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-12-17T01:39:35.459Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-12-17T01:39:35.459Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-12-17T01:39:35.459Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-12-17T01:39:35.459Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-12-17T01:39:35.459Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-12-17T01:39:35.459Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-12-17T01:39:35.459Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-12-17T01:39:35.719Z] Executing busybox-1.36.1-r7.trigger [2024-12-17T01:39:35.719Z] Executing ca-certificates-20240226-r0.trigger [2024-12-17T01:39:35.719Z] OK: 331 MiB in 88 packages [2024-12-17T01:39:36.658Z] Removing intermediate container c7760cf3f733 [2024-12-17T01:39:36.658Z] ---> 1fd4dee0742a [2024-12-17T01:39:36.658Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-12-17T01:39:36.918Z] ---> 05ba009cc0a8 [2024-12-17T01:39:36.918Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-12-17T01:39:37.179Z] ---> 5197c5e6a1bb [2024-12-17T01:39:37.179Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-12-17T01:39:37.179Z] ---> ac020f44cbfb [2024-12-17T01:39:37.179Z] Successfully built ac020f44cbfb [2024-12-17T01:39:37.179Z] 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-17T01:39:37.597Z] + docker inspect -f . ci-base-image-x86_64 [2024-12-17T01:39:37.597Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-17T01:39:37.681Z] prd-ubuntu20.04-docker-8c-8g-35236 does not seem to be running inside a container [2024-12-17T01:39:37.708Z] $ 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-17T01:39:38.072Z] $ docker top b4d62b81f6f331bf1649873557fa6610b6bfee376ace2a049e75ce78860a7280 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-17T01:39:38.431Z] + make test [2024-12-17T01:39:38.432Z] echo "make test" [2024-12-17T01:39:38.432Z] make test [Pipeline] } [2024-12-17T01:39:38.438Z] $ docker stop --time=1 b4d62b81f6f331bf1649873557fa6610b6bfee376ace2a049e75ce78860a7280 [2024-12-17T01:39:39.727Z] $ docker rm -f --volumes b4d62b81f6f331bf1649873557fa6610b6bfee376ace2a049e75ce78860a7280 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-12-17T01:39:40.388Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-12-17T01:39:40.681Z] + ls -al . [2024-12-17T01:39:40.681Z] total 212 [2024-12-17T01:39:40.681Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 17 01:38 . [2024-12-17T01:39:40.681Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 17 01:38 .. [2024-12-17T01:39:40.681Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 17 01:38 .git [2024-12-17T01:39:40.681Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 17 01:38 .github [2024-12-17T01:39:40.681Z] -rw-rw-r-- 1 jenkins jenkins 176 Dec 17 01:38 .gitignore [2024-12-17T01:39:40.681Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 17 01:38 .semver [2024-12-17T01:39:40.681Z] -rw-rw-r-- 1 jenkins jenkins 2908 Dec 17 01:38 Attribution.txt [2024-12-17T01:39:40.681Z] -rw-rw-r-- 1 jenkins jenkins 11953 Dec 17 01:38 CHANGELOG.md [2024-12-17T01:39:40.681Z] -rw-rw-r-- 1 jenkins jenkins 108574 Dec 17 01:38 Doxyfile [2024-12-17T01:39:40.681Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 17 01:38 GOVERNANCE.md [2024-12-17T01:39:40.681Z] -rw-rw-r-- 1 jenkins jenkins 784 Dec 17 01:38 Jenkinsfile [2024-12-17T01:39:40.681Z] -rw-rw-r-- 1 jenkins jenkins 10174 Dec 17 01:38 LICENSE [2024-12-17T01:39:40.681Z] -rw-rw-r-- 1 jenkins jenkins 444 Dec 17 01:38 Makefile [2024-12-17T01:39:40.681Z] -rw-rw-r-- 1 jenkins jenkins 618 Dec 17 01:38 OWNERS.md [2024-12-17T01:39:40.681Z] -rw-rw-r-- 1 jenkins jenkins 1651 Dec 17 01:38 README.IOT.md [2024-12-17T01:39:40.681Z] -rw-rw-r-- 1 jenkins jenkins 4173 Dec 17 01:38 README.md [2024-12-17T01:39:40.681Z] -rw-rw-r-- 1 jenkins jenkins 1245 Dec 17 01:38 README.v3.md [2024-12-17T01:39:40.681Z] -rw-rw-r-- 1 jenkins jenkins 12 Dec 17 01:38 VERSION [2024-12-17T01:39:40.681Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 01:38 docs [2024-12-17T01:39:40.681Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 17 01:38 include [2024-12-17T01:39:40.681Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 01:38 scripts [2024-12-17T01:39:40.681Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 17 01:38 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-17T01:39:41.005Z] + 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=aba20507516cf14527c3a1383b601b1fd004f4c0 --label arch=amd64 --label version=4.0.0-dev.10 . [2024-12-17T01:39:41.005Z] Sending build context to Docker daemon 5.378MB [2024-12-17T01:39:41.005Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-12-17T01:39:41.005Z] Step 2/18 : FROM ${BASE} [2024-12-17T01:39:41.005Z] ---> ac020f44cbfb [2024-12-17T01:39:41.005Z] Step 3/18 : LABEL maintainer="IOTech " [2024-12-17T01:39:41.265Z] ---> Running in b0c394812467 [2024-12-17T01:39:41.265Z] Removing intermediate container b0c394812467 [2024-12-17T01:39:41.265Z] ---> 807f23dddf19 [2024-12-17T01:39:41.265Z] 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-17T01:39:41.265Z] ---> Running in 0acf281e3fb7 [2024-12-17T01:39:41.531Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-12-17T01:39:42.107Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-17T01:39:42.107Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-17T01:39:42.107Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-17T01:39:42.367Z] Removing intermediate container 0acf281e3fb7 [2024-12-17T01:39:42.367Z] ---> 6fbf1e0f225e [2024-12-17T01:39:42.367Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-17T01:39:42.367Z] ---> Running in db22a9b4efa7 [2024-12-17T01:39:42.944Z] Removing intermediate container db22a9b4efa7 [2024-12-17T01:39:42.944Z] ---> e015c94ca290 [2024-12-17T01:39:42.944Z] 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-17T01:39:42.944Z] ---> Running in 5c2b7fe465c5 [2024-12-17T01:39:43.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:43.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:43.737Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:44.308Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-17T01:39:44.308Z] (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-17T01:39:44.308Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-12-17T01:39:44.571Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-12-17T01:39:44.571Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-12-17T01:39:44.571Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-12-17T01:39:44.571Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-17T01:39:44.571Z] (7/11) Installing libblkid (2.38.1-r8) [2024-12-17T01:39:44.571Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-12-17T01:39:44.571Z] (9/11) Installing libmount (2.38.1-r8) [2024-12-17T01:39:44.571Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-12-17T01:39:44.571Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-12-17T01:39:44.571Z] Executing busybox-1.36.1-r7.trigger [2024-12-17T01:39:44.571Z] OK: 336 MiB in 99 packages [2024-12-17T01:39:45.160Z] Removing intermediate container 5c2b7fe465c5 [2024-12-17T01:39:45.160Z] ---> 1b9692e039ed [2024-12-17T01:39:45.160Z] Step 7/18 : RUN apk --no-cache upgrade [2024-12-17T01:39:45.160Z] ---> Running in ce3c48741c67 [2024-12-17T01:39:45.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:45.693Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:45.954Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-17T01:39:46.527Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-17T01:39:46.527Z] OK: 336 MiB in 99 packages [2024-12-17T01:39:46.787Z] Removing intermediate container ce3c48741c67 [2024-12-17T01:39:46.787Z] ---> 4f44e2eeb84c [2024-12-17T01:39:46.787Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-12-17T01:39:47.046Z] ---> fc8362755130 [2024-12-17T01:39:47.046Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-12-17T01:39:47.305Z] ---> fa9766a185b1 [2024-12-17T01:39:47.305Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-12-17T01:39:47.305Z] ---> 118d5efebc8b [2024-12-17T01:39:47.305Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-12-17T01:39:47.566Z] ---> 533fa27b91ee [2024-12-17T01:39:47.566Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-12-17T01:39:47.566Z] ---> 90c90773e021 [2024-12-17T01:39:47.566Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-12-17T01:39:47.826Z] ---> 4a760e541d26 [2024-12-17T01:39:47.826Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-12-17T01:39:47.826Z] ---> Running in 92078d710d98 [2024-12-17T01:39:47.826Z] Removing intermediate container 92078d710d98 [2024-12-17T01:39:47.826Z] ---> ba6ddef7e031 [2024-12-17T01:39:47.826Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-12-17T01:39:47.826Z] ---> Running in 1da6e6c1bd55 [2024-12-17T01:39:47.826Z] Removing intermediate container 1da6e6c1bd55 [2024-12-17T01:39:47.826Z] ---> c4c63c052b8f [2024-12-17T01:39:47.826Z] Step 16/18 : LABEL arch=amd64 [2024-12-17T01:39:47.826Z] ---> Running in 533a547be86d [2024-12-17T01:39:48.086Z] Removing intermediate container 533a547be86d [2024-12-17T01:39:48.086Z] ---> f9f7ca938f26 [2024-12-17T01:39:48.086Z] Step 17/18 : LABEL git_sha=aba20507516cf14527c3a1383b601b1fd004f4c0 [2024-12-17T01:39:48.086Z] ---> Running in 552f426c0df3 [2024-12-17T01:39:48.086Z] Removing intermediate container 552f426c0df3 [2024-12-17T01:39:48.086Z] ---> 4ce39baf725d [2024-12-17T01:39:48.086Z] Step 18/18 : LABEL version=4.0.0-dev.10 [2024-12-17T01:39:48.086Z] ---> Running in f1b043d08ef0 [2024-12-17T01:39:48.086Z] Removing intermediate container f1b043d08ef0 [2024-12-17T01:39:48.086Z] ---> 2f0bf91ab4c5 [2024-12-17T01:39:48.086Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-12-17T01:39:48.086Z] Successfully built 2f0bf91ab4c5 [2024-12-17T01:39:48.086Z] 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-17T01:39:48.944Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-17T01:39:48.944Z] [2024-12-17T01:39:48.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-17T01:39:49.249Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-17T01:39:49.249Z] latest: Pulling from edgex-lftools-log-publisher [2024-12-17T01:39:49.249Z] 5eb5b503b376: Pulling fs layer [2024-12-17T01:39:49.249Z] 5c69ac0246d0: Pulling fs layer [2024-12-17T01:39:49.249Z] ec43610c2a17: Pulling fs layer [2024-12-17T01:39:49.249Z] 3a2ae6a8a46f: Pulling fs layer [2024-12-17T01:39:49.249Z] 33b1e0a273af: Pulling fs layer [2024-12-17T01:39:49.249Z] 5d3b04190fa2: Pulling fs layer [2024-12-17T01:39:49.249Z] 2f39f015ded8: Pulling fs layer [2024-12-17T01:39:49.249Z] 3a2ae6a8a46f: Waiting [2024-12-17T01:39:49.249Z] 33b1e0a273af: Waiting [2024-12-17T01:39:49.249Z] 5d3b04190fa2: Waiting [2024-12-17T01:39:49.249Z] 2f39f015ded8: Waiting [2024-12-17T01:39:49.249Z] 5c69ac0246d0: Download complete [2024-12-17T01:39:49.249Z] 3a2ae6a8a46f: Verifying Checksum [2024-12-17T01:39:49.249Z] 3a2ae6a8a46f: Download complete [2024-12-17T01:39:49.249Z] 33b1e0a273af: Verifying Checksum [2024-12-17T01:39:49.249Z] 33b1e0a273af: Download complete [2024-12-17T01:39:49.249Z] 5d3b04190fa2: Verifying Checksum [2024-12-17T01:39:49.249Z] 5d3b04190fa2: Download complete [2024-12-17T01:39:49.249Z] ec43610c2a17: Verifying Checksum [2024-12-17T01:39:49.249Z] ec43610c2a17: Download complete [2024-12-17T01:39:49.509Z] 5eb5b503b376: Verifying Checksum [2024-12-17T01:39:49.509Z] 5eb5b503b376: Download complete [2024-12-17T01:39:50.078Z] 2f39f015ded8: Download complete [2024-12-17T01:39:50.645Z] 5eb5b503b376: Pull complete [2024-12-17T01:39:50.646Z] 5c69ac0246d0: Pull complete [2024-12-17T01:39:51.212Z] ec43610c2a17: Pull complete [2024-12-17T01:39:51.212Z] 3a2ae6a8a46f: Pull complete [2024-12-17T01:39:51.471Z] 33b1e0a273af: Pull complete [2024-12-17T01:39:51.471Z] 5d3b04190fa2: Pull complete [2024-12-17T01:39:55.813Z] 2f39f015ded8: Pull complete [2024-12-17T01:39:55.813Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-12-17T01:39:55.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-17T01:39:55.813Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-17T01:39:55.931Z] prd-ubuntu20.04-docker-8c-8g-35236 does not seem to be running inside a container [2024-12-17T01:39:55.958Z] $ 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-17T01:40:03.209Z] $ docker top 54f40adb73aac5688d8bc78aa1a0c9f0a533661f94687e8c62f6e2a1f09c8c65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-17T01:40:03.614Z] ---> job-cost.sh [2024-12-17T01:40:03.614Z] lf-activate-venv: SKIPPING [2024-12-17T01:40:03.614Z] INFO: No Stack... [2024-12-17T01:40:03.875Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-17T01:40:04.444Z] INFO: Archiving Costs [Pipeline] sh [2024-12-17T01:40:04.739Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2024-12-17T01:40:04.739Z] + cut -d, -f6 [Pipeline] lock [2024-12-17T01:40:04.753Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-87-stack-cost] [2024-12-17T01:40:04.767Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-87-stack-cost] did not exist. Created. [2024-12-17T01:40:04.775Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-87-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-12-17T01:40:05.094Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-12-17T01:40:05.151Z] Stashed 1 file(s) [Pipeline] } [2024-12-17T01:40:05.160Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-87-stack-cost] [Pipeline] // lock [Pipeline] } [2024-12-17T01:40:05.181Z] $ docker stop --time=1 54f40adb73aac5688d8bc78aa1a0c9f0a533661f94687e8c62f6e2a1f09c8c65 [2024-12-17T01:40:06.332Z] $ docker rm -f --volumes 54f40adb73aac5688d8bc78aa1a0c9f0a533661f94687e8c62f6e2a1f09c8c65 [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-17T01:40:06.865Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-17T01:40:06.865Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-17T01:40:07.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-17T01:40:07.170Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-17T01:40:07.252Z] prd-ubuntu20.04-docker-8c-8g-35236 does not seem to be running inside a container [2024-12-17T01:40:07.281Z] $ 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-17T01:40:07.656Z] $ docker top ca9cfd0e815031bf762ca7cc2c71306c6bb54aeab0306d7893f751b1b1ac6203 -eo pid,comm [2024-12-17T01:40:07.706Z] 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-17T01:40:07.706Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-17T01:40:07.770Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-17T01:40:07.770Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-17T01:40:07.887Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-17T01:40:07.888Z] $ docker exec ca9cfd0e815031bf762ca7cc2c71306c6bb54aeab0306d7893f751b1b1ac6203 ssh-agent [2024-12-17T01:40:08.009Z] SSH_AUTH_SOCK=/tmp/ssh-fCNoJd4H6AaL/agent.32 [2024-12-17T01:40:08.009Z] SSH_AGENT_PID=38 [2024-12-17T01:40:08.014Z] Running ssh-add (command line suppressed) [2024-12-17T01:40:08.104Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10320936816215162024.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10320936816215162024.key) [2024-12-17T01:40:08.118Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-17T01:40:08.407Z] + git semver tag [2024-12-17T01:40:08.666Z] 2024-12-17 01:40:08,582 [run_tag] DEBUG tag force:False [2024-12-17T01:40:08.666Z] 2024-12-17 01:40:08,582 [check_head_tag] DEBUG check head tag [2024-12-17T01:40:08.666Z] 2024-12-17 01:40:08,584 [execute] INFO git cat-file --batch-check [2024-12-17T01:40:08.666Z] 2024-12-17 01:40:08,584 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-12-17T01:40:08.666Z] 2024-12-17 01:40:08,588 [execute] INFO git cat-file --batch [2024-12-17T01:40:08.666Z] 2024-12-17 01:40:08,588 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-12-17T01:40:08.666Z] 2024-12-17 01:40:08,608 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-17T01:40:08.666Z] 2024-12-17 01:40:08,608 [execute] INFO git tag -a v4.0.0-dev.10 -m v4.0.0-dev.10 [2024-12-17T01:40:08.666Z] 2024-12-17 01:40:08,609 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.10', '-m', 'v4.0.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-12-17T01:40:08.666Z] 2024-12-17 01:40:08,612 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-17T01:40:08.667Z] 4.0.0-dev.10 [Pipeline] } [2024-12-17T01:40:08.673Z] $ docker exec --env ******** --env ******** ca9cfd0e815031bf762ca7cc2c71306c6bb54aeab0306d7893f751b1b1ac6203 ssh-agent -k [2024-12-17T01:40:08.769Z] unset SSH_AUTH_SOCK; [2024-12-17T01:40:08.770Z] unset SSH_AGENT_PID; [2024-12-17T01:40:08.770Z] echo Agent pid 38 killed; [2024-12-17T01:40:08.782Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-17T01:40:09.096Z] + git semver [Pipeline] } [2024-12-17T01:40:09.364Z] $ docker stop --time=1 ca9cfd0e815031bf762ca7cc2c71306c6bb54aeab0306d7893f751b1b1ac6203 [2024-12-17T01:40:10.637Z] $ docker rm -f --volumes ca9cfd0e815031bf762ca7cc2c71306c6bb54aeab0306d7893f751b1b1ac6203 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-17T01:40:11.096Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-17T01:40:11.096Z] [2024-12-17T01:40:11.096Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-17T01:40:11.407Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-17T01:40:11.407Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-12-17T01:40:11.407Z] ab5ef0e58194: Pulling fs layer [2024-12-17T01:40:11.407Z] 9712f1f96733: Pulling fs layer [2024-12-17T01:40:11.407Z] 63f879dbbcfc: Pulling fs layer [2024-12-17T01:40:11.407Z] 0d9ebad4ef96: Pulling fs layer [2024-12-17T01:40:11.407Z] e9a5061849ea: Pulling fs layer [2024-12-17T01:40:11.407Z] d747dcd14b5f: Pulling fs layer [2024-12-17T01:40:11.407Z] 2de7ff778b66: Pulling fs layer [2024-12-17T01:40:11.407Z] 0d9ebad4ef96: Waiting [2024-12-17T01:40:11.407Z] d747dcd14b5f: Waiting [2024-12-17T01:40:11.407Z] e9a5061849ea: Waiting [2024-12-17T01:40:11.407Z] 2de7ff778b66: Waiting [2024-12-17T01:40:11.407Z] 9712f1f96733: Verifying Checksum [2024-12-17T01:40:11.407Z] 9712f1f96733: Download complete [2024-12-17T01:40:11.666Z] 63f879dbbcfc: Verifying Checksum [2024-12-17T01:40:11.666Z] 63f879dbbcfc: Download complete [2024-12-17T01:40:11.926Z] e9a5061849ea: Verifying Checksum [2024-12-17T01:40:11.926Z] e9a5061849ea: Download complete [2024-12-17T01:40:11.926Z] d747dcd14b5f: Verifying Checksum [2024-12-17T01:40:11.926Z] d747dcd14b5f: Download complete [2024-12-17T01:40:11.926Z] 0d9ebad4ef96: Verifying Checksum [2024-12-17T01:40:11.926Z] 0d9ebad4ef96: Download complete [2024-12-17T01:40:11.926Z] ab5ef0e58194: Verifying Checksum [2024-12-17T01:40:11.926Z] ab5ef0e58194: Download complete [2024-12-17T01:40:11.926Z] 2de7ff778b66: Verifying Checksum [2024-12-17T01:40:11.926Z] 2de7ff778b66: Download complete [2024-12-17T01:40:14.472Z] ab5ef0e58194: Pull complete [2024-12-17T01:40:14.472Z] 9712f1f96733: Pull complete [2024-12-17T01:40:15.041Z] 63f879dbbcfc: Pull complete [2024-12-17T01:40:18.334Z] 0d9ebad4ef96: Pull complete [2024-12-17T01:40:18.592Z] e9a5061849ea: Pull complete [2024-12-17T01:40:18.852Z] d747dcd14b5f: Pull complete [2024-12-17T01:40:19.790Z] 2de7ff778b66: Pull complete [2024-12-17T01:40:19.790Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-12-17T01:40:19.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-17T01:40:19.790Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-17T01:40:19.884Z] prd-ubuntu20.04-docker-8c-8g-35236 does not seem to be running inside a container [2024-12-17T01:40:19.909Z] $ 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-17T01:40:26.857Z] $ docker top 609e3752f12376c637e587ab54a82550fb46e48139d74ba266c1175dd06439a7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-12-17T01:40:26.927Z] provisioning config files... [2024-12-17T01:40:26.932Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6288644678043740122tmp [2024-12-17T01:40:26.942Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config9898311212671496716tmp [2024-12-17T01:40:26.950Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config900705745034350011tmp [Pipeline] { [Pipeline] echo [2024-12-17T01:40:27.058Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-17T01:40:27.359Z] ---> sigul-configuration.sh [2024-12-17T01:40:27.359Z] gpg: directory `/root/.gnupg' created [2024-12-17T01:40:27.359Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-12-17T01:40:27.359Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-12-17T01:40:27.359Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-12-17T01:40:27.359Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-12-17T01:40:27.359Z] gpg: CAST5 encrypted data [2024-12-17T01:40:27.359Z] gpg: encrypted with 1 passphrase [2024-12-17T01:40:27.359Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-12-17T01:40:27.658Z] + mkdir /home/jenkins [2024-12-17T01:40:27.658Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-12-17T01:40:27.957Z] + 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-17T01:40:27.970Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-17T01:40:28.266Z] ---> sigul-install.sh [2024-12-17T01:40:28.266Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-12-17T01:40:28.563Z] + git tag --list [2024-12-17T01:40:28.563Z] 0.7.0 [2024-12-17T01:40:28.563Z] 0.7.1 [2024-12-17T01:40:28.563Z] 1.0.0 [2024-12-17T01:40:28.563Z] v1.0.1 [2024-12-17T01:40:28.563Z] v1.0.2 [2024-12-17T01:40:28.563Z] v1.0.3 [2024-12-17T01:40:28.563Z] v1.1.0 [2024-12-17T01:40:28.563Z] v1.1.1 [2024-12-17T01:40:28.563Z] v1.2.0 [2024-12-17T01:40:28.563Z] v1.2.1 [2024-12-17T01:40:28.563Z] v1.2.2 [2024-12-17T01:40:28.563Z] v1.3.0 [2024-12-17T01:40:28.563Z] v1.3.1 [2024-12-17T01:40:28.563Z] v2.0.0 [2024-12-17T01:40:28.563Z] v2.1.0 [2024-12-17T01:40:28.563Z] v2.2.0 [2024-12-17T01:40:28.563Z] v2.3.0 [2024-12-17T01:40:28.563Z] v3.0 [2024-12-17T01:40:28.563Z] v3.0.0 [2024-12-17T01:40:28.563Z] v3.0.1 [2024-12-17T01:40:28.563Z] v3.0.2 [2024-12-17T01:40:28.563Z] v3.0.3-dev.1 [2024-12-17T01:40:28.563Z] v3.0.3-dev.10 [2024-12-17T01:40:28.563Z] v3.0.3-dev.11 [2024-12-17T01:40:28.563Z] v3.0.3-dev.12 [2024-12-17T01:40:28.563Z] v3.0.3-dev.13 [2024-12-17T01:40:28.563Z] v3.0.3-dev.14 [2024-12-17T01:40:28.563Z] v3.0.3-dev.15 [2024-12-17T01:40:28.563Z] v3.0.3-dev.16 [2024-12-17T01:40:28.563Z] v3.0.3-dev.17 [2024-12-17T01:40:28.563Z] v3.0.3-dev.2 [2024-12-17T01:40:28.563Z] v3.0.3-dev.3 [2024-12-17T01:40:28.563Z] v3.0.3-dev.4 [2024-12-17T01:40:28.563Z] v3.0.3-dev.5 [2024-12-17T01:40:28.563Z] v3.0.3-dev.6 [2024-12-17T01:40:28.563Z] v3.0.3-dev.7 [2024-12-17T01:40:28.563Z] v3.0.3-dev.8 [2024-12-17T01:40:28.563Z] v3.0.3-dev.9 [2024-12-17T01:40:28.563Z] v3.1 [2024-12-17T01:40:28.563Z] v3.1.0 [2024-12-17T01:40:28.563Z] v3.1.0-dev.1 [2024-12-17T01:40:28.563Z] v3.1.0-dev.2 [2024-12-17T01:40:28.563Z] v3.1.0-dev.3 [2024-12-17T01:40:28.563Z] v3.1.0-dev.4 [2024-12-17T01:40:28.563Z] v3.1.0-dev.5 [2024-12-17T01:40:28.563Z] v3.1.0-dev.6 [2024-12-17T01:40:28.563Z] v3.1.0-dev.7 [2024-12-17T01:40:28.563Z] v3.1.0-dev.8 [2024-12-17T01:40:28.563Z] v3.1.0-dev.9 [2024-12-17T01:40:28.563Z] v3.1.1 [2024-12-17T01:40:28.563Z] v3.1.1-dev.1 [2024-12-17T01:40:28.563Z] v4.0.0-dev.1 [2024-12-17T01:40:28.563Z] v4.0.0-dev.10 [2024-12-17T01:40:28.563Z] v4.0.0-dev.2 [2024-12-17T01:40:28.563Z] v4.0.0-dev.3 [2024-12-17T01:40:28.563Z] v4.0.0-dev.4 [2024-12-17T01:40:28.563Z] v4.0.0-dev.5 [2024-12-17T01:40:28.563Z] v4.0.0-dev.6 [2024-12-17T01:40:28.563Z] v4.0.0-dev.7 [2024-12-17T01:40:28.563Z] v4.0.0-dev.8 [2024-12-17T01:40:28.563Z] v4.0.0-dev.9 [Pipeline] sh [2024-12-17T01:40:28.863Z] + lftools sign git-tag v4.0.0-dev.10 [2024-12-17T01:40:29.461Z] Signing Git tag with Sigul... [2024-12-17T01:40:29.461Z] Signing v4.0.0-dev.10 [Pipeline] echo [2024-12-17T01:40:29.735Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-17T01:40:30.027Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-12-17T01:40:30.034Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-12-17T01:40:30.062Z] $ docker stop --time=1 609e3752f12376c637e587ab54a82550fb46e48139d74ba266c1175dd06439a7 [2024-12-17T01:40:31.349Z] $ docker rm -f --volumes 609e3752f12376c637e587ab54a82550fb46e48139d74ba266c1175dd06439a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-12-17T01:40:31.761Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-17T01:40:31.761Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-17T01:40:32.066Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-17T01:40:32.066Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-17T01:40:32.146Z] prd-ubuntu20.04-docker-8c-8g-35236 does not seem to be running inside a container [2024-12-17T01:40:32.172Z] $ 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-17T01:40:32.514Z] $ docker top 570174a314440081bf0a6ae1201b16713eccb98431646fb9d54c89fb32c360fc -eo pid,comm [2024-12-17T01:40:32.562Z] 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-17T01:40:32.562Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-17T01:40:32.621Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-17T01:40:32.621Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-17T01:40:32.735Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-17T01:40:32.735Z] $ docker exec 570174a314440081bf0a6ae1201b16713eccb98431646fb9d54c89fb32c360fc ssh-agent [2024-12-17T01:40:32.838Z] SSH_AUTH_SOCK=/tmp/ssh-ChHKdkUfLWGj/agent.33 [2024-12-17T01:40:32.838Z] SSH_AGENT_PID=39 [2024-12-17T01:40:32.843Z] Running ssh-add (command line suppressed) [2024-12-17T01:40:32.942Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5241708726524208009.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5241708726524208009.key) [2024-12-17T01:40:32.955Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-17T01:40:33.249Z] + git semver bump pre [2024-12-17T01:40:33.508Z] 2024-12-17 01:40:33,422 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-17T01:40:33.509Z] 2024-12-17 01:40:33,422 [bump_version] DEBUG bumping version:4.0.0-dev.10 on axis:pre with prefix:dev [2024-12-17T01:40:33.509Z] 2024-12-17 01:40:33,422 [bump_version] DEBUG bumped version:4.0.0-dev.11 [2024-12-17T01:40:33.509Z] 2024-12-17 01:40:33,422 [write_version] DEBUG write version:4.0.0-dev.11 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2024-12-17T01:40:33.509Z] 2024-12-17 01:40:33,422 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-17T01:40:33.509Z] 2024-12-17 01:40:33,423 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-17T01:40:33.509Z] 2024-12-17 01:40:33,424 [execute] INFO git cat-file --batch-check [2024-12-17T01:40:33.509Z] 2024-12-17 01:40:33,424 [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-17T01:40:33.509Z] 2024-12-17 01:40:33,429 [execute] INFO git cat-file --batch [2024-12-17T01:40:33.509Z] 2024-12-17 01:40:33,430 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-12-17T01:40:33.509Z] 2024-12-17 01:40:33,435 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-17T01:40:33.509Z] 4.0.0-dev.11 [Pipeline] } [2024-12-17T01:40:33.516Z] $ docker exec --env ******** --env ******** 570174a314440081bf0a6ae1201b16713eccb98431646fb9d54c89fb32c360fc ssh-agent -k [2024-12-17T01:40:33.619Z] unset SSH_AUTH_SOCK; [2024-12-17T01:40:33.620Z] unset SSH_AGENT_PID; [2024-12-17T01:40:33.620Z] echo Agent pid 39 killed; [2024-12-17T01:40:33.630Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-17T01:40:33.962Z] + git semver [Pipeline] } [2024-12-17T01:40:34.232Z] $ docker stop --time=1 570174a314440081bf0a6ae1201b16713eccb98431646fb9d54c89fb32c360fc [2024-12-17T01:40:35.492Z] $ docker rm -f --volumes 570174a314440081bf0a6ae1201b16713eccb98431646fb9d54c89fb32c360fc [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-17T01:40:35.945Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-17T01:40:35.945Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-17T01:40:36.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-17T01:40:36.291Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-17T01:40:36.379Z] prd-ubuntu20.04-docker-8c-8g-35236 does not seem to be running inside a container [2024-12-17T01:40:36.407Z] $ 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-17T01:40:36.729Z] $ docker top 875c798a9ba6b7b30c71ab46a559b61ff75f1dcd191df653fc2c1fdc750c76ca -eo pid,comm [2024-12-17T01:40:36.774Z] 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-17T01:40:36.774Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-17T01:40:36.830Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-17T01:40:36.830Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-17T01:40:36.938Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-17T01:40:36.938Z] $ docker exec 875c798a9ba6b7b30c71ab46a559b61ff75f1dcd191df653fc2c1fdc750c76ca ssh-agent [2024-12-17T01:40:37.040Z] SSH_AUTH_SOCK=/tmp/ssh-JK7wae89YJfW/agent.32 [2024-12-17T01:40:37.040Z] SSH_AGENT_PID=38 [2024-12-17T01:40:37.045Z] Running ssh-add (command line suppressed) [2024-12-17T01:40:37.135Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12524476589293546371.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12524476589293546371.key) [2024-12-17T01:40:37.150Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-17T01:40:37.446Z] + git semver push [2024-12-17T01:40:37.707Z] 2024-12-17 01:40:37,609 [run_push] DEBUG push [2024-12-17T01:40:37.707Z] 2024-12-17 01:40:37,609 [execute] INFO git cat-file --batch-check [2024-12-17T01:40:37.707Z] 2024-12-17 01:40:37,610 [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-17T01:40:37.707Z] 2024-12-17 01:40:37,613 [execute] INFO git rev-list ebe47962220eaf7a709d4271c63d70c7e30d2409 -- [2024-12-17T01:40:37.707Z] 2024-12-17 01:40:37,613 [execute] DEBUG Popen(['git', 'rev-list', 'ebe47962220eaf7a709d4271c63d70c7e30d2409', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-12-17T01:40:37.707Z] 2024-12-17 01:40:37,622 [execute] INFO git fetch -v origin [2024-12-17T01:40:37.707Z] 2024-12-17 01:40:37,623 [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-17T01:40:38.275Z] 2024-12-17 01:40:38,083 [run_push] DEBUG no remote changes detected [2024-12-17T01:40:38.275Z] 2024-12-17 01:40:38,083 [execute] INFO git push origin semver [2024-12-17T01:40:38.275Z] 2024-12-17 01:40:38,084 [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-17T01:40:38.846Z] 2024-12-17 01:40:38,739 [run_push] DEBUG push all version tags [2024-12-17T01:40:38.846Z] 2024-12-17 01:40:38,739 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-12-17T01:40:38.846Z] 2024-12-17 01:40:38,740 [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-17T01:40:39.418Z] 2024-12-17 01:40:39,386 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-17T01:40:39.418Z] 4.0.0-dev.11 [Pipeline] } [2024-12-17T01:40:39.425Z] $ docker exec --env ******** --env ******** 875c798a9ba6b7b30c71ab46a559b61ff75f1dcd191df653fc2c1fdc750c76ca ssh-agent -k [2024-12-17T01:40:39.517Z] unset SSH_AUTH_SOCK; [2024-12-17T01:40:39.517Z] unset SSH_AGENT_PID; [2024-12-17T01:40:39.517Z] echo Agent pid 38 killed; [2024-12-17T01:40:39.527Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-17T01:40:39.845Z] + git semver [Pipeline] } [2024-12-17T01:40:40.116Z] $ docker stop --time=1 875c798a9ba6b7b30c71ab46a559b61ff75f1dcd191df653fc2c1fdc750c76ca [2024-12-17T01:40:41.411Z] $ docker rm -f --volumes 875c798a9ba6b7b30c71ab46a559b61ff75f1dcd191df653fc2c1fdc750c76ca [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-17T01:40:41.925Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2024-12-17T01:40:41.925Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-17T01:40:41.925Z] total 16 [2024-12-17T01:40:41.925Z] drwxr-xr-x 3 root root 4096 Dec 17 01:40 . [2024-12-17T01:40:41.925Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 17 01:40 .. [2024-12-17T01:40:41.925Z] drwxr-xr-x 2 root root 4096 Dec 17 01:40 cost [2024-12-17T01:40:41.925Z] -rw-r--r-- 1 root root 83 Dec 17 01:40 cost.csv [2024-12-17T01:40:41.925Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-17T01:40:41.925Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-17T01:40:41.925Z] total 16 [2024-12-17T01:40:41.925Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 17 01:40 . [2024-12-17T01:40:41.925Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 17 01:40 .. [2024-12-17T01:40:41.925Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 17 01:40 cost [2024-12-17T01:40:41.925Z] -rw-r--r-- 1 jenkins jenkins 83 Dec 17 01:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-12-17T01:40:42.221Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-17T01:40:43.085Z] ---> package-listing.sh [2024-12-17T01:40:43.085Z] ++ facter osfamily [2024-12-17T01:40:43.085Z] ++ tr '[:upper:]' '[:lower:]' [2024-12-17T01:40:43.344Z] + OS_FAMILY=debian [2024-12-17T01:40:43.344Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2024-12-17T01:40:43.344Z] + START_PACKAGES=/tmp/packages_start.txt [2024-12-17T01:40:43.344Z] + END_PACKAGES=/tmp/packages_end.txt [2024-12-17T01:40:43.344Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-12-17T01:40:43.344Z] + PACKAGES=/tmp/packages_start.txt [2024-12-17T01:40:43.344Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-12-17T01:40:43.344Z] + PACKAGES=/tmp/packages_end.txt [2024-12-17T01:40:43.344Z] + case "${OS_FAMILY}" in [2024-12-17T01:40:43.344Z] + dpkg -l [2024-12-17T01:40:43.344Z] + grep '^ii' [2024-12-17T01:40:43.344Z] + '[' -f /tmp/packages_start.txt ']' [2024-12-17T01:40:43.344Z] + '[' -f /tmp/packages_end.txt ']' [2024-12-17T01:40:43.344Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-12-17T01:40:43.344Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-12-17T01:40:43.344Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2024-12-17T01:40:43.344Z] + 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-17T01:40:43.357Z] 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-17T01:40:43.634Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-17T01:40:44.199Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-17T01:40:44.199Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-17T01:40:44.280Z] prd-ubuntu20.04-docker-8c-8g-35236 does not seem to be running inside a container [2024-12-17T01:40:44.310Z] $ 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-17T01:40:44.534Z] $ docker top 2cf657c4403ab14ac6cead238a0f78a26a811955c20c29c23e3c83ce6a816a0c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-17T01:40:44.896Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-12-17T01:40:45.184Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-12-17T01:40:45.473Z] + ls /var/log/sa-host [2024-12-17T01:40:45.473Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-17T01:40:45.657Z] provisioning config files... [2024-12-17T01:40:45.666Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4900565245502594083tmp [Pipeline] { [Pipeline] echo [2024-12-17T01:40:45.688Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-17T01:40:45.977Z] ---> create-netrc.sh [Pipeline] } [2024-12-17T01:40:45.985Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-12-17T01:40:46.341Z] ---> python-tools-install.sh [Pipeline] echo [2024-12-17T01:40:46.352Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-17T01:40:46.637Z] ---> sudo-logs.sh [2024-12-17T01:40:46.637Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-12-17T01:40:46.675Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-17T01:40:46.962Z] ---> job-cost.sh [2024-12-17T01:40:46.962Z] lf-activate-venv: SKIPPING [2024-12-17T01:40:46.962Z] DEBUG: total: 0.2199999988079071 [2024-12-17T01:40:46.962Z] INFO: Retrieving Stack Cost... [2024-12-17T01:40:47.222Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-17T01:40:47.482Z] INFO: Archiving Costs [Pipeline] echo [2024-12-17T01:40:47.497Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-17T01:40:47.780Z] ---> logs-deploy.sh [2024-12-17T01:40:47.780Z] lf-activate-venv: SKIPPING [2024-12-17T01:40:47.780Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/87 [2024-12-17T01:40:47.780Z] INFO: archiving workspace using pattern(s): [2024-12-17T01:40:48.721Z] Archives upload complete. [2024-12-17T01:40:48.981Z] INFO: archiving logs to Nexus [2024-12-17T01:40:49.552Z] ---> uname -a: [2024-12-17T01:40:49.552Z] Linux prd-ubuntu20-04-docker-8c-8g-35236 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z] ---> lscpu: [2024-12-17T01:40:49.552Z] Architecture: x86_64 [2024-12-17T01:40:49.552Z] CPU op-mode(s): 32-bit, 64-bit [2024-12-17T01:40:49.552Z] Byte Order: Little Endian [2024-12-17T01:40:49.552Z] Address sizes: 40 bits physical, 48 bits virtual [2024-12-17T01:40:49.552Z] CPU(s): 8 [2024-12-17T01:40:49.552Z] On-line CPU(s) list: 0-7 [2024-12-17T01:40:49.552Z] Thread(s) per core: 1 [2024-12-17T01:40:49.552Z] Core(s) per socket: 1 [2024-12-17T01:40:49.552Z] Socket(s): 8 [2024-12-17T01:40:49.552Z] NUMA node(s): 1 [2024-12-17T01:40:49.552Z] Vendor ID: AuthenticAMD [2024-12-17T01:40:49.552Z] CPU family: 23 [2024-12-17T01:40:49.552Z] Model: 49 [2024-12-17T01:40:49.552Z] Model name: AMD EPYC-Rome Processor [2024-12-17T01:40:49.552Z] Stepping: 0 [2024-12-17T01:40:49.552Z] CPU MHz: 2799.998 [2024-12-17T01:40:49.552Z] BogoMIPS: 5599.99 [2024-12-17T01:40:49.552Z] Virtualization: AMD-V [2024-12-17T01:40:49.552Z] Hypervisor vendor: KVM [2024-12-17T01:40:49.552Z] Virtualization type: full [2024-12-17T01:40:49.552Z] L1d cache: 256 KiB [2024-12-17T01:40:49.552Z] L1i cache: 256 KiB [2024-12-17T01:40:49.552Z] L2 cache: 4 MiB [2024-12-17T01:40:49.552Z] L3 cache: 128 MiB [2024-12-17T01:40:49.552Z] NUMA node0 CPU(s): 0-7 [2024-12-17T01:40:49.552Z] Vulnerability Itlb multihit: Not affected [2024-12-17T01:40:49.552Z] Vulnerability L1tf: Not affected [2024-12-17T01:40:49.552Z] Vulnerability Mds: Not affected [2024-12-17T01:40:49.552Z] Vulnerability Meltdown: Not affected [2024-12-17T01:40:49.552Z] Vulnerability Mmio stale data: Not affected [2024-12-17T01:40:49.552Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2024-12-17T01:40:49.552Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2024-12-17T01:40:49.552Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2024-12-17T01:40:49.552Z] Vulnerability Srbds: Not affected [2024-12-17T01:40:49.552Z] Vulnerability Tsx async abort: Not affected [2024-12-17T01:40:49.552Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z] ---> nproc: [2024-12-17T01:40:49.552Z] 8 [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z] ---> df -h: [2024-12-17T01:40:49.552Z] Filesystem Size Used Avail Use% Mounted on [2024-12-17T01:40:49.552Z] overlay 155G 11G 145G 7% / [2024-12-17T01:40:49.552Z] tmpfs 64M 0 64M 0% /dev [2024-12-17T01:40:49.552Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2024-12-17T01:40:49.552Z] shm 64M 0 64M 0% /dev/shm [2024-12-17T01:40:49.552Z] /dev/vda1 155G 11G 145G 7% /facter-os [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z] ---> sar -b -r -n DEV: [2024-12-17T01:40:49.552Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-35236) 12/17/24 _x86_64_ (8 CPU) [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z] 01:37:54 LINUX RESTART (8 CPU) [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z] 01:38:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2024-12-17T01:40:49.552Z] 01:39:02 311.55 48.26 263.29 0.00 5430.83 155885.35 0.00 [2024-12-17T01:40:49.552Z] 01:40:01 246.66 0.27 246.39 0.00 32.80 32641.27 0.00 [2024-12-17T01:40:49.552Z] Average: 279.37 24.46 254.91 0.00 2754.26 94775.84 0.00 [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z] 01:38:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2024-12-17T01:40:49.552Z] 01:39:02 29508648 31533676 807636 2.46 62392 2252052 2088300 6.15 1024448 1997928 358700 [2024-12-17T01:40:49.552Z] 01:40:01 28936928 31516856 783244 2.38 90476 2737792 1843848 5.43 1095460 2420268 82756 [2024-12-17T01:40:49.552Z] Average: 29222788 31525266 795440 2.42 76434 2494922 1966074 5.79 1059954 2209098 220728 [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z] 01:38:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2024-12-17T01:40:49.552Z] 01:39:02 lo 6.47 6.47 0.63 0.63 0.00 0.00 0.00 0.00 [2024-12-17T01:40:49.552Z] 01:39:02 ens3 439.54 300.18 4495.83 97.89 0.00 0.00 0.00 0.00 [2024-12-17T01:40:49.552Z] 01:39:02 docker0 3.78 3.40 0.38 32.36 0.00 0.00 0.00 0.00 [2024-12-17T01:40:49.552Z] 01:40:01 lo 1.22 1.22 0.11 0.11 0.00 0.00 0.00 0.00 [2024-12-17T01:40:49.552Z] 01:40:01 ens3 179.38 110.81 3006.54 33.39 0.00 0.00 0.00 0.00 [2024-12-17T01:40:49.552Z] 01:40:01 docker0 24.58 39.85 1.62 399.14 0.00 0.00 0.00 0.00 [2024-12-17T01:40:49.552Z] Average: lo 3.86 3.86 0.38 0.38 0.00 0.00 0.00 0.00 [2024-12-17T01:40:49.552Z] Average: ens3 310.54 206.28 3757.37 65.91 0.00 0.00 0.00 0.00 [2024-12-17T01:40:49.552Z] Average: docker0 14.10 21.47 0.99 214.23 0.00 0.00 0.00 0.00 [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z] ---> sar -P ALL: [2024-12-17T01:40:49.552Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-35236) 12/17/24 _x86_64_ (8 CPU) [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z] 01:37:54 LINUX RESTART (8 CPU) [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z] 01:38:01 CPU %user %nice %system %iowait %steal %idle [2024-12-17T01:40:49.552Z] 01:39:02 all 7.77 0.00 2.53 3.39 0.07 86.23 [2024-12-17T01:40:49.552Z] 01:39:02 0 8.18 0.00 2.26 4.83 0.07 84.67 [2024-12-17T01:40:49.552Z] 01:39:02 1 6.77 0.00 1.67 0.24 0.07 91.26 [2024-12-17T01:40:49.552Z] 01:39:02 2 7.58 0.00 2.26 1.89 0.07 88.21 [2024-12-17T01:40:49.552Z] 01:39:02 3 8.58 0.00 2.20 0.69 0.07 88.46 [2024-12-17T01:40:49.552Z] 01:39:02 4 5.21 0.00 4.08 5.85 0.07 84.79 [2024-12-17T01:40:49.552Z] 01:39:02 5 6.23 0.00 2.17 0.57 0.08 90.94 [2024-12-17T01:40:49.552Z] 01:39:02 6 10.10 0.00 3.36 12.97 0.08 73.48 [2024-12-17T01:40:49.552Z] 01:39:02 7 9.49 0.00 2.28 0.15 0.05 88.02 [2024-12-17T01:40:49.552Z] 01:40:01 all 7.53 0.00 3.24 3.39 0.07 85.76 [2024-12-17T01:40:49.552Z] 01:40:01 0 7.07 0.00 3.89 11.46 0.07 77.51 [2024-12-17T01:40:49.552Z] 01:40:01 1 8.70 0.00 3.14 0.10 0.07 87.99 [2024-12-17T01:40:49.552Z] 01:40:01 2 6.09 0.00 3.10 2.34 0.07 88.40 [2024-12-17T01:40:49.552Z] 01:40:01 3 6.53 0.00 2.40 10.11 0.10 80.86 [2024-12-17T01:40:49.552Z] 01:40:01 4 8.73 0.00 3.54 0.60 0.07 87.06 [2024-12-17T01:40:49.552Z] 01:40:01 5 6.84 0.00 2.98 1.09 0.07 89.02 [2024-12-17T01:40:49.552Z] 01:40:01 6 7.89 0.00 3.28 0.36 0.07 88.40 [2024-12-17T01:40:49.552Z] 01:40:01 7 8.40 0.00 3.61 1.08 0.07 86.84 [2024-12-17T01:40:49.552Z] Average: all 7.65 0.00 2.89 3.39 0.07 86.00 [2024-12-17T01:40:49.552Z] Average: 0 7.63 0.00 3.07 8.11 0.07 81.12 [2024-12-17T01:40:49.552Z] Average: 1 7.73 0.00 2.40 0.17 0.07 89.64 [2024-12-17T01:40:49.552Z] Average: 2 6.84 0.00 2.68 2.11 0.07 88.31 [2024-12-17T01:40:49.552Z] Average: 3 7.56 0.00 2.30 5.36 0.08 84.69 [2024-12-17T01:40:49.552Z] Average: 4 6.96 0.00 3.81 3.24 0.07 85.92 [2024-12-17T01:40:49.552Z] Average: 5 6.54 0.00 2.57 0.83 0.08 89.99 [2024-12-17T01:40:49.552Z] Average: 6 9.00 0.00 3.32 6.71 0.08 80.89 [2024-12-17T01:40:49.552Z] Average: 7 8.95 0.00 2.94 0.61 0.06 87.44 [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z] [2024-12-17T01:40:49.552Z]