Pull request #567 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of M0hanrajp for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 718dd2f012f981877ce95bae7faa7ad76731e159 rather than 7c28d92c0cb64037380d33d1f4a2be54f90af24a Obtained Jenkinsfile from 718dd2f012f981877ce95bae7faa7ad76731e159 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-ssh9728310295262690299.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh16387969361091245813.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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/PR-567/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/PR-567/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5708587976142440188.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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-ssh5402983861857993238.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/PR-567/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/PR-567/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7550604760083560539.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-42748 in /w/workspace/edgexfoundry_device-sdk-c_PR-567 [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_PR-567 # 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 > 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 remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/567/head:refs/remotes/origin/PR-567 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 718dd2f012f981877ce95bae7faa7ad76731e159 into PR head commit 7c28d92c0cb64037380d33d1f4a2be54f90af24a Merge succeeded, producing 7c28d92c0cb64037380d33d1f4a2be54f90af24a Checking out Revision 7c28d92c0cb64037380d33d1f4a2be54f90af24a (PR-567) > git config core.sparsecheckout # timeout=10 > git checkout -f 7c28d92c0cb64037380d33d1f4a2be54f90af24a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 718dd2f012f981877ce95bae7faa7ad76731e159 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c28d92c0cb64037380d33d1f4a2be54f90af24a # timeout=10 Commit message: "refactor(device-sdk-c): simplified NULL check for deviceservices_config" > git rev-list --no-walk 6af08a144bf917db6f6ffb319dd09c87a45fc825 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2025-04-05T08:50:54.099Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-04-05T08:50:54.165Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-04-05T08:50:54.190Z] ========================================================= [2025-04-05T08:50:54.190Z] EdgeX Global Pipelines Version Info [2025-04-05T08:50:54.190Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-04-05T08:50:54.961Z] ------------------- [2025-04-05T08:50:54.961Z] stable info: [2025-04-05T08:50:54.961Z] ------------------- [2025-04-05T08:50:54.961Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-04-05T08:50:54.961Z] Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [2025-04-05T08:50:54.961Z] Message: update stable to v1.0.274 [2025-04-05T08:50:55.531Z] ------------------- [2025-04-05T08:50:55.531Z] experimental info: [2025-04-05T08:50:55.531Z] ------------------- [2025-04-05T08:50:55.531Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-04-05T08:50:55.531Z] Commit SHA: e63c24b3e3d9a84dc1e69f593cedf07ec71d9018 [2025-04-05T08:50:55.531Z] Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-04-05T08:50:55.605Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2025-04-05T08:50:55.624Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2025-04-05T08:50:55.639Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-04-05T08:50:55.661Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2025-04-05T08:50:55.679Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-04-05T08:50:55.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2025-04-05T08:50:55.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2025-04-05T08:50:55.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-04-05T08:50:55.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-04-05T08:50:55.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2025-04-05T08:50:55.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-04-05T08:50:55.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-04-05T08:50:55.861Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-04-05T08:50:55.880Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2025-04-05T08:50:55.901Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-04-05T08:50:55.923Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-04-05T08:50:55.940Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-04-05T08:50:55.959Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-567 [Pipeline] echo [2025-04-05T08:50:55.977Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-567 [Pipeline] echo [2025-04-05T08:50:56.002Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-567 [Pipeline] echo [2025-04-05T08:50:56.028Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c28d92c0cb64037380d33d1f4a2be54f90af24a [Pipeline] echo [2025-04-05T08:50:56.048Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c28d92 [Pipeline] echo [2025-04-05T08:50:56.072Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-05T08:50:56.146Z] provisioning config files... [2025-04-05T08:50:56.159Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-567@tmp/config6321641412929504454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-05T08:50:56.501Z] ---> ****-login.sh [2025-04-05T08:50:56.501Z] nexus3.edgexfoundry.org:10001 [2025-04-05T08:50:56.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-05T08:50:57.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-05T08:50:57.022Z] Configure a credential helper to remove this warning. See [2025-04-05T08:50:57.022Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-05T08:50:57.022Z] [2025-04-05T08:50:57.022Z] Login Succeeded [2025-04-05T08:50:57.022Z] nexus3.edgexfoundry.org:10002 [2025-04-05T08:50:57.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-05T08:50:57.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-05T08:50:57.022Z] Configure a credential helper to remove this warning. See [2025-04-05T08:50:57.022Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-05T08:50:57.022Z] [2025-04-05T08:50:57.022Z] Login Succeeded [2025-04-05T08:50:57.022Z] nexus3.edgexfoundry.org:10003 [2025-04-05T08:50:57.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-05T08:50:57.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-05T08:50:57.283Z] Configure a credential helper to remove this warning. See [2025-04-05T08:50:57.283Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-05T08:50:57.283Z] [2025-04-05T08:50:57.283Z] Login Succeeded [2025-04-05T08:50:57.283Z] nexus3.edgexfoundry.org:10004 [2025-04-05T08:50:57.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-05T08:50:57.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-05T08:50:57.283Z] Configure a credential helper to remove this warning. See [2025-04-05T08:50:57.283Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-05T08:50:57.283Z] [2025-04-05T08:50:57.283Z] Login Succeeded [2025-04-05T08:50:57.283Z] ****.io [2025-04-05T08:50:57.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-05T08:50:57.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-05T08:50:57.543Z] Configure a credential helper to remove this warning. See [2025-04-05T08:50:57.543Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-05T08:50:57.543Z] [2025-04-05T08:50:57.543Z] Login Succeeded [2025-04-05T08:50:57.543Z] ---> ****-login.sh ends [Pipeline] } [2025-04-05T08:50:57.551Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2025-04-05T08:50:57.966Z] + git rev-list -1 --merges 7c28d92c0cb64037380d33d1f4a2be54f90af24a~1..7c28d92c0cb64037380d33d1f4a2be54f90af24a [Pipeline] echo [2025-04-05T08:50:57.990Z] -----------> git rev-list -1 --merges 7c28d92c0cb64037380d33d1f4a2be54f90af24a~1..7c28d92c0cb64037380d33d1f4a2be54f90af24a 7c28d92c0cb64037380d33d1f4a2be54f90af24a [false] [Pipeline] sh [2025-04-05T08:50:58.280Z] + git log --format=format:%s -1 7c28d92c0cb64037380d33d1f4a2be54f90af24a [Pipeline] echo [2025-04-05T08:50:58.301Z] ========================================================= [2025-04-05T08:50:58.301Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-04-05T08:50:58.301Z] ========================================================= 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 [2025-04-05T08:50:58.763Z] + git rev-list -1 --merges 7c28d92c0cb64037380d33d1f4a2be54f90af24a~1..7c28d92c0cb64037380d33d1f4a2be54f90af24a [Pipeline] echo [2025-04-05T08:50:58.775Z] -----------> git rev-list -1 --merges 7c28d92c0cb64037380d33d1f4a2be54f90af24a~1..7c28d92c0cb64037380d33d1f4a2be54f90af24a 7c28d92c0cb64037380d33d1f4a2be54f90af24a [false] [Pipeline] sh [2025-04-05T08:50:59.072Z] + git log --format=format:%s -1 7c28d92c0cb64037380d33d1f4a2be54f90af24a [Pipeline] echo [2025-04-05T08:50:59.089Z] ========================================================= [2025-04-05T08:50:59.089Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-04-05T08:50:59.089Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2025-04-05T08:50:59.548Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-04-05T08:50:59.548Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-04-05T08:50:59.548Z] + [ -e /tmp/ssh_known_hosts ] [2025-04-05T08:50:59.548Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-04-05T08:50:59.548Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-04-05T08:50:59.548Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-04-05T08:50:59.548Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-05T08:50:59.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-05T08:50:59.972Z] [2025-04-05T08:50:59.973Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-05T08:51:00.279Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-05T08:51:00.279Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-04-05T08:51:00.279Z] b85a868b505f: Pulling fs layer [2025-04-05T08:51:00.279Z] e2be974225ed: Pulling fs layer [2025-04-05T08:51:00.279Z] 339a4e72a1f5: Pulling fs layer [2025-04-05T08:51:00.279Z] 988bab9f4d93: Pulling fs layer [2025-04-05T08:51:00.279Z] 1469e6f7b9e6: Pulling fs layer [2025-04-05T08:51:00.279Z] eaf3925da568: Pulling fs layer [2025-04-05T08:51:00.279Z] bab4dde63d76: Pulling fs layer [2025-04-05T08:51:00.279Z] bde34c3a00c8: Pulling fs layer [2025-04-05T08:51:00.279Z] b352a97aabf1: Pulling fs layer [2025-04-05T08:51:00.279Z] 4872d77fe225: Pulling fs layer [2025-04-05T08:51:00.279Z] 5851b861e8e6: Pulling fs layer [2025-04-05T08:51:00.279Z] 988bab9f4d93: Waiting [2025-04-05T08:51:00.279Z] b352a97aabf1: Waiting [2025-04-05T08:51:00.279Z] 5851b861e8e6: Waiting [2025-04-05T08:51:00.279Z] eaf3925da568: Waiting [2025-04-05T08:51:00.279Z] 1469e6f7b9e6: Waiting [2025-04-05T08:51:00.279Z] bab4dde63d76: Waiting [2025-04-05T08:51:00.279Z] 4872d77fe225: Waiting [2025-04-05T08:51:00.279Z] bde34c3a00c8: Waiting [2025-04-05T08:51:00.279Z] e2be974225ed: Verifying Checksum [2025-04-05T08:51:00.279Z] e2be974225ed: Download complete [2025-04-05T08:51:00.279Z] 988bab9f4d93: Verifying Checksum [2025-04-05T08:51:00.279Z] 988bab9f4d93: Download complete [2025-04-05T08:51:00.538Z] 339a4e72a1f5: Verifying Checksum [2025-04-05T08:51:00.538Z] 339a4e72a1f5: Download complete [2025-04-05T08:51:00.538Z] 1469e6f7b9e6: Verifying Checksum [2025-04-05T08:51:00.538Z] 1469e6f7b9e6: Download complete [2025-04-05T08:51:00.538Z] eaf3925da568: Verifying Checksum [2025-04-05T08:51:00.538Z] eaf3925da568: Download complete [2025-04-05T08:51:00.538Z] bde34c3a00c8: Verifying Checksum [2025-04-05T08:51:00.538Z] bde34c3a00c8: Download complete [2025-04-05T08:51:00.538Z] b352a97aabf1: Verifying Checksum [2025-04-05T08:51:00.538Z] b352a97aabf1: Download complete [2025-04-05T08:51:00.538Z] 4872d77fe225: Verifying Checksum [2025-04-05T08:51:00.538Z] 4872d77fe225: Download complete [2025-04-05T08:51:00.538Z] 5851b861e8e6: Verifying Checksum [2025-04-05T08:51:00.538Z] 5851b861e8e6: Download complete [2025-04-05T08:51:00.538Z] b85a868b505f: Verifying Checksum [2025-04-05T08:51:00.538Z] b85a868b505f: Download complete [2025-04-05T08:51:00.796Z] bab4dde63d76: Verifying Checksum [2025-04-05T08:51:00.796Z] bab4dde63d76: Download complete [2025-04-05T08:51:01.734Z] b85a868b505f: Pull complete [2025-04-05T08:51:01.992Z] e2be974225ed: Pull complete [2025-04-05T08:51:02.252Z] 339a4e72a1f5: Pull complete [2025-04-05T08:51:02.512Z] 988bab9f4d93: Pull complete [2025-04-05T08:51:02.777Z] 1469e6f7b9e6: Pull complete [2025-04-05T08:51:02.777Z] eaf3925da568: Pull complete [2025-04-05T08:51:04.692Z] bab4dde63d76: Pull complete [2025-04-05T08:51:04.692Z] bde34c3a00c8: Pull complete [2025-04-05T08:51:04.692Z] b352a97aabf1: Pull complete [2025-04-05T08:51:04.692Z] 4872d77fe225: Pull complete [2025-04-05T08:51:04.951Z] 5851b861e8e6: Pull complete [2025-04-05T08:51:04.952Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2025-04-05T08:51:04.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-05T08:51:04.952Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-05T08:51:05.090Z] prd-ubuntu20.04-docker-8c-8g-42748 does not seem to be running inside a container [2025-04-05T08:51:05.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-567 -v /w/workspace/edgexfoundry_device-sdk-c_PR-567:/w/workspace/edgexfoundry_device-sdk-c_PR-567:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-567@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-567@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2025-04-05T08:51:06.663Z] $ docker top 260ef1d49a740776e30eb9a3e912b0fe0d90e0b52b71f52d07df5f2a66d405e5 -eo pid,comm [2025-04-05T08:51:06.722Z] 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). [2025-04-05T08:51:06.722Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-04-05T08:51:06.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-04-05T08:51:06.781Z] [ssh-agent] Looking for ssh-agent implementation... [2025-04-05T08:51:06.898Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-04-05T08:51:06.898Z] $ docker exec 260ef1d49a740776e30eb9a3e912b0fe0d90e0b52b71f52d07df5f2a66d405e5 ssh-agent [2025-04-05T08:51:07.005Z] SSH_AUTH_SOCK=/tmp/ssh-NLlmUWtdEnzm/agent.33 [2025-04-05T08:51:07.005Z] SSH_AGENT_PID=39 [2025-04-05T08:51:07.011Z] Running ssh-add (command line suppressed) [2025-04-05T08:51:07.103Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-567@tmp/private_key_14104286847889855022.key (/w/workspace/edgexfoundry_device-sdk-c_PR-567@tmp/private_key_14104286847889855022.key) [2025-04-05T08:51:07.122Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-04-05T08:51:07.418Z] + git tag --points-at HEAD [Pipeline] } [2025-04-05T08:51:07.429Z] $ docker exec --env ******** --env ******** 260ef1d49a740776e30eb9a3e912b0fe0d90e0b52b71f52d07df5f2a66d405e5 ssh-agent -k [2025-04-05T08:51:07.536Z] unset SSH_AUTH_SOCK; [2025-04-05T08:51:07.537Z] unset SSH_AGENT_PID; [2025-04-05T08:51:07.537Z] echo Agent pid 39 killed; [2025-04-05T08:51:07.548Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2025-04-05T08:51:07.588Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-04-05T08:51:07.588Z] [ssh-agent] Looking for ssh-agent implementation... [2025-04-05T08:51:07.699Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-04-05T08:51:07.699Z] $ docker exec 260ef1d49a740776e30eb9a3e912b0fe0d90e0b52b71f52d07df5f2a66d405e5 ssh-agent [2025-04-05T08:51:07.812Z] SSH_AUTH_SOCK=/tmp/ssh-ryVqFcZf6lET/agent.72 [2025-04-05T08:51:07.812Z] SSH_AGENT_PID=79 [2025-04-05T08:51:07.817Z] Running ssh-add (command line suppressed) [2025-04-05T08:51:07.906Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-567@tmp/private_key_12905321885082096082.key (/w/workspace/edgexfoundry_device-sdk-c_PR-567@tmp/private_key_12905321885082096082.key) [2025-04-05T08:51:07.921Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-04-05T08:51:08.218Z] + git semver init [2025-04-05T08:51:08.478Z] 2025-04-05 08:51:08,400 [run_init] DEBUG init version:0.0.0 force:False [2025-04-05T08:51:08.478Z] 2025-04-05 08:51:08,401 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-567/.semver [2025-04-05T08:51:08.478Z] 2025-04-05 08:51:08,401 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-567/.semver [2025-04-05T08:51:08.478Z] 2025-04-05 08:51:08,401 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-567/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-567, universal_newlines=False, shell=None, istream=None) [2025-04-05T08:51:09.417Z] 2025-04-05 08:51:09,160 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-567/.git/info/exclude [2025-04-05T08:51:09.417Z] 2025-04-05 08:51:09,161 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-567/.semver/PR-567 with force:False [2025-04-05T08:51:09.417Z] 2025-04-05 08:51:09,161 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-567/.semver/PR-567 [2025-04-05T08:51:09.417Z] 2025-04-05 08:51:09,165 [execute] INFO git cat-file --batch-check [2025-04-05T08:51:09.417Z] 2025-04-05 08:51:09,166 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-567/.semver, universal_newlines=False, shell=None, istream=) [2025-04-05T08:51:09.417Z] 2025-04-05 08:51:09,171 [execute] INFO git cat-file --batch [2025-04-05T08:51:09.417Z] 2025-04-05 08:51:09,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-567/.semver, universal_newlines=False, shell=None, istream=) [2025-04-05T08:51:09.417Z] 2025-04-05 08:51:09,175 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-567/.semver/PR-567 [2025-04-05T08:51:09.417Z] 0.0.0 [Pipeline] } [2025-04-05T08:51:09.424Z] $ docker exec --env ******** --env ******** 260ef1d49a740776e30eb9a3e912b0fe0d90e0b52b71f52d07df5f2a66d405e5 ssh-agent -k [2025-04-05T08:51:09.527Z] unset SSH_AUTH_SOCK; [2025-04-05T08:51:09.527Z] unset SSH_AGENT_PID; [2025-04-05T08:51:09.527Z] echo Agent pid 79 killed; [2025-04-05T08:51:09.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-04-05T08:51:09.868Z] + git semver [Pipeline] } [2025-04-05T08:51:10.143Z] $ docker stop --time=1 260ef1d49a740776e30eb9a3e912b0fe0d90e0b52b71f52d07df5f2a66d405e5 [2025-04-05T08:51:11.461Z] $ docker rm -f --volumes 260ef1d49a740776e30eb9a3e912b0fe0d90e0b52b71f52d07df5f2a66d405e5 [Pipeline] // withDockerContainer [Pipeline] sh [2025-04-05T08:51:11.805Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-04-05T08:51:12.044Z] Stashed 1 file(s) [Pipeline] echo [2025-04-05T08:51:12.049Z] [edgeXSemver]: initialized semver on version 0.0.0 [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] stage [Pipeline] { (Prep) [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 [2025-04-05T08:51:12.328Z] provisioning config files... [2025-04-05T08:51:12.339Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-567@tmp/config7109469181525798332tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2025-04-05T08:51:12.665Z] ---> ****-login.sh [2025-04-05T08:51:12.665Z] nexus3.edgexfoundry.org:10001 [2025-04-05T08:51:12.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-05T08:51:12.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-05T08:51:12.665Z] Configure a credential helper to remove this warning. See [2025-04-05T08:51:12.665Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-05T08:51:12.665Z] [2025-04-05T08:51:12.665Z] Login Succeeded [2025-04-05T08:51:12.665Z] nexus3.edgexfoundry.org:10002 [2025-04-05T08:51:12.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-05T08:51:12.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-05T08:51:12.665Z] Configure a credential helper to remove this warning. See [2025-04-05T08:51:12.665Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-05T08:51:12.665Z] [2025-04-05T08:51:12.665Z] Login Succeeded [2025-04-05T08:51:12.665Z] nexus3.edgexfoundry.org:10003 [2025-04-05T08:51:12.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-05T08:51:12.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-05T08:51:12.925Z] Configure a credential helper to remove this warning. See [2025-04-05T08:51:12.925Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-05T08:51:12.925Z] [2025-04-05T08:51:12.925Z] Login Succeeded [2025-04-05T08:51:12.925Z] nexus3.edgexfoundry.org:10004 [2025-04-05T08:51:12.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-05T08:51:12.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-05T08:51:12.926Z] Configure a credential helper to remove this warning. See [2025-04-05T08:51:12.926Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-05T08:51:12.926Z] [2025-04-05T08:51:12.926Z] Login Succeeded [2025-04-05T08:51:12.926Z] ****.io [2025-04-05T08:51:13.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-05T08:51:13.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-05T08:51:13.185Z] Configure a credential helper to remove this warning. See [2025-04-05T08:51:13.185Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-05T08:51:13.185Z] [2025-04-05T08:51:13.185Z] Login Succeeded [2025-04-05T08:51:13.185Z] ---> ****-login.sh ends [Pipeline] } [2025-04-05T08:51:13.193Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-04-05T08:51:13.291Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-04-05T08:51:13.310Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2025-04-05T08:51:13.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-04-05T08:51:13.357Z] ========================================================= [2025-04-05T08:51:13.357Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2025-04-05T08:51:13.357Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-05T08:51:13.687Z] + 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 . [2025-04-05T08:51:13.687Z] Sending build context to Docker daemon 5.551MB [2025-04-05T08:51:13.687Z] Step 1/22 : ARG BASE=alpine:3.18 [2025-04-05T08:51:13.687Z] Step 2/22 : FROM ${BASE} as builder [2025-04-05T08:51:13.687Z] latest: Pulling from edgex-devops/edgex-gcc-base [2025-04-05T08:51:13.687Z] 96526aa774ef: Pulling fs layer [2025-04-05T08:51:13.687Z] da60e534fd72: Pulling fs layer [2025-04-05T08:51:13.687Z] 96526aa774ef: Verifying Checksum [2025-04-05T08:51:13.687Z] 96526aa774ef: Download complete [2025-04-05T08:51:13.946Z] 96526aa774ef: Pull complete [2025-04-05T08:51:14.512Z] da60e534fd72: Verifying Checksum [2025-04-05T08:51:14.512Z] da60e534fd72: Download complete [2025-04-05T08:51:17.797Z] da60e534fd72: Pull complete [2025-04-05T08:51:17.798Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2025-04-05T08:51:17.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2025-04-05T08:51:17.798Z] ---> 6605166a5db4 [2025-04-05T08:51:17.798Z] 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 [2025-04-05T08:51:18.736Z] ---> Running in f8fd66b96396 [2025-04-05T08:51:18.996Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2025-04-05T08:51:19.255Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2025-04-05T08:51:19.255Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2025-04-05T08:51:19.255Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2025-04-05T08:51:19.824Z] Removing intermediate container f8fd66b96396 [2025-04-05T08:51:19.824Z] ---> 7a420fb2d906 [2025-04-05T08:51:19.824Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2025-04-05T08:51:19.824Z] ---> Running in 426cc463ded3 [2025-04-05T08:51:20.084Z] Removing intermediate container 426cc463ded3 [2025-04-05T08:51:20.084Z] ---> 029b173551c1 [2025-04-05T08:51:20.084Z] 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 [2025-04-05T08:51:20.343Z] ---> Running in fedd07fb5cb0 [2025-04-05T08:51:20.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:20.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:20.862Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:21.429Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-04-05T08:51:21.429Z] (1/15) Installing libcbor (0.10.2-r1) [2025-04-05T08:51:21.429Z] (2/15) Installing iotech-iot-1.5 (1.5.5-r2) [2025-04-05T08:51:22.368Z] (3/15) Installing iotech-iot-1.5-dev (1.5.5-r2) [2025-04-05T08:51:22.368Z] (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2025-04-05T08:51:22.368Z] (5/15) Installing libcbor-dev (0.10.2-r1) [2025-04-05T08:51:22.368Z] (6/15) Installing libmenuw (6.4_p20230506-r0) [2025-04-05T08:51:22.368Z] (7/15) Installing libpanelw (6.4_p20230506-r0) [2025-04-05T08:51:22.368Z] (8/15) Installing libncurses++ (6.4_p20230506-r0) [2025-04-05T08:51:22.368Z] (9/15) Installing ncurses-dev (6.4_p20230506-r0) [2025-04-05T08:51:22.368Z] (10/15) Installing libblkid (2.38.1-r8) [2025-04-05T08:51:22.368Z] (11/15) Installing libuuid (2.38.1-r8) [2025-04-05T08:51:22.368Z] (12/15) Installing libfdisk (2.38.1-r8) [2025-04-05T08:51:22.368Z] (13/15) Installing libmount (2.38.1-r8) [2025-04-05T08:51:22.368Z] (14/15) Installing libsmartcols (2.38.1-r8) [2025-04-05T08:51:22.627Z] (15/15) Installing util-linux-dev (2.38.1-r8) [2025-04-05T08:51:22.627Z] Executing busybox-1.36.1-r4.trigger [2025-04-05T08:51:22.627Z] OK: 336 MiB in 97 packages [2025-04-05T08:51:22.886Z] Removing intermediate container fedd07fb5cb0 [2025-04-05T08:51:22.886Z] ---> 044df3fe10a3 [2025-04-05T08:51:22.886Z] Step 6/22 : RUN mkdir /tmp/sdk [2025-04-05T08:51:23.147Z] ---> Running in e144896966f6 [2025-04-05T08:51:23.717Z] Removing intermediate container e144896966f6 [2025-04-05T08:51:23.717Z] ---> ca0fd033030c [2025-04-05T08:51:23.717Z] Step 7/22 : COPY VERSION /tmp/sdk [2025-04-05T08:51:23.717Z] ---> e990f30b485f [2025-04-05T08:51:23.717Z] Step 8/22 : COPY src /tmp/sdk/src [2025-04-05T08:51:23.977Z] ---> 7f34fe3d9705 [2025-04-05T08:51:23.977Z] Step 9/22 : COPY include /tmp/sdk/include [2025-04-05T08:51:23.977Z] ---> 9d230292dfca [2025-04-05T08:51:23.977Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2025-04-05T08:51:24.236Z] ---> 1c82d36b435d [2025-04-05T08:51:24.236Z] Step 11/22 : COPY LICENSE /tmp/sdk [2025-04-05T08:51:24.236Z] ---> 9067f4d03cbc [2025-04-05T08:51:24.236Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2025-04-05T08:51:24.495Z] ---> c26c796d6e76 [2025-04-05T08:51:24.495Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2025-04-05T08:51:24.495Z] ---> Running in c3914adc29e2 [2025-04-05T08:51:24.754Z] + CPPCHECK=false [2025-04-05T08:51:24.754Z] + DOCGEN=false [2025-04-05T08:51:24.754Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2025-04-05T08:51:24.754Z] + '[' 0 -gt 0 ] [2025-04-05T08:51:24.754Z] + readlink -f ./scripts/build.sh [2025-04-05T08:51:24.754Z] + dirname /tmp/sdk/scripts/build.sh [2025-04-05T08:51:24.754Z] + dirname /tmp/sdk/scripts [2025-04-05T08:51:24.754Z] + ROOT=/tmp/sdk [2025-04-05T08:51:24.754Z] + cd /tmp/sdk [2025-04-05T08:51:24.754Z] + mkdir -p /tmp/sdk/build/release [2025-04-05T08:51:24.754Z] + cd /tmp/sdk/build/release [2025-04-05T08:51:24.754Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2025-04-05T08:51:24.754Z] -- The C compiler identification is GNU 12.2.1 [2025-04-05T08:51:24.754Z] -- Detecting C compiler ABI info [2025-04-05T08:51:25.014Z] -- Detecting C compiler ABI info - done [2025-04-05T08:51:25.014Z] -- Check for working C compiler: /usr/bin/cc - skipped [2025-04-05T08:51:25.014Z] -- Detecting C compile features [2025-04-05T08:51:25.014Z] -- Detecting C compile features - done [2025-04-05T08:51:25.014Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2025-04-05T08:51:25.014Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2025-04-05T08:51:25.014Z] -- Found LIBYAML: /usr/lib/libyaml.so [2025-04-05T08:51:25.014Z] -- Found LIBUUID: /usr/lib/libuuid.so [2025-04-05T08:51:25.014Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2025-04-05T08:51:25.014Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2025-04-05T08:51:25.014Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2025-04-05T08:51:25.014Z] -- /opt/iotech/iot/1.5/include [2025-04-05T08:51:25.014Z] -- C SDK 0.0.0 for Linux [2025-04-05T08:51:25.014Z] -- Performing Test CSDK_HAVE_ATOMIC [2025-04-05T08:51:25.014Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2025-04-05T08:51:25.274Z] -- Found Curses: /usr/lib/libcurses.so [2025-04-05T08:51:25.274Z] -- Configuring done (0.4s) [2025-04-05T08:51:25.274Z] -- Generating done (0.0s) [2025-04-05T08:51:25.274Z] -- Build files have been written to: /tmp/sdk/build/release [2025-04-05T08:51:25.274Z] + make all package [2025-04-05T08:51:25.274Z] + tee release.log [2025-04-05T08:51:25.274Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2025-04-05T08:51:25.274Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2025-04-05T08:51:25.534Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2025-04-05T08:51:25.534Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2025-04-05T08:51:25.794Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2025-04-05T08:51:26.054Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2025-04-05T08:51:26.054Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2025-04-05T08:51:26.313Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2025-04-05T08:51:26.572Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2025-04-05T08:51:26.572Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2025-04-05T08:51:26.831Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2025-04-05T08:51:26.831Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2025-04-05T08:51:26.831Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2025-04-05T08:51:27.090Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2025-04-05T08:51:27.090Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2025-04-05T08:51:27.349Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2025-04-05T08:51:27.608Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2025-04-05T08:51:27.868Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2025-04-05T08:51:27.868Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2025-04-05T08:51:28.127Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2025-04-05T08:51:28.127Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2025-04-05T08:51:29.064Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2025-04-05T08:51:29.323Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2025-04-05T08:51:29.323Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2025-04-05T08:51:29.323Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2025-04-05T08:51:29.323Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2025-04-05T08:51:29.581Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2025-04-05T08:51:30.148Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2025-04-05T08:51:30.148Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2025-04-05T08:51:30.148Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2025-04-05T08:51:30.148Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2025-04-05T08:51:30.717Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2025-04-05T08:51:30.717Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2025-04-05T08:51:30.717Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2025-04-05T08:51:30.976Z] [ 68%] Linking C shared library libcsdk.so [2025-04-05T08:51:30.976Z] [ 68%] Built target csdk [2025-04-05T08:51:30.976Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2025-04-05T08:51:31.235Z] [ 72%] Linking C executable template [2025-04-05T08:51:31.235Z] [ 72%] Built target template [2025-04-05T08:51:31.235Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2025-04-05T08:51:31.235Z] [ 76%] Linking C executable device-counter [2025-04-05T08:51:31.495Z] [ 76%] Built target device-counter [2025-04-05T08:51:31.495Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2025-04-05T08:51:31.495Z] [ 80%] Linking C executable device-random [2025-04-05T08:51:31.495Z] [ 80%] Built target device-random [2025-04-05T08:51:31.495Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2025-04-05T08:51:31.755Z] [ 84%] Linking C executable device-gyro [2025-04-05T08:51:31.755Z] [ 84%] Built target device-gyro [2025-04-05T08:51:31.755Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2025-04-05T08:51:31.755Z] [ 88%] Linking C executable device-bitfields [2025-04-05T08:51:32.014Z] [ 88%] Built target device-bitfields [2025-04-05T08:51:32.014Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2025-04-05T08:51:32.014Z] [ 92%] Linking C executable template-discovery [2025-04-05T08:51:32.014Z] [ 92%] Built target template-discovery [2025-04-05T08:51:32.014Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2025-04-05T08:51:32.274Z] [ 96%] Linking C executable device-file [2025-04-05T08:51:32.274Z] [ 96%] Built target device-file [2025-04-05T08:51:32.274Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2025-04-05T08:51:32.535Z] [100%] Linking C executable device-terminal [2025-04-05T08:51:32.535Z] [100%] Built target device-terminal [2025-04-05T08:51:32.535Z] Run CPack packaging tool... [2025-04-05T08:51:32.535Z] CPack: Create package using TGZ [2025-04-05T08:51:32.535Z] CPack: Install projects [2025-04-05T08:51:32.535Z] CPack: - Run preinstall target for: Csdk [2025-04-05T08:51:32.796Z] CPack: - Install project: Csdk [] [2025-04-05T08:51:32.796Z] CPack: Create package [2025-04-05T08:51:32.796Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2025-04-05T08:51:32.796Z] + '[' false '=' true ] [2025-04-05T08:51:32.796Z] + '[' false '=' true ] [2025-04-05T08:51:32.796Z] + mkdir -p /tmp/sdk/build/debug [2025-04-05T08:51:32.796Z] + cd /tmp/sdk/build/debug [2025-04-05T08:51:32.796Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2025-04-05T08:51:32.796Z] -- The C compiler identification is GNU 12.2.1 [2025-04-05T08:51:32.796Z] -- Detecting C compiler ABI info [2025-04-05T08:51:33.081Z] -- Detecting C compiler ABI info - done [2025-04-05T08:51:33.081Z] -- Check for working C compiler: /usr/bin/cc - skipped [2025-04-05T08:51:33.081Z] -- Detecting C compile features [2025-04-05T08:51:33.081Z] -- Detecting C compile features - done [2025-04-05T08:51:33.081Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2025-04-05T08:51:33.081Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2025-04-05T08:51:33.081Z] -- Found LIBYAML: /usr/lib/libyaml.so [2025-04-05T08:51:33.081Z] -- Found LIBUUID: /usr/lib/libuuid.so [2025-04-05T08:51:33.081Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2025-04-05T08:51:33.081Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2025-04-05T08:51:33.081Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2025-04-05T08:51:33.081Z] -- /opt/iotech/iot/1.5/include [2025-04-05T08:51:33.081Z] -- C SDK 0.0.0 for Linux [2025-04-05T08:51:33.081Z] -- Performing Test CSDK_HAVE_ATOMIC [2025-04-05T08:51:33.081Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2025-04-05T08:51:33.081Z] -- Found Curses: /usr/lib/libcurses.so [2025-04-05T08:51:33.081Z] -- Configuring done (0.4s) [2025-04-05T08:51:33.341Z] -- Generating done (0.0s) [2025-04-05T08:51:33.341Z] -- Build files have been written to: /tmp/sdk/build/debug [2025-04-05T08:51:33.341Z] + make+ tee debug.log [2025-04-05T08:51:33.341Z]  [2025-04-05T08:51:33.341Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2025-04-05T08:51:33.341Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2025-04-05T08:51:33.341Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2025-04-05T08:51:33.341Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2025-04-05T08:51:33.601Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2025-04-05T08:51:33.601Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2025-04-05T08:51:33.601Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2025-04-05T08:51:33.863Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2025-04-05T08:51:33.863Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2025-04-05T08:51:33.863Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2025-04-05T08:51:34.123Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2025-04-05T08:51:34.123Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2025-04-05T08:51:34.123Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2025-04-05T08:51:34.123Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2025-04-05T08:51:34.384Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2025-04-05T08:51:34.384Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2025-04-05T08:51:34.384Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2025-04-05T08:51:34.645Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2025-04-05T08:51:34.645Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2025-04-05T08:51:34.645Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2025-04-05T08:51:34.905Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2025-04-05T08:51:34.905Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2025-04-05T08:51:35.164Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2025-04-05T08:51:35.164Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2025-04-05T08:51:35.164Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2025-04-05T08:51:35.164Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2025-04-05T08:51:35.424Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2025-04-05T08:51:35.424Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2025-04-05T08:51:35.683Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2025-04-05T08:51:35.684Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2025-04-05T08:51:35.684Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2025-04-05T08:51:35.943Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2025-04-05T08:51:35.943Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2025-04-05T08:51:35.943Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2025-04-05T08:51:35.943Z] [ 68%] Linking C shared library libcsdk.so [2025-04-05T08:51:36.204Z] [ 68%] Built target csdk [2025-04-05T08:51:36.204Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2025-04-05T08:51:36.204Z] [ 72%] Linking C executable template [2025-04-05T08:51:36.204Z] [ 72%] Built target template [2025-04-05T08:51:36.204Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2025-04-05T08:51:36.204Z] [ 76%] Linking C executable device-counter [2025-04-05T08:51:36.465Z] [ 76%] Built target device-counter [2025-04-05T08:51:36.465Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2025-04-05T08:51:36.465Z] [ 80%] Linking C executable device-random [2025-04-05T08:51:36.465Z] [ 80%] Built target device-random [2025-04-05T08:51:36.465Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2025-04-05T08:51:36.725Z] [ 84%] Linking C executable device-gyro [2025-04-05T08:51:36.725Z] [ 84%] Built target device-gyro [2025-04-05T08:51:36.725Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2025-04-05T08:51:36.725Z] [ 88%] Linking C executable device-bitfields [2025-04-05T08:51:36.725Z] [ 88%] Built target device-bitfields [2025-04-05T08:51:36.725Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2025-04-05T08:51:36.985Z] [ 92%] Linking C executable template-discovery [2025-04-05T08:51:36.985Z] [ 92%] Built target template-discovery [2025-04-05T08:51:36.985Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2025-04-05T08:51:36.985Z] [ 96%] Linking C executable device-file [2025-04-05T08:51:37.244Z] [ 96%] Built target device-file [2025-04-05T08:51:37.244Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2025-04-05T08:51:37.244Z] [100%] Linking C executable device-terminal [2025-04-05T08:51:37.244Z] [100%] Built target device-terminal [2025-04-05T08:51:37.244Z] make: Entering directory '/tmp/sdk/build/release' [2025-04-05T08:51:37.244Z] [ 68%] Built target csdk [2025-04-05T08:51:37.503Z] [ 72%] Built target template [2025-04-05T08:51:37.503Z] [ 76%] Built target device-counter [2025-04-05T08:51:37.503Z] [ 80%] Built target device-random [2025-04-05T08:51:37.503Z] [ 84%] Built target device-gyro [2025-04-05T08:51:37.503Z] [ 88%] Built target device-bitfields [2025-04-05T08:51:37.503Z] [ 92%] Built target template-discovery [2025-04-05T08:51:37.503Z] [ 96%] Built target device-file [2025-04-05T08:51:37.503Z] [100%] Built target device-terminal [2025-04-05T08:51:37.503Z] Install the project... [2025-04-05T08:51:37.503Z] -- Install configuration: "Release" [2025-04-05T08:51:37.503Z] -- Installing: /usr/local/lib/libcsdk.so [2025-04-05T08:51:37.503Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2025-04-05T08:51:37.503Z] -- Installing: /usr/local/include [2025-04-05T08:51:37.503Z] -- Installing: /usr/local/include/devsdk [2025-04-05T08:51:37.503Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2025-04-05T08:51:37.503Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2025-04-05T08:51:37.503Z] -- Installing: /usr/local/include/edgex [2025-04-05T08:51:37.503Z] -- Installing: /usr/local/include/edgex/edgex.h [2025-04-05T08:51:37.503Z] -- Installing: /usr/local/include/edgex/devices.h [2025-04-05T08:51:37.503Z] -- Installing: /usr/local/include/edgex/profiles.h [2025-04-05T08:51:37.503Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2025-04-05T08:51:37.503Z] -- Installing: /usr/local/include/edgex/rest-server.h [2025-04-05T08:51:37.503Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2025-04-05T08:51:37.503Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2025-04-05T08:51:37.503Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2025-04-05T08:51:37.503Z] make: Leaving directory '/tmp/sdk/build/release' [2025-04-05T08:51:38.071Z] Removing intermediate container c3914adc29e2 [2025-04-05T08:51:38.071Z] ---> d76b7c5a90b9 [2025-04-05T08:51:38.071Z] Step 14/22 : FROM ${BASE} [2025-04-05T08:51:38.071Z] ---> 6605166a5db4 [2025-04-05T08:51:38.071Z] Step 15/22 : LABEL maintainer="IOTech " [2025-04-05T08:51:38.071Z] ---> Running in 55967e2925c8 [2025-04-05T08:51:38.071Z] Removing intermediate container 55967e2925c8 [2025-04-05T08:51:38.071Z] ---> 432b341b1974 [2025-04-05T08:51:38.071Z] 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 [2025-04-05T08:51:38.071Z] ---> Running in 97733f776066 [2025-04-05T08:51:38.640Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2025-04-05T08:51:38.900Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2025-04-05T08:51:38.900Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2025-04-05T08:51:38.900Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2025-04-05T08:51:39.163Z] Removing intermediate container 97733f776066 [2025-04-05T08:51:39.163Z] ---> b47330cedf6c [2025-04-05T08:51:39.163Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2025-04-05T08:51:39.163Z] ---> Running in 17a3845fb131 [2025-04-05T08:51:39.732Z] Removing intermediate container 17a3845fb131 [2025-04-05T08:51:39.732Z] ---> 763dfc8f601a [2025-04-05T08:51:39.732Z] 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 [2025-04-05T08:51:39.732Z] ---> Running in ec64fbc85dfa [2025-04-05T08:51:39.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:40.253Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:40.253Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:40.823Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-04-05T08:51:40.823Z] (1/11) Installing libpsl (0.21.5-r0) [2025-04-05T08:51:40.823Z] (2/11) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) [2025-04-05T08:51:40.823Z] (3/11) Installing curl (8.12.1-r0) [2025-04-05T08:51:40.823Z] (4/11) Installing libpsl-utils (0.21.5-r0) [2025-04-05T08:51:40.823Z] (5/11) Installing libpsl-dev (0.21.5-r0) [2025-04-05T08:51:40.823Z] (6/11) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) [2025-04-05T08:51:40.823Z] (7/11) Installing dumb-init (1.2.5-r2) [2025-04-05T08:51:40.823Z] (8/11) Installing libcbor (0.10.2-r1) [2025-04-05T08:51:40.823Z] (9/11) Installing iotech-iot-1.5 (1.5.5-r2) [2025-04-05T08:51:41.763Z] (10/11) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2025-04-05T08:51:41.763Z] (11/11) Installing libuuid (2.38.1-r8) [2025-04-05T08:51:41.763Z] Executing busybox-1.36.1-r4.trigger [2025-04-05T08:51:41.763Z] OK: 331 MiB in 91 packages [2025-04-05T08:51:42.331Z] Removing intermediate container ec64fbc85dfa [2025-04-05T08:51:42.331Z] ---> 0d5d534d4bda [2025-04-05T08:51:42.331Z] Step 19/22 : RUN apk --no-cache upgrade [2025-04-05T08:51:42.331Z] ---> Running in 02176fa9e673 [2025-04-05T08:51:42.331Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:42.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:42.591Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:43.159Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-04-05T08:51:43.159Z] Upgrading critical system libraries and apk-tools: [2025-04-05T08:51:43.159Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2025-04-05T08:51:43.159Z] Executing busybox-1.36.1-r4.trigger [2025-04-05T08:51:43.419Z] Continuing the upgrade transaction with new apk-tools: [2025-04-05T08:51:43.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:43.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:43.419Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:43.988Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-04-05T08:51:43.988Z] (1/21) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) [2025-04-05T08:51:43.988Z] (2/21) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2025-04-05T08:51:43.988Z] Executing busybox-1.36.1-r7.post-upgrade [2025-04-05T08:51:43.988Z] (3/21) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2025-04-05T08:51:43.988Z] (4/21) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) [2025-04-05T08:51:43.988Z] (5/21) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) [2025-04-05T08:51:44.247Z] (6/21) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) [2025-04-05T08:51:44.247Z] (7/21) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2025-04-05T08:51:44.247Z] (8/21) Upgrading binutils (2.40-r7 -> 2.40-r8) [2025-04-05T08:51:44.247Z] (9/21) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) [2025-04-05T08:51:44.247Z] (10/21) Upgrading libexpat (2.5.0-r1 -> 2.7.0-r0) [2025-04-05T08:51:44.247Z] (11/21) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2025-04-05T08:51:44.247Z] (12/21) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) [2025-04-05T08:51:44.247Z] (13/21) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) [2025-04-05T08:51:44.247Z] (14/21) Upgrading git (2.40.1-r0 -> 2.40.4-r0) [2025-04-05T08:51:44.247Z] (15/21) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3) [2025-04-05T08:51:44.247Z] (16/21) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) [2025-04-05T08:51:44.247Z] (17/21) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2025-04-05T08:51:44.507Z] (18/21) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2025-04-05T08:51:44.507Z] (19/21) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) [2025-04-05T08:51:44.507Z] (20/21) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) [2025-04-05T08:51:44.507Z] (21/21) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2025-04-05T08:51:44.507Z] Executing busybox-1.36.1-r7.trigger [2025-04-05T08:51:44.507Z] Executing ca-certificates-20241121-r1.trigger [2025-04-05T08:51:44.507Z] OK: 331 MiB in 91 packages [2025-04-05T08:51:45.443Z] Removing intermediate container 02176fa9e673 [2025-04-05T08:51:45.443Z] ---> d3d13b5bf84e [2025-04-05T08:51:45.443Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2025-04-05T08:51:45.443Z] ---> ca4cbc8842da [2025-04-05T08:51:45.443Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2025-04-05T08:51:45.702Z] ---> 0d013d3ed267 [2025-04-05T08:51:45.702Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2025-04-05T08:51:45.702Z] ---> a83e65cb38e6 [2025-04-05T08:51:45.702Z] Successfully built a83e65cb38e6 [2025-04-05T08:51:45.702Z] 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 [2025-04-05T08:51:46.121Z] + docker inspect -f . ci-base-image-x86_64 [2025-04-05T08:51:46.121Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-05T08:51:46.208Z] prd-ubuntu20.04-docker-8c-8g-42748 does not seem to be running inside a container [2025-04-05T08:51:46.231Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-567 -v /w/workspace/edgexfoundry_device-sdk-c_PR-567:/w/workspace/edgexfoundry_device-sdk-c_PR-567:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-567@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-567@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2025-04-05T08:51:46.564Z] $ docker top c804383566e3cd04f54bdf019d15d6a843559b60dad97626068f19660652a544 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-04-05T08:51:46.925Z] + make test [2025-04-05T08:51:46.925Z] echo "make test" [2025-04-05T08:51:46.925Z] make test [Pipeline] } [2025-04-05T08:51:46.933Z] $ docker stop --time=1 c804383566e3cd04f54bdf019d15d6a843559b60dad97626068f19660652a544 [2025-04-05T08:51:48.232Z] $ docker rm -f --volumes c804383566e3cd04f54bdf019d15d6a843559b60dad97626068f19660652a544 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-04-05T08:51:48.919Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-04-05T08:51:49.206Z] + ls -al . [2025-04-05T08:51:49.206Z] total 220 [2025-04-05T08:51:49.206Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 08:51 . [2025-04-05T08:51:49.206Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 08:50 .. [2025-04-05T08:51:49.206Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 08:51 .git [2025-04-05T08:51:49.206Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 08:50 .github [2025-04-05T08:51:49.206Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 5 08:50 .gitignore [2025-04-05T08:51:49.206Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 5 08:51 .semver [2025-04-05T08:51:49.206Z] -rw-rw-r-- 1 jenkins jenkins 2908 Apr 5 08:50 Attribution.txt [2025-04-05T08:51:49.206Z] -rw-rw-r-- 1 jenkins jenkins 17404 Apr 5 08:50 CHANGELOG.md [2025-04-05T08:51:49.206Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 5 08:50 Doxyfile [2025-04-05T08:51:49.206Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 08:50 GOVERNANCE.md [2025-04-05T08:51:49.206Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 5 08:50 Jenkinsfile [2025-04-05T08:51:49.206Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 5 08:50 LICENSE [2025-04-05T08:51:49.206Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 5 08:50 Makefile [2025-04-05T08:51:49.206Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 5 08:50 OWNERS.md [2025-04-05T08:51:49.206Z] -rw-rw-r-- 1 jenkins jenkins 1651 Apr 5 08:50 README.IOT.md [2025-04-05T08:51:49.206Z] -rw-rw-r-- 1 jenkins jenkins 4173 Apr 5 08:50 README.md [2025-04-05T08:51:49.206Z] -rw-rw-r-- 1 jenkins jenkins 1245 Apr 5 08:50 README.v3.md [2025-04-05T08:51:49.206Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 5 08:51 VERSION [2025-04-05T08:51:49.206Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 08:50 docs [2025-04-05T08:51:49.206Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 08:50 include [2025-04-05T08:51:49.206Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 08:50 scripts [2025-04-05T08:51:49.206Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 08:50 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-05T08:51:49.520Z] + 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=7c28d92c0cb64037380d33d1f4a2be54f90af24a --label arch=amd64 --label version=0.0.0 . [2025-04-05T08:51:49.521Z] Sending build context to Docker daemon 5.551MB [2025-04-05T08:51:49.521Z] Step 1/18 : ARG BASE=alpine:3.18 [2025-04-05T08:51:49.521Z] Step 2/18 : FROM ${BASE} [2025-04-05T08:51:49.521Z] ---> a83e65cb38e6 [2025-04-05T08:51:49.521Z] Step 3/18 : LABEL maintainer="IOTech " [2025-04-05T08:51:49.521Z] ---> Running in 370163bbdae3 [2025-04-05T08:51:49.521Z] Removing intermediate container 370163bbdae3 [2025-04-05T08:51:49.521Z] ---> 5f787bf23a8c [2025-04-05T08:51:49.521Z] 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 [2025-04-05T08:51:49.521Z] ---> Running in 90e201a3729b [2025-04-05T08:51:49.788Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2025-04-05T08:51:50.357Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2025-04-05T08:51:50.357Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2025-04-05T08:51:50.357Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2025-04-05T08:51:50.615Z] Removing intermediate container 90e201a3729b [2025-04-05T08:51:50.615Z] ---> c3c7bcc222c4 [2025-04-05T08:51:50.615Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2025-04-05T08:51:50.615Z] ---> Running in 26ca63af0a8c [2025-04-05T08:51:51.181Z] Removing intermediate container 26ca63af0a8c [2025-04-05T08:51:51.181Z] ---> 47ec040c6165 [2025-04-05T08:51:51.181Z] 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 [2025-04-05T08:51:51.181Z] ---> Running in 53529a2a86f0 [2025-04-05T08:51:51.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:51.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:51.699Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:52.265Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-04-05T08:51:52.525Z] (1/11) Installing iotech-iot-1.5-dev (1.5.5-r2) [2025-04-05T08:51:52.525Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2025-04-05T08:51:52.525Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2025-04-05T08:51:52.525Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2025-04-05T08:51:52.525Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2025-04-05T08:51:52.525Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2025-04-05T08:51:52.525Z] (7/11) Installing libblkid (2.38.1-r8) [2025-04-05T08:51:52.525Z] (8/11) Installing libfdisk (2.38.1-r8) [2025-04-05T08:51:52.525Z] (9/11) Installing libmount (2.38.1-r8) [2025-04-05T08:51:52.788Z] (10/11) Installing libsmartcols (2.38.1-r8) [2025-04-05T08:51:52.788Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2025-04-05T08:51:52.788Z] Executing busybox-1.36.1-r7.trigger [2025-04-05T08:51:52.788Z] OK: 336 MiB in 102 packages [2025-04-05T08:51:53.047Z] Removing intermediate container 53529a2a86f0 [2025-04-05T08:51:53.047Z] ---> a54154225ed5 [2025-04-05T08:51:53.047Z] Step 7/18 : RUN apk --no-cache upgrade [2025-04-05T08:51:53.047Z] ---> Running in a3c7db459837 [2025-04-05T08:51:53.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:53.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:53.565Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-04-05T08:51:54.134Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-04-05T08:51:54.134Z] OK: 336 MiB in 102 packages [2025-04-05T08:51:54.403Z] Removing intermediate container a3c7db459837 [2025-04-05T08:51:54.403Z] ---> 8f8e5ed2a629 [2025-04-05T08:51:54.403Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2025-04-05T08:51:54.662Z] ---> 25b30444d22a [2025-04-05T08:51:54.662Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2025-04-05T08:51:54.662Z] ---> 7840bf6c87ac [2025-04-05T08:51:54.662Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2025-04-05T08:51:54.922Z] ---> c8712553fdb6 [2025-04-05T08:51:54.922Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2025-04-05T08:51:54.922Z] ---> 3fa160600096 [2025-04-05T08:51:54.922Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2025-04-05T08:51:55.182Z] ---> 0ed260ccc2bf [2025-04-05T08:51:55.182Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2025-04-05T08:51:55.182Z] ---> 14ec71e3fb31 [2025-04-05T08:51:55.182Z] Step 14/18 : WORKDIR /edgex-c-sdk [2025-04-05T08:51:55.182Z] ---> Running in b158efb41467 [2025-04-05T08:51:55.442Z] Removing intermediate container b158efb41467 [2025-04-05T08:51:55.442Z] ---> 107c047a0d65 [2025-04-05T08:51:55.442Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2025-04-05T08:51:55.442Z] ---> Running in 6469cd63b342 [2025-04-05T08:51:55.442Z] Removing intermediate container 6469cd63b342 [2025-04-05T08:51:55.442Z] ---> 164e33fc91b2 [2025-04-05T08:51:55.442Z] Step 16/18 : LABEL arch=amd64 [2025-04-05T08:51:55.442Z] ---> Running in 1ce06834d353 [2025-04-05T08:51:55.442Z] Removing intermediate container 1ce06834d353 [2025-04-05T08:51:55.442Z] ---> 621292d1398d [2025-04-05T08:51:55.442Z] Step 17/18 : LABEL git_sha=7c28d92c0cb64037380d33d1f4a2be54f90af24a [2025-04-05T08:51:55.442Z] ---> Running in d352c1794fe0 [2025-04-05T08:51:55.703Z] Removing intermediate container d352c1794fe0 [2025-04-05T08:51:55.703Z] ---> 7426beb0036b [2025-04-05T08:51:55.703Z] Step 18/18 : LABEL version=0.0.0 [2025-04-05T08:51:55.703Z] ---> Running in 79d6354f18a1 [2025-04-05T08:51:55.703Z] Removing intermediate container 79d6354f18a1 [2025-04-05T08:51:55.703Z] ---> 4681ad91b691 [2025-04-05T08:51:55.703Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2025-04-05T08:51:55.703Z] Successfully built 4681ad91b691 [2025-04-05T08:51:55.703Z] 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 [2025-04-05T08:51:56.233Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-05T08:51:56.233Z] [2025-04-05T08:51:56.233Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-05T08:51:56.548Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-05T08:51:56.548Z] latest: Pulling from edgex-lftools-log-publisher [2025-04-05T08:51:56.548Z] 5eb5b503b376: Pulling fs layer [2025-04-05T08:51:56.548Z] 5c69ac0246d0: Pulling fs layer [2025-04-05T08:51:56.548Z] ec43610c2a17: Pulling fs layer [2025-04-05T08:51:56.548Z] 3a2ae6a8a46f: Pulling fs layer [2025-04-05T08:51:56.548Z] 33b1e0a273af: Pulling fs layer [2025-04-05T08:51:56.548Z] 5d3b04190fa2: Pulling fs layer [2025-04-05T08:51:56.548Z] 2f39f015ded8: Pulling fs layer [2025-04-05T08:51:56.548Z] 3a2ae6a8a46f: Waiting [2025-04-05T08:51:56.548Z] 33b1e0a273af: Waiting [2025-04-05T08:51:56.548Z] 5d3b04190fa2: Waiting [2025-04-05T08:51:56.548Z] 2f39f015ded8: Waiting [2025-04-05T08:51:56.548Z] 5c69ac0246d0: Verifying Checksum [2025-04-05T08:51:56.548Z] 5c69ac0246d0: Download complete [2025-04-05T08:51:56.548Z] 3a2ae6a8a46f: Verifying Checksum [2025-04-05T08:51:56.548Z] 3a2ae6a8a46f: Download complete [2025-04-05T08:51:56.548Z] 33b1e0a273af: Verifying Checksum [2025-04-05T08:51:56.548Z] 33b1e0a273af: Download complete [2025-04-05T08:51:56.548Z] 5d3b04190fa2: Verifying Checksum [2025-04-05T08:51:56.548Z] 5d3b04190fa2: Download complete [2025-04-05T08:51:56.548Z] ec43610c2a17: Verifying Checksum [2025-04-05T08:51:56.548Z] ec43610c2a17: Download complete [2025-04-05T08:51:56.807Z] 5eb5b503b376: Verifying Checksum [2025-04-05T08:51:56.807Z] 5eb5b503b376: Download complete [2025-04-05T08:51:57.376Z] 2f39f015ded8: Download complete [2025-04-05T08:51:57.943Z] 5eb5b503b376: Pull complete [2025-04-05T08:51:57.943Z] 5c69ac0246d0: Pull complete [2025-04-05T08:51:58.510Z] ec43610c2a17: Pull complete [2025-04-05T08:51:58.510Z] 3a2ae6a8a46f: Pull complete [2025-04-05T08:51:58.769Z] 33b1e0a273af: Pull complete [2025-04-05T08:51:58.769Z] 5d3b04190fa2: Pull complete [2025-04-05T08:52:02.954Z] 2f39f015ded8: Pull complete [2025-04-05T08:52:02.954Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-04-05T08:52:02.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-05T08:52:02.954Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-05T08:52:03.079Z] prd-ubuntu20.04-docker-8c-8g-42748 does not seem to be running inside a container [2025-04-05T08:52:03.122Z] $ 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_PR-567 -v /w/workspace/edgexfoundry_device-sdk-c_PR-567:/w/workspace/edgexfoundry_device-sdk-c_PR-567:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-567@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-567@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-04-05T08:52:05.040Z] $ docker top 0130438681b70636b811fff002a9995535288a876776250197c067bcdf503421 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-05T08:52:05.461Z] ---> job-cost.sh [2025-04-05T08:52:05.461Z] lf-activate-venv: SKIPPING [2025-04-05T08:52:05.461Z] INFO: No Stack... [2025-04-05T08:52:05.720Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-04-05T08:52:05.980Z] INFO: Archiving Costs [Pipeline] sh [2025-04-05T08:52:06.274Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-567/archives/cost.csv [2025-04-05T08:52:06.274Z] + cut -d, -f6 [Pipeline] lock [2025-04-05T08:52:06.290Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-567-3-stack-cost] [2025-04-05T08:52:06.300Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-567-3-stack-cost] did not exist. Created. [2025-04-05T08:52:06.306Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-567-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-04-05T08:52:06.612Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-04-05T08:52:06.670Z] Stashed 1 file(s) [Pipeline] } [2025-04-05T08:52:06.678Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-567-3-stack-cost] [Pipeline] // lock [Pipeline] } [2025-04-05T08:52:06.705Z] $ docker stop --time=1 0130438681b70636b811fff002a9995535288a876776250197c067bcdf503421 [2025-04-05T08:52:07.873Z] $ docker rm -f --volumes 0130438681b70636b811fff002a9995535288a876776250197c067bcdf503421 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2025-04-05T08:52:08.578Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-567/archives ] [2025-04-05T08:52:08.578Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-567/archives [2025-04-05T08:52:08.578Z] total 16 [2025-04-05T08:52:08.578Z] drwxr-xr-x 3 root root 4096 Apr 5 08:52 . [2025-04-05T08:52:08.578Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 5 08:52 .. [2025-04-05T08:52:08.578Z] drwxr-xr-x 2 root root 4096 Apr 5 08:52 cost [2025-04-05T08:52:08.578Z] -rw-r--r-- 1 root root 84 Apr 5 08:52 cost.csv [2025-04-05T08:52:08.578Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-567/archives [2025-04-05T08:52:08.578Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-567/archives [2025-04-05T08:52:08.578Z] total 16 [2025-04-05T08:52:08.578Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 5 08:52 . [2025-04-05T08:52:08.578Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 5 08:52 .. [2025-04-05T08:52:08.579Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 5 08:52 cost [2025-04-05T08:52:08.579Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 5 08:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-04-05T08:52:08.866Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-05T08:52:09.727Z] ---> package-listing.sh [2025-04-05T08:52:09.727Z] ++ facter osfamily [2025-04-05T08:52:09.727Z] ++ tr '[:upper:]' '[:lower:]' [2025-04-05T08:52:09.987Z] + OS_FAMILY=debian [2025-04-05T08:52:09.987Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-567 [2025-04-05T08:52:09.987Z] + START_PACKAGES=/tmp/packages_start.txt [2025-04-05T08:52:09.987Z] + END_PACKAGES=/tmp/packages_end.txt [2025-04-05T08:52:09.987Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-04-05T08:52:09.987Z] + PACKAGES=/tmp/packages_start.txt [2025-04-05T08:52:09.987Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-567 ']' [2025-04-05T08:52:09.987Z] + PACKAGES=/tmp/packages_end.txt [2025-04-05T08:52:09.987Z] + case "${OS_FAMILY}" in [2025-04-05T08:52:09.987Z] + dpkg -l [2025-04-05T08:52:09.987Z] + grep '^ii' [2025-04-05T08:52:09.987Z] + '[' -f /tmp/packages_start.txt ']' [2025-04-05T08:52:09.987Z] + '[' -f /tmp/packages_end.txt ']' [2025-04-05T08:52:09.987Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-04-05T08:52:09.987Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-567 ']' [2025-04-05T08:52:09.987Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-567/archives/ [2025-04-05T08:52:09.987Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-567/archives/ [Pipeline] echo [2025-04-05T08:52:10.000Z] 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_PR-567/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2025-04-05T08:52:10.276Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-05T08:52:10.852Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-05T08:52:10.852Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-05T08:52:10.936Z] prd-ubuntu20.04-docker-8c-8g-42748 does not seem to be running inside a container [2025-04-05T08:52:10.963Z] $ 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_PR-567/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_PR-567 -v /w/workspace/edgexfoundry_device-sdk-c_PR-567:/w/workspace/edgexfoundry_device-sdk-c_PR-567:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-567@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-567@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-04-05T08:52:11.147Z] $ docker top 9772d503aeacd16a824366e5b9a27d0865db957a3d740169d45e09c9db4fafd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-04-05T08:52:11.504Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-04-05T08:52:11.790Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-04-05T08:52:12.076Z] + ls /var/log/sa-host [2025-04-05T08:52:12.076Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-05T08:52:12.255Z] provisioning config files... [2025-04-05T08:52:12.263Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-567@tmp/config17840735070580232163tmp [Pipeline] { [Pipeline] echo [2025-04-05T08:52:12.289Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-05T08:52:12.574Z] ---> create-netrc.sh [Pipeline] } [2025-04-05T08:52:12.582Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-04-05T08:52:12.932Z] ---> python-tools-install.sh [Pipeline] echo [2025-04-05T08:52:12.942Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-05T08:52:13.230Z] ---> sudo-logs.sh [2025-04-05T08:52:13.230Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-04-05T08:52:13.265Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-05T08:52:13.549Z] ---> job-cost.sh [2025-04-05T08:52:13.549Z] lf-activate-venv: SKIPPING [2025-04-05T08:52:13.549Z] DEBUG: total: 0.2199999988079071 [2025-04-05T08:52:13.549Z] INFO: Retrieving Stack Cost... [2025-04-05T08:52:13.549Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-04-05T08:52:13.809Z] INFO: Archiving Costs [Pipeline] echo [2025-04-05T08:52:13.821Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-05T08:52:14.108Z] ---> logs-deploy.sh [2025-04-05T08:52:14.108Z] lf-activate-venv: SKIPPING [2025-04-05T08:52:14.108Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-567/3 [2025-04-05T08:52:14.108Z] INFO: archiving workspace using pattern(s): [2025-04-05T08:52:15.046Z] Archives upload complete. [2025-04-05T08:52:15.046Z] INFO: archiving logs to Nexus