Pull request #537 opened 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 FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 0ad2933df34c4559a656531e5159a5fc5f5b1594+aba20507516cf14527c3a1383b601b1fd004f4c0 (03650d3ce6783eaf4bf8c9124e8e757c157a093d) 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-ssh8246598909326498396.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-ssh10887696393281267827.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-537/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-537/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13488948918140588957.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-537/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2550220630180540443.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh3865927056788696532.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-537/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-537/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3126245489960238097.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-35396 in /w/workspace/edgexfoundry_device-sdk-c_PR-537 [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-537 # 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/537/head:refs/remotes/origin/PR-537 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit aba20507516cf14527c3a1383b601b1fd004f4c0 into PR head commit 0ad2933df34c4559a656531e5159a5fc5f5b1594 Merge succeeded, producing 0ad2933df34c4559a656531e5159a5fc5f5b1594 Checking out Revision 0ad2933df34c4559a656531e5159a5fc5f5b1594 (PR-537) > git config core.sparsecheckout # timeout=10 > git checkout -f 0ad2933df34c4559a656531e5159a5fc5f5b1594 # 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 aba20507516cf14527c3a1383b601b1fd004f4c0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0ad2933df34c4559a656531e5159a5fc5f5b1594 # timeout=10 Commit message: "fix: Update the commands in README files for running example device service" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-12-19T18:25:24.488Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-12-19T18:25:24.670Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-12-19T18:25:24.792Z] ========================================================= [2024-12-19T18:25:24.792Z] EdgeX Global Pipelines Version Info [2024-12-19T18:25:24.792Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-12-19T18:25:25.922Z] ------------------- [2024-12-19T18:25:25.922Z] stable info: [2024-12-19T18:25:25.922Z] ------------------- [2024-12-19T18:25:25.922Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-12-19T18:25:25.922Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-19T18:25:25.922Z] Message: update stable to v1.0.269 [2024-12-19T18:25:26.182Z] ------------------- [2024-12-19T18:25:26.182Z] experimental info: [2024-12-19T18:25:26.182Z] ------------------- [2024-12-19T18:25:26.183Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-12-19T18:25:26.183Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-19T18:25:26.183Z] Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-12-19T18:25:26.392Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-12-19T18:25:26.446Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-12-19T18:25:26.501Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-12-19T18:25:26.559Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-12-19T18:25:26.614Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-12-19T18:25:26.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-12-19T18:25:26.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-12-19T18:25:26.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-12-19T18:25:26.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-12-19T18:25:26.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-12-19T18:25:26.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-12-19T18:25:26.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-12-19T18:25:27.009Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-12-19T18:25:27.065Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-12-19T18:25:27.126Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-12-19T18:25:27.184Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-12-19T18:25:27.237Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-12-19T18:25:27.292Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-537 [Pipeline] echo [2024-12-19T18:25:27.342Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-537 [Pipeline] echo [2024-12-19T18:25:27.386Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-537 [Pipeline] echo [2024-12-19T18:25:27.440Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0ad2933df34c4559a656531e5159a5fc5f5b1594 [Pipeline] echo [2024-12-19T18:25:27.497Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0ad2933 [Pipeline] echo [2024-12-19T18:25:27.552Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-19T18:25:27.693Z] provisioning config files... [2024-12-19T18:25:27.705Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-537@tmp/config11277922902467322540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-19T18:25:28.091Z] ---> ****-login.sh [2024-12-19T18:25:28.091Z] nexus3.edgexfoundry.org:10001 [2024-12-19T18:25:28.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-19T18:25:28.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-19T18:25:28.611Z] Configure a credential helper to remove this warning. See [2024-12-19T18:25:28.611Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-19T18:25:28.611Z] [2024-12-19T18:25:28.611Z] Login Succeeded [2024-12-19T18:25:28.611Z] nexus3.edgexfoundry.org:10002 [2024-12-19T18:25:28.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-19T18:25:28.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-19T18:25:28.612Z] Configure a credential helper to remove this warning. See [2024-12-19T18:25:28.612Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-19T18:25:28.612Z] [2024-12-19T18:25:28.612Z] Login Succeeded [2024-12-19T18:25:28.612Z] nexus3.edgexfoundry.org:10003 [2024-12-19T18:25:28.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-19T18:25:28.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-19T18:25:28.872Z] Configure a credential helper to remove this warning. See [2024-12-19T18:25:28.872Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-19T18:25:28.872Z] [2024-12-19T18:25:28.872Z] Login Succeeded [2024-12-19T18:25:28.872Z] nexus3.edgexfoundry.org:10004 [2024-12-19T18:25:28.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-19T18:25:28.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-19T18:25:28.872Z] Configure a credential helper to remove this warning. See [2024-12-19T18:25:28.872Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-19T18:25:28.872Z] [2024-12-19T18:25:28.872Z] Login Succeeded [2024-12-19T18:25:28.872Z] ****.io [2024-12-19T18:25:28.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-19T18:25:29.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-19T18:25:29.132Z] Configure a credential helper to remove this warning. See [2024-12-19T18:25:29.132Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-19T18:25:29.132Z] [2024-12-19T18:25:29.132Z] Login Succeeded [2024-12-19T18:25:29.132Z] ---> ****-login.sh ends [Pipeline] } [2024-12-19T18:25:29.164Z] 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-19T18:25:29.824Z] + git rev-list -1 --merges 0ad2933df34c4559a656531e5159a5fc5f5b1594~1..0ad2933df34c4559a656531e5159a5fc5f5b1594 [Pipeline] echo [2024-12-19T18:25:29.876Z] -----------> git rev-list -1 --merges 0ad2933df34c4559a656531e5159a5fc5f5b1594~1..0ad2933df34c4559a656531e5159a5fc5f5b1594 0ad2933df34c4559a656531e5159a5fc5f5b1594 [false] [Pipeline] sh [2024-12-19T18:25:30.206Z] + git log --format=format:%s -1 0ad2933df34c4559a656531e5159a5fc5f5b1594 [Pipeline] echo [2024-12-19T18:25:30.245Z] ========================================================= [2024-12-19T18:25:30.245Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-19T18:25:30.245Z] ========================================================= 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-19T18:25:31.253Z] + git rev-list -1 --merges 0ad2933df34c4559a656531e5159a5fc5f5b1594~1..0ad2933df34c4559a656531e5159a5fc5f5b1594 [Pipeline] echo [2024-12-19T18:25:31.296Z] -----------> git rev-list -1 --merges 0ad2933df34c4559a656531e5159a5fc5f5b1594~1..0ad2933df34c4559a656531e5159a5fc5f5b1594 0ad2933df34c4559a656531e5159a5fc5f5b1594 [false] [Pipeline] sh [2024-12-19T18:25:31.618Z] + git log --format=format:%s -1 0ad2933df34c4559a656531e5159a5fc5f5b1594 [Pipeline] echo [2024-12-19T18:25:31.659Z] ========================================================= [2024-12-19T18:25:31.659Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-19T18:25:31.659Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-12-19T18:25:32.170Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-19T18:25:32.170Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-12-19T18:25:32.170Z] + [ -e /tmp/ssh_known_hosts ] [2024-12-19T18:25:32.170Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-12-19T18:25:32.170Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-12-19T18:25:32.170Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-12-19T18:25:32.170Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-19T18:25:32.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-19T18:25:32.697Z] [2024-12-19T18:25:32.697Z] 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-19T18:25:33.103Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-19T18:25:33.103Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-12-19T18:25:33.103Z] b85a868b505f: Pulling fs layer [2024-12-19T18:25:33.103Z] e2be974225ed: Pulling fs layer [2024-12-19T18:25:33.103Z] 339a4e72a1f5: Pulling fs layer [2024-12-19T18:25:33.103Z] 988bab9f4d93: Pulling fs layer [2024-12-19T18:25:33.103Z] 1469e6f7b9e6: Pulling fs layer [2024-12-19T18:25:33.103Z] eaf3925da568: Pulling fs layer [2024-12-19T18:25:33.103Z] bab4dde63d76: Pulling fs layer [2024-12-19T18:25:33.103Z] bde34c3a00c8: Pulling fs layer [2024-12-19T18:25:33.103Z] b352a97aabf1: Pulling fs layer [2024-12-19T18:25:33.103Z] 4872d77fe225: Pulling fs layer [2024-12-19T18:25:33.103Z] 5851b861e8e6: Pulling fs layer [2024-12-19T18:25:33.103Z] bab4dde63d76: Waiting [2024-12-19T18:25:33.103Z] 988bab9f4d93: Waiting [2024-12-19T18:25:33.103Z] bde34c3a00c8: Waiting [2024-12-19T18:25:33.103Z] 4872d77fe225: Waiting [2024-12-19T18:25:33.103Z] eaf3925da568: Waiting [2024-12-19T18:25:33.103Z] 5851b861e8e6: Waiting [2024-12-19T18:25:33.103Z] b352a97aabf1: Waiting [2024-12-19T18:25:33.103Z] 1469e6f7b9e6: Waiting [2024-12-19T18:25:33.103Z] e2be974225ed: Verifying Checksum [2024-12-19T18:25:33.103Z] e2be974225ed: Download complete [2024-12-19T18:25:33.103Z] 988bab9f4d93: Verifying Checksum [2024-12-19T18:25:33.103Z] 988bab9f4d93: Download complete [2024-12-19T18:25:33.366Z] 1469e6f7b9e6: Verifying Checksum [2024-12-19T18:25:33.366Z] 1469e6f7b9e6: Download complete [2024-12-19T18:25:33.366Z] 339a4e72a1f5: Verifying Checksum [2024-12-19T18:25:33.366Z] 339a4e72a1f5: Download complete [2024-12-19T18:25:33.366Z] eaf3925da568: Verifying Checksum [2024-12-19T18:25:33.366Z] eaf3925da568: Download complete [2024-12-19T18:25:33.366Z] bde34c3a00c8: Verifying Checksum [2024-12-19T18:25:33.366Z] bde34c3a00c8: Download complete [2024-12-19T18:25:33.366Z] b352a97aabf1: Download complete [2024-12-19T18:25:33.366Z] 4872d77fe225: Verifying Checksum [2024-12-19T18:25:33.366Z] 4872d77fe225: Download complete [2024-12-19T18:25:33.366Z] 5851b861e8e6: Download complete [2024-12-19T18:25:33.366Z] b85a868b505f: Verifying Checksum [2024-12-19T18:25:33.366Z] b85a868b505f: Download complete [2024-12-19T18:25:33.625Z] bab4dde63d76: Verifying Checksum [2024-12-19T18:25:33.625Z] bab4dde63d76: Download complete [2024-12-19T18:25:34.565Z] b85a868b505f: Pull complete [2024-12-19T18:25:34.825Z] e2be974225ed: Pull complete [2024-12-19T18:25:35.411Z] 339a4e72a1f5: Pull complete [2024-12-19T18:25:35.411Z] 988bab9f4d93: Pull complete [2024-12-19T18:25:35.675Z] 1469e6f7b9e6: Pull complete [2024-12-19T18:25:35.675Z] eaf3925da568: Pull complete [2024-12-19T18:25:37.582Z] bab4dde63d76: Pull complete [2024-12-19T18:25:37.582Z] bde34c3a00c8: Pull complete [2024-12-19T18:25:37.844Z] b352a97aabf1: Pull complete [2024-12-19T18:25:37.844Z] 4872d77fe225: Pull complete [2024-12-19T18:25:38.103Z] 5851b861e8e6: Pull complete [2024-12-19T18:25:38.103Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-12-19T18:25:38.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-19T18:25:38.103Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-19T18:25:38.386Z] prd-ubuntu20.04-docker-8c-8g-35396 does not seem to be running inside a container [2024-12-19T18:25:38.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-537 -v /w/workspace/edgexfoundry_device-sdk-c_PR-537:/w/workspace/edgexfoundry_device-sdk-c_PR-537:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-537@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-537@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-devops/py-git-semver:0.1.4 cat [2024-12-19T18:25:41.542Z] $ docker top 70cfe802949ef5cd514b0b8b2331e30c94308c50c0c1dd9faa434e2fed7cf659 -eo pid,comm [2024-12-19T18:25:41.601Z] 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-19T18:25:41.601Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-19T18:25:41.762Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-19T18:25:41.762Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-19T18:25:41.876Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-19T18:25:41.876Z] $ docker exec 70cfe802949ef5cd514b0b8b2331e30c94308c50c0c1dd9faa434e2fed7cf659 ssh-agent [2024-12-19T18:25:41.985Z] SSH_AUTH_SOCK=/tmp/ssh-wyVJPtQBSNEw/agent.32 [2024-12-19T18:25:41.985Z] SSH_AGENT_PID=38 [2024-12-19T18:25:41.991Z] Running ssh-add (command line suppressed) [2024-12-19T18:25:42.086Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-537@tmp/private_key_3254775745604818605.key (/w/workspace/edgexfoundry_device-sdk-c_PR-537@tmp/private_key_3254775745604818605.key) [2024-12-19T18:25:42.104Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-19T18:25:42.444Z] + git tag --points-at HEAD [Pipeline] } [2024-12-19T18:25:42.468Z] $ docker exec --env ******** --env ******** 70cfe802949ef5cd514b0b8b2331e30c94308c50c0c1dd9faa434e2fed7cf659 ssh-agent -k [2024-12-19T18:25:42.578Z] unset SSH_AUTH_SOCK; [2024-12-19T18:25:42.578Z] unset SSH_AGENT_PID; [2024-12-19T18:25:42.578Z] echo Agent pid 38 killed; [2024-12-19T18:25:42.593Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-12-19T18:25:42.709Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-19T18:25:42.709Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-19T18:25:42.844Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-19T18:25:42.844Z] $ docker exec 70cfe802949ef5cd514b0b8b2331e30c94308c50c0c1dd9faa434e2fed7cf659 ssh-agent [2024-12-19T18:25:42.962Z] SSH_AUTH_SOCK=/tmp/ssh-dMSHdHhbvjT8/agent.71 [2024-12-19T18:25:42.962Z] SSH_AGENT_PID=78 [2024-12-19T18:25:42.967Z] Running ssh-add (command line suppressed) [2024-12-19T18:25:43.078Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-537@tmp/private_key_13933172539622830805.key (/w/workspace/edgexfoundry_device-sdk-c_PR-537@tmp/private_key_13933172539622830805.key) [2024-12-19T18:25:43.095Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-19T18:25:43.461Z] + git semver init [2024-12-19T18:25:43.721Z] 2024-12-19 18:25:43,642 [run_init] DEBUG init version:0.0.0 force:False [2024-12-19T18:25:43.721Z] 2024-12-19 18:25:43,643 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-537/.semver [2024-12-19T18:25:43.721Z] 2024-12-19 18:25:43,643 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-537/.semver [2024-12-19T18:25:43.721Z] 2024-12-19 18:25:43,644 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-537/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-537, universal_newlines=False, shell=None, istream=None) [2024-12-19T18:25:44.662Z] 2024-12-19 18:25:44,425 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-537/.git/info/exclude [2024-12-19T18:25:44.662Z] 2024-12-19 18:25:44,426 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-537/.semver/PR-537 with force:False [2024-12-19T18:25:44.662Z] 2024-12-19 18:25:44,426 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-537/.semver/PR-537 [2024-12-19T18:25:44.662Z] 2024-12-19 18:25:44,430 [execute] INFO git cat-file --batch-check [2024-12-19T18:25:44.662Z] 2024-12-19 18:25:44,430 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-537/.semver, universal_newlines=False, shell=None, istream=) [2024-12-19T18:25:44.662Z] 2024-12-19 18:25:44,437 [execute] INFO git cat-file --batch [2024-12-19T18:25:44.662Z] 2024-12-19 18:25:44,438 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-537/.semver, universal_newlines=False, shell=None, istream=) [2024-12-19T18:25:44.662Z] 2024-12-19 18:25:44,443 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-537/.semver/PR-537 [2024-12-19T18:25:44.662Z] 0.0.0 [Pipeline] } [2024-12-19T18:25:44.689Z] $ docker exec --env ******** --env ******** 70cfe802949ef5cd514b0b8b2331e30c94308c50c0c1dd9faa434e2fed7cf659 ssh-agent -k [2024-12-19T18:25:44.816Z] unset SSH_AUTH_SOCK; [2024-12-19T18:25:44.817Z] unset SSH_AGENT_PID; [2024-12-19T18:25:44.817Z] echo Agent pid 78 killed; [2024-12-19T18:25:44.832Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-19T18:25:45.295Z] + git semver [Pipeline] } [2024-12-19T18:25:45.579Z] $ docker stop --time=1 70cfe802949ef5cd514b0b8b2331e30c94308c50c0c1dd9faa434e2fed7cf659 [2024-12-19T18:25:46.936Z] $ docker rm -f --volumes 70cfe802949ef5cd514b0b8b2331e30c94308c50c0c1dd9faa434e2fed7cf659 [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-19T18:25:47.366Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-12-19T18:25:47.679Z] Stashed 1 file(s) [Pipeline] echo [2024-12-19T18:25:47.701Z] [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 [2024-12-19T18:25:48.651Z] provisioning config files... [2024-12-19T18:25:48.662Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-537@tmp/config7940125662496716836tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2024-12-19T18:25:49.148Z] ---> ****-login.sh [2024-12-19T18:25:49.148Z] nexus3.edgexfoundry.org:10001 [2024-12-19T18:25:49.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-19T18:25:49.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-19T18:25:49.148Z] Configure a credential helper to remove this warning. See [2024-12-19T18:25:49.148Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-19T18:25:49.148Z] [2024-12-19T18:25:49.148Z] Login Succeeded [2024-12-19T18:25:49.148Z] nexus3.edgexfoundry.org:10002 [2024-12-19T18:25:49.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-19T18:25:49.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-19T18:25:49.149Z] Configure a credential helper to remove this warning. See [2024-12-19T18:25:49.149Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-19T18:25:49.149Z] [2024-12-19T18:25:49.149Z] Login Succeeded [2024-12-19T18:25:49.149Z] nexus3.edgexfoundry.org:10003 [2024-12-19T18:25:49.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-19T18:25:49.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-19T18:25:49.408Z] Configure a credential helper to remove this warning. See [2024-12-19T18:25:49.408Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-19T18:25:49.408Z] [2024-12-19T18:25:49.408Z] Login Succeeded [2024-12-19T18:25:49.408Z] nexus3.edgexfoundry.org:10004 [2024-12-19T18:25:49.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-19T18:25:49.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-19T18:25:49.409Z] Configure a credential helper to remove this warning. See [2024-12-19T18:25:49.409Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-19T18:25:49.409Z] [2024-12-19T18:25:49.409Z] Login Succeeded [2024-12-19T18:25:49.409Z] ****.io [2024-12-19T18:25:49.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-19T18:25:49.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-19T18:25:49.669Z] Configure a credential helper to remove this warning. See [2024-12-19T18:25:49.669Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-19T18:25:49.669Z] [2024-12-19T18:25:49.669Z] Login Succeeded [2024-12-19T18:25:49.669Z] ---> ****-login.sh ends [Pipeline] } [2024-12-19T18:25:49.702Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-12-19T18:25:49.920Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-19T18:25:49.962Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-12-19T18:25:50.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-19T18:25:50.046Z] ========================================================= [2024-12-19T18:25:50.046Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-12-19T18:25:50.046Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-19T18:25:50.488Z] + 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-19T18:25:50.488Z] Sending build context to Docker daemon 5.449MB [2024-12-19T18:25:50.488Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-12-19T18:25:50.488Z] Step 2/22 : FROM ${BASE} as builder [2024-12-19T18:25:50.488Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-12-19T18:25:50.488Z] 96526aa774ef: Pulling fs layer [2024-12-19T18:25:50.488Z] da60e534fd72: Pulling fs layer [2024-12-19T18:25:50.748Z] 96526aa774ef: Verifying Checksum [2024-12-19T18:25:50.748Z] 96526aa774ef: Download complete [2024-12-19T18:25:50.748Z] 96526aa774ef: Pull complete [2024-12-19T18:25:51.687Z] da60e534fd72: Verifying Checksum [2024-12-19T18:25:51.687Z] da60e534fd72: Download complete [2024-12-19T18:25:54.981Z] da60e534fd72: Pull complete [2024-12-19T18:25:54.981Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-12-19T18:25:54.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-12-19T18:25:54.981Z] ---> 6605166a5db4 [2024-12-19T18:25:54.981Z] 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-19T18:25:57.548Z] ---> Running in 42183109f448 [2024-12-19T18:25:57.809Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-12-19T18:25:58.384Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-19T18:25:58.384Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-19T18:25:58.384Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-19T18:25:58.645Z] Removing intermediate container 42183109f448 [2024-12-19T18:25:58.645Z] ---> 392b3999eed7 [2024-12-19T18:25:58.645Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-19T18:25:58.645Z] ---> Running in 534af7f3db8c [2024-12-19T18:25:59.214Z] Removing intermediate container 534af7f3db8c [2024-12-19T18:25:59.214Z] ---> 36530b005a36 [2024-12-19T18:25:59.214Z] 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-19T18:25:59.214Z] ---> Running in 3ac75dd20303 [2024-12-19T18:25:59.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-19T18:25:59.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-19T18:25:59.993Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-19T18:26:00.563Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-19T18:26:00.563Z] (1/15) Installing libcbor (0.10.2-r1) [2024-12-19T18:26:00.563Z] (2/15) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-19T18:26:01.133Z] (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-19T18:26:01.393Z] (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-19T18:26:01.393Z] (5/15) Installing libcbor-dev (0.10.2-r1) [2024-12-19T18:26:01.393Z] (6/15) Installing libmenuw (6.4_p20230506-r0) [2024-12-19T18:26:01.393Z] (7/15) Installing libpanelw (6.4_p20230506-r0) [2024-12-19T18:26:01.393Z] (8/15) Installing libncurses++ (6.4_p20230506-r0) [2024-12-19T18:26:01.393Z] (9/15) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-19T18:26:01.654Z] (10/15) Installing libblkid (2.38.1-r8) [2024-12-19T18:26:01.654Z] (11/15) Installing libuuid (2.38.1-r8) [2024-12-19T18:26:01.654Z] (12/15) Installing libfdisk (2.38.1-r8) [2024-12-19T18:26:01.654Z] (13/15) Installing libmount (2.38.1-r8) [2024-12-19T18:26:01.654Z] (14/15) Installing libsmartcols (2.38.1-r8) [2024-12-19T18:26:01.654Z] (15/15) Installing util-linux-dev (2.38.1-r8) [2024-12-19T18:26:01.654Z] Executing busybox-1.36.1-r4.trigger [2024-12-19T18:26:01.654Z] OK: 336 MiB in 97 packages [2024-12-19T18:26:02.601Z] Removing intermediate container 3ac75dd20303 [2024-12-19T18:26:02.601Z] ---> f124de0a689a [2024-12-19T18:26:02.601Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-12-19T18:26:02.601Z] ---> Running in c2dd58be9422 [2024-12-19T18:26:03.193Z] Removing intermediate container c2dd58be9422 [2024-12-19T18:26:03.193Z] ---> 806ed63285f2 [2024-12-19T18:26:03.193Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-12-19T18:26:03.193Z] ---> 3aa2c1110fac [2024-12-19T18:26:03.193Z] Step 8/22 : COPY src /tmp/sdk/src [2024-12-19T18:26:03.454Z] ---> 72e7f572a7d9 [2024-12-19T18:26:03.454Z] Step 9/22 : COPY include /tmp/sdk/include [2024-12-19T18:26:03.454Z] ---> 04f526f7c8a2 [2024-12-19T18:26:03.454Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-12-19T18:26:03.715Z] ---> 14b3ced248e3 [2024-12-19T18:26:03.715Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-12-19T18:26:03.715Z] ---> b0aa4b5ba27a [2024-12-19T18:26:03.715Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-12-19T18:26:03.979Z] ---> 0b7ea4990082 [2024-12-19T18:26:03.979Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-12-19T18:26:03.979Z] ---> Running in 11f2177bd3b8 [2024-12-19T18:26:04.239Z] + CPPCHECK=false [2024-12-19T18:26:04.239Z] + DOCGEN=false [2024-12-19T18:26:04.239Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-12-19T18:26:04.239Z] + '[' 0 -gt 0 ] [2024-12-19T18:26:04.239Z] + readlink -f ./scripts/build.sh [2024-12-19T18:26:04.239Z] + dirname /tmp/sdk/scripts/build.sh [2024-12-19T18:26:04.239Z] + dirname /tmp/sdk/scripts [2024-12-19T18:26:04.239Z] + ROOT=/tmp/sdk [2024-12-19T18:26:04.239Z] + cd /tmp/sdk [2024-12-19T18:26:04.239Z] + mkdir -p /tmp/sdk/build/release [2024-12-19T18:26:04.239Z] + cd /tmp/sdk/build/release [2024-12-19T18:26:04.239Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-12-19T18:26:04.239Z] -- The C compiler identification is GNU 12.2.1 [2024-12-19T18:26:04.239Z] -- Detecting C compiler ABI info [2024-12-19T18:26:04.499Z] -- Detecting C compiler ABI info - done [2024-12-19T18:26:04.499Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-19T18:26:04.499Z] -- Detecting C compile features [2024-12-19T18:26:04.499Z] -- Detecting C compile features - done [2024-12-19T18:26:04.499Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-19T18:26:04.499Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-19T18:26:04.499Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-19T18:26:04.499Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-19T18:26:04.499Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-19T18:26:04.499Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-19T18:26:04.499Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-19T18:26:04.499Z] -- /opt/iotech/iot/1.5/include [2024-12-19T18:26:04.499Z] -- C SDK 0.0.0 for Linux [2024-12-19T18:26:04.499Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-19T18:26:04.499Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-19T18:26:04.759Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-19T18:26:04.759Z] -- Configuring done (0.4s) [2024-12-19T18:26:04.759Z] -- Generating done (0.0s) [2024-12-19T18:26:04.759Z] -- Build files have been written to: /tmp/sdk/build/release [2024-12-19T18:26:04.759Z] + make all package [2024-12-19T18:26:04.759Z] + tee release.log [2024-12-19T18:26:04.759Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-19T18:26:04.759Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-19T18:26:05.019Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-19T18:26:05.279Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-19T18:26:05.279Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-19T18:26:05.539Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-19T18:26:05.539Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-19T18:26:05.800Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-19T18:26:06.060Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-19T18:26:06.060Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-19T18:26:06.322Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-19T18:26:06.322Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-19T18:26:06.322Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-19T18:26:06.583Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-19T18:26:06.583Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-19T18:26:06.844Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-19T18:26:07.104Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-12-19T18:26:07.104Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2024-12-19T18:26:07.104Z] from /tmp/sdk/src/c/registry.h:14, [2024-12-19T18:26:07.104Z] from /tmp/sdk/src/c/registry-impl.h:12, [2024-12-19T18:26:07.104Z] from /tmp/sdk/src/c/keeper.h:12, [2024-12-19T18:26:07.104Z] from /tmp/sdk/src/c/keeper.c:1: [2024-12-19T18:26:07.104Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2024-12-19T18:26:07.104Z] /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2024-12-19T18:26:07.104Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-19T18:26:07.104Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-19T18:26:07.104Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-19T18:26:07.104Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-19T18:26:07.104Z] | ^~~~~~~~~~~ [2024-12-19T18:26:07.104Z] /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here [2024-12-19T18:26:07.104Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-19T18:26:07.104Z] | ~^ [2024-12-19T18:26:07.104Z] | | [2024-12-19T18:26:07.104Z] | char * [2024-12-19T18:26:07.364Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-19T18:26:07.364Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-19T18:26:07.624Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2024-12-19T18:26:07.624Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-19T18:26:08.562Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-19T18:26:08.823Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-19T18:26:08.823Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-19T18:26:08.823Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-19T18:26:09.082Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-19T18:26:09.082Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-19T18:26:09.651Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-19T18:26:09.651Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-19T18:26:09.651Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-19T18:26:09.910Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-19T18:26:10.170Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-19T18:26:10.170Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-19T18:26:10.170Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-12-19T18:26:10.170Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-19T18:26:10.170Z] /tmp/sdk/src/c/service.c:883:21: note: 'deviceservices_config' was declared here [2024-12-19T18:26:10.170Z] 883 | const iot_data_t *deviceservices_config; [2024-12-19T18:26:10.170Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-19T18:26:10.170Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-19T18:26:10.431Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-19T18:26:10.431Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-19T18:26:10.431Z] [ 68%] Linking C shared library libcsdk.so [2024-12-19T18:26:10.692Z] [ 68%] Built target csdk [2024-12-19T18:26:10.692Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-19T18:26:10.692Z] [ 72%] Linking C executable template [2024-12-19T18:26:10.692Z] [ 72%] Built target template [2024-12-19T18:26:10.958Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-19T18:26:10.958Z] [ 76%] Linking C executable device-counter [2024-12-19T18:26:10.958Z] [ 76%] Built target device-counter [2024-12-19T18:26:10.958Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-19T18:26:11.218Z] [ 80%] Linking C executable device-random [2024-12-19T18:26:11.218Z] [ 80%] Built target device-random [2024-12-19T18:26:11.218Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-19T18:26:11.218Z] [ 84%] Linking C executable device-gyro [2024-12-19T18:26:11.218Z] [ 84%] Built target device-gyro [2024-12-19T18:26:11.479Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-19T18:26:11.479Z] [ 88%] Linking C executable device-bitfields [2024-12-19T18:26:11.479Z] [ 88%] Built target device-bitfields [2024-12-19T18:26:11.479Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-19T18:26:11.739Z] [ 92%] Linking C executable template-discovery [2024-12-19T18:26:11.739Z] [ 92%] Built target template-discovery [2024-12-19T18:26:11.739Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-19T18:26:11.999Z] [ 96%] Linking C executable device-file [2024-12-19T18:26:11.999Z] [ 96%] Built target device-file [2024-12-19T18:26:11.999Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-19T18:26:11.999Z] [100%] Linking C executable device-terminal [2024-12-19T18:26:12.261Z] [100%] Built target device-terminal [2024-12-19T18:26:12.261Z] Run CPack packaging tool... [2024-12-19T18:26:12.261Z] CPack: Create package using TGZ [2024-12-19T18:26:12.261Z] CPack: Install projects [2024-12-19T18:26:12.261Z] CPack: - Run preinstall target for: Csdk [2024-12-19T18:26:12.523Z] CPack: - Install project: Csdk [] [2024-12-19T18:26:12.523Z] CPack: Create package [2024-12-19T18:26:12.523Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-12-19T18:26:12.523Z] + '[' false '=' true ] [2024-12-19T18:26:12.523Z] + '[' false '=' true ] [2024-12-19T18:26:12.523Z] + mkdir -p /tmp/sdk/build/debug [2024-12-19T18:26:12.523Z] + cd /tmp/sdk/build/debug [2024-12-19T18:26:12.523Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-12-19T18:26:12.523Z] -- The C compiler identification is GNU 12.2.1 [2024-12-19T18:26:12.523Z] -- Detecting C compiler ABI info [2024-12-19T18:26:12.523Z] -- Detecting C compiler ABI info - done [2024-12-19T18:26:12.523Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-19T18:26:12.523Z] -- Detecting C compile features [2024-12-19T18:26:12.523Z] -- Detecting C compile features - done [2024-12-19T18:26:12.523Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-19T18:26:12.786Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-19T18:26:12.786Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-19T18:26:12.786Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-19T18:26:12.786Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-19T18:26:12.786Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-19T18:26:12.786Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-19T18:26:12.786Z] -- /opt/iotech/iot/1.5/include [2024-12-19T18:26:12.786Z] -- C SDK 0.0.0 for Linux [2024-12-19T18:26:12.786Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-19T18:26:12.786Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-19T18:26:12.786Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-19T18:26:12.786Z] -- Configuring done (0.4s) [2024-12-19T18:26:12.786Z] -- Generating done (0.0s) [2024-12-19T18:26:12.786Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-12-19T18:26:12.786Z] + make [2024-12-19T18:26:12.786Z] + tee debug.log [2024-12-19T18:26:13.047Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-19T18:26:13.047Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-19T18:26:13.047Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-19T18:26:13.047Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-19T18:26:13.308Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-19T18:26:13.308Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-19T18:26:13.308Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-19T18:26:13.569Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-19T18:26:13.569Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-19T18:26:13.569Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-19T18:26:13.833Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-19T18:26:13.833Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-19T18:26:13.833Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-19T18:26:13.833Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-19T18:26:14.095Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-19T18:26:14.095Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-19T18:26:14.095Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-12-19T18:26:14.095Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2024-12-19T18:26:14.095Z] from /tmp/sdk/src/c/registry.h:14, [2024-12-19T18:26:14.095Z] from /tmp/sdk/src/c/registry-impl.h:12, [2024-12-19T18:26:14.095Z] from /tmp/sdk/src/c/keeper.h:12, [2024-12-19T18:26:14.095Z] from /tmp/sdk/src/c/keeper.c:1: [2024-12-19T18:26:14.095Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2024-12-19T18:26:14.095Z] /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2024-12-19T18:26:14.095Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-19T18:26:14.095Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-19T18:26:14.095Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-19T18:26:14.095Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-19T18:26:14.095Z] | ^~~~~~~~~~~ [2024-12-19T18:26:14.095Z] /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here [2024-12-19T18:26:14.095Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-19T18:26:14.095Z] | ~^ [2024-12-19T18:26:14.095Z] | | [2024-12-19T18:26:14.095Z] | char * [2024-12-19T18:26:14.355Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-19T18:26:14.355Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-19T18:26:14.355Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2024-12-19T18:26:14.355Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-19T18:26:14.616Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-19T18:26:14.877Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-19T18:26:14.877Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-19T18:26:14.877Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-19T18:26:14.877Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-19T18:26:14.877Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-19T18:26:15.138Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-19T18:26:15.138Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-19T18:26:15.398Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-19T18:26:15.398Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-19T18:26:15.659Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-19T18:26:15.659Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-19T18:26:15.659Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-19T18:26:15.659Z] [ 68%] Linking C shared library libcsdk.so [2024-12-19T18:26:15.920Z] [ 68%] Built target csdk [2024-12-19T18:26:15.920Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-19T18:26:15.920Z] [ 72%] Linking C executable template [2024-12-19T18:26:15.920Z] [ 72%] Built target template [2024-12-19T18:26:15.920Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-19T18:26:15.920Z] [ 76%] Linking C executable device-counter [2024-12-19T18:26:16.181Z] [ 76%] Built target device-counter [2024-12-19T18:26:16.181Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-19T18:26:16.181Z] [ 80%] Linking C executable device-random [2024-12-19T18:26:16.181Z] [ 80%] Built target device-random [2024-12-19T18:26:16.181Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-19T18:26:16.441Z] [ 84%] Linking C executable device-gyro [2024-12-19T18:26:16.441Z] [ 84%] Built target device-gyro [2024-12-19T18:26:16.441Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-19T18:26:16.441Z] [ 88%] Linking C executable device-bitfields [2024-12-19T18:26:16.441Z] [ 88%] Built target device-bitfields [2024-12-19T18:26:16.441Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-19T18:26:16.702Z] [ 92%] Linking C executable template-discovery [2024-12-19T18:26:16.702Z] [ 92%] Built target template-discovery [2024-12-19T18:26:16.702Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-19T18:26:16.702Z] [ 96%] Linking C executable device-file [2024-12-19T18:26:16.962Z] [ 96%] Built target device-file [2024-12-19T18:26:16.962Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-19T18:26:16.962Z] [100%] Linking C executable device-terminal [2024-12-19T18:26:16.962Z] [100%] Built target device-terminal [2024-12-19T18:26:16.962Z] make: Entering directory '/tmp/sdk/build/release' [2024-12-19T18:26:16.962Z] [ 68%] Built target csdk [2024-12-19T18:26:17.224Z] [ 72%] Built target template [2024-12-19T18:26:17.224Z] [ 76%] Built target device-counter [2024-12-19T18:26:17.224Z] [ 80%] Built target device-random [2024-12-19T18:26:17.224Z] [ 84%] Built target device-gyro [2024-12-19T18:26:17.224Z] [ 88%] Built target device-bitfields [2024-12-19T18:26:17.224Z] [ 92%] Built target template-discovery [2024-12-19T18:26:17.224Z] [ 96%] Built target device-file [2024-12-19T18:26:17.224Z] [100%] Built target device-terminal [2024-12-19T18:26:17.224Z] Install the project... [2024-12-19T18:26:17.224Z] -- Install configuration: "Release" [2024-12-19T18:26:17.224Z] -- Installing: /usr/local/lib/libcsdk.so [2024-12-19T18:26:17.224Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-12-19T18:26:17.224Z] -- Installing: /usr/local/include [2024-12-19T18:26:17.224Z] -- Installing: /usr/local/include/devsdk [2024-12-19T18:26:17.224Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-12-19T18:26:17.224Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-12-19T18:26:17.224Z] -- Installing: /usr/local/include/edgex [2024-12-19T18:26:17.224Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-12-19T18:26:17.224Z] -- Installing: /usr/local/include/edgex/devices.h [2024-12-19T18:26:17.224Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-12-19T18:26:17.224Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-12-19T18:26:17.224Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-12-19T18:26:17.224Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-12-19T18:26:17.224Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-12-19T18:26:17.224Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-12-19T18:26:17.224Z] make: Leaving directory '/tmp/sdk/build/release' [2024-12-19T18:26:18.163Z] Removing intermediate container 11f2177bd3b8 [2024-12-19T18:26:18.163Z] ---> 9cef03eb2885 [2024-12-19T18:26:18.163Z] Step 14/22 : FROM ${BASE} [2024-12-19T18:26:18.163Z] ---> 6605166a5db4 [2024-12-19T18:26:18.163Z] Step 15/22 : LABEL maintainer="IOTech " [2024-12-19T18:26:18.163Z] ---> Running in c1f77491f2ed [2024-12-19T18:26:18.163Z] Removing intermediate container c1f77491f2ed [2024-12-19T18:26:18.163Z] ---> 748bc8a1a495 [2024-12-19T18:26:18.163Z] 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-19T18:26:18.163Z] ---> Running in 0bc24c953553 [2024-12-19T18:26:18.423Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-12-19T18:26:18.992Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-19T18:26:18.992Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-19T18:26:18.992Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-19T18:26:19.251Z] Removing intermediate container 0bc24c953553 [2024-12-19T18:26:19.251Z] ---> 5d57ea930bc3 [2024-12-19T18:26:19.251Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-19T18:26:19.251Z] ---> Running in 256979c2fa15 [2024-12-19T18:26:19.818Z] Removing intermediate container 256979c2fa15 [2024-12-19T18:26:19.818Z] ---> bb3c9c799dbe [2024-12-19T18:26:19.818Z] 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-19T18:26:19.818Z] ---> Running in d69adf756079 [2024-12-19T18:26:20.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-19T18:26:20.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-19T18:26:20.339Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-19T18:26:20.908Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-19T18:26:20.908Z] (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-12-19T18:26:20.908Z] (2/8) Installing curl (8.9.1-r1) [2024-12-19T18:26:20.908Z] (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-12-19T18:26:20.908Z] (4/8) Installing dumb-init (1.2.5-r2) [2024-12-19T18:26:20.908Z] (5/8) Installing libcbor (0.10.2-r1) [2024-12-19T18:26:20.908Z] (6/8) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-19T18:26:21.477Z] (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-19T18:26:21.738Z] (8/8) Installing libuuid (2.38.1-r8) [2024-12-19T18:26:21.738Z] Executing busybox-1.36.1-r4.trigger [2024-12-19T18:26:21.738Z] OK: 331 MiB in 88 packages [2024-12-19T18:26:22.312Z] Removing intermediate container d69adf756079 [2024-12-19T18:26:22.312Z] ---> ea9efd2a7465 [2024-12-19T18:26:22.312Z] Step 19/22 : RUN apk --no-cache upgrade [2024-12-19T18:26:22.312Z] ---> Running in e9e2852d0a87 [2024-12-19T18:26:22.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-19T18:26:22.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-19T18:26:22.832Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-19T18:26:23.402Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-19T18:26:23.402Z] Upgrading critical system libraries and apk-tools: [2024-12-19T18:26:23.402Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-12-19T18:26:23.402Z] Executing busybox-1.36.1-r4.trigger [2024-12-19T18:26:23.402Z] Continuing the upgrade transaction with new apk-tools: [2024-12-19T18:26:23.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-19T18:26:23.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-19T18:26:23.664Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-19T18:26:24.234Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-19T18:26:24.234Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-12-19T18:26:24.235Z] Executing busybox-1.36.1-r7.post-upgrade [2024-12-19T18:26:24.235Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-12-19T18:26:24.235Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-12-19T18:26:24.235Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-19T18:26:24.235Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-19T18:26:24.235Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-12-19T18:26:24.235Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-12-19T18:26:24.235Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-12-19T18:26:24.235Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-12-19T18:26:24.235Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-12-19T18:26:24.235Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-12-19T18:26:24.235Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-12-19T18:26:24.493Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-12-19T18:26:24.493Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-12-19T18:26:24.493Z] Executing busybox-1.36.1-r7.trigger [2024-12-19T18:26:24.493Z] Executing ca-certificates-20240226-r0.trigger [2024-12-19T18:26:24.493Z] OK: 331 MiB in 88 packages [2024-12-19T18:26:25.445Z] Removing intermediate container e9e2852d0a87 [2024-12-19T18:26:25.445Z] ---> 183226830b4f [2024-12-19T18:26:25.445Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-12-19T18:26:25.445Z] ---> 2f60a31b414a [2024-12-19T18:26:25.445Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-12-19T18:26:25.704Z] ---> f656c4c603c8 [2024-12-19T18:26:25.704Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-12-19T18:26:25.704Z] ---> 892e3a3d6fa5 [2024-12-19T18:26:25.704Z] Successfully built 892e3a3d6fa5 [2024-12-19T18:26:25.964Z] 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-19T18:26:26.705Z] + docker inspect -f . ci-base-image-x86_64 [2024-12-19T18:26:26.705Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-19T18:26:26.888Z] prd-ubuntu20.04-docker-8c-8g-35396 does not seem to be running inside a container [2024-12-19T18:26:26.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-537 -v /w/workspace/edgexfoundry_device-sdk-c_PR-537:/w/workspace/edgexfoundry_device-sdk-c_PR-537:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-537@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-537@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 ******** ci-base-image-x86_64 cat [2024-12-19T18:26:27.270Z] $ docker top d7dfcca8310b5b6fab006aa9cf69ac408c3f4461109b227171fc114f5e43ebb9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-19T18:26:27.681Z] + make test [2024-12-19T18:26:27.681Z] echo "make test" [2024-12-19T18:26:27.681Z] make test [Pipeline] } [2024-12-19T18:26:27.710Z] $ docker stop --time=1 d7dfcca8310b5b6fab006aa9cf69ac408c3f4461109b227171fc114f5e43ebb9 [2024-12-19T18:26:28.980Z] $ docker rm -f --volumes d7dfcca8310b5b6fab006aa9cf69ac408c3f4461109b227171fc114f5e43ebb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-12-19T18:26:29.897Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-12-19T18:26:30.222Z] + ls -al . [2024-12-19T18:26:30.222Z] total 212 [2024-12-19T18:26:30.222Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 19 18:25 . [2024-12-19T18:26:30.222Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 18:25 .. [2024-12-19T18:26:30.222Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 18:25 .git [2024-12-19T18:26:30.222Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 18:25 .github [2024-12-19T18:26:30.222Z] -rw-rw-r-- 1 jenkins jenkins 176 Dec 19 18:25 .gitignore [2024-12-19T18:26:30.222Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 18:25 .semver [2024-12-19T18:26:30.222Z] -rw-rw-r-- 1 jenkins jenkins 2908 Dec 19 18:25 Attribution.txt [2024-12-19T18:26:30.222Z] -rw-rw-r-- 1 jenkins jenkins 11953 Dec 19 18:25 CHANGELOG.md [2024-12-19T18:26:30.222Z] -rw-rw-r-- 1 jenkins jenkins 108574 Dec 19 18:25 Doxyfile [2024-12-19T18:26:30.222Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 18:25 GOVERNANCE.md [2024-12-19T18:26:30.222Z] -rw-rw-r-- 1 jenkins jenkins 784 Dec 19 18:25 Jenkinsfile [2024-12-19T18:26:30.222Z] -rw-rw-r-- 1 jenkins jenkins 10174 Dec 19 18:25 LICENSE [2024-12-19T18:26:30.222Z] -rw-rw-r-- 1 jenkins jenkins 444 Dec 19 18:25 Makefile [2024-12-19T18:26:30.222Z] -rw-rw-r-- 1 jenkins jenkins 618 Dec 19 18:25 OWNERS.md [2024-12-19T18:26:30.222Z] -rw-rw-r-- 1 jenkins jenkins 1651 Dec 19 18:25 README.IOT.md [2024-12-19T18:26:30.222Z] -rw-rw-r-- 1 jenkins jenkins 4173 Dec 19 18:25 README.md [2024-12-19T18:26:30.222Z] -rw-rw-r-- 1 jenkins jenkins 1245 Dec 19 18:25 README.v3.md [2024-12-19T18:26:30.222Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 18:25 VERSION [2024-12-19T18:26:30.222Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 18:25 docs [2024-12-19T18:26:30.222Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 18:25 include [2024-12-19T18:26:30.222Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 18:25 scripts [2024-12-19T18:26:30.222Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 18:25 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-19T18:26:30.637Z] + 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=0ad2933df34c4559a656531e5159a5fc5f5b1594 --label arch=amd64 --label version=0.0.0 . [2024-12-19T18:26:30.637Z] Sending build context to Docker daemon 5.449MB [2024-12-19T18:26:30.637Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-12-19T18:26:30.637Z] Step 2/18 : FROM ${BASE} [2024-12-19T18:26:30.637Z] ---> 892e3a3d6fa5 [2024-12-19T18:26:30.637Z] Step 3/18 : LABEL maintainer="IOTech " [2024-12-19T18:26:30.637Z] ---> Running in 4b4af5e55d30 [2024-12-19T18:26:30.897Z] Removing intermediate container 4b4af5e55d30 [2024-12-19T18:26:30.897Z] ---> 2bad8e33b53b [2024-12-19T18:26:30.897Z] 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-19T18:26:30.897Z] ---> Running in c59eef813f6c [2024-12-19T18:26:31.158Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-12-19T18:26:31.417Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-19T18:26:31.418Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-19T18:26:31.418Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-19T18:26:31.676Z] Removing intermediate container c59eef813f6c [2024-12-19T18:26:31.676Z] ---> 5b5b6542211c [2024-12-19T18:26:31.676Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-19T18:26:31.676Z] ---> Running in a92911ac0542 [2024-12-19T18:26:32.245Z] Removing intermediate container a92911ac0542 [2024-12-19T18:26:32.245Z] ---> 75742e70e518 [2024-12-19T18:26:32.245Z] 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-19T18:26:32.245Z] ---> Running in a54e046d795d [2024-12-19T18:26:32.504Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-19T18:26:32.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-19T18:26:33.024Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-19T18:26:33.593Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-19T18:26:33.593Z] (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-19T18:26:33.854Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-12-19T18:26:33.854Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-12-19T18:26:33.854Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-12-19T18:26:33.854Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-12-19T18:26:33.854Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-19T18:26:33.854Z] (7/11) Installing libblkid (2.38.1-r8) [2024-12-19T18:26:33.854Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-12-19T18:26:33.854Z] (9/11) Installing libmount (2.38.1-r8) [2024-12-19T18:26:33.854Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-12-19T18:26:33.854Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-12-19T18:26:33.854Z] Executing busybox-1.36.1-r7.trigger [2024-12-19T18:26:33.854Z] OK: 336 MiB in 99 packages [2024-12-19T18:26:34.422Z] Removing intermediate container a54e046d795d [2024-12-19T18:26:34.422Z] ---> 13ae171983f4 [2024-12-19T18:26:34.422Z] Step 7/18 : RUN apk --no-cache upgrade [2024-12-19T18:26:34.422Z] ---> Running in b63a13b78444 [2024-12-19T18:26:34.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-19T18:26:34.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-19T18:26:34.941Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-19T18:26:35.512Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-19T18:26:35.512Z] OK: 336 MiB in 99 packages [2024-12-19T18:26:35.772Z] Removing intermediate container b63a13b78444 [2024-12-19T18:26:35.772Z] ---> fa07b0111408 [2024-12-19T18:26:35.772Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-12-19T18:26:36.038Z] ---> 9ae336ecc89c [2024-12-19T18:26:36.038Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-12-19T18:26:36.298Z] ---> bd57d0d9dd22 [2024-12-19T18:26:36.298Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-12-19T18:26:36.298Z] ---> 5c657442bfa8 [2024-12-19T18:26:36.298Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-12-19T18:26:36.557Z] ---> 2247c45c85f7 [2024-12-19T18:26:36.558Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-12-19T18:26:36.558Z] ---> 660584be1def [2024-12-19T18:26:36.558Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-12-19T18:26:36.817Z] ---> e5701b40a26a [2024-12-19T18:26:36.818Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-12-19T18:26:36.818Z] ---> Running in 74b4085959d3 [2024-12-19T18:26:36.818Z] Removing intermediate container 74b4085959d3 [2024-12-19T18:26:36.818Z] ---> 6f3b3be9cbd4 [2024-12-19T18:26:36.818Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-12-19T18:26:36.818Z] ---> Running in c51309b1196a [2024-12-19T18:26:36.818Z] Removing intermediate container c51309b1196a [2024-12-19T18:26:36.818Z] ---> 802b6c364f23 [2024-12-19T18:26:36.818Z] Step 16/18 : LABEL arch=amd64 [2024-12-19T18:26:36.818Z] ---> Running in 60ecd1aa661b [2024-12-19T18:26:37.077Z] Removing intermediate container 60ecd1aa661b [2024-12-19T18:26:37.077Z] ---> a9db2d944c07 [2024-12-19T18:26:37.077Z] Step 17/18 : LABEL git_sha=0ad2933df34c4559a656531e5159a5fc5f5b1594 [2024-12-19T18:26:37.077Z] ---> Running in 1c8f9a5cecea [2024-12-19T18:26:37.077Z] Removing intermediate container 1c8f9a5cecea [2024-12-19T18:26:37.077Z] ---> b738f92f6ad4 [2024-12-19T18:26:37.077Z] Step 18/18 : LABEL version=0.0.0 [2024-12-19T18:26:37.077Z] ---> Running in 2bc5bf28b1e4 [2024-12-19T18:26:37.077Z] Removing intermediate container 2bc5bf28b1e4 [2024-12-19T18:26:37.077Z] ---> c603508c958b [2024-12-19T18:26:37.077Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-12-19T18:26:37.338Z] Successfully built c603508c958b [2024-12-19T18:26:37.338Z] 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-19T18:26:39.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-19T18:26:39.298Z] [2024-12-19T18:26:39.298Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-19T18:26:39.694Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-19T18:26:39.694Z] latest: Pulling from edgex-lftools-log-publisher [2024-12-19T18:26:39.694Z] 5eb5b503b376: Pulling fs layer [2024-12-19T18:26:39.694Z] 5c69ac0246d0: Pulling fs layer [2024-12-19T18:26:39.694Z] ec43610c2a17: Pulling fs layer [2024-12-19T18:26:39.694Z] 3a2ae6a8a46f: Pulling fs layer [2024-12-19T18:26:39.694Z] 33b1e0a273af: Pulling fs layer [2024-12-19T18:26:39.694Z] 5d3b04190fa2: Pulling fs layer [2024-12-19T18:26:39.694Z] 2f39f015ded8: Pulling fs layer [2024-12-19T18:26:39.694Z] 33b1e0a273af: Waiting [2024-12-19T18:26:39.694Z] 3a2ae6a8a46f: Waiting [2024-12-19T18:26:39.694Z] 5d3b04190fa2: Waiting [2024-12-19T18:26:39.694Z] 5c69ac0246d0: Download complete [2024-12-19T18:26:39.694Z] 3a2ae6a8a46f: Verifying Checksum [2024-12-19T18:26:39.694Z] 3a2ae6a8a46f: Download complete [2024-12-19T18:26:39.694Z] ec43610c2a17: Verifying Checksum [2024-12-19T18:26:39.694Z] ec43610c2a17: Download complete [2024-12-19T18:26:39.694Z] 33b1e0a273af: Verifying Checksum [2024-12-19T18:26:39.694Z] 33b1e0a273af: Download complete [2024-12-19T18:26:39.694Z] 5d3b04190fa2: Download complete [2024-12-19T18:26:39.953Z] 5eb5b503b376: Verifying Checksum [2024-12-19T18:26:39.953Z] 5eb5b503b376: Download complete [2024-12-19T18:26:40.519Z] 2f39f015ded8: Verifying Checksum [2024-12-19T18:26:40.519Z] 2f39f015ded8: Download complete [2024-12-19T18:26:41.088Z] 5eb5b503b376: Pull complete [2024-12-19T18:26:41.348Z] 5c69ac0246d0: Pull complete [2024-12-19T18:26:41.607Z] ec43610c2a17: Pull complete [2024-12-19T18:26:41.866Z] 3a2ae6a8a46f: Pull complete [2024-12-19T18:26:42.125Z] 33b1e0a273af: Pull complete [2024-12-19T18:26:42.125Z] 5d3b04190fa2: Pull complete [2024-12-19T18:26:47.432Z] 2f39f015ded8: Pull complete [2024-12-19T18:26:47.432Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-12-19T18:26:47.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-19T18:26:47.432Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-19T18:26:47.700Z] prd-ubuntu20.04-docker-8c-8g-35396 does not seem to be running inside a container [2024-12-19T18:26:47.727Z] $ 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-537 -v /w/workspace/edgexfoundry_device-sdk-c_PR-537:/w/workspace/edgexfoundry_device-sdk-c_PR-537:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-537@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-537@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-12-19T18:26:52.464Z] $ docker top 89350b388a021425c70d2f5c0e1a40352aeee381dbfab65138555f6ff50e8428 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-19T18:26:52.960Z] ---> job-cost.sh [2024-12-19T18:26:52.960Z] lf-activate-venv: SKIPPING [2024-12-19T18:26:52.960Z] INFO: No Stack... [2024-12-19T18:26:53.223Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-19T18:26:53.791Z] INFO: Archiving Costs [Pipeline] sh [2024-12-19T18:26:54.111Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-537/archives/cost.csv [2024-12-19T18:26:54.111Z] + cut -d, -f6 [Pipeline] lock [2024-12-19T18:26:54.156Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-537-1-stack-cost] [2024-12-19T18:26:54.163Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-537-1-stack-cost] did not exist. Created. [2024-12-19T18:26:54.171Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-537-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-12-19T18:26:54.596Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-12-19T18:26:54.677Z] Stashed 1 file(s) [Pipeline] } [2024-12-19T18:26:54.696Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-537-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-12-19T18:26:54.778Z] $ docker stop --time=1 89350b388a021425c70d2f5c0e1a40352aeee381dbfab65138555f6ff50e8428 [2024-12-19T18:26:55.937Z] $ docker rm -f --volumes 89350b388a021425c70d2f5c0e1a40352aeee381dbfab65138555f6ff50e8428 [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 [2024-12-19T18:26:57.568Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-537/archives ] [2024-12-19T18:26:57.568Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-537/archives [2024-12-19T18:26:57.568Z] total 16 [2024-12-19T18:26:57.568Z] drwxr-xr-x 3 root root 4096 Dec 19 18:26 . [2024-12-19T18:26:57.568Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 18:26 .. [2024-12-19T18:26:57.568Z] drwxr-xr-x 2 root root 4096 Dec 19 18:26 cost [2024-12-19T18:26:57.568Z] -rw-r--r-- 1 root root 84 Dec 19 18:26 cost.csv [2024-12-19T18:26:57.568Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-537/archives [2024-12-19T18:26:57.568Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-537/archives [2024-12-19T18:26:57.568Z] total 16 [2024-12-19T18:26:57.568Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 18:26 . [2024-12-19T18:26:57.568Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 18:26 .. [2024-12-19T18:26:57.568Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 19 18:26 cost [2024-12-19T18:26:57.568Z] -rw-r--r-- 1 jenkins jenkins 84 Dec 19 18:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-12-19T18:26:57.913Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-19T18:26:58.813Z] ---> package-listing.sh [2024-12-19T18:26:58.813Z] ++ facter osfamily [2024-12-19T18:26:58.813Z] ++ tr '[:upper:]' '[:lower:]' [2024-12-19T18:26:59.072Z] + OS_FAMILY=debian [2024-12-19T18:26:59.072Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-537 [2024-12-19T18:26:59.072Z] + START_PACKAGES=/tmp/packages_start.txt [2024-12-19T18:26:59.072Z] + END_PACKAGES=/tmp/packages_end.txt [2024-12-19T18:26:59.072Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-12-19T18:26:59.072Z] + PACKAGES=/tmp/packages_start.txt [2024-12-19T18:26:59.072Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-537 ']' [2024-12-19T18:26:59.072Z] + PACKAGES=/tmp/packages_end.txt [2024-12-19T18:26:59.072Z] + case "${OS_FAMILY}" in [2024-12-19T18:26:59.072Z] + dpkg -l [2024-12-19T18:26:59.072Z] + grep '^ii' [2024-12-19T18:26:59.072Z] + '[' -f /tmp/packages_start.txt ']' [2024-12-19T18:26:59.072Z] + '[' -f /tmp/packages_end.txt ']' [2024-12-19T18:26:59.072Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-12-19T18:26:59.072Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-537 ']' [2024-12-19T18:26:59.072Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-537/archives/ [2024-12-19T18:26:59.072Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-537/archives/ [Pipeline] echo [2024-12-19T18:26:59.107Z] 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-537/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-12-19T18:26:59.405Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-19T18:27:00.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-19T18:27:00.050Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-19T18:27:00.211Z] prd-ubuntu20.04-docker-8c-8g-35396 does not seem to be running inside a container [2024-12-19T18:27:00.247Z] $ 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-537/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-537 -v /w/workspace/edgexfoundry_device-sdk-c_PR-537:/w/workspace/edgexfoundry_device-sdk-c_PR-537:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-537@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-537@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-12-19T18:27:00.504Z] $ docker top c603d29c37a80da6ed761f9a914ad3fa369edf7a58ad934110c85a06a8aae5ce -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-19T18:27:00.914Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-12-19T18:27:01.231Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-12-19T18:27:01.544Z] + ls /var/log/sa-host [2024-12-19T18:27:01.544Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-19T18:27:01.781Z] provisioning config files... [2024-12-19T18:27:01.791Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-537@tmp/config5577614847959400753tmp [Pipeline] { [Pipeline] echo [2024-12-19T18:27:01.866Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-19T18:27:02.194Z] ---> create-netrc.sh [Pipeline] } [2024-12-19T18:27:02.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-12-19T18:27:02.689Z] ---> python-tools-install.sh [Pipeline] echo [2024-12-19T18:27:02.730Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-19T18:27:03.064Z] ---> sudo-logs.sh [2024-12-19T18:27:03.064Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-12-19T18:27:03.171Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-19T18:27:03.507Z] ---> job-cost.sh [2024-12-19T18:27:03.507Z] lf-activate-venv: SKIPPING [2024-12-19T18:27:03.507Z] DEBUG: total: 0.2199999988079071 [2024-12-19T18:27:03.507Z] INFO: Retrieving Stack Cost... [2024-12-19T18:27:03.507Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-19T18:27:04.076Z] INFO: Archiving Costs [Pipeline] echo [2024-12-19T18:27:04.120Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-19T18:27:04.447Z] ---> logs-deploy.sh [2024-12-19T18:27:04.447Z] lf-activate-venv: SKIPPING [2024-12-19T18:27:04.447Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-537/1 [2024-12-19T18:27:04.447Z] INFO: archiving workspace using pattern(s): [2024-12-19T18:27:05.385Z] Archives upload complete. [2024-12-19T18:27:05.645Z] INFO: archiving logs to Nexus [2024-12-19T18:27:06.214Z] ---> uname -a: [2024-12-19T18:27:06.214Z] Linux prd-ubuntu20-04-docker-8c-8g-35396 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z] ---> lscpu: [2024-12-19T18:27:06.214Z] Architecture: x86_64 [2024-12-19T18:27:06.214Z] CPU op-mode(s): 32-bit, 64-bit [2024-12-19T18:27:06.214Z] Byte Order: Little Endian [2024-12-19T18:27:06.214Z] Address sizes: 40 bits physical, 48 bits virtual [2024-12-19T18:27:06.214Z] CPU(s): 8 [2024-12-19T18:27:06.214Z] On-line CPU(s) list: 0-7 [2024-12-19T18:27:06.214Z] Thread(s) per core: 1 [2024-12-19T18:27:06.214Z] Core(s) per socket: 1 [2024-12-19T18:27:06.214Z] Socket(s): 8 [2024-12-19T18:27:06.214Z] NUMA node(s): 1 [2024-12-19T18:27:06.214Z] Vendor ID: AuthenticAMD [2024-12-19T18:27:06.214Z] CPU family: 23 [2024-12-19T18:27:06.214Z] Model: 49 [2024-12-19T18:27:06.214Z] Model name: AMD EPYC-Rome Processor [2024-12-19T18:27:06.214Z] Stepping: 0 [2024-12-19T18:27:06.214Z] CPU MHz: 2799.998 [2024-12-19T18:27:06.214Z] BogoMIPS: 5599.99 [2024-12-19T18:27:06.214Z] Virtualization: AMD-V [2024-12-19T18:27:06.214Z] Hypervisor vendor: KVM [2024-12-19T18:27:06.214Z] Virtualization type: full [2024-12-19T18:27:06.214Z] L1d cache: 256 KiB [2024-12-19T18:27:06.214Z] L1i cache: 256 KiB [2024-12-19T18:27:06.214Z] L2 cache: 4 MiB [2024-12-19T18:27:06.214Z] L3 cache: 128 MiB [2024-12-19T18:27:06.214Z] NUMA node0 CPU(s): 0-7 [2024-12-19T18:27:06.214Z] Vulnerability Itlb multihit: Not affected [2024-12-19T18:27:06.214Z] Vulnerability L1tf: Not affected [2024-12-19T18:27:06.214Z] Vulnerability Mds: Not affected [2024-12-19T18:27:06.214Z] Vulnerability Meltdown: Not affected [2024-12-19T18:27:06.214Z] Vulnerability Mmio stale data: Not affected [2024-12-19T18:27:06.214Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2024-12-19T18:27:06.214Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2024-12-19T18:27:06.214Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2024-12-19T18:27:06.214Z] Vulnerability Srbds: Not affected [2024-12-19T18:27:06.214Z] Vulnerability Tsx async abort: Not affected [2024-12-19T18:27:06.214Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z] ---> nproc: [2024-12-19T18:27:06.214Z] 8 [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z] ---> df -h: [2024-12-19T18:27:06.214Z] Filesystem Size Used Avail Use% Mounted on [2024-12-19T18:27:06.214Z] overlay 155G 11G 145G 7% / [2024-12-19T18:27:06.214Z] tmpfs 64M 0 64M 0% /dev [2024-12-19T18:27:06.214Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2024-12-19T18:27:06.214Z] shm 64M 0 64M 0% /dev/shm [2024-12-19T18:27:06.214Z] /dev/vda1 155G 11G 145G 7% /facter-os [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z] ---> sar -b -r -n DEV: [2024-12-19T18:27:06.214Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-35396) 12/19/24 _x86_64_ (8 CPU) [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z] 18:24:42 LINUX RESTART (8 CPU) [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z] 18:25:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2024-12-19T18:27:06.214Z] 18:26:01 344.21 41.09 303.12 0.00 4577.24 62170.30 0.00 [2024-12-19T18:27:06.214Z] 18:27:01 220.25 0.37 219.88 0.00 28.26 22925.25 0.00 [2024-12-19T18:27:06.214Z] Average: 282.23 20.73 261.50 0.00 2302.75 42547.78 0.00 [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z] 18:25:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2024-12-19T18:27:06.214Z] 18:26:01 29538364 31570840 765076 2.33 65076 2252764 1929028 5.69 997420 1989212 3312 [2024-12-19T18:27:06.214Z] 18:27:01 28961584 31544376 757348 2.30 90900 2739344 1806684 5.32 1084016 2406336 156 [2024-12-19T18:27:06.214Z] Average: 29249974 31557608 761212 2.31 77988 2496054 1867856 5.50 1040718 2197774 1734 [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z] 18:25:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2024-12-19T18:27:06.214Z] 18:26:01 lo 6.53 6.53 0.64 0.64 0.00 0.00 0.00 0.00 [2024-12-19T18:27:06.214Z] 18:26:01 docker0 11.56 14.28 0.87 99.49 0.00 0.00 0.00 0.00 [2024-12-19T18:27:06.214Z] 18:26:01 ens3 508.55 332.36 4574.75 94.76 0.00 0.00 0.00 0.00 [2024-12-19T18:27:06.214Z] 18:27:01 lo 1.40 1.40 0.13 0.13 0.00 0.00 0.00 0.00 [2024-12-19T18:27:06.214Z] 18:27:01 docker0 16.73 28.05 1.12 326.08 0.00 0.00 0.00 0.00 [2024-12-19T18:27:06.214Z] 18:27:01 ens3 186.12 111.41 2912.20 36.93 0.00 0.00 0.00 0.00 [2024-12-19T18:27:06.214Z] Average: lo 3.97 3.97 0.39 0.39 0.00 0.00 0.00 0.00 [2024-12-19T18:27:06.214Z] Average: docker0 14.15 21.16 1.00 212.79 0.00 0.00 0.00 0.00 [2024-12-19T18:27:06.214Z] Average: ens3 347.33 221.89 3743.48 65.84 0.00 0.00 0.00 0.00 [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z] ---> sar -P ALL: [2024-12-19T18:27:06.214Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-35396) 12/19/24 _x86_64_ (8 CPU) [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z] 18:24:42 LINUX RESTART (8 CPU) [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z] 18:25:01 CPU %user %nice %system %iowait %steal %idle [2024-12-19T18:27:06.214Z] 18:26:01 all 8.43 0.00 2.93 2.95 0.05 85.64 [2024-12-19T18:27:06.214Z] 18:26:01 0 8.06 0.00 3.79 4.26 0.07 83.83 [2024-12-19T18:27:06.214Z] 18:26:01 1 6.28 0.00 2.74 4.09 0.05 86.83 [2024-12-19T18:27:06.214Z] 18:26:01 2 10.83 0.00 2.72 4.30 0.05 82.10 [2024-12-19T18:27:06.214Z] 18:26:01 3 7.66 0.00 3.78 6.87 0.05 81.63 [2024-12-19T18:27:06.214Z] 18:26:01 4 9.29 0.00 2.42 0.35 0.05 87.88 [2024-12-19T18:27:06.214Z] 18:26:01 5 7.84 0.00 2.46 3.16 0.05 86.49 [2024-12-19T18:27:06.214Z] 18:26:01 6 8.61 0.00 2.87 0.07 0.05 88.41 [2024-12-19T18:27:06.214Z] 18:26:01 7 8.84 0.00 2.66 0.52 0.05 87.93 [2024-12-19T18:27:06.214Z] 18:27:01 all 7.53 0.00 3.37 1.72 0.06 87.33 [2024-12-19T18:27:06.214Z] 18:27:01 0 8.04 0.00 4.01 0.18 0.07 87.69 [2024-12-19T18:27:06.214Z] 18:27:01 1 5.09 0.00 3.49 7.86 0.07 83.49 [2024-12-19T18:27:06.214Z] 18:27:01 2 8.29 0.00 3.42 1.48 0.07 86.74 [2024-12-19T18:27:06.214Z] 18:27:01 3 10.23 0.00 3.91 0.60 0.07 85.18 [2024-12-19T18:27:06.214Z] 18:27:01 4 9.05 0.00 3.48 0.15 0.05 87.27 [2024-12-19T18:27:06.214Z] 18:27:01 5 6.52 0.00 2.96 0.37 0.05 90.09 [2024-12-19T18:27:06.214Z] 18:27:01 6 7.48 0.00 3.04 0.25 0.05 89.18 [2024-12-19T18:27:06.214Z] 18:27:01 7 5.47 0.00 2.59 2.88 0.07 88.99 [2024-12-19T18:27:06.214Z] Average: all 7.98 0.00 3.15 2.34 0.06 86.48 [2024-12-19T18:27:06.214Z] Average: 0 8.05 0.00 3.90 2.21 0.07 85.77 [2024-12-19T18:27:06.214Z] Average: 1 5.68 0.00 3.12 5.98 0.06 85.16 [2024-12-19T18:27:06.214Z] Average: 2 9.56 0.00 3.07 2.89 0.06 84.42 [2024-12-19T18:27:06.214Z] Average: 3 8.95 0.00 3.85 3.74 0.06 83.41 [2024-12-19T18:27:06.214Z] Average: 4 9.17 0.00 2.95 0.25 0.05 87.58 [2024-12-19T18:27:06.214Z] Average: 5 7.18 0.00 2.71 1.77 0.05 88.29 [2024-12-19T18:27:06.214Z] Average: 6 8.04 0.00 2.96 0.16 0.05 88.79 [2024-12-19T18:27:06.214Z] Average: 7 7.16 0.00 2.63 1.70 0.06 88.46 [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z] [2024-12-19T18:27:06.214Z]