Pull request #551 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 M0hanrajp for edgexfoundry/device-sdk-c Loading trusted files from base branch main at eb5cdce89b0962bcd2b083fabb45f85a531a29c5 rather than 437cedec99f095b414dd258198aec3214fc29360 Obtained Jenkinsfile from eb5cdce89b0962bcd2b083fabb45f85a531a29c5 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-ssh1189926437960616426.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-ssh3401973720187487268.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-551/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-551/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4467252321979360025.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-551/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12297761061546741063.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-ssh8909896465264209360.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-551/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-551/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17660270062514776373.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-39625 in /w/workspace/edgexfoundry_device-sdk-c_PR-551 [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-551 # 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/551/head:refs/remotes/origin/PR-551 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit eb5cdce89b0962bcd2b083fabb45f85a531a29c5 into PR head commit 437cedec99f095b414dd258198aec3214fc29360 Merge succeeded, producing 437cedec99f095b414dd258198aec3214fc29360 Checking out Revision 437cedec99f095b414dd258198aec3214fc29360 (PR-551) > git config core.sparsecheckout # timeout=10 > git checkout -f 437cedec99f095b414dd258198aec3214fc29360 # 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 eb5cdce89b0962bcd2b083fabb45f85a531a29c5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 437cedec99f095b414dd258198aec3214fc29360 # timeout=10 Commit message: "refactor(device-sdk-c): fix -Wformat-security warnings" 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 17:49:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:49:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:49:37 ========================================================= 17:49:37 EdgeX Global Pipelines Version Info 17:49:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:49:38 ------------------- 17:49:38 stable info: 17:49:38 ------------------- 17:49:38 Commited By: Cherry Wang cherry@iotechsys.com 17:49:38 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 17:49:38 Message: update stable to v1.0.269 17:49:39 ------------------- 17:49:39 experimental info: 17:49:39 ------------------- 17:49:39 Commited By: **** collab-it+edgex@linuxfoundation.org 17:49:39 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 17:49:39 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:49:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 17:49:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 17:49:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:49:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:49:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:49:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 17:49:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 17:49:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:49:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:49:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 17:49:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:49:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:49:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:49:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:49:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:49:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:49:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:49:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-551 [Pipeline] echo 17:49:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-551 [Pipeline] echo 17:49:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-551 [Pipeline] echo 17:49:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 437cedec99f095b414dd258198aec3214fc29360 [Pipeline] echo 17:49:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 437cede [Pipeline] echo 17:49:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:49:40 provisioning config files... 17:49:40 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp/config13686717998413592663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:49:41 ---> ****-login.sh 17:49:41 nexus3.edgexfoundry.org:10001 17:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:49:41 Configure a credential helper to remove this warning. See 17:49:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:49:41 17:49:41 Login Succeeded 17:49:41 nexus3.edgexfoundry.org:10002 17:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:49:41 Configure a credential helper to remove this warning. See 17:49:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:49:41 17:49:41 Login Succeeded 17:49:41 nexus3.edgexfoundry.org:10003 17:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:49:41 Configure a credential helper to remove this warning. See 17:49:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:49:41 17:49:41 Login Succeeded 17:49:41 nexus3.edgexfoundry.org:10004 17:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:49:42 Configure a credential helper to remove this warning. See 17:49:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:49:42 17:49:42 Login Succeeded 17:49:42 ****.io 17:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:49:42 Configure a credential helper to remove this warning. See 17:49:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:49:42 17:49:42 Login Succeeded 17:49:42 ---> ****-login.sh ends [Pipeline] } 17:49:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 17:49:43 + git rev-list -1 --merges 437cedec99f095b414dd258198aec3214fc29360~1..437cedec99f095b414dd258198aec3214fc29360 [Pipeline] echo 17:49:43 -----------> git rev-list -1 --merges 437cedec99f095b414dd258198aec3214fc29360~1..437cedec99f095b414dd258198aec3214fc29360 437cedec99f095b414dd258198aec3214fc29360 [false] [Pipeline] sh 17:49:43 + git log --format=format:%s -1 437cedec99f095b414dd258198aec3214fc29360 [Pipeline] echo 17:49:43 ========================================================= 17:49:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:49:43 ========================================================= 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 17:49:44 + git rev-list -1 --merges 437cedec99f095b414dd258198aec3214fc29360~1..437cedec99f095b414dd258198aec3214fc29360 [Pipeline] echo 17:49:44 -----------> git rev-list -1 --merges 437cedec99f095b414dd258198aec3214fc29360~1..437cedec99f095b414dd258198aec3214fc29360 437cedec99f095b414dd258198aec3214fc29360 [false] [Pipeline] sh 17:49:44 + git log --format=format:%s -1 437cedec99f095b414dd258198aec3214fc29360 [Pipeline] echo 17:49:44 ========================================================= 17:49:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:49:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 17:49:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:49:45 + grep -v github /etc/ssh/ssh_known_hosts 17:49:45 + [ -e /tmp/ssh_known_hosts ] 17:49:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:49:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:49:45 + sudo tee -a /etc/ssh/ssh_known_hosts 17:49:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:49:45 17:49:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:49:46 0.1.4: Pulling from edgex-devops/py-git-semver 17:49:46 b85a868b505f: Pulling fs layer 17:49:46 e2be974225ed: Pulling fs layer 17:49:46 339a4e72a1f5: Pulling fs layer 17:49:46 988bab9f4d93: Pulling fs layer 17:49:46 1469e6f7b9e6: Pulling fs layer 17:49:46 eaf3925da568: Pulling fs layer 17:49:46 bab4dde63d76: Pulling fs layer 17:49:46 bde34c3a00c8: Pulling fs layer 17:49:46 b352a97aabf1: Pulling fs layer 17:49:46 4872d77fe225: Pulling fs layer 17:49:46 5851b861e8e6: Pulling fs layer 17:49:46 4872d77fe225: Waiting 17:49:46 bab4dde63d76: Waiting 17:49:46 bde34c3a00c8: Waiting 17:49:46 b352a97aabf1: Waiting 17:49:46 1469e6f7b9e6: Waiting 17:49:46 eaf3925da568: Waiting 17:49:46 988bab9f4d93: Waiting 17:49:46 5851b861e8e6: Waiting 17:49:46 e2be974225ed: Verifying Checksum 17:49:46 e2be974225ed: Download complete 17:49:46 988bab9f4d93: Verifying Checksum 17:49:46 988bab9f4d93: Download complete 17:49:46 1469e6f7b9e6: Verifying Checksum 17:49:46 1469e6f7b9e6: Download complete 17:49:46 339a4e72a1f5: Verifying Checksum 17:49:46 339a4e72a1f5: Download complete 17:49:46 eaf3925da568: Verifying Checksum 17:49:46 eaf3925da568: Download complete 17:49:46 bde34c3a00c8: Verifying Checksum 17:49:46 bde34c3a00c8: Download complete 17:49:46 b352a97aabf1: Verifying Checksum 17:49:46 b352a97aabf1: Download complete 17:49:46 4872d77fe225: Verifying Checksum 17:49:46 4872d77fe225: Download complete 17:49:46 5851b861e8e6: Download complete 17:49:46 b85a868b505f: Verifying Checksum 17:49:46 b85a868b505f: Download complete 17:49:46 bab4dde63d76: Verifying Checksum 17:49:46 bab4dde63d76: Download complete 17:49:47 b85a868b505f: Pull complete 17:49:47 e2be974225ed: Pull complete 17:49:48 339a4e72a1f5: Pull complete 17:49:48 988bab9f4d93: Pull complete 17:49:48 1469e6f7b9e6: Pull complete 17:49:48 eaf3925da568: Pull complete 17:49:50 bab4dde63d76: Pull complete 17:49:50 bde34c3a00c8: Pull complete 17:49:50 b352a97aabf1: Pull complete 17:49:50 4872d77fe225: Pull complete 17:49:50 5851b861e8e6: Pull complete 17:49:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:49:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:49:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:50 prd-ubuntu20.04-docker-8c-8g-39625 does not seem to be running inside a container 17:49:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-551 -v /w/workspace/edgexfoundry_device-sdk-c_PR-551:/w/workspace/edgexfoundry_device-sdk-c_PR-551:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-551@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:49:52 $ docker top 089aa5a338620feaa3cf97050543fc5fd930566e35709aeb1e99f19b2472bb24 -eo pid,comm 17:49:52 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). 17:49:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:49:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:52 [ssh-agent] Looking for ssh-agent implementation... 17:49:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:53 $ docker exec 089aa5a338620feaa3cf97050543fc5fd930566e35709aeb1e99f19b2472bb24 ssh-agent 17:49:53 SSH_AUTH_SOCK=/tmp/ssh-icK8jZgaMB6q/agent.32 17:49:53 SSH_AGENT_PID=38 17:49:53 Running ssh-add (command line suppressed) 17:49:53 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp/private_key_7239116331128371458.key (/w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp/private_key_7239116331128371458.key) 17:49:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:53 + git tag --points-at HEAD [Pipeline] } 17:49:53 $ docker exec --env ******** --env ******** 089aa5a338620feaa3cf97050543fc5fd930566e35709aeb1e99f19b2472bb24 ssh-agent -k 17:49:53 unset SSH_AUTH_SOCK; 17:49:53 unset SSH_AGENT_PID; 17:49:53 echo Agent pid 38 killed; 17:49:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:49:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:53 [ssh-agent] Looking for ssh-agent implementation... 17:49:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:54 $ docker exec 089aa5a338620feaa3cf97050543fc5fd930566e35709aeb1e99f19b2472bb24 ssh-agent 17:49:54 SSH_AUTH_SOCK=/tmp/ssh-mqcMaaivaoHv/agent.71 17:49:54 SSH_AGENT_PID=77 17:49:54 Running ssh-add (command line suppressed) 17:49:54 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp/private_key_16934028997964392793.key (/w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp/private_key_16934028997964392793.key) 17:49:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:54 + git semver init 17:49:54 2025-02-24 17:49:54,765 [run_init] DEBUG init version:0.0.0 force:False 17:49:54 2025-02-24 17:49:54,766 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-551/.semver 17:49:54 2025-02-24 17:49:54,766 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-551/.semver 17:49:54 2025-02-24 17:49:54,767 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-551/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-551, universal_newlines=False, shell=None, istream=None) 17:49:55 2025-02-24 17:49:55,525 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-551/.git/info/exclude 17:49:55 2025-02-24 17:49:55,526 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-551/.semver/PR-551 with force:False 17:49:55 2025-02-24 17:49:55,526 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-551/.semver/PR-551 17:49:55 2025-02-24 17:49:55,530 [execute] INFO git cat-file --batch-check 17:49:55 2025-02-24 17:49:55,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-551/.semver, universal_newlines=False, shell=None, istream=) 17:49:55 2025-02-24 17:49:55,536 [execute] INFO git cat-file --batch 17:49:55 2025-02-24 17:49:55,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-551/.semver, universal_newlines=False, shell=None, istream=) 17:49:55 2025-02-24 17:49:55,542 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-551/.semver/PR-551 17:49:55 0.0.0 [Pipeline] } 17:49:55 $ docker exec --env ******** --env ******** 089aa5a338620feaa3cf97050543fc5fd930566e35709aeb1e99f19b2472bb24 ssh-agent -k 17:49:55 unset SSH_AUTH_SOCK; 17:49:55 unset SSH_AGENT_PID; 17:49:55 echo Agent pid 77 killed; 17:49:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:49:56 + git semver [Pipeline] } 17:49:56 $ docker stop --time=1 089aa5a338620feaa3cf97050543fc5fd930566e35709aeb1e99f19b2472bb24 17:49:58 $ docker rm -f --volumes 089aa5a338620feaa3cf97050543fc5fd930566e35709aeb1e99f19b2472bb24 [Pipeline] // withDockerContainer [Pipeline] sh 17:49:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:49:58 Stashed 1 file(s) [Pipeline] echo 17:49:58 [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 17:49:59 provisioning config files... 17:49:59 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp/config3766989969149853285tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 17:50:00 ---> ****-login.sh 17:50:00 nexus3.edgexfoundry.org:10001 17:50:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:50:00 Configure a credential helper to remove this warning. See 17:50:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:50:00 17:50:00 Login Succeeded 17:50:00 nexus3.edgexfoundry.org:10002 17:50:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:50:00 Configure a credential helper to remove this warning. See 17:50:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:50:00 17:50:00 Login Succeeded 17:50:00 nexus3.edgexfoundry.org:10003 17:50:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:50:00 Configure a credential helper to remove this warning. See 17:50:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:50:00 17:50:00 Login Succeeded 17:50:00 nexus3.edgexfoundry.org:10004 17:50:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:50:00 Configure a credential helper to remove this warning. See 17:50:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:50:00 17:50:00 Login Succeeded 17:50:00 ****.io 17:50:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:50:00 Configure a credential helper to remove this warning. See 17:50:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:50:00 17:50:00 Login Succeeded 17:50:00 ---> ****-login.sh ends [Pipeline] } 17:50:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:50:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:50:01 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 17:50:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:50:01 ========================================================= 17:50:01 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 17:50:01 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:01 + 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 . 17:50:01 Sending build context to Docker daemon 5.519MB 17:50:01 Step 1/22 : ARG BASE=alpine:3.18 17:50:01 Step 2/22 : FROM ${BASE} as builder 17:50:01 latest: Pulling from edgex-devops/edgex-gcc-base 17:50:01 96526aa774ef: Pulling fs layer 17:50:01 da60e534fd72: Pulling fs layer 17:50:01 96526aa774ef: Verifying Checksum 17:50:01 96526aa774ef: Download complete 17:50:01 96526aa774ef: Pull complete 17:50:02 da60e534fd72: Verifying Checksum 17:50:02 da60e534fd72: Download complete 17:50:05 da60e534fd72: Pull complete 17:50:05 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 17:50:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 17:50:05 ---> 6605166a5db4 17:50:05 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 17:50:07 ---> Running in b671b7de0709 17:50:08 Connecting to iotech.jfrog.io (34.247.22.236:443) 17:50:08 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:50:08 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:50:08 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:50:08 Removing intermediate container b671b7de0709 17:50:08 ---> 5209a47b3887 17:50:08 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 17:50:08 ---> Running in 1e4722439dee 17:50:09 Removing intermediate container 1e4722439dee 17:50:09 ---> 6b6c1794e6fc 17:50:09 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 17:50:10 ---> Running in b5f51a2b6599 17:50:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:50:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:50:10 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:50:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:50:11 (1/15) Installing libcbor (0.10.2-r1) 17:50:11 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 17:50:11 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 17:50:11 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 17:50:12 (5/15) Installing libcbor-dev (0.10.2-r1) 17:50:12 (6/15) Installing libmenuw (6.4_p20230506-r0) 17:50:12 (7/15) Installing libpanelw (6.4_p20230506-r0) 17:50:12 (8/15) Installing libncurses++ (6.4_p20230506-r0) 17:50:12 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 17:50:12 (10/15) Installing libblkid (2.38.1-r8) 17:50:12 (11/15) Installing libuuid (2.38.1-r8) 17:50:12 (12/15) Installing libfdisk (2.38.1-r8) 17:50:12 (13/15) Installing libmount (2.38.1-r8) 17:50:12 (14/15) Installing libsmartcols (2.38.1-r8) 17:50:12 (15/15) Installing util-linux-dev (2.38.1-r8) 17:50:12 Executing busybox-1.36.1-r4.trigger 17:50:12 OK: 336 MiB in 97 packages 17:50:12 Removing intermediate container b5f51a2b6599 17:50:12 ---> 98aa0bd56840 17:50:12 Step 6/22 : RUN mkdir /tmp/sdk 17:50:12 ---> Running in 5509b6f4b780 17:50:13 Removing intermediate container 5509b6f4b780 17:50:13 ---> c6f9e8a572c5 17:50:13 Step 7/22 : COPY VERSION /tmp/sdk 17:50:13 ---> d54d32d7e033 17:50:13 Step 8/22 : COPY src /tmp/sdk/src 17:50:13 ---> 807a0a007e3e 17:50:13 Step 9/22 : COPY include /tmp/sdk/include 17:50:13 ---> 5fd36c706828 17:50:13 Step 10/22 : COPY scripts /tmp/sdk/scripts 17:50:13 ---> 69eeab5bd66e 17:50:13 Step 11/22 : COPY LICENSE /tmp/sdk 17:50:13 ---> 702f7ae62805 17:50:13 Step 12/22 : COPY Attribution.txt /tmp/sdk 17:50:14 ---> 76ada2485c26 17:50:14 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:50:14 ---> Running in c5ffbcad7c88 17:50:14 + CPPCHECK=false 17:50:14 + DOCGEN=false 17:50:14 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 17:50:14 + '[' 0 -gt 0 ] 17:50:14 + readlink -f ./scripts/build.sh 17:50:14 + dirname /tmp/sdk/scripts/build.sh 17:50:14 + dirname /tmp/sdk/scripts 17:50:14 + ROOT=/tmp/sdk 17:50:14 + cd /tmp/sdk 17:50:14 + mkdir -p /tmp/sdk/build/release 17:50:14 + cd /tmp/sdk/build/release 17:50:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:50:14 -- The C compiler identification is GNU 12.2.1 17:50:14 -- Detecting C compiler ABI info 17:50:14 -- Detecting C compiler ABI info - done 17:50:14 -- Check for working C compiler: /usr/bin/cc - skipped 17:50:14 -- Detecting C compile features 17:50:14 -- Detecting C compile features - done 17:50:14 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:50:14 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 17:50:14 -- Found LIBYAML: /usr/lib/libyaml.so 17:50:14 -- Found LIBUUID: /usr/lib/libuuid.so 17:50:14 -- Found LIBCBOR: /usr/lib/libcbor.so 17:50:14 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:50:14 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 17:50:14 -- /opt/iotech/iot/1.5/include 17:50:14 -- C SDK 0.0.0 for Linux 17:50:14 -- Performing Test CSDK_HAVE_ATOMIC 17:50:14 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:50:14 -- Found Curses: /usr/lib/libcurses.so 17:50:14 -- Configuring done (0.4s) 17:50:14 -- Generating done (0.0s) 17:50:14 -- Build files have been written to: /tmp/sdk/build/release 17:50:14 + make all package 17:50:14 + tee release.log 17:50:14 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:50:14 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 17:50:15 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 17:50:15 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 17:50:15 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:50:15 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:50:15 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:50:15 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:50:16 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:50:16 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:50:16 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:50:16 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:50:16 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 17:50:16 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:50:16 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:50:16 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:50:17 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 17:50:17 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 17:50:17 from /tmp/sdk/src/c/registry.h:14, 17:50:17 from /tmp/sdk/src/c/registry-impl.h:12, 17:50:17 from /tmp/sdk/src/c/keeper.h:12, 17:50:17 from /tmp/sdk/src/c/keeper.c:4: 17:50:17 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 17:50:17 /tmp/sdk/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 17:50:17 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 17:50:17 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17:50:17 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 17:50:17 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 17:50:17 | ^~~~~~~~~~~ 17:50:17 /tmp/sdk/src/c/keeper.c:121:55: note: format string is defined here 17:50:17 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 17:50:17 | ~^ 17:50:17 | | 17:50:17 | char * 17:50:17 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:50:17 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:50:17 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 17:50:17 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:50:18 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:50:18 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:50:18 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:50:18 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 17:50:18 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:50:19 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:50:19 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:50:19 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:50:19 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:50:20 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:50:20 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 17:50:20 /tmp/sdk/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 17:50:20 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 17:50:20 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17:50:20 /tmp/sdk/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 17:50:20 875 | const iot_data_t *deviceservices_config; 17:50:20 | ^~~~~~~~~~~~~~~~~~~~~ 17:50:20 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:50:20 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 17:50:20 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:50:20 [ 68%] Linking C shared library libcsdk.so 17:50:20 [ 68%] Built target csdk 17:50:20 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:50:20 [ 72%] Linking C executable template 17:50:20 [ 72%] Built target template 17:50:21 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:50:21 [ 76%] Linking C executable device-counter 17:50:21 [ 76%] Built target device-counter 17:50:21 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:50:21 [ 80%] Linking C executable device-random 17:50:21 [ 80%] Built target device-random 17:50:21 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:50:21 [ 84%] Linking C executable device-gyro 17:50:21 [ 84%] Built target device-gyro 17:50:21 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:50:21 [ 88%] Linking C executable device-bitfields 17:50:21 [ 88%] Built target device-bitfields 17:50:21 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:50:21 [ 92%] Linking C executable template-discovery 17:50:21 [ 92%] Built target template-discovery 17:50:21 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:50:22 [ 96%] Linking C executable device-file 17:50:22 [ 96%] Built target device-file 17:50:22 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:50:22 [100%] Linking C executable device-terminal 17:50:22 [100%] Built target device-terminal 17:50:22 Run CPack packaging tool... 17:50:22 CPack: Create package using TGZ 17:50:22 CPack: Install projects 17:50:22 CPack: - Run preinstall target for: Csdk 17:50:22 CPack: - Install project: Csdk [] 17:50:22 CPack: Create package 17:50:22 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:50:22 + '[' false '=' true ] 17:50:22 + '[' false '=' true ] 17:50:22 + mkdir -p /tmp/sdk/build/debug 17:50:22 + cd /tmp/sdk/build/debug 17:50:22 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:50:22 -- The C compiler identification is GNU 12.2.1 17:50:22 -- Detecting C compiler ABI info 17:50:22 -- Detecting C compiler ABI info - done 17:50:22 -- Check for working C compiler: /usr/bin/cc - skipped 17:50:22 -- Detecting C compile features 17:50:22 -- Detecting C compile features - done 17:50:22 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:50:22 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 17:50:22 -- Found LIBYAML: /usr/lib/libyaml.so 17:50:22 -- Found LIBUUID: /usr/lib/libuuid.so 17:50:22 -- Found LIBCBOR: /usr/lib/libcbor.so 17:50:22 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:50:22 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 17:50:22 -- /opt/iotech/iot/1.5/include 17:50:22 -- C SDK 0.0.0 for Linux 17:50:22 -- Performing Test CSDK_HAVE_ATOMIC 17:50:22 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:50:22 -- Found Curses: /usr/lib/libcurses.so 17:50:22 -- Configuring done (0.4s) 17:50:22 -- Generating done (0.0s) 17:50:22 -- Build files have been written to: /tmp/sdk/build/debug 17:50:22 + make 17:50:22 + tee debug.log 17:50:23 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:50:23 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 17:50:23 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 17:50:23 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 17:50:23 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:50:23 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:50:23 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:50:23 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:50:23 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:50:23 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:50:23 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:50:23 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:50:23 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 17:50:23 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:50:24 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:50:24 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:50:24 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 17:50:24 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 17:50:24 from /tmp/sdk/src/c/registry.h:14, 17:50:24 from /tmp/sdk/src/c/registry-impl.h:12, 17:50:24 from /tmp/sdk/src/c/keeper.h:12, 17:50:24 from /tmp/sdk/src/c/keeper.c:4: 17:50:24 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 17:50:24 /tmp/sdk/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 17:50:24 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 17:50:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17:50:24 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 17:50:24 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 17:50:24 | ^~~~~~~~~~~ 17:50:24 /tmp/sdk/src/c/keeper.c:121:55: note: format string is defined here 17:50:24 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 17:50:24 | ~^ 17:50:24 | | 17:50:24 | char * 17:50:24 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:50:24 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:50:24 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 17:50:24 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:50:24 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:50:25 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:50:25 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:50:25 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 17:50:25 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:50:25 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:50:25 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:50:25 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:50:25 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:50:25 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:50:25 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:50:25 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 17:50:25 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:50:25 [ 68%] Linking C shared library libcsdk.so 17:50:26 [ 68%] Built target csdk 17:50:26 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:50:26 [ 72%] Linking C executable template 17:50:26 [ 72%] Built target template 17:50:26 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:50:26 [ 76%] Linking C executable device-counter 17:50:26 [ 76%] Built target device-counter 17:50:26 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:50:26 [ 80%] Linking C executable device-random 17:50:26 [ 80%] Built target device-random 17:50:26 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:50:26 [ 84%] Linking C executable device-gyro 17:50:26 [ 84%] Built target device-gyro 17:50:26 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:50:26 [ 88%] Linking C executable device-bitfields 17:50:26 [ 88%] Built target device-bitfields 17:50:26 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:50:26 [ 92%] Linking C executable template-discovery 17:50:26 [ 92%] Built target template-discovery 17:50:26 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:50:26 [ 96%] Linking C executable device-file 17:50:26 [ 96%] Built target device-file 17:50:26 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:50:27 [100%] Linking C executable device-terminal 17:50:27 [100%] Built target device-terminal 17:50:27 make: Entering directory '/tmp/sdk/build/release' 17:50:27 [ 68%] Built target csdk 17:50:27 [ 72%] Built target template 17:50:27 [ 76%] Built target device-counter 17:50:27 [ 80%] Built target device-random 17:50:27 [ 84%] Built target device-gyro 17:50:27 [ 88%] Built target device-bitfields 17:50:27 [ 92%] Built target template-discovery 17:50:27 [ 96%] Built target device-file 17:50:27 [100%] Built target device-terminal 17:50:27 Install the project... 17:50:27 -- Install configuration: "Release" 17:50:27 -- Installing: /usr/local/lib/libcsdk.so 17:50:27 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:50:27 -- Installing: /usr/local/include 17:50:27 -- Installing: /usr/local/include/devsdk 17:50:27 -- Installing: /usr/local/include/devsdk/devsdk.h 17:50:27 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:50:27 -- Installing: /usr/local/include/edgex 17:50:27 -- Installing: /usr/local/include/edgex/edgex.h 17:50:27 -- Installing: /usr/local/include/edgex/devices.h 17:50:27 -- Installing: /usr/local/include/edgex/profiles.h 17:50:27 -- Installing: /usr/local/include/edgex/edgex-base.h 17:50:27 -- Installing: /usr/local/include/edgex/rest-server.h 17:50:27 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:50:27 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:50:27 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:50:27 make: Leaving directory '/tmp/sdk/build/release' 17:50:27 Removing intermediate container c5ffbcad7c88 17:50:27 ---> 6e5e5f8a90f4 17:50:27 Step 14/22 : FROM ${BASE} 17:50:27 ---> 6605166a5db4 17:50:27 Step 15/22 : LABEL maintainer="IOTech " 17:50:27 ---> Running in 10f23f71c843 17:50:27 Removing intermediate container 10f23f71c843 17:50:27 ---> ab01e8228741 17:50:27 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 17:50:27 ---> Running in af4d0151d511 17:50:28 Connecting to iotech.jfrog.io (34.246.139.145:443) 17:50:28 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:50:28 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:50:28 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:50:29 Removing intermediate container af4d0151d511 17:50:29 ---> e70571ae4895 17:50:29 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 17:50:29 ---> Running in f7a866b94e66 17:50:29 Removing intermediate container f7a866b94e66 17:50:29 ---> bcb2ddc24505 17:50:29 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 17:50:29 ---> Running in 559904afe9d4 17:50:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:50:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:50:29 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:50:30 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:50:30 (1/11) Installing libpsl (0.21.5-r0) 17:50:30 (2/11) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) 17:50:30 (3/11) Installing curl (8.12.1-r0) 17:50:30 (4/11) Installing libpsl-utils (0.21.5-r0) 17:50:30 (5/11) Installing libpsl-dev (0.21.5-r0) 17:50:30 (6/11) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) 17:50:30 (7/11) Installing dumb-init (1.2.5-r2) 17:50:30 (8/11) Installing libcbor (0.10.2-r1) 17:50:30 (9/11) Installing iotech-iot-1.5 (1.5.5-r0) 17:50:31 (10/11) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 17:50:31 (11/11) Installing libuuid (2.38.1-r8) 17:50:31 Executing busybox-1.36.1-r4.trigger 17:50:31 OK: 331 MiB in 91 packages 17:50:31 Removing intermediate container 559904afe9d4 17:50:31 ---> 1a5c1658ba9a 17:50:31 Step 19/22 : RUN apk --no-cache upgrade 17:50:31 ---> Running in d53336cdcdaa 17:50:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:50:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:50:32 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:50:32 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:50:32 Upgrading critical system libraries and apk-tools: 17:50:32 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 17:50:32 Executing busybox-1.36.1-r4.trigger 17:50:32 Continuing the upgrade transaction with new apk-tools: 17:50:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:50:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:50:32 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:50:33 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:50:33 (1/20) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) 17:50:33 (2/20) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 17:50:33 Executing busybox-1.36.1-r7.post-upgrade 17:50:33 (3/20) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 17:50:33 (4/20) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 17:50:33 (5/20) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) 17:50:33 (6/20) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) 17:50:33 (7/20) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 17:50:33 (8/20) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) 17:50:33 (9/20) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 17:50:33 (10/20) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 17:50:33 (11/20) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 17:50:33 (12/20) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) 17:50:33 (13/20) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 17:50:33 (14/20) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3) 17:50:33 (15/20) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 17:50:33 (16/20) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 17:50:34 (17/20) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 17:50:34 (18/20) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 17:50:34 (19/20) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 17:50:34 (20/20) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 17:50:34 Executing busybox-1.36.1-r7.trigger 17:50:34 Executing ca-certificates-20241121-r1.trigger 17:50:34 OK: 331 MiB in 91 packages 17:50:34 Removing intermediate container d53336cdcdaa 17:50:34 ---> a2255f6514ea 17:50:34 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:50:34 ---> 4b1cba11ed13 17:50:34 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 17:50:35 ---> 52792d8b1cd7 17:50:35 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:50:35 ---> cbc5866cd678 17:50:35 Successfully built cbc5866cd678 17:50:35 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 17:50:35 + docker inspect -f . ci-base-image-x86_64 17:50:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:36 prd-ubuntu20.04-docker-8c-8g-39625 does not seem to be running inside a container 17:50:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-551 -v /w/workspace/edgexfoundry_device-sdk-c_PR-551:/w/workspace/edgexfoundry_device-sdk-c_PR-551:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:50:36 $ docker top 55d26b2dbd0dd5fbf9882560588118f4e67dce4d8b6142b3a1ea32657c12d825 -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:36 + make test 17:50:36 echo "make test" 17:50:36 make test [Pipeline] } 17:50:36 $ docker stop --time=1 55d26b2dbd0dd5fbf9882560588118f4e67dce4d8b6142b3a1ea32657c12d825 17:50:38 $ docker rm -f --volumes 55d26b2dbd0dd5fbf9882560588118f4e67dce4d8b6142b3a1ea32657c12d825 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:50:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:50:39 + ls -al . 17:50:39 total 212 17:50:39 drwxrwxr-x 9 jenkins jenkins 4096 Feb 24 17:49 . 17:50:39 drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 17:49 .. 17:50:39 drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 17:49 .git 17:50:39 drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 17:49 .github 17:50:39 -rw-rw-r-- 1 jenkins jenkins 176 Feb 24 17:49 .gitignore 17:50:39 drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 17:49 .semver 17:50:39 -rw-rw-r-- 1 jenkins jenkins 2908 Feb 24 17:49 Attribution.txt 17:50:39 -rw-rw-r-- 1 jenkins jenkins 11953 Feb 24 17:49 CHANGELOG.md 17:50:39 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 24 17:49 Doxyfile 17:50:39 -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 17:49 GOVERNANCE.md 17:50:39 -rw-rw-r-- 1 jenkins jenkins 784 Feb 24 17:49 Jenkinsfile 17:50:39 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 24 17:49 LICENSE 17:50:39 -rw-rw-r-- 1 jenkins jenkins 444 Feb 24 17:49 Makefile 17:50:39 -rw-rw-r-- 1 jenkins jenkins 618 Feb 24 17:49 OWNERS.md 17:50:39 -rw-rw-r-- 1 jenkins jenkins 1651 Feb 24 17:49 README.IOT.md 17:50:39 -rw-rw-r-- 1 jenkins jenkins 4173 Feb 24 17:49 README.md 17:50:39 -rw-rw-r-- 1 jenkins jenkins 1245 Feb 24 17:49 README.v3.md 17:50:39 -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 17:49 VERSION 17:50:39 drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 17:49 docs 17:50:39 drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 17:49 include 17:50:39 drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 17:49 scripts 17:50:39 drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 17:49 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:39 + 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=437cedec99f095b414dd258198aec3214fc29360 --label arch=amd64 --label version=0.0.0 . 17:50:39 Sending build context to Docker daemon 5.519MB 17:50:39 Step 1/18 : ARG BASE=alpine:3.18 17:50:39 Step 2/18 : FROM ${BASE} 17:50:39 ---> cbc5866cd678 17:50:39 Step 3/18 : LABEL maintainer="IOTech " 17:50:39 ---> Running in 5869ef79b1e0 17:50:39 Removing intermediate container 5869ef79b1e0 17:50:39 ---> 25676859de81 17:50:39 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 17:50:39 ---> Running in 2ed4dc943f2b 17:50:40 Connecting to iotech.jfrog.io (34.247.22.236:443) 17:50:40 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:50:40 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:50:40 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:50:40 Removing intermediate container 2ed4dc943f2b 17:50:40 ---> 9d9941a8b1f3 17:50:40 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 17:50:40 ---> Running in e448e2f73432 17:50:41 Removing intermediate container e448e2f73432 17:50:41 ---> 7ec4c18010f6 17:50:41 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 17:50:41 ---> Running in 77506f8bed84 17:50:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:50:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:50:41 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:50:42 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:50:42 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 17:50:42 (2/11) Installing libcbor-dev (0.10.2-r1) 17:50:42 (3/11) Installing libmenuw (6.4_p20230506-r0) 17:50:42 (4/11) Installing libpanelw (6.4_p20230506-r0) 17:50:42 (5/11) Installing libncurses++ (6.4_p20230506-r0) 17:50:42 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 17:50:42 (7/11) Installing libblkid (2.38.1-r8) 17:50:42 (8/11) Installing libfdisk (2.38.1-r8) 17:50:42 (9/11) Installing libmount (2.38.1-r8) 17:50:42 (10/11) Installing libsmartcols (2.38.1-r8) 17:50:42 (11/11) Installing util-linux-dev (2.38.1-r8) 17:50:42 Executing busybox-1.36.1-r7.trigger 17:50:42 OK: 336 MiB in 102 packages 17:50:43 Removing intermediate container 77506f8bed84 17:50:43 ---> 75d3187e975d 17:50:43 Step 7/18 : RUN apk --no-cache upgrade 17:50:43 ---> Running in 7bc17eb14913 17:50:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:50:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:50:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:50:44 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:50:44 OK: 336 MiB in 102 packages 17:50:44 Removing intermediate container 7bc17eb14913 17:50:44 ---> 38b06a9fe951 17:50:44 Step 8/18 : COPY VERSION /edgex-c-sdk/ 17:50:44 ---> dd40f8ba441a 17:50:44 Step 9/18 : COPY src /edgex-c-sdk/src/ 17:50:44 ---> 31239ff2d898 17:50:44 Step 10/18 : COPY include /edgex-c-sdk/include/ 17:50:44 ---> 76f83c3219a9 17:50:44 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 17:50:44 ---> 01686fad1bbd 17:50:44 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 17:50:44 ---> 14cdf511887f 17:50:44 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 17:50:45 ---> b8f5731071f8 17:50:45 Step 14/18 : WORKDIR /edgex-c-sdk 17:50:45 ---> Running in 78508e870d0d 17:50:45 Removing intermediate container 78508e870d0d 17:50:45 ---> ef4f8cea1990 17:50:45 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:50:45 ---> Running in 01cd1ce619e8 17:50:45 Removing intermediate container 01cd1ce619e8 17:50:45 ---> 971870697dfe 17:50:45 Step 16/18 : LABEL arch=amd64 17:50:45 ---> Running in bdfa7d618535 17:50:45 Removing intermediate container bdfa7d618535 17:50:45 ---> 51516f75426e 17:50:45 Step 17/18 : LABEL git_sha=437cedec99f095b414dd258198aec3214fc29360 17:50:45 ---> Running in b0739bd9790f 17:50:45 Removing intermediate container b0739bd9790f 17:50:45 ---> 2295352bd211 17:50:45 Step 18/18 : LABEL version=0.0.0 17:50:45 ---> Running in ce716f74206a 17:50:45 Removing intermediate container ce716f74206a 17:50:45 ---> a53bfae78b76 17:50:45 [Warning] One or more build-args [MAKE ARCH] were not consumed 17:50:45 Successfully built a53bfae78b76 17:50:45 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 17:50:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:50:46 17:50:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:50:46 latest: Pulling from edgex-lftools-log-publisher 17:50:46 5eb5b503b376: Pulling fs layer 17:50:46 5c69ac0246d0: Pulling fs layer 17:50:46 ec43610c2a17: Pulling fs layer 17:50:46 3a2ae6a8a46f: Pulling fs layer 17:50:46 33b1e0a273af: Pulling fs layer 17:50:46 5d3b04190fa2: Pulling fs layer 17:50:46 2f39f015ded8: Pulling fs layer 17:50:46 5d3b04190fa2: Waiting 17:50:46 3a2ae6a8a46f: Waiting 17:50:46 33b1e0a273af: Waiting 17:50:46 5c69ac0246d0: Download complete 17:50:46 3a2ae6a8a46f: Verifying Checksum 17:50:46 3a2ae6a8a46f: Download complete 17:50:46 33b1e0a273af: Verifying Checksum 17:50:46 33b1e0a273af: Download complete 17:50:46 5d3b04190fa2: Verifying Checksum 17:50:46 5d3b04190fa2: Download complete 17:50:46 ec43610c2a17: Download complete 17:50:47 5eb5b503b376: Verifying Checksum 17:50:47 5eb5b503b376: Download complete 17:50:47 2f39f015ded8: Download complete 17:50:48 5eb5b503b376: Pull complete 17:50:48 5c69ac0246d0: Pull complete 17:50:48 ec43610c2a17: Pull complete 17:50:48 3a2ae6a8a46f: Pull complete 17:50:48 33b1e0a273af: Pull complete 17:50:49 5d3b04190fa2: Pull complete 17:50:52 2f39f015ded8: Pull complete 17:50:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:50:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:50:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:52 prd-ubuntu20.04-docker-8c-8g-39625 does not seem to be running inside a container 17:50:52 $ 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-551 -v /w/workspace/edgexfoundry_device-sdk-c_PR-551:/w/workspace/edgexfoundry_device-sdk-c_PR-551:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:50:55 $ docker top 68521bddc9a9d709022130d1cbde5eb1e45a7bc04efbfd14ae3ddeff4ad20465 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:50:56 ---> job-cost.sh 17:50:56 lf-activate-venv: SKIPPING 17:50:56 INFO: No Stack... 17:50:56 INFO: Retrieving Pricing Info for: v3-standard-8 17:50:57 INFO: Archiving Costs [Pipeline] sh 17:50:57 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-551/archives/cost.csv 17:50:57 + cut -d, -f6 [Pipeline] lock 17:50:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-551-1-stack-cost] 17:50:57 Resource [jenkins-edgexfoundry-device-sdk-c-PR-551-1-stack-cost] did not exist. Created. 17:50:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-551-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:50:57 + echo total: 0.2199999988079071 [Pipeline] stash 17:50:57 Stashed 1 file(s) [Pipeline] } 17:50:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-551-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:50:58 $ docker stop --time=1 68521bddc9a9d709022130d1cbde5eb1e45a7bc04efbfd14ae3ddeff4ad20465 17:50:59 $ docker rm -f --volumes 68521bddc9a9d709022130d1cbde5eb1e45a7bc04efbfd14ae3ddeff4ad20465 [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 17:51:00 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-551/archives ] 17:51:00 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-551/archives 17:51:00 total 16 17:51:00 drwxr-xr-x 3 root root 4096 Feb 24 17:50 . 17:51:00 drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 17:50 .. 17:51:00 drwxr-xr-x 2 root root 4096 Feb 24 17:50 cost 17:51:00 -rw-r--r-- 1 root root 84 Feb 24 17:50 cost.csv 17:51:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-551/archives 17:51:00 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-551/archives 17:51:00 total 16 17:51:00 drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 17:50 . 17:51:00 drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 17:50 .. 17:51:00 drwxr-xr-x 2 jenkins jenkins 4096 Feb 24 17:50 cost 17:51:00 -rw-r--r-- 1 jenkins jenkins 84 Feb 24 17:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:51:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:51:01 ---> package-listing.sh 17:51:01 ++ facter osfamily 17:51:01 ++ tr '[:upper:]' '[:lower:]' 17:51:02 + OS_FAMILY=debian 17:51:02 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-551 17:51:02 + START_PACKAGES=/tmp/packages_start.txt 17:51:02 + END_PACKAGES=/tmp/packages_end.txt 17:51:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:51:02 + PACKAGES=/tmp/packages_start.txt 17:51:02 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-551 ']' 17:51:02 + PACKAGES=/tmp/packages_end.txt 17:51:02 + case "${OS_FAMILY}" in 17:51:02 + grep '^ii' 17:51:02 + dpkg -l 17:51:02 + '[' -f /tmp/packages_start.txt ']' 17:51:02 + '[' -f /tmp/packages_end.txt ']' 17:51:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:51:02 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-551 ']' 17:51:02 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-551/archives/ 17:51:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-551/archives/ [Pipeline] echo 17:51:02 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-551/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:51:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:51:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:51:03 prd-ubuntu20.04-docker-8c-8g-39625 does not seem to be running inside a container 17:51:03 $ 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-551/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-551 -v /w/workspace/edgexfoundry_device-sdk-c_PR-551:/w/workspace/edgexfoundry_device-sdk-c_PR-551:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-551@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 17:51:03 $ docker top 11cfe774b995d26451809ab56860d8536697a23816ec949647d43ac2c33a49e7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:51:03 + touch /tmp/pre-build-complete [Pipeline] sh 17:51:04 + mkdir -p /var/log/sysstat [Pipeline] sh 17:51:04 + ls /var/log/sa-host 17:51:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:51:04 provisioning config files... 17:51:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-551@tmp/config13877595622054239757tmp [Pipeline] { [Pipeline] echo 17:51:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:51:05 ---> create-netrc.sh [Pipeline] } 17:51:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:51:05 ---> python-tools-install.sh [Pipeline] echo 17:51:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:51:05 ---> sudo-logs.sh 17:51:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:51:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:51:06 ---> job-cost.sh 17:51:06 lf-activate-venv: SKIPPING 17:51:06 DEBUG: total: 0.2199999988079071 17:51:06 INFO: Retrieving Stack Cost... 17:51:06 INFO: Retrieving Pricing Info for: v3-standard-8 17:51:06 INFO: Archiving Costs [Pipeline] echo 17:51:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:51:07 ---> logs-deploy.sh 17:51:07 lf-activate-venv: SKIPPING 17:51:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-551/1 17:51:07 INFO: archiving workspace using pattern(s): 17:51:08 Archives upload complete. 17:51:08 INFO: archiving logs to Nexus 17:51:08 ---> uname -a: 17:51:08 Linux prd-ubuntu20-04-docker-8c-8g-39625 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:51:08 17:51:08 17:51:08 ---> lscpu: 17:51:08 Architecture: x86_64 17:51:08 CPU op-mode(s): 32-bit, 64-bit 17:51:08 Byte Order: Little Endian 17:51:08 Address sizes: 40 bits physical, 48 bits virtual 17:51:08 CPU(s): 8 17:51:08 On-line CPU(s) list: 0-7 17:51:08 Thread(s) per core: 1 17:51:08 Core(s) per socket: 1 17:51:08 Socket(s): 8 17:51:08 NUMA node(s): 1 17:51:08 Vendor ID: AuthenticAMD 17:51:08 CPU family: 23 17:51:08 Model: 49 17:51:08 Model name: AMD EPYC-Rome Processor 17:51:08 Stepping: 0 17:51:08 CPU MHz: 2799.998 17:51:08 BogoMIPS: 5599.99 17:51:08 Virtualization: AMD-V 17:51:08 Hypervisor vendor: KVM 17:51:08 Virtualization type: full 17:51:08 L1d cache: 256 KiB 17:51:08 L1i cache: 256 KiB 17:51:08 L2 cache: 4 MiB 17:51:08 L3 cache: 128 MiB 17:51:08 NUMA node0 CPU(s): 0-7 17:51:08 Vulnerability Itlb multihit: Not affected 17:51:08 Vulnerability L1tf: Not affected 17:51:08 Vulnerability Mds: Not affected 17:51:08 Vulnerability Meltdown: Not affected 17:51:08 Vulnerability Mmio stale data: Not affected 17:51:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:51:08 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:51:08 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:51:08 Vulnerability Srbds: Not affected 17:51:08 Vulnerability Tsx async abort: Not affected 17:51:08 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 17:51:08 17:51:08 17:51:08 ---> nproc: 17:51:08 8 17:51:08 17:51:08 17:51:08 ---> df -h: 17:51:08 Filesystem Size Used Avail Use% Mounted on 17:51:08 overlay 155G 11G 145G 7% / 17:51:08 tmpfs 64M 0 64M 0% /dev 17:51:08 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:51:08 shm 64M 0 64M 0% /dev/shm 17:51:08 /dev/vda1 155G 11G 145G 7% /facter-os 17:51:08 17:51:08 17:51:08 ---> sar -b -r -n DEV: 17:51:08 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-39625) 02/24/25 _x86_64_ (8 CPU) 17:51:08 17:51:08 17:48:52 LINUX RESTART (8 CPU) 17:51:08 17:51:08 17:49:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:51:08 17:50:01 369.12 48.39 320.73 0.00 5418.03 134593.70 0.00 17:51:08 17:51:01 257.21 0.38 256.82 0.00 33.86 36008.27 0.00 17:51:08 Average: 313.16 24.39 288.78 0.00 2725.95 85300.98 0.00 17:51:08 17:51:08 17:49:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:51:08 17:50:01 29864216 31576292 774124 2.35 60852 1951092 1903360 5.61 993356 1691108 57404 17:51:08 17:51:01 28917088 31508088 796408 2.42 90816 2749644 1855164 5.47 1123844 2414900 420 17:51:08 Average: 29390652 31542190 785266 2.39 75834 2350368 1879262 5.54 1058600 2053004 28912 17:51:08 17:51:08 17:49:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:51:08 17:50:01 ens3 482.79 313.85 3372.79 89.46 0.00 0.00 0.00 0.00 17:51:08 17:50:01 lo 6.60 6.60 0.64 0.64 0.00 0.00 0.00 0.00 17:51:08 17:50:01 docker0 3.67 3.47 0.36 33.28 0.00 0.00 0.00 0.00 17:51:08 17:51:01 ens3 217.45 126.51 4155.16 36.53 0.00 0.00 0.00 0.00 17:51:08 17:51:01 lo 1.40 1.40 0.13 0.13 0.00 0.00 0.00 0.00 17:51:08 17:51:01 docker0 22.33 36.43 1.53 455.03 0.00 0.00 0.00 0.00 17:51:08 Average: ens3 350.12 220.18 3763.97 62.99 0.00 0.00 0.00 0.00 17:51:08 Average: lo 4.00 4.00 0.39 0.39 0.00 0.00 0.00 0.00 17:51:08 Average: docker0 13.00 19.95 0.95 244.15 0.00 0.00 0.00 0.00 17:51:08 17:51:08 17:51:08 ---> sar -P ALL: 17:51:08 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-39625) 02/24/25 _x86_64_ (8 CPU) 17:51:08 17:51:08 17:48:52 LINUX RESTART (8 CPU) 17:51:08 17:51:08 17:49:01 CPU %user %nice %system %iowait %steal %idle 17:51:08 17:50:01 all 6.92 0.00 2.10 3.17 0.05 87.76 17:51:08 17:50:01 0 5.43 0.00 2.24 0.80 0.03 91.49 17:51:08 17:50:01 1 4.76 0.00 1.63 2.84 0.05 90.72 17:51:08 17:50:01 2 9.38 0.00 1.76 0.67 0.03 88.16 17:51:08 17:50:01 3 9.44 0.00 2.45 11.94 0.07 76.11 17:51:08 17:50:01 4 6.83 0.00 1.70 0.15 0.05 91.27 17:51:08 17:50:01 5 7.09 0.00 2.72 3.41 0.05 86.72 17:51:08 17:50:01 6 6.27 0.00 1.68 5.05 0.05 86.96 17:51:08 17:50:01 7 6.13 0.00 2.60 0.52 0.05 90.70 17:51:08 17:51:01 all 8.30 0.00 3.54 1.80 0.07 86.29 17:51:08 17:51:01 0 8.99 0.00 3.69 1.65 0.07 85.61 17:51:08 17:51:01 1 8.21 0.00 3.78 4.92 0.08 83.00 17:51:08 17:51:01 2 11.32 0.00 4.41 4.26 0.08 79.92 17:51:08 17:51:01 3 7.59 0.00 3.56 0.79 0.07 87.99 17:51:08 17:51:01 4 8.44 0.00 3.37 0.07 0.05 88.07 17:51:08 17:51:01 5 8.33 0.00 3.02 1.38 0.07 87.20 17:51:08 17:51:01 6 6.71 0.00 3.28 0.79 0.07 89.15 17:51:08 17:51:01 7 6.79 0.00 3.19 0.53 0.05 89.44 17:51:08 Average: all 7.61 0.00 2.82 2.49 0.06 87.03 17:51:08 Average: 0 7.20 0.00 2.96 1.22 0.05 88.56 17:51:08 Average: 1 6.48 0.00 2.70 3.88 0.07 86.87 17:51:08 Average: 2 10.35 0.00 3.08 2.46 0.06 84.05 17:51:08 Average: 3 8.52 0.00 3.00 6.39 0.07 82.02 17:51:08 Average: 4 7.63 0.00 2.54 0.11 0.05 89.67 17:51:08 Average: 5 7.71 0.00 2.87 2.40 0.06 86.96 17:51:08 Average: 6 6.49 0.00 2.48 2.92 0.06 88.05 17:51:08 Average: 7 6.46 0.00 2.89 0.52 0.05 90.07 17:51:08 17:51:08 17:51:08