Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eb7d9b4eba343d86dc807026297d2d397bf17ca8 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-ssh11029352218681582382.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-ssh12368725592316023593.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-ssh8115342318499985064.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-ssh5059010325145497068.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-ssh8785045491141640781.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-34573’ is offline Running on prd-ubuntu20.04-docker-8c-8g-34575 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 eb7d9b4eba343d86dc807026297d2d397bf17ca8 (main) Commit message: "Merge pull request #525 from FelixTing/issue-523" > 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 eb7d9b4eba343d86dc807026297d2d397bf17ca8 # timeout=10 > git rev-list --no-walk 1dcfe63ad036bf8d78932132d5dcad6aabcde801 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-12-06T00:14:42.960Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-12-06T00:14:43.031Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-12-06T00:14:43.056Z] ========================================================= [2024-12-06T00:14:43.056Z] EdgeX Global Pipelines Version Info [2024-12-06T00:14:43.056Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-12-06T00:14:44.159Z] ------------------- [2024-12-06T00:14:44.159Z] stable info: [2024-12-06T00:14:44.159Z] ------------------- [2024-12-06T00:14:44.159Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-12-06T00:14:44.159Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-06T00:14:44.159Z] Message: update stable to v1.0.269 [2024-12-06T00:14:44.419Z] ------------------- [2024-12-06T00:14:44.419Z] experimental info: [2024-12-06T00:14:44.419Z] ------------------- [2024-12-06T00:14:44.419Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-12-06T00:14:44.419Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-06T00:14:44.419Z] Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-12-06T00:14:44.499Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-12-06T00:14:44.526Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-12-06T00:14:44.551Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-12-06T00:14:44.574Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-12-06T00:14:44.597Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-12-06T00:14:44.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-12-06T00:14:44.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-12-06T00:14:44.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-12-06T00:14:44.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-12-06T00:14:44.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-12-06T00:14:44.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-12-06T00:14:44.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-12-06T00:14:44.776Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-12-06T00:14:44.795Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-12-06T00:14:44.814Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-12-06T00:14:44.836Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-12-06T00:14:44.860Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-12-06T00:14:44.881Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-12-06T00:14:44.904Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-12-06T00:14:44.930Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-12-06T00:14:44.955Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb7d9b4eba343d86dc807026297d2d397bf17ca8 [Pipeline] echo [2024-12-06T00:14:44.976Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb7d9b4 [Pipeline] echo [2024-12-06T00:14:44.994Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-06T00:14:45.059Z] provisioning config files... [2024-12-06T00:14:45.077Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6108578166207132454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-06T00:14:45.416Z] ---> ****-login.sh [2024-12-06T00:14:45.416Z] nexus3.edgexfoundry.org:10001 [2024-12-06T00:14:45.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T00:14:45.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T00:14:45.677Z] Configure a credential helper to remove this warning. See [2024-12-06T00:14:45.677Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T00:14:45.677Z] [2024-12-06T00:14:45.677Z] Login Succeeded [2024-12-06T00:14:45.677Z] nexus3.edgexfoundry.org:10002 [2024-12-06T00:14:45.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T00:14:45.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T00:14:45.937Z] Configure a credential helper to remove this warning. See [2024-12-06T00:14:45.937Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T00:14:45.937Z] [2024-12-06T00:14:45.937Z] Login Succeeded [2024-12-06T00:14:45.937Z] nexus3.edgexfoundry.org:10003 [2024-12-06T00:14:45.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T00:14:45.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T00:14:45.937Z] Configure a credential helper to remove this warning. See [2024-12-06T00:14:45.937Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T00:14:45.937Z] [2024-12-06T00:14:45.937Z] Login Succeeded [2024-12-06T00:14:45.937Z] nexus3.edgexfoundry.org:10004 [2024-12-06T00:14:45.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T00:14:46.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T00:14:46.197Z] Configure a credential helper to remove this warning. See [2024-12-06T00:14:46.197Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T00:14:46.197Z] [2024-12-06T00:14:46.197Z] Login Succeeded [2024-12-06T00:14:46.197Z] ****.io [2024-12-06T00:14:46.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T00:14:46.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T00:14:46.198Z] Configure a credential helper to remove this warning. See [2024-12-06T00:14:46.198Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T00:14:46.198Z] [2024-12-06T00:14:46.198Z] Login Succeeded [2024-12-06T00:14:46.198Z] ---> ****-login.sh ends [Pipeline] } [2024-12-06T00:14:46.205Z] 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-06T00:14:46.669Z] + git rev-list -1 --merges eb7d9b4eba343d86dc807026297d2d397bf17ca8~1..eb7d9b4eba343d86dc807026297d2d397bf17ca8 [Pipeline] echo [2024-12-06T00:14:46.699Z] -----------> git rev-list -1 --merges eb7d9b4eba343d86dc807026297d2d397bf17ca8~1..eb7d9b4eba343d86dc807026297d2d397bf17ca8 eb7d9b4eba343d86dc807026297d2d397bf17ca8 [false] [Pipeline] sh [2024-12-06T00:14:46.994Z] + git log --format=format:%s -1 eb7d9b4eba343d86dc807026297d2d397bf17ca8 [Pipeline] echo [2024-12-06T00:14:47.010Z] ========================================================= [2024-12-06T00:14:47.010Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-06T00:14:47.010Z] ========================================================= 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-06T00:14:47.471Z] + git rev-list -1 --merges eb7d9b4eba343d86dc807026297d2d397bf17ca8~1..eb7d9b4eba343d86dc807026297d2d397bf17ca8 [Pipeline] echo [2024-12-06T00:14:47.486Z] -----------> git rev-list -1 --merges eb7d9b4eba343d86dc807026297d2d397bf17ca8~1..eb7d9b4eba343d86dc807026297d2d397bf17ca8 eb7d9b4eba343d86dc807026297d2d397bf17ca8 [false] [Pipeline] sh [2024-12-06T00:14:47.781Z] + git log --format=format:%s -1 eb7d9b4eba343d86dc807026297d2d397bf17ca8 [Pipeline] echo [2024-12-06T00:14:47.802Z] ========================================================= [2024-12-06T00:14:47.802Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-06T00:14:47.802Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-12-06T00:14:48.188Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-06T00:14:48.188Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-12-06T00:14:48.188Z] + [ -e /tmp/ssh_known_hosts ] [2024-12-06T00:14:48.188Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-12-06T00:14:48.188Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-12-06T00:14:48.188Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-12-06T00:14:48.188Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T00:14:48.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T00:14:48.548Z] [2024-12-06T00:14:48.548Z] 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-06T00:14:48.858Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T00:14:48.858Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-12-06T00:14:48.858Z] b85a868b505f: Pulling fs layer [2024-12-06T00:14:48.858Z] e2be974225ed: Pulling fs layer [2024-12-06T00:14:48.858Z] 339a4e72a1f5: Pulling fs layer [2024-12-06T00:14:48.858Z] 988bab9f4d93: Pulling fs layer [2024-12-06T00:14:48.858Z] 1469e6f7b9e6: Pulling fs layer [2024-12-06T00:14:48.858Z] eaf3925da568: Pulling fs layer [2024-12-06T00:14:48.858Z] bab4dde63d76: Pulling fs layer [2024-12-06T00:14:48.858Z] bde34c3a00c8: Pulling fs layer [2024-12-06T00:14:48.858Z] b352a97aabf1: Pulling fs layer [2024-12-06T00:14:48.858Z] 4872d77fe225: Pulling fs layer [2024-12-06T00:14:48.858Z] 5851b861e8e6: Pulling fs layer [2024-12-06T00:14:48.858Z] bde34c3a00c8: Waiting [2024-12-06T00:14:48.858Z] bab4dde63d76: Waiting [2024-12-06T00:14:48.858Z] 1469e6f7b9e6: Waiting [2024-12-06T00:14:48.858Z] b352a97aabf1: Waiting [2024-12-06T00:14:48.858Z] 988bab9f4d93: Waiting [2024-12-06T00:14:48.858Z] e2be974225ed: Download complete [2024-12-06T00:14:48.858Z] 988bab9f4d93: Verifying Checksum [2024-12-06T00:14:48.858Z] 988bab9f4d93: Download complete [2024-12-06T00:14:48.858Z] 1469e6f7b9e6: Verifying Checksum [2024-12-06T00:14:48.858Z] 1469e6f7b9e6: Download complete [2024-12-06T00:14:49.118Z] eaf3925da568: Verifying Checksum [2024-12-06T00:14:49.118Z] eaf3925da568: Download complete [2024-12-06T00:14:49.118Z] 339a4e72a1f5: Verifying Checksum [2024-12-06T00:14:49.118Z] 339a4e72a1f5: Download complete [2024-12-06T00:14:49.118Z] bde34c3a00c8: Verifying Checksum [2024-12-06T00:14:49.118Z] bde34c3a00c8: Download complete [2024-12-06T00:14:49.118Z] b352a97aabf1: Verifying Checksum [2024-12-06T00:14:49.118Z] b352a97aabf1: Download complete [2024-12-06T00:14:49.118Z] 4872d77fe225: Verifying Checksum [2024-12-06T00:14:49.118Z] 4872d77fe225: Download complete [2024-12-06T00:14:49.118Z] 5851b861e8e6: Verifying Checksum [2024-12-06T00:14:49.118Z] 5851b861e8e6: Download complete [2024-12-06T00:14:49.118Z] b85a868b505f: Verifying Checksum [2024-12-06T00:14:49.118Z] b85a868b505f: Download complete [2024-12-06T00:14:49.378Z] bab4dde63d76: Verifying Checksum [2024-12-06T00:14:49.378Z] bab4dde63d76: Download complete [2024-12-06T00:14:50.315Z] b85a868b505f: Pull complete [2024-12-06T00:14:50.315Z] e2be974225ed: Pull complete [2024-12-06T00:14:50.885Z] 339a4e72a1f5: Pull complete [2024-12-06T00:14:50.885Z] 988bab9f4d93: Pull complete [2024-12-06T00:14:51.145Z] 1469e6f7b9e6: Pull complete [2024-12-06T00:14:51.145Z] eaf3925da568: Pull complete [2024-12-06T00:14:53.051Z] bab4dde63d76: Pull complete [2024-12-06T00:14:53.051Z] bde34c3a00c8: Pull complete [2024-12-06T00:14:53.051Z] b352a97aabf1: Pull complete [2024-12-06T00:14:53.051Z] 4872d77fe225: Pull complete [2024-12-06T00:14:53.051Z] 5851b861e8e6: Pull complete [2024-12-06T00:14:53.051Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-12-06T00:14:53.312Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T00:14:53.312Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T00:14:53.445Z] prd-ubuntu20.04-docker-8c-8g-34575 does not seem to be running inside a container [2024-12-06T00:14:53.477Z] $ 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-06T00:14:56.780Z] $ docker top 9be72a72c5b3b3a01b5565da886eb07238b4b7e3871d8032b7585db5538cec6c -eo pid,comm [2024-12-06T00:14:56.835Z] 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-06T00:14:56.835Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-06T00:14:56.894Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-06T00:14:56.895Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-06T00:14:57.016Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-06T00:14:57.014Z] $ docker exec 9be72a72c5b3b3a01b5565da886eb07238b4b7e3871d8032b7585db5538cec6c ssh-agent [2024-12-06T00:14:57.126Z] SSH_AUTH_SOCK=/tmp/ssh-MfHLyX1eW3zG/agent.32 [2024-12-06T00:14:57.126Z] SSH_AGENT_PID=38 [2024-12-06T00:14:57.132Z] Running ssh-add (command line suppressed) [2024-12-06T00:14:57.232Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11197884629832638104.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11197884629832638104.key) [2024-12-06T00:14:57.249Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-06T00:14:57.537Z] + git tag --points-at HEAD [Pipeline] } [2024-12-06T00:14:57.544Z] $ docker exec --env ******** --env ******** 9be72a72c5b3b3a01b5565da886eb07238b4b7e3871d8032b7585db5538cec6c ssh-agent -k [2024-12-06T00:14:57.642Z] unset SSH_AUTH_SOCK; [2024-12-06T00:14:57.642Z] unset SSH_AGENT_PID; [2024-12-06T00:14:57.642Z] echo Agent pid 38 killed; [2024-12-06T00:14:57.656Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-12-06T00:14:57.695Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-06T00:14:57.695Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-06T00:14:57.796Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-06T00:14:57.794Z] $ docker exec 9be72a72c5b3b3a01b5565da886eb07238b4b7e3871d8032b7585db5538cec6c ssh-agent [2024-12-06T00:14:57.920Z] SSH_AUTH_SOCK=/tmp/ssh-24tlW9bBoR0Z/agent.72 [2024-12-06T00:14:57.920Z] SSH_AGENT_PID=79 [2024-12-06T00:14:57.926Z] Running ssh-add (command line suppressed) [2024-12-06T00:14:58.028Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6142874933268696226.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6142874933268696226.key) [2024-12-06T00:14:58.047Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-06T00:14:58.344Z] + git semver init [2024-12-06T00:14:58.603Z] 2024-12-06 00:14:58,504 [run_init] DEBUG init version:0.0.0 force:False [2024-12-06T00:14:58.603Z] 2024-12-06 00:14:58,505 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-12-06T00:14:58.603Z] 2024-12-06 00:14:58,505 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-12-06T00:14:58.603Z] 2024-12-06 00:14:58,506 [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-06T00:14:59.541Z] 2024-12-06 00:14:59,297 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2024-12-06T00:14:59.541Z] 2024-12-06 00:14:59,298 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2024-12-06T00:14:59.541Z] 2024-12-06 00:14:59,298 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-06T00:14:59.541Z] 2024-12-06 00:14:59,298 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-06T00:14:59.541Z] 4.0.0-dev.5 [Pipeline] } [2024-12-06T00:14:59.548Z] $ docker exec --env ******** --env ******** 9be72a72c5b3b3a01b5565da886eb07238b4b7e3871d8032b7585db5538cec6c ssh-agent -k [2024-12-06T00:14:59.643Z] unset SSH_AUTH_SOCK; [2024-12-06T00:14:59.643Z] unset SSH_AGENT_PID; [2024-12-06T00:14:59.643Z] echo Agent pid 79 killed; [2024-12-06T00:14:59.656Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-06T00:14:59.969Z] + git semver [Pipeline] } [2024-12-06T00:15:00.238Z] $ docker stop --time=1 9be72a72c5b3b3a01b5565da886eb07238b4b7e3871d8032b7585db5538cec6c [2024-12-06T00:15:01.535Z] $ docker rm -f --volumes 9be72a72c5b3b3a01b5565da886eb07238b4b7e3871d8032b7585db5538cec6c [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-06T00:15:01.895Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-12-06T00:15:02.125Z] Stashed 1 file(s) [Pipeline] echo [2024-12-06T00:15:02.128Z] [edgeXSemver]: initialized semver on version 4.0.0-dev.5 [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-06T00:15:02.400Z] provisioning config files... [2024-12-06T00:15:02.410Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2772596090633240907tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2024-12-06T00:15:02.737Z] ---> ****-login.sh [2024-12-06T00:15:02.737Z] nexus3.edgexfoundry.org:10001 [2024-12-06T00:15:02.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T00:15:02.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T00:15:02.737Z] Configure a credential helper to remove this warning. See [2024-12-06T00:15:02.737Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T00:15:02.737Z] [2024-12-06T00:15:02.737Z] Login Succeeded [2024-12-06T00:15:02.737Z] nexus3.edgexfoundry.org:10002 [2024-12-06T00:15:02.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T00:15:02.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T00:15:02.737Z] Configure a credential helper to remove this warning. See [2024-12-06T00:15:02.737Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T00:15:02.737Z] [2024-12-06T00:15:02.737Z] Login Succeeded [2024-12-06T00:15:02.737Z] nexus3.edgexfoundry.org:10003 [2024-12-06T00:15:02.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T00:15:02.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T00:15:02.998Z] Configure a credential helper to remove this warning. See [2024-12-06T00:15:02.998Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T00:15:02.998Z] [2024-12-06T00:15:02.998Z] Login Succeeded [2024-12-06T00:15:02.998Z] nexus3.edgexfoundry.org:10004 [2024-12-06T00:15:02.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T00:15:02.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T00:15:02.998Z] Configure a credential helper to remove this warning. See [2024-12-06T00:15:02.998Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T00:15:02.998Z] [2024-12-06T00:15:02.998Z] Login Succeeded [2024-12-06T00:15:02.998Z] ****.io [2024-12-06T00:15:02.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T00:15:03.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T00:15:03.260Z] Configure a credential helper to remove this warning. See [2024-12-06T00:15:03.260Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T00:15:03.260Z] [2024-12-06T00:15:03.260Z] Login Succeeded [2024-12-06T00:15:03.260Z] ---> ****-login.sh ends [Pipeline] } [2024-12-06T00:15:03.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-12-06T00:15:03.346Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-06T00:15:03.358Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-12-06T00:15:03.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-06T00:15:03.389Z] ========================================================= [2024-12-06T00:15:03.389Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-12-06T00:15:03.389Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T00:15:03.713Z] + 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-06T00:15:03.713Z] Sending build context to Docker daemon 5.106MB [2024-12-06T00:15:03.713Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-12-06T00:15:03.713Z] Step 2/22 : FROM ${BASE} as builder [2024-12-06T00:15:03.713Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-12-06T00:15:03.713Z] 96526aa774ef: Pulling fs layer [2024-12-06T00:15:03.713Z] da60e534fd72: Pulling fs layer [2024-12-06T00:15:03.713Z] 96526aa774ef: Verifying Checksum [2024-12-06T00:15:03.713Z] 96526aa774ef: Download complete [2024-12-06T00:15:03.972Z] 96526aa774ef: Pull complete [2024-12-06T00:15:04.545Z] da60e534fd72: Verifying Checksum [2024-12-06T00:15:04.545Z] da60e534fd72: Download complete [2024-12-06T00:15:07.830Z] da60e534fd72: Pull complete [2024-12-06T00:15:07.830Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-12-06T00:15:07.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-12-06T00:15:07.830Z] ---> 6605166a5db4 [2024-12-06T00:15:07.830Z] 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-06T00:15:09.208Z] ---> Running in 26a8aace4cb2 [2024-12-06T00:15:09.778Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-12-06T00:15:10.038Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-06T00:15:10.038Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-06T00:15:10.038Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-06T00:15:10.302Z] Removing intermediate container 26a8aace4cb2 [2024-12-06T00:15:10.302Z] ---> 751355b5b012 [2024-12-06T00:15:10.302Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-06T00:15:10.302Z] ---> Running in ce28fd01af90 [2024-12-06T00:15:10.872Z] Removing intermediate container ce28fd01af90 [2024-12-06T00:15:10.872Z] ---> 1274539e2fe8 [2024-12-06T00:15:10.872Z] 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-06T00:15:10.872Z] ---> Running in 84f6605d6e1d [2024-12-06T00:15:11.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:11.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:11.651Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:12.222Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T00:15:12.222Z] (1/15) Installing libcbor (0.10.2-r1) [2024-12-06T00:15:12.222Z] (2/15) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-06T00:15:12.792Z] (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-06T00:15:13.052Z] (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-06T00:15:13.052Z] (5/15) Installing libcbor-dev (0.10.2-r1) [2024-12-06T00:15:13.052Z] (6/15) Installing libmenuw (6.4_p20230506-r0) [2024-12-06T00:15:13.311Z] (7/15) Installing libpanelw (6.4_p20230506-r0) [2024-12-06T00:15:13.311Z] (8/15) Installing libncurses++ (6.4_p20230506-r0) [2024-12-06T00:15:13.311Z] (9/15) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-06T00:15:13.311Z] (10/15) Installing libblkid (2.38.1-r8) [2024-12-06T00:15:13.311Z] (11/15) Installing libuuid (2.38.1-r8) [2024-12-06T00:15:13.311Z] (12/15) Installing libfdisk (2.38.1-r8) [2024-12-06T00:15:13.311Z] (13/15) Installing libmount (2.38.1-r8) [2024-12-06T00:15:13.311Z] (14/15) Installing libsmartcols (2.38.1-r8) [2024-12-06T00:15:13.311Z] (15/15) Installing util-linux-dev (2.38.1-r8) [2024-12-06T00:15:13.311Z] Executing busybox-1.36.1-r4.trigger [2024-12-06T00:15:13.311Z] OK: 336 MiB in 97 packages [2024-12-06T00:15:13.880Z] Removing intermediate container 84f6605d6e1d [2024-12-06T00:15:13.880Z] ---> 20759d5f8e01 [2024-12-06T00:15:13.880Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-12-06T00:15:13.880Z] ---> Running in 83d27ac92c4e [2024-12-06T00:15:14.450Z] Removing intermediate container 83d27ac92c4e [2024-12-06T00:15:14.450Z] ---> 6796d11f47fe [2024-12-06T00:15:14.450Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-12-06T00:15:14.450Z] ---> e436ed49063b [2024-12-06T00:15:14.450Z] Step 8/22 : COPY src /tmp/sdk/src [2024-12-06T00:15:14.711Z] ---> 9b85b73c20ed [2024-12-06T00:15:14.711Z] Step 9/22 : COPY include /tmp/sdk/include [2024-12-06T00:15:14.971Z] ---> 66f30db4628a [2024-12-06T00:15:14.971Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-12-06T00:15:14.971Z] ---> 553d873329a4 [2024-12-06T00:15:14.971Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-12-06T00:15:15.229Z] ---> 7e942a58ecc4 [2024-12-06T00:15:15.229Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-12-06T00:15:15.229Z] ---> 7b1099fc9d19 [2024-12-06T00:15:15.229Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-12-06T00:15:15.229Z] ---> Running in df136bf4e5e7 [2024-12-06T00:15:15.488Z] + CPPCHECK=false [2024-12-06T00:15:15.488Z] + DOCGEN=false [2024-12-06T00:15:15.488Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-12-06T00:15:15.488Z] + '[' 0 -gt 0 ] [2024-12-06T00:15:15.488Z] + readlink -f ./scripts/build.sh [2024-12-06T00:15:15.488Z] + dirname /tmp/sdk/scripts/build.sh [2024-12-06T00:15:15.488Z] + dirname /tmp/sdk/scripts [2024-12-06T00:15:15.488Z] + ROOT=/tmp/sdk [2024-12-06T00:15:15.488Z] + cd /tmp/sdk [2024-12-06T00:15:15.488Z] + mkdir -p /tmp/sdk/build/release [2024-12-06T00:15:15.488Z] + cd /tmp/sdk/build/release [2024-12-06T00:15:15.488Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-12-06T00:15:15.747Z] -- The C compiler identification is GNU 12.2.1 [2024-12-06T00:15:15.747Z] -- Detecting C compiler ABI info [2024-12-06T00:15:15.747Z] -- Detecting C compiler ABI info - done [2024-12-06T00:15:15.747Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-06T00:15:15.747Z] -- Detecting C compile features [2024-12-06T00:15:15.747Z] -- Detecting C compile features - done [2024-12-06T00:15:15.747Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-06T00:15:16.006Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-06T00:15:16.006Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-06T00:15:16.006Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-06T00:15:16.006Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-06T00:15:16.006Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-06T00:15:16.006Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-06T00:15:16.006Z] -- /opt/iotech/iot/1.5/include [2024-12-06T00:15:16.006Z] -- C SDK 4.0.0-dev.5 for Linux [2024-12-06T00:15:16.006Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-06T00:15:16.006Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-06T00:15:16.006Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-06T00:15:16.006Z] -- Configuring done (0.5s) [2024-12-06T00:15:16.006Z] -- Generating done (0.0s) [2024-12-06T00:15:16.006Z] -- Build files have been written to: /tmp/sdk/build/release [2024-12-06T00:15:16.006Z] + make all package [2024-12-06T00:15:16.006Z] + tee release.log [2024-12-06T00:15:16.266Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-06T00:15:16.266Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T00:15:16.266Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T00:15:16.266Z] from /tmp/sdk/src/c/autoevent.h:12, [2024-12-06T00:15:16.266Z] from /tmp/sdk/src/c/autoevent.c:9: [2024-12-06T00:15:16.266Z] /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': [2024-12-06T00:15:16.266Z] /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T00:15:16.266Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T00:15:16.266Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T00:15:16.266Z] | | [2024-12-06T00:15:16.266Z] | size_t {aka long unsigned int} [2024-12-06T00:15:16.266Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T00:15:16.266Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T00:15:16.266Z] | ^~~~~~~~~~~ [2024-12-06T00:15:16.266Z] /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here [2024-12-06T00:15:16.266Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T00:15:16.266Z] | ~^ [2024-12-06T00:15:16.266Z] | | [2024-12-06T00:15:16.266Z] | int [2024-12-06T00:15:16.266Z] | %ld [2024-12-06T00:15:16.266Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-06T00:15:16.526Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-06T00:15:16.526Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-06T00:15:16.526Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-06T00:15:16.785Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-12-06T00:15:17.044Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-12-06T00:15:17.044Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-06T00:15:17.044Z] 294 | while (privateConfig) [2024-12-06T00:15:17.044Z] | ^~~~~~~~~~~~~ [2024-12-06T00:15:17.044Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-12-06T00:15:17.044Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-12-06T00:15:17.044Z] | ^~~~~~~~~~~~~ [2024-12-06T00:15:17.044Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-06T00:15:17.044Z] 271 | while (result) [2024-12-06T00:15:17.044Z] | ^~~~~~ [2024-12-06T00:15:17.044Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-12-06T00:15:17.044Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-12-06T00:15:17.044Z] | ^~~~~~ [2024-12-06T00:15:17.044Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-06T00:15:17.044Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-06T00:15:17.304Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-06T00:15:17.566Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-06T00:15:17.566Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-06T00:15:17.828Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-06T00:15:17.828Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-06T00:15:18.088Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-06T00:15:18.088Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-06T00:15:18.088Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-06T00:15:18.658Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-06T00:15:18.658Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-06T00:15:18.658Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-06T00:15:18.917Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-06T00:15:19.852Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-06T00:15:19.852Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-06T00:15:20.111Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-06T00:15:20.111Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-06T00:15:20.111Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-06T00:15:20.371Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-06T00:15:20.631Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-06T00:15:20.889Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-06T00:15:20.890Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-06T00:15:20.890Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-06T00:15:21.148Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-06T00:15:21.148Z] /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T00:15:21.148Z] 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-12-06T00:15:21.148Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T00:15:21.148Z] /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T00:15:21.148Z] 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-12-06T00:15:21.148Z] | ^ [2024-12-06T00:15:21.148Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T00:15:21.148Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T00:15:21.148Z] from /tmp/sdk/src/c/service.c:9: [2024-12-06T00:15:21.148Z] /tmp/sdk/src/c/service.c:1087:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T00:15:21.148Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T00:15:21.148Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T00:15:21.148Z] | | [2024-12-06T00:15:21.148Z] | uint64_t {aka long unsigned int} [2024-12-06T00:15:21.148Z] /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' [2024-12-06T00:15:21.148Z] 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) [2024-12-06T00:15:21.148Z] | ^~~~~~~~~~~ [2024-12-06T00:15:21.148Z] /tmp/sdk/src/c/service.c:1087:54: note: format string is defined here [2024-12-06T00:15:21.148Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T00:15:21.148Z] | ~^ [2024-12-06T00:15:21.148Z] | | [2024-12-06T00:15:21.149Z] | int [2024-12-06T00:15:21.149Z] | %ld [2024-12-06T00:15:21.149Z] /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': [2024-12-06T00:15:21.149Z] /tmp/sdk/src/c/service.c:1150:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T00:15:21.149Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T00:15:21.149Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T00:15:21.149Z] | | [2024-12-06T00:15:21.149Z] | size_t {aka long unsigned int} [2024-12-06T00:15:21.149Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T00:15:21.149Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T00:15:21.149Z] | ^~~~~~~~~~~ [2024-12-06T00:15:21.149Z] /tmp/sdk/src/c/service.c:1150:66: note: format string is defined here [2024-12-06T00:15:21.149Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T00:15:21.149Z] | ~^ [2024-12-06T00:15:21.149Z] | | [2024-12-06T00:15:21.149Z] | int [2024-12-06T00:15:21.149Z] | %ld [2024-12-06T00:15:21.149Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-06T00:15:21.149Z] /tmp/sdk/src/c/service.c:1070:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-06T00:15:21.149Z] 1070 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-12-06T00:15:21.149Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T00:15:21.149Z] /tmp/sdk/src/c/service.c:882:68: note: 'deviceservices_config' was declared here [2024-12-06T00:15:21.149Z] 882 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-12-06T00:15:21.149Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-06T00:15:21.407Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-06T00:15:21.407Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-06T00:15:21.665Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-06T00:15:21.665Z] [ 68%] Linking C shared library libcsdk.so [2024-12-06T00:15:21.665Z] [ 68%] Built target csdk [2024-12-06T00:15:21.665Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-06T00:15:21.924Z] [ 72%] Linking C executable template [2024-12-06T00:15:21.924Z] [ 72%] Built target template [2024-12-06T00:15:21.924Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-06T00:15:22.184Z] [ 76%] Linking C executable device-counter [2024-12-06T00:15:22.184Z] [ 76%] Built target device-counter [2024-12-06T00:15:22.184Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-06T00:15:22.184Z] [ 80%] Linking C executable device-random [2024-12-06T00:15:22.443Z] [ 80%] Built target device-random [2024-12-06T00:15:22.443Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-06T00:15:22.443Z] [ 84%] Linking C executable device-gyro [2024-12-06T00:15:22.443Z] [ 84%] Built target device-gyro [2024-12-06T00:15:22.443Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-06T00:15:22.703Z] [ 88%] Linking C executable device-bitfields [2024-12-06T00:15:22.703Z] [ 88%] Built target device-bitfields [2024-12-06T00:15:22.703Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-06T00:15:22.962Z] [ 92%] Linking C executable template-discovery [2024-12-06T00:15:22.962Z] [ 92%] Built target template-discovery [2024-12-06T00:15:22.962Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-06T00:15:22.962Z] [ 96%] Linking C executable device-file [2024-12-06T00:15:22.962Z] [ 96%] Built target device-file [2024-12-06T00:15:23.222Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-06T00:15:23.222Z] [100%] Linking C executable device-terminal [2024-12-06T00:15:23.222Z] [100%] Built target device-terminal [2024-12-06T00:15:23.222Z] Run CPack packaging tool... [2024-12-06T00:15:23.222Z] CPack: Create package using TGZ [2024-12-06T00:15:23.222Z] CPack: Install projects [2024-12-06T00:15:23.222Z] CPack: - Run preinstall target for: Csdk [2024-12-06T00:15:23.483Z] CPack: - Install project: Csdk [] [2024-12-06T00:15:23.483Z] CPack: Create package [2024-12-06T00:15:23.483Z] CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.5.tar.gz generated. [2024-12-06T00:15:23.483Z] + '[' false '=' true ] [2024-12-06T00:15:23.483Z] + '[' false '=' true ] [2024-12-06T00:15:23.483Z] + mkdir -p /tmp/sdk/build/debug [2024-12-06T00:15:23.483Z] + cd /tmp/sdk/build/debug [2024-12-06T00:15:23.483Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-12-06T00:15:23.743Z] -- The C compiler identification is GNU 12.2.1 [2024-12-06T00:15:23.743Z] -- Detecting C compiler ABI info [2024-12-06T00:15:23.743Z] -- Detecting C compiler ABI info - done [2024-12-06T00:15:23.743Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-06T00:15:23.743Z] -- Detecting C compile features [2024-12-06T00:15:23.743Z] -- Detecting C compile features - done [2024-12-06T00:15:23.743Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-06T00:15:23.743Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-06T00:15:23.743Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-06T00:15:23.743Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-06T00:15:23.743Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-06T00:15:23.743Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-06T00:15:23.743Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-06T00:15:23.743Z] -- /opt/iotech/iot/1.5/include [2024-12-06T00:15:23.743Z] -- C SDK 4.0.0-dev.5 for Linux [2024-12-06T00:15:23.743Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-06T00:15:24.003Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-06T00:15:24.003Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-06T00:15:24.003Z] -- Configuring done (0.4s) [2024-12-06T00:15:24.003Z] -- Generating done (0.0s) [2024-12-06T00:15:24.003Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-12-06T00:15:24.003Z] + + make [2024-12-06T00:15:24.003Z] tee debug.log [2024-12-06T00:15:24.003Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-06T00:15:24.261Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T00:15:24.261Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T00:15:24.261Z] from /tmp/sdk/src/c/autoevent.h:12, [2024-12-06T00:15:24.261Z] from /tmp/sdk/src/c/autoevent.c:9: [2024-12-06T00:15:24.261Z] /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': [2024-12-06T00:15:24.261Z] /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T00:15:24.261Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T00:15:24.261Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T00:15:24.261Z] | | [2024-12-06T00:15:24.261Z] | size_t {aka long unsigned int} [2024-12-06T00:15:24.261Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T00:15:24.261Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T00:15:24.261Z] | ^~~~~~~~~~~ [2024-12-06T00:15:24.261Z] /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here [2024-12-06T00:15:24.261Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T00:15:24.261Z] | ~^ [2024-12-06T00:15:24.261Z] | | [2024-12-06T00:15:24.261Z] | int [2024-12-06T00:15:24.261Z] | %ld [2024-12-06T00:15:24.261Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-06T00:15:24.262Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-06T00:15:24.262Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-06T00:15:24.520Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-06T00:15:24.520Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-12-06T00:15:24.520Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-06T00:15:24.520Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-06T00:15:24.779Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-06T00:15:24.779Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-06T00:15:24.779Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-06T00:15:25.037Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-06T00:15:25.037Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-06T00:15:25.037Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-06T00:15:25.297Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-06T00:15:25.297Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-06T00:15:25.297Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-06T00:15:25.297Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-06T00:15:25.557Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-06T00:15:25.557Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-06T00:15:25.816Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-06T00:15:25.816Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-06T00:15:25.816Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-06T00:15:26.076Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-06T00:15:26.076Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-06T00:15:26.076Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-06T00:15:26.336Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-06T00:15:26.336Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-06T00:15:26.595Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-06T00:15:26.595Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-06T00:15:26.595Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-06T00:15:26.595Z] /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T00:15:26.595Z] 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-12-06T00:15:26.595Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T00:15:26.595Z] /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T00:15:26.595Z] 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-12-06T00:15:26.595Z] | ^ [2024-12-06T00:15:26.595Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T00:15:26.595Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T00:15:26.595Z] from /tmp/sdk/src/c/service.c:9: [2024-12-06T00:15:26.595Z] /tmp/sdk/src/c/service.c:1087:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T00:15:26.595Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T00:15:26.595Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T00:15:26.595Z] | | [2024-12-06T00:15:26.595Z] | uint64_t {aka long unsigned int} [2024-12-06T00:15:26.595Z] /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' [2024-12-06T00:15:26.595Z] 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) [2024-12-06T00:15:26.595Z] | ^~~~~~~~~~~ [2024-12-06T00:15:26.595Z] /tmp/sdk/src/c/service.c:1087:54: note: format string is defined here [2024-12-06T00:15:26.595Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T00:15:26.595Z] | ~^ [2024-12-06T00:15:26.595Z] | | [2024-12-06T00:15:26.595Z] | int [2024-12-06T00:15:26.595Z] | %ld [2024-12-06T00:15:26.595Z] /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': [2024-12-06T00:15:26.595Z] /tmp/sdk/src/c/service.c:1150:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T00:15:26.595Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T00:15:26.595Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T00:15:26.595Z] | | [2024-12-06T00:15:26.595Z] | size_t {aka long unsigned int} [2024-12-06T00:15:26.596Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T00:15:26.596Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T00:15:26.596Z] | ^~~~~~~~~~~ [2024-12-06T00:15:26.596Z] /tmp/sdk/src/c/service.c:1150:66: note: format string is defined here [2024-12-06T00:15:26.596Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T00:15:26.596Z] | ~^ [2024-12-06T00:15:26.596Z] | | [2024-12-06T00:15:26.596Z] | int [2024-12-06T00:15:26.596Z] | %ld [2024-12-06T00:15:26.596Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-06T00:15:26.861Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-06T00:15:26.861Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-06T00:15:26.861Z] [ 68%] Linking C shared library libcsdk.so [2024-12-06T00:15:26.861Z] [ 68%] Built target csdk [2024-12-06T00:15:26.861Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-06T00:15:27.123Z] [ 72%] Linking C executable template [2024-12-06T00:15:27.123Z] [ 72%] Built target template [2024-12-06T00:15:27.123Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-06T00:15:27.123Z] [ 76%] Linking C executable device-counter [2024-12-06T00:15:27.123Z] [ 76%] Built target device-counter [2024-12-06T00:15:27.383Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-06T00:15:27.383Z] [ 80%] Linking C executable device-random [2024-12-06T00:15:27.383Z] [ 80%] Built target device-random [2024-12-06T00:15:27.383Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-06T00:15:27.383Z] [ 84%] Linking C executable device-gyro [2024-12-06T00:15:27.643Z] [ 84%] Built target device-gyro [2024-12-06T00:15:27.643Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-06T00:15:27.643Z] [ 88%] Linking C executable device-bitfields [2024-12-06T00:15:27.643Z] [ 88%] Built target device-bitfields [2024-12-06T00:15:27.643Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-06T00:15:27.904Z] [ 92%] Linking C executable template-discovery [2024-12-06T00:15:27.904Z] [ 92%] Built target template-discovery [2024-12-06T00:15:27.904Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-06T00:15:27.904Z] [ 96%] Linking C executable device-file [2024-12-06T00:15:27.904Z] [ 96%] Built target device-file [2024-12-06T00:15:27.904Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-06T00:15:28.164Z] [100%] Linking C executable device-terminal [2024-12-06T00:15:28.164Z] [100%] Built target device-terminal [2024-12-06T00:15:28.164Z] make: Entering directory '/tmp/sdk/build/release' [2024-12-06T00:15:28.164Z] [ 68%] Built target csdk [2024-12-06T00:15:28.164Z] [ 72%] Built target template [2024-12-06T00:15:28.164Z] [ 76%] Built target device-counter [2024-12-06T00:15:28.424Z] [ 80%] Built target device-random [2024-12-06T00:15:28.424Z] [ 84%] Built target device-gyro [2024-12-06T00:15:28.424Z] [ 88%] Built target device-bitfields [2024-12-06T00:15:28.424Z] [ 92%] Built target template-discovery [2024-12-06T00:15:28.424Z] [ 96%] Built target device-file [2024-12-06T00:15:28.424Z] [100%] Built target device-terminal [2024-12-06T00:15:28.424Z] Install the project... [2024-12-06T00:15:28.424Z] -- Install configuration: "Release" [2024-12-06T00:15:28.424Z] -- Installing: /usr/local/lib/libcsdk.so [2024-12-06T00:15:28.424Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-12-06T00:15:28.424Z] -- Installing: /usr/local/include [2024-12-06T00:15:28.424Z] -- Installing: /usr/local/include/devsdk [2024-12-06T00:15:28.424Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-12-06T00:15:28.424Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-12-06T00:15:28.424Z] -- Installing: /usr/local/include/edgex [2024-12-06T00:15:28.424Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-12-06T00:15:28.424Z] -- Installing: /usr/local/include/edgex/devices.h [2024-12-06T00:15:28.424Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-12-06T00:15:28.424Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-12-06T00:15:28.424Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-12-06T00:15:28.424Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-12-06T00:15:28.424Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-12-06T00:15:28.424Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-12-06T00:15:28.424Z] make: Leaving directory '/tmp/sdk/build/release' [2024-12-06T00:15:28.994Z] Removing intermediate container df136bf4e5e7 [2024-12-06T00:15:28.994Z] ---> 22f84d871232 [2024-12-06T00:15:28.994Z] Step 14/22 : FROM ${BASE} [2024-12-06T00:15:28.994Z] ---> 6605166a5db4 [2024-12-06T00:15:28.994Z] Step 15/22 : LABEL maintainer="IOTech " [2024-12-06T00:15:28.994Z] ---> Running in 03ef8a95a99f [2024-12-06T00:15:29.253Z] Removing intermediate container 03ef8a95a99f [2024-12-06T00:15:29.253Z] ---> 2a841b0490ed [2024-12-06T00:15:29.253Z] 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-06T00:15:29.253Z] ---> Running in c3dd12d8436c [2024-12-06T00:15:29.513Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-12-06T00:15:29.772Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-06T00:15:29.772Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-06T00:15:29.772Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-06T00:15:30.031Z] Removing intermediate container c3dd12d8436c [2024-12-06T00:15:30.031Z] ---> 30119f16c38d [2024-12-06T00:15:30.031Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-06T00:15:30.291Z] ---> Running in 07eb1ce43849 [2024-12-06T00:15:30.860Z] Removing intermediate container 07eb1ce43849 [2024-12-06T00:15:30.860Z] ---> b7d20680c7fb [2024-12-06T00:15:30.860Z] 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-06T00:15:30.860Z] ---> Running in fda2135eac9c [2024-12-06T00:15:31.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:31.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:31.381Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:31.954Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T00:15:31.954Z] (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-12-06T00:15:32.214Z] (2/8) Installing curl (8.9.1-r1) [2024-12-06T00:15:32.214Z] (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-12-06T00:15:32.214Z] (4/8) Installing dumb-init (1.2.5-r2) [2024-12-06T00:15:32.214Z] (5/8) Installing libcbor (0.10.2-r1) [2024-12-06T00:15:32.214Z] (6/8) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-06T00:15:32.782Z] (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-06T00:15:33.041Z] (8/8) Installing libuuid (2.38.1-r8) [2024-12-06T00:15:33.041Z] Executing busybox-1.36.1-r4.trigger [2024-12-06T00:15:33.041Z] OK: 331 MiB in 88 packages [2024-12-06T00:15:33.608Z] Removing intermediate container fda2135eac9c [2024-12-06T00:15:33.608Z] ---> 7fac19da2cb3 [2024-12-06T00:15:33.608Z] Step 19/22 : RUN apk --no-cache upgrade [2024-12-06T00:15:33.608Z] ---> Running in 1baa10cfc2af [2024-12-06T00:15:33.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:33.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:34.126Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:34.694Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T00:15:34.694Z] Upgrading critical system libraries and apk-tools: [2024-12-06T00:15:34.694Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-12-06T00:15:34.694Z] Executing busybox-1.36.1-r4.trigger [2024-12-06T00:15:34.694Z] Continuing the upgrade transaction with new apk-tools: [2024-12-06T00:15:34.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:34.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:34.953Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:35.524Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T00:15:35.524Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-12-06T00:15:35.524Z] Executing busybox-1.36.1-r7.post-upgrade [2024-12-06T00:15:35.524Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-12-06T00:15:35.524Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-12-06T00:15:35.524Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-06T00:15:35.524Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-06T00:15:35.524Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-12-06T00:15:35.524Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-12-06T00:15:35.524Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-12-06T00:15:35.524Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-12-06T00:15:35.524Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-12-06T00:15:35.524Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-12-06T00:15:35.524Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-12-06T00:15:35.783Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-12-06T00:15:35.783Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-12-06T00:15:35.783Z] Executing busybox-1.36.1-r7.trigger [2024-12-06T00:15:35.783Z] Executing ca-certificates-20240226-r0.trigger [2024-12-06T00:15:35.783Z] OK: 331 MiB in 88 packages [2024-12-06T00:15:36.722Z] Removing intermediate container 1baa10cfc2af [2024-12-06T00:15:36.722Z] ---> 08f050cf582b [2024-12-06T00:15:36.722Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-12-06T00:15:36.722Z] ---> 94e98218c512 [2024-12-06T00:15:36.722Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-12-06T00:15:36.981Z] ---> e020abff06a7 [2024-12-06T00:15:36.981Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-12-06T00:15:36.981Z] ---> a6a57320a7c9 [2024-12-06T00:15:36.981Z] Successfully built a6a57320a7c9 [2024-12-06T00:15:36.981Z] 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-06T00:15:37.381Z] + docker inspect -f . ci-base-image-x86_64 [2024-12-06T00:15:37.381Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T00:15:37.457Z] prd-ubuntu20.04-docker-8c-8g-34575 does not seem to be running inside a container [2024-12-06T00:15:37.476Z] $ 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-06T00:15:37.812Z] $ docker top 0b7b36cf902f3293fb83d0e4ecffd92377d9be110c9d732572db93ac6ffd8bac -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-06T00:15:38.173Z] + make test [2024-12-06T00:15:38.173Z] echo "make test" [2024-12-06T00:15:38.173Z] make test [Pipeline] } [2024-12-06T00:15:38.180Z] $ docker stop --time=1 0b7b36cf902f3293fb83d0e4ecffd92377d9be110c9d732572db93ac6ffd8bac [2024-12-06T00:15:39.464Z] $ docker rm -f --volumes 0b7b36cf902f3293fb83d0e4ecffd92377d9be110c9d732572db93ac6ffd8bac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-12-06T00:15:40.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-12-06T00:15:40.295Z] + ls -al . [2024-12-06T00:15:40.295Z] total 212 [2024-12-06T00:15:40.295Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 00:14 . [2024-12-06T00:15:40.295Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 00:14 .. [2024-12-06T00:15:40.295Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 00:15 .git [2024-12-06T00:15:40.295Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 00:14 .github [2024-12-06T00:15:40.295Z] -rw-rw-r-- 1 jenkins jenkins 176 Dec 6 00:14 .gitignore [2024-12-06T00:15:40.295Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 00:14 .semver [2024-12-06T00:15:40.295Z] -rw-rw-r-- 1 jenkins jenkins 2908 Dec 6 00:14 Attribution.txt [2024-12-06T00:15:40.295Z] -rw-rw-r-- 1 jenkins jenkins 11953 Dec 6 00:14 CHANGELOG.md [2024-12-06T00:15:40.295Z] -rw-rw-r-- 1 jenkins jenkins 108574 Dec 6 00:14 Doxyfile [2024-12-06T00:15:40.295Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 00:14 GOVERNANCE.md [2024-12-06T00:15:40.295Z] -rw-rw-r-- 1 jenkins jenkins 784 Dec 6 00:14 Jenkinsfile [2024-12-06T00:15:40.295Z] -rw-rw-r-- 1 jenkins jenkins 10174 Dec 6 00:14 LICENSE [2024-12-06T00:15:40.295Z] -rw-rw-r-- 1 jenkins jenkins 444 Dec 6 00:14 Makefile [2024-12-06T00:15:40.295Z] -rw-rw-r-- 1 jenkins jenkins 618 Dec 6 00:14 OWNERS.md [2024-12-06T00:15:40.295Z] -rw-rw-r-- 1 jenkins jenkins 1651 Dec 6 00:14 README.IOT.md [2024-12-06T00:15:40.295Z] -rw-rw-r-- 1 jenkins jenkins 4173 Dec 6 00:14 README.md [2024-12-06T00:15:40.295Z] -rw-rw-r-- 1 jenkins jenkins 1245 Dec 6 00:14 README.v3.md [2024-12-06T00:15:40.295Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 00:15 VERSION [2024-12-06T00:15:40.295Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 00:14 docs [2024-12-06T00:15:40.295Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 00:14 include [2024-12-06T00:15:40.295Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 00:14 scripts [2024-12-06T00:15:40.295Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 00:14 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T00:15:40.617Z] + 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=eb7d9b4eba343d86dc807026297d2d397bf17ca8 --label arch=amd64 --label version=4.0.0-dev.5 . [2024-12-06T00:15:40.617Z] Sending build context to Docker daemon 5.106MB [2024-12-06T00:15:40.617Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-12-06T00:15:40.617Z] Step 2/18 : FROM ${BASE} [2024-12-06T00:15:40.617Z] ---> a6a57320a7c9 [2024-12-06T00:15:40.617Z] Step 3/18 : LABEL maintainer="IOTech " [2024-12-06T00:15:40.617Z] ---> Running in 48eb54aff17b [2024-12-06T00:15:40.877Z] Removing intermediate container 48eb54aff17b [2024-12-06T00:15:40.877Z] ---> 45b64e9a1e73 [2024-12-06T00:15:40.877Z] 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-06T00:15:40.877Z] ---> Running in 6686485479f8 [2024-12-06T00:15:41.142Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-12-06T00:15:41.403Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-06T00:15:41.403Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-06T00:15:41.403Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-06T00:15:41.661Z] Removing intermediate container 6686485479f8 [2024-12-06T00:15:41.661Z] ---> 5b3eea0dc453 [2024-12-06T00:15:41.661Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-06T00:15:41.661Z] ---> Running in 77fb8036526a [2024-12-06T00:15:42.229Z] Removing intermediate container 77fb8036526a [2024-12-06T00:15:42.229Z] ---> c40dd3ee4187 [2024-12-06T00:15:42.229Z] 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-06T00:15:42.229Z] ---> Running in 9becead3e9c8 [2024-12-06T00:15:42.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:42.749Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:43.008Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:43.578Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T00:15:43.578Z] (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-06T00:15:43.578Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-12-06T00:15:43.578Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-12-06T00:15:43.578Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-12-06T00:15:43.578Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-12-06T00:15:43.578Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-06T00:15:43.839Z] (7/11) Installing libblkid (2.38.1-r8) [2024-12-06T00:15:43.839Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-12-06T00:15:43.839Z] (9/11) Installing libmount (2.38.1-r8) [2024-12-06T00:15:43.839Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-12-06T00:15:43.839Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-12-06T00:15:43.839Z] Executing busybox-1.36.1-r7.trigger [2024-12-06T00:15:43.839Z] OK: 336 MiB in 99 packages [2024-12-06T00:15:44.406Z] Removing intermediate container 9becead3e9c8 [2024-12-06T00:15:44.406Z] ---> bc76ce7aa446 [2024-12-06T00:15:44.406Z] Step 7/18 : RUN apk --no-cache upgrade [2024-12-06T00:15:44.406Z] ---> Running in 1a115cccd0e8 [2024-12-06T00:15:44.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:44.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:44.926Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T00:15:45.497Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T00:15:45.497Z] OK: 336 MiB in 99 packages [2024-12-06T00:15:45.756Z] Removing intermediate container 1a115cccd0e8 [2024-12-06T00:15:45.756Z] ---> 835bda4ac6c0 [2024-12-06T00:15:45.756Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-12-06T00:15:45.756Z] ---> 0318249c880b [2024-12-06T00:15:45.756Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-12-06T00:15:46.014Z] ---> d6fedb1cba62 [2024-12-06T00:15:46.014Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-12-06T00:15:46.272Z] ---> 899025091189 [2024-12-06T00:15:46.272Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-12-06T00:15:46.272Z] ---> 5eec2e535953 [2024-12-06T00:15:46.272Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-12-06T00:15:46.532Z] ---> 2eccfd2b5250 [2024-12-06T00:15:46.532Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-12-06T00:15:46.532Z] ---> 2059829bf050 [2024-12-06T00:15:46.532Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-12-06T00:15:46.532Z] ---> Running in b2f055fddad7 [2024-12-06T00:15:46.532Z] Removing intermediate container b2f055fddad7 [2024-12-06T00:15:46.532Z] ---> b91e3a1c3684 [2024-12-06T00:15:46.532Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-12-06T00:15:46.792Z] ---> Running in d1e8003da850 [2024-12-06T00:15:46.792Z] Removing intermediate container d1e8003da850 [2024-12-06T00:15:46.792Z] ---> ad3dc83934ab [2024-12-06T00:15:46.792Z] Step 16/18 : LABEL arch=amd64 [2024-12-06T00:15:46.792Z] ---> Running in 7fb3fbbe8b62 [2024-12-06T00:15:46.792Z] Removing intermediate container 7fb3fbbe8b62 [2024-12-06T00:15:46.792Z] ---> be8198b31fb6 [2024-12-06T00:15:46.792Z] Step 17/18 : LABEL git_sha=eb7d9b4eba343d86dc807026297d2d397bf17ca8 [2024-12-06T00:15:46.792Z] ---> Running in c234202b6167 [2024-12-06T00:15:47.052Z] Removing intermediate container c234202b6167 [2024-12-06T00:15:47.052Z] ---> 88002331a5f9 [2024-12-06T00:15:47.052Z] Step 18/18 : LABEL version=4.0.0-dev.5 [2024-12-06T00:15:47.052Z] ---> Running in 29bf4bf99514 [2024-12-06T00:15:47.052Z] Removing intermediate container 29bf4bf99514 [2024-12-06T00:15:47.052Z] ---> d10e1aee3701 [2024-12-06T00:15:47.052Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-12-06T00:15:47.052Z] Successfully built d10e1aee3701 [2024-12-06T00:15:47.052Z] 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-06T00:15:47.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T00:15:47.579Z] [2024-12-06T00:15:47.579Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T00:15:47.882Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T00:15:47.882Z] latest: Pulling from edgex-lftools-log-publisher [2024-12-06T00:15:47.882Z] 5eb5b503b376: Pulling fs layer [2024-12-06T00:15:47.882Z] 5c69ac0246d0: Pulling fs layer [2024-12-06T00:15:47.882Z] ec43610c2a17: Pulling fs layer [2024-12-06T00:15:47.882Z] 3a2ae6a8a46f: Pulling fs layer [2024-12-06T00:15:47.882Z] 33b1e0a273af: Pulling fs layer [2024-12-06T00:15:47.882Z] 5d3b04190fa2: Pulling fs layer [2024-12-06T00:15:47.882Z] 2f39f015ded8: Pulling fs layer [2024-12-06T00:15:47.882Z] 3a2ae6a8a46f: Waiting [2024-12-06T00:15:47.882Z] 33b1e0a273af: Waiting [2024-12-06T00:15:47.882Z] 5d3b04190fa2: Waiting [2024-12-06T00:15:47.882Z] 5c69ac0246d0: Download complete [2024-12-06T00:15:47.882Z] 3a2ae6a8a46f: Verifying Checksum [2024-12-06T00:15:47.882Z] 3a2ae6a8a46f: Download complete [2024-12-06T00:15:47.882Z] 33b1e0a273af: Verifying Checksum [2024-12-06T00:15:47.882Z] 33b1e0a273af: Download complete [2024-12-06T00:15:47.882Z] 5d3b04190fa2: Verifying Checksum [2024-12-06T00:15:47.882Z] 5d3b04190fa2: Download complete [2024-12-06T00:15:47.882Z] ec43610c2a17: Verifying Checksum [2024-12-06T00:15:47.882Z] ec43610c2a17: Download complete [2024-12-06T00:15:48.140Z] 5eb5b503b376: Verifying Checksum [2024-12-06T00:15:48.140Z] 5eb5b503b376: Download complete [2024-12-06T00:15:48.708Z] 2f39f015ded8: Download complete [2024-12-06T00:15:49.273Z] 5eb5b503b376: Pull complete [2024-12-06T00:15:49.530Z] 5c69ac0246d0: Pull complete [2024-12-06T00:15:50.095Z] ec43610c2a17: Pull complete [2024-12-06T00:15:50.095Z] 3a2ae6a8a46f: Pull complete [2024-12-06T00:15:50.353Z] 33b1e0a273af: Pull complete [2024-12-06T00:15:50.353Z] 5d3b04190fa2: Pull complete [2024-12-06T00:15:54.545Z] 2f39f015ded8: Pull complete [2024-12-06T00:15:54.545Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-12-06T00:15:54.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T00:15:54.545Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T00:15:54.649Z] prd-ubuntu20.04-docker-8c-8g-34575 does not seem to be running inside a container [2024-12-06T00:15:54.677Z] $ 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-06T00:15:58.382Z] $ docker top 3b422c6482ec4bef1e383e59ba2ef1829ca7ac0e3ea454cd59761ed384aa77f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-06T00:15:58.773Z] ---> job-cost.sh [2024-12-06T00:15:58.773Z] lf-activate-venv: SKIPPING [2024-12-06T00:15:58.773Z] INFO: No Stack... [2024-12-06T00:15:59.033Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-06T00:15:59.293Z] INFO: Archiving Costs [Pipeline] sh [2024-12-06T00:15:59.587Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2024-12-06T00:15:59.587Z] + cut -d, -f6 [Pipeline] lock [2024-12-06T00:15:59.606Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-82-stack-cost] [2024-12-06T00:15:59.622Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-82-stack-cost] did not exist. Created. [2024-12-06T00:15:59.632Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-82-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-12-06T00:15:59.942Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-12-06T00:15:59.990Z] Stashed 1 file(s) [Pipeline] } [2024-12-06T00:15:59.999Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-82-stack-cost] [Pipeline] // lock [Pipeline] } [2024-12-06T00:16:00.018Z] $ docker stop --time=1 3b422c6482ec4bef1e383e59ba2ef1829ca7ac0e3ea454cd59761ed384aa77f4 [2024-12-06T00:16:01.163Z] $ docker rm -f --volumes 3b422c6482ec4bef1e383e59ba2ef1829ca7ac0e3ea454cd59761ed384aa77f4 [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-06T00:16:01.677Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-06T00:16:01.677Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T00:16:01.985Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T00:16:01.985Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T00:16:02.066Z] prd-ubuntu20.04-docker-8c-8g-34575 does not seem to be running inside a container [2024-12-06T00:16:02.093Z] $ 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-06T00:16:02.422Z] $ docker top 32ac650fe2be069602352216b6d24994169ecfe57441c27a4db08482d77e3fa4 -eo pid,comm [2024-12-06T00:16:02.472Z] 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-06T00:16:02.472Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-06T00:16:02.527Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-06T00:16:02.527Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-06T00:16:02.630Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-06T00:16:02.628Z] $ docker exec 32ac650fe2be069602352216b6d24994169ecfe57441c27a4db08482d77e3fa4 ssh-agent [2024-12-06T00:16:02.735Z] SSH_AUTH_SOCK=/tmp/ssh-QDdtk0MjgkMc/agent.31 [2024-12-06T00:16:02.735Z] SSH_AGENT_PID=37 [2024-12-06T00:16:02.740Z] Running ssh-add (command line suppressed) [2024-12-06T00:16:02.833Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5005729292528863555.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5005729292528863555.key) [2024-12-06T00:16:02.850Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-06T00:16:03.140Z] + git semver tag [2024-12-06T00:16:03.399Z] 2024-12-06 00:16:03,290 [run_tag] DEBUG tag force:False [2024-12-06T00:16:03.399Z] 2024-12-06 00:16:03,290 [check_head_tag] DEBUG check head tag [2024-12-06T00:16:03.399Z] 2024-12-06 00:16:03,291 [execute] INFO git cat-file --batch-check [2024-12-06T00:16:03.399Z] 2024-12-06 00:16:03,292 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-12-06T00:16:03.399Z] 2024-12-06 00:16:03,296 [execute] INFO git cat-file --batch [2024-12-06T00:16:03.399Z] 2024-12-06 00:16:03,296 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-12-06T00:16:03.399Z] 2024-12-06 00:16:03,313 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-06T00:16:03.399Z] 2024-12-06 00:16:03,314 [execute] INFO git tag -a v4.0.0-dev.5 -m v4.0.0-dev.5 [2024-12-06T00:16:03.399Z] 2024-12-06 00:16:03,314 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.5', '-m', 'v4.0.0-dev.5'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-12-06T00:16:03.399Z] 2024-12-06 00:16:03,318 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-06T00:16:03.399Z] 4.0.0-dev.5 [Pipeline] } [2024-12-06T00:16:03.405Z] $ docker exec --env ******** --env ******** 32ac650fe2be069602352216b6d24994169ecfe57441c27a4db08482d77e3fa4 ssh-agent -k [2024-12-06T00:16:03.519Z] unset SSH_AUTH_SOCK; [2024-12-06T00:16:03.520Z] unset SSH_AGENT_PID; [2024-12-06T00:16:03.520Z] echo Agent pid 37 killed; [2024-12-06T00:16:03.535Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-06T00:16:03.868Z] + git semver [Pipeline] } [2024-12-06T00:16:04.140Z] $ docker stop --time=1 32ac650fe2be069602352216b6d24994169ecfe57441c27a4db08482d77e3fa4 [2024-12-06T00:16:05.436Z] $ docker rm -f --volumes 32ac650fe2be069602352216b6d24994169ecfe57441c27a4db08482d77e3fa4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T00:16:05.859Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-06T00:16:05.859Z] [2024-12-06T00:16:05.859Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T00:16:06.163Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-06T00:16:06.163Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-12-06T00:16:06.163Z] ab5ef0e58194: Pulling fs layer [2024-12-06T00:16:06.163Z] 9712f1f96733: Pulling fs layer [2024-12-06T00:16:06.163Z] 63f879dbbcfc: Pulling fs layer [2024-12-06T00:16:06.163Z] 0d9ebad4ef96: Pulling fs layer [2024-12-06T00:16:06.163Z] e9a5061849ea: Pulling fs layer [2024-12-06T00:16:06.163Z] d747dcd14b5f: Pulling fs layer [2024-12-06T00:16:06.163Z] 2de7ff778b66: Pulling fs layer [2024-12-06T00:16:06.163Z] 0d9ebad4ef96: Waiting [2024-12-06T00:16:06.163Z] e9a5061849ea: Waiting [2024-12-06T00:16:06.163Z] 2de7ff778b66: Waiting [2024-12-06T00:16:06.163Z] 9712f1f96733: Verifying Checksum [2024-12-06T00:16:06.163Z] 9712f1f96733: Download complete [2024-12-06T00:16:06.429Z] 63f879dbbcfc: Verifying Checksum [2024-12-06T00:16:06.429Z] 63f879dbbcfc: Download complete [2024-12-06T00:16:06.687Z] e9a5061849ea: Verifying Checksum [2024-12-06T00:16:06.687Z] e9a5061849ea: Download complete [2024-12-06T00:16:06.687Z] d747dcd14b5f: Verifying Checksum [2024-12-06T00:16:06.687Z] d747dcd14b5f: Download complete [2024-12-06T00:16:06.687Z] ab5ef0e58194: Verifying Checksum [2024-12-06T00:16:06.687Z] ab5ef0e58194: Download complete [2024-12-06T00:16:06.687Z] 0d9ebad4ef96: Verifying Checksum [2024-12-06T00:16:06.687Z] 0d9ebad4ef96: Download complete [2024-12-06T00:16:06.687Z] 2de7ff778b66: Verifying Checksum [2024-12-06T00:16:06.688Z] 2de7ff778b66: Download complete [2024-12-06T00:16:09.222Z] ab5ef0e58194: Pull complete [2024-12-06T00:16:09.222Z] 9712f1f96733: Pull complete [2024-12-06T00:16:10.154Z] 63f879dbbcfc: Pull complete [2024-12-06T00:16:14.391Z] 0d9ebad4ef96: Pull complete [2024-12-06T00:16:14.391Z] e9a5061849ea: Pull complete [2024-12-06T00:16:14.391Z] d747dcd14b5f: Pull complete [2024-12-06T00:16:15.332Z] 2de7ff778b66: Pull complete [2024-12-06T00:16:15.332Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-12-06T00:16:15.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-12-06T00:16:15.332Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T00:16:15.445Z] prd-ubuntu20.04-docker-8c-8g-34575 does not seem to be running inside a container [2024-12-06T00:16:15.472Z] $ 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-06T00:16:20.515Z] $ docker top b883344b6979f1bb6e8c712f243e2b934babc1c58182a9417dec8c3137f9af45 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-12-06T00:16:20.588Z] provisioning config files... [2024-12-06T00:16:20.595Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config9297219671232138086tmp [2024-12-06T00:16:20.603Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1194868499385623960tmp [2024-12-06T00:16:20.612Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14943094526631915098tmp [Pipeline] { [Pipeline] echo [2024-12-06T00:16:20.690Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T00:16:20.984Z] ---> sigul-configuration.sh [2024-12-06T00:16:20.984Z] gpg: directory `/root/.gnupg' created [2024-12-06T00:16:20.984Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-12-06T00:16:20.984Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-12-06T00:16:20.984Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-12-06T00:16:20.984Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-12-06T00:16:20.984Z] gpg: CAST5 encrypted data [2024-12-06T00:16:20.984Z] gpg: encrypted with 1 passphrase [2024-12-06T00:16:20.984Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-12-06T00:16:21.287Z] + mkdir /home/jenkins [2024-12-06T00:16:21.287Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-12-06T00:16:21.589Z] + 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-06T00:16:21.605Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T00:16:21.905Z] ---> sigul-install.sh [2024-12-06T00:16:21.905Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-12-06T00:16:22.220Z] + git tag --list [2024-12-06T00:16:22.220Z] 0.7.0 [2024-12-06T00:16:22.220Z] 0.7.1 [2024-12-06T00:16:22.220Z] 1.0.0 [2024-12-06T00:16:22.220Z] v1.0.1 [2024-12-06T00:16:22.220Z] v1.0.2 [2024-12-06T00:16:22.220Z] v1.0.3 [2024-12-06T00:16:22.220Z] v1.1.0 [2024-12-06T00:16:22.220Z] v1.1.1 [2024-12-06T00:16:22.220Z] v1.2.0 [2024-12-06T00:16:22.220Z] v1.2.1 [2024-12-06T00:16:22.220Z] v1.2.2 [2024-12-06T00:16:22.220Z] v1.3.0 [2024-12-06T00:16:22.220Z] v1.3.1 [2024-12-06T00:16:22.220Z] v2.0.0 [2024-12-06T00:16:22.220Z] v2.1.0 [2024-12-06T00:16:22.220Z] v2.2.0 [2024-12-06T00:16:22.220Z] v2.3.0 [2024-12-06T00:16:22.220Z] v3.0 [2024-12-06T00:16:22.220Z] v3.0.0 [2024-12-06T00:16:22.220Z] v3.0.1 [2024-12-06T00:16:22.220Z] v3.0.2 [2024-12-06T00:16:22.220Z] v3.0.3-dev.1 [2024-12-06T00:16:22.220Z] v3.0.3-dev.10 [2024-12-06T00:16:22.220Z] v3.0.3-dev.11 [2024-12-06T00:16:22.220Z] v3.0.3-dev.12 [2024-12-06T00:16:22.220Z] v3.0.3-dev.13 [2024-12-06T00:16:22.220Z] v3.0.3-dev.14 [2024-12-06T00:16:22.220Z] v3.0.3-dev.15 [2024-12-06T00:16:22.220Z] v3.0.3-dev.16 [2024-12-06T00:16:22.220Z] v3.0.3-dev.17 [2024-12-06T00:16:22.220Z] v3.0.3-dev.2 [2024-12-06T00:16:22.220Z] v3.0.3-dev.3 [2024-12-06T00:16:22.220Z] v3.0.3-dev.4 [2024-12-06T00:16:22.220Z] v3.0.3-dev.5 [2024-12-06T00:16:22.220Z] v3.0.3-dev.6 [2024-12-06T00:16:22.220Z] v3.0.3-dev.7 [2024-12-06T00:16:22.220Z] v3.0.3-dev.8 [2024-12-06T00:16:22.220Z] v3.0.3-dev.9 [2024-12-06T00:16:22.220Z] v3.1 [2024-12-06T00:16:22.220Z] v3.1.0 [2024-12-06T00:16:22.220Z] v3.1.0-dev.1 [2024-12-06T00:16:22.220Z] v3.1.0-dev.2 [2024-12-06T00:16:22.220Z] v3.1.0-dev.3 [2024-12-06T00:16:22.220Z] v3.1.0-dev.4 [2024-12-06T00:16:22.220Z] v3.1.0-dev.5 [2024-12-06T00:16:22.220Z] v3.1.0-dev.6 [2024-12-06T00:16:22.220Z] v3.1.0-dev.7 [2024-12-06T00:16:22.220Z] v3.1.0-dev.8 [2024-12-06T00:16:22.220Z] v3.1.0-dev.9 [2024-12-06T00:16:22.220Z] v3.1.1 [2024-12-06T00:16:22.220Z] v3.1.1-dev.1 [2024-12-06T00:16:22.220Z] v4.0.0-dev.1 [2024-12-06T00:16:22.220Z] v4.0.0-dev.2 [2024-12-06T00:16:22.220Z] v4.0.0-dev.3 [2024-12-06T00:16:22.220Z] v4.0.0-dev.4 [2024-12-06T00:16:22.220Z] v4.0.0-dev.5 [Pipeline] sh [2024-12-06T00:16:22.516Z] + lftools sign git-tag v4.0.0-dev.5 [2024-12-06T00:16:23.086Z] Signing Git tag with Sigul... [2024-12-06T00:16:23.086Z] Signing v4.0.0-dev.5 [Pipeline] echo [2024-12-06T00:16:23.451Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T00:16:23.744Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-12-06T00:16:23.753Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-12-06T00:16:23.779Z] $ docker stop --time=1 b883344b6979f1bb6e8c712f243e2b934babc1c58182a9417dec8c3137f9af45 [2024-12-06T00:16:25.097Z] $ docker rm -f --volumes b883344b6979f1bb6e8c712f243e2b934babc1c58182a9417dec8c3137f9af45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-12-06T00:16:25.515Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-06T00:16:25.515Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T00:16:25.834Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T00:16:25.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T00:16:25.927Z] prd-ubuntu20.04-docker-8c-8g-34575 does not seem to be running inside a container [2024-12-06T00:16:26.014Z] $ 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-06T00:16:26.371Z] $ docker top 6a19d65417bba34662b964ba5820619254185f501d44d41d2d0b6c8b302599df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-06T00:16:26.485Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-06T00:16:26.485Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-06T00:16:26.603Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-06T00:16:26.602Z] $ docker exec 6a19d65417bba34662b964ba5820619254185f501d44d41d2d0b6c8b302599df ssh-agent [2024-12-06T00:16:26.720Z] SSH_AUTH_SOCK=/tmp/ssh-4bBG4pjLTrHU/agent.33 [2024-12-06T00:16:26.720Z] SSH_AGENT_PID=39 [2024-12-06T00:16:26.740Z] Running ssh-add (command line suppressed) [2024-12-06T00:16:26.836Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17318109512837078957.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17318109512837078957.key) [2024-12-06T00:16:26.854Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-06T00:16:27.159Z] + git semver bump pre [2024-12-06T00:16:27.418Z] 2024-12-06 00:16:27,317 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-06T00:16:27.418Z] 2024-12-06 00:16:27,317 [bump_version] DEBUG bumping version:4.0.0-dev.5 on axis:pre with prefix:dev [2024-12-06T00:16:27.418Z] 2024-12-06 00:16:27,317 [bump_version] DEBUG bumped version:4.0.0-dev.6 [2024-12-06T00:16:27.418Z] 2024-12-06 00:16:27,317 [write_version] DEBUG write version:4.0.0-dev.6 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2024-12-06T00:16:27.418Z] 2024-12-06 00:16:27,317 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-06T00:16:27.418Z] 2024-12-06 00:16:27,317 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-06T00:16:27.418Z] 2024-12-06 00:16:27,319 [execute] INFO git cat-file --batch-check [2024-12-06T00:16:27.418Z] 2024-12-06 00:16:27,319 [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-06T00:16:27.418Z] 2024-12-06 00:16:27,324 [execute] INFO git cat-file --batch [2024-12-06T00:16:27.418Z] 2024-12-06 00:16:27,324 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-12-06T00:16:27.418Z] 2024-12-06 00:16:27,330 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-06T00:16:27.418Z] 4.0.0-dev.6 [Pipeline] } [2024-12-06T00:16:27.424Z] $ docker exec --env ******** --env ******** 6a19d65417bba34662b964ba5820619254185f501d44d41d2d0b6c8b302599df ssh-agent -k [2024-12-06T00:16:27.513Z] unset SSH_AUTH_SOCK; [2024-12-06T00:16:27.513Z] unset SSH_AGENT_PID; [2024-12-06T00:16:27.513Z] echo Agent pid 39 killed; [2024-12-06T00:16:27.525Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-06T00:16:27.848Z] + git semver [Pipeline] } [2024-12-06T00:16:28.121Z] $ docker stop --time=1 6a19d65417bba34662b964ba5820619254185f501d44d41d2d0b6c8b302599df [2024-12-06T00:16:29.394Z] $ docker rm -f --volumes 6a19d65417bba34662b964ba5820619254185f501d44d41d2d0b6c8b302599df [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-06T00:16:29.747Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-06T00:16:29.747Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T00:16:30.044Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T00:16:30.044Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T00:16:30.124Z] prd-ubuntu20.04-docker-8c-8g-34575 does not seem to be running inside a container [2024-12-06T00:16:30.150Z] $ 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-06T00:16:30.460Z] $ docker top 42d4e501f7203879214af9d1cae2d2ae309977b119ed205f6bd9b56e234f9130 -eo pid,comm [2024-12-06T00:16:30.511Z] 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-06T00:16:30.511Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-06T00:16:30.571Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-06T00:16:30.571Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-06T00:16:30.687Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-06T00:16:30.686Z] $ docker exec 42d4e501f7203879214af9d1cae2d2ae309977b119ed205f6bd9b56e234f9130 ssh-agent [2024-12-06T00:16:30.790Z] SSH_AUTH_SOCK=/tmp/ssh-qgsgKF8Co1pu/agent.32 [2024-12-06T00:16:30.790Z] SSH_AGENT_PID=38 [2024-12-06T00:16:30.796Z] Running ssh-add (command line suppressed) [2024-12-06T00:16:30.895Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12054831194769995729.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12054831194769995729.key) [2024-12-06T00:16:30.912Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-06T00:16:31.219Z] + git semver push [2024-12-06T00:16:31.479Z] 2024-12-06 00:16:31,379 [run_push] DEBUG push [2024-12-06T00:16:31.479Z] 2024-12-06 00:16:31,380 [execute] INFO git cat-file --batch-check [2024-12-06T00:16:31.479Z] 2024-12-06 00:16:31,380 [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-06T00:16:31.479Z] 2024-12-06 00:16:31,384 [execute] INFO git rev-list b29cea1183db946653e99aaf9ca216b5fcedb8f7 -- [2024-12-06T00:16:31.479Z] 2024-12-06 00:16:31,384 [execute] DEBUG Popen(['git', 'rev-list', 'b29cea1183db946653e99aaf9ca216b5fcedb8f7', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-12-06T00:16:31.479Z] 2024-12-06 00:16:31,391 [execute] INFO git fetch -v origin [2024-12-06T00:16:31.479Z] 2024-12-06 00:16:31,391 [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-06T00:16:32.049Z] 2024-12-06 00:16:31,846 [run_push] DEBUG no remote changes detected [2024-12-06T00:16:32.049Z] 2024-12-06 00:16:31,847 [execute] INFO git push origin semver [2024-12-06T00:16:32.049Z] 2024-12-06 00:16:31,847 [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-06T00:16:32.620Z] 2024-12-06 00:16:32,500 [run_push] DEBUG push all version tags [2024-12-06T00:16:32.620Z] 2024-12-06 00:16:32,501 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-12-06T00:16:32.620Z] 2024-12-06 00:16:32,501 [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-06T00:16:33.189Z] 2024-12-06 00:16:33,104 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-12-06T00:16:33.189Z] 4.0.0-dev.6 [Pipeline] } [2024-12-06T00:16:33.195Z] $ docker exec --env ******** --env ******** 42d4e501f7203879214af9d1cae2d2ae309977b119ed205f6bd9b56e234f9130 ssh-agent -k [2024-12-06T00:16:33.294Z] unset SSH_AUTH_SOCK; [2024-12-06T00:16:33.294Z] unset SSH_AGENT_PID; [2024-12-06T00:16:33.294Z] echo Agent pid 38 killed; [2024-12-06T00:16:33.307Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-06T00:16:33.633Z] + git semver [Pipeline] } [2024-12-06T00:16:33.901Z] $ docker stop --time=1 42d4e501f7203879214af9d1cae2d2ae309977b119ed205f6bd9b56e234f9130 [2024-12-06T00:16:35.193Z] $ docker rm -f --volumes 42d4e501f7203879214af9d1cae2d2ae309977b119ed205f6bd9b56e234f9130 [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-06T00:16:35.716Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2024-12-06T00:16:35.716Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-06T00:16:35.716Z] total 16 [2024-12-06T00:16:35.716Z] drwxr-xr-x 3 root root 4096 Dec 6 00:15 . [2024-12-06T00:16:35.716Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 00:16 .. [2024-12-06T00:16:35.716Z] drwxr-xr-x 2 root root 4096 Dec 6 00:15 cost [2024-12-06T00:16:35.716Z] -rw-r--r-- 1 root root 83 Dec 6 00:15 cost.csv [2024-12-06T00:16:35.716Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-06T00:16:35.716Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-12-06T00:16:35.716Z] total 16 [2024-12-06T00:16:35.716Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 00:15 . [2024-12-06T00:16:35.716Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 00:16 .. [2024-12-06T00:16:35.716Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 00:15 cost [2024-12-06T00:16:35.716Z] -rw-r--r-- 1 jenkins jenkins 83 Dec 6 00:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-12-06T00:16:36.009Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T00:16:36.874Z] ---> package-listing.sh [2024-12-06T00:16:36.874Z] ++ facter osfamily [2024-12-06T00:16:36.874Z] ++ tr '[:upper:]' '[:lower:]' [2024-12-06T00:16:37.134Z] + OS_FAMILY=debian [2024-12-06T00:16:37.134Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2024-12-06T00:16:37.134Z] + START_PACKAGES=/tmp/packages_start.txt [2024-12-06T00:16:37.134Z] + END_PACKAGES=/tmp/packages_end.txt [2024-12-06T00:16:37.134Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-12-06T00:16:37.134Z] + PACKAGES=/tmp/packages_start.txt [2024-12-06T00:16:37.134Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-12-06T00:16:37.134Z] + PACKAGES=/tmp/packages_end.txt [2024-12-06T00:16:37.134Z] + case "${OS_FAMILY}" in [2024-12-06T00:16:37.134Z] + dpkg -l [2024-12-06T00:16:37.134Z] + grep '^ii' [2024-12-06T00:16:37.134Z] + '[' -f /tmp/packages_start.txt ']' [2024-12-06T00:16:37.134Z] + '[' -f /tmp/packages_end.txt ']' [2024-12-06T00:16:37.134Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-12-06T00:16:37.134Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-12-06T00:16:37.134Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2024-12-06T00:16:37.134Z] + 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-06T00:16:37.148Z] 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-06T00:16:37.427Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T00:16:37.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T00:16:37.992Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T00:16:38.068Z] prd-ubuntu20.04-docker-8c-8g-34575 does not seem to be running inside a container [2024-12-06T00:16:38.107Z] $ 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-06T00:16:38.303Z] $ docker top 522955db1e623598c041b2ce371c991aad9f039a3ddb494526b35cdefc701ec6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-06T00:16:38.654Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-12-06T00:16:38.941Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-12-06T00:16:39.226Z] + ls /var/log/sa-host [2024-12-06T00:16:39.226Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-06T00:16:39.302Z] provisioning config files... [2024-12-06T00:16:39.311Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4008715673771025247tmp [Pipeline] { [Pipeline] echo [2024-12-06T00:16:39.327Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T00:16:39.611Z] ---> create-netrc.sh [Pipeline] } [2024-12-06T00:16:39.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-12-06T00:16:39.950Z] ---> python-tools-install.sh [Pipeline] echo [2024-12-06T00:16:39.961Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T00:16:40.246Z] ---> sudo-logs.sh [2024-12-06T00:16:40.246Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-12-06T00:16:40.282Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T00:16:40.574Z] ---> job-cost.sh [2024-12-06T00:16:40.574Z] lf-activate-venv: SKIPPING [2024-12-06T00:16:40.574Z] DEBUG: total: 0.2199999988079071 [2024-12-06T00:16:40.574Z] INFO: Retrieving Stack Cost... [2024-12-06T00:16:40.832Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-06T00:16:41.092Z] INFO: Archiving Costs [Pipeline] echo [2024-12-06T00:16:41.104Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T00:16:41.388Z] ---> logs-deploy.sh [2024-12-06T00:16:41.389Z] lf-activate-venv: SKIPPING [2024-12-06T00:16:41.389Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/82 [2024-12-06T00:16:41.389Z] INFO: archiving workspace using pattern(s): [2024-12-06T00:16:42.328Z] Archives upload complete. [2024-12-06T00:16:42.328Z] INFO: archiving logs to Nexus