Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2eb698c855af1c27e71275a7dcd4208132ea0d7b 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-ssh9893470959832318724.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-ssh13751070743491093966.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9158480323875165176.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1373310982485538805.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3097168748407326683.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-40037 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2eb698c855af1c27e71275a7dcd4208132ea0d7b (main) Commit message: "refactor(device-sdk-c): fix -Wformat-security warnings (#551)" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2eb698c855af1c27e71275a7dcd4208132ea0d7b # timeout=10 > git rev-list --no-walk eb5cdce89b0962bcd2b083fabb45f85a531a29c5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:29:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:29:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:29:14 ========================================================= 07:29:14 EdgeX Global Pipelines Version Info 07:29:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:29:16 ------------------- 07:29:16 stable info: 07:29:16 ------------------- 07:29:16 Commited By: Cherry Wang cherry@iotechsys.com 07:29:16 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 07:29:16 Message: update stable to v1.0.269 07:29:16 ------------------- 07:29:16 experimental info: 07:29:16 ------------------- 07:29:16 Commited By: Ginny Guan ginny@iotechsys.com 07:29:16 Commit SHA: 7f93e8bad95e9991f74bdd88f4a3d704a5893b6d 07:29:16 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2eb698c855af1c27e71275a7dcd4208132ea0d7b [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2eb698c [Pipeline] echo 07:29:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:29:16 provisioning config files... 07:29:16 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config9030663356447585919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:29:17 ---> ****-login.sh 07:29:17 nexus3.edgexfoundry.org:10001 07:29:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:29:17 Configure a credential helper to remove this warning. See 07:29:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:29:17 07:29:17 Login Succeeded 07:29:17 nexus3.edgexfoundry.org:10002 07:29:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:29:17 Configure a credential helper to remove this warning. See 07:29:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:29:17 07:29:17 Login Succeeded 07:29:17 nexus3.edgexfoundry.org:10003 07:29:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:29:17 Configure a credential helper to remove this warning. See 07:29:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:29:17 07:29:17 Login Succeeded 07:29:17 nexus3.edgexfoundry.org:10004 07:29:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:29:18 Configure a credential helper to remove this warning. See 07:29:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:29:18 07:29:18 Login Succeeded 07:29:18 ****.io 07:29:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:29:18 Configure a credential helper to remove this warning. See 07:29:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:29:18 07:29:18 Login Succeeded 07:29:18 ---> ****-login.sh ends [Pipeline] } 07:29:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 07:29:18 + git rev-list -1 --merges 2eb698c855af1c27e71275a7dcd4208132ea0d7b~1..2eb698c855af1c27e71275a7dcd4208132ea0d7b [Pipeline] echo 07:29:18 -----------> git rev-list -1 --merges 2eb698c855af1c27e71275a7dcd4208132ea0d7b~1..2eb698c855af1c27e71275a7dcd4208132ea0d7b 2eb698c855af1c27e71275a7dcd4208132ea0d7b [false] [Pipeline] sh 07:29:19 + git log --format=format:%s -1 2eb698c855af1c27e71275a7dcd4208132ea0d7b [Pipeline] echo 07:29:19 ========================================================= 07:29:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:29:19 ========================================================= 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 07:29:19 + git rev-list -1 --merges 2eb698c855af1c27e71275a7dcd4208132ea0d7b~1..2eb698c855af1c27e71275a7dcd4208132ea0d7b [Pipeline] echo 07:29:19 -----------> git rev-list -1 --merges 2eb698c855af1c27e71275a7dcd4208132ea0d7b~1..2eb698c855af1c27e71275a7dcd4208132ea0d7b 2eb698c855af1c27e71275a7dcd4208132ea0d7b [false] [Pipeline] sh 07:29:19 + git log --format=format:%s -1 2eb698c855af1c27e71275a7dcd4208132ea0d7b [Pipeline] echo 07:29:19 ========================================================= 07:29:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:29:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 07:29:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:29:20 + grep -v github /etc/ssh/ssh_known_hosts 07:29:20 + [ -e /tmp/ssh_known_hosts ] 07:29:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:29:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:29:20 + sudo tee -a /etc/ssh/ssh_known_hosts 07:29:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:29:20 07:29:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:29:21 0.1.4: Pulling from edgex-devops/py-git-semver 07:29:21 b85a868b505f: Pulling fs layer 07:29:21 e2be974225ed: Pulling fs layer 07:29:21 339a4e72a1f5: Pulling fs layer 07:29:21 988bab9f4d93: Pulling fs layer 07:29:21 1469e6f7b9e6: Pulling fs layer 07:29:21 eaf3925da568: Pulling fs layer 07:29:21 bab4dde63d76: Pulling fs layer 07:29:21 bde34c3a00c8: Pulling fs layer 07:29:21 b352a97aabf1: Pulling fs layer 07:29:21 4872d77fe225: Pulling fs layer 07:29:21 5851b861e8e6: Pulling fs layer 07:29:21 1469e6f7b9e6: Waiting 07:29:21 eaf3925da568: Waiting 07:29:21 bab4dde63d76: Waiting 07:29:21 bde34c3a00c8: Waiting 07:29:21 b352a97aabf1: Waiting 07:29:21 5851b861e8e6: Waiting 07:29:21 e2be974225ed: Download complete 07:29:21 988bab9f4d93: Download complete 07:29:21 1469e6f7b9e6: Verifying Checksum 07:29:21 1469e6f7b9e6: Download complete 07:29:21 339a4e72a1f5: Download complete 07:29:21 eaf3925da568: Verifying Checksum 07:29:21 eaf3925da568: Download complete 07:29:21 bde34c3a00c8: Verifying Checksum 07:29:21 bde34c3a00c8: Download complete 07:29:21 b352a97aabf1: Verifying Checksum 07:29:21 b352a97aabf1: Download complete 07:29:21 4872d77fe225: Verifying Checksum 07:29:21 4872d77fe225: Download complete 07:29:21 5851b861e8e6: Download complete 07:29:21 b85a868b505f: Verifying Checksum 07:29:21 b85a868b505f: Download complete 07:29:21 bab4dde63d76: Verifying Checksum 07:29:21 bab4dde63d76: Download complete 07:29:22 b85a868b505f: Pull complete 07:29:22 e2be974225ed: Pull complete 07:29:23 339a4e72a1f5: Pull complete 07:29:23 988bab9f4d93: Pull complete 07:29:23 1469e6f7b9e6: Pull complete 07:29:23 eaf3925da568: Pull complete 07:29:24 bab4dde63d76: Pull complete 07:29:25 bde34c3a00c8: Pull complete 07:29:25 b352a97aabf1: Pull complete 07:29:25 4872d77fe225: Pull complete 07:29:25 5851b861e8e6: Pull complete 07:29:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:29:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:29:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:25 prd-ubuntu20.04-docker-8c-8g-40037 does not seem to be running inside a container 07:29:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:29:27 $ docker top 61c263fe4190ec83e01311b783e6cb8c1dedf553cbd476e57c893c5f60dfb681 -eo pid,comm 07:29:27 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). 07:29:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:29:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:29:27 [ssh-agent] Looking for ssh-agent implementation... 07:29:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:29:27 $ docker exec 61c263fe4190ec83e01311b783e6cb8c1dedf553cbd476e57c893c5f60dfb681 ssh-agent 07:29:27 SSH_AUTH_SOCK=/tmp/ssh-LoTe0OhTfiOd/agent.32 07:29:27 SSH_AGENT_PID=38 07:29:27 Running ssh-add (command line suppressed) 07:29:27 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13243036039677945301.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13243036039677945301.key) 07:29:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:29:28 + git tag --points-at HEAD [Pipeline] } 07:29:28 $ docker exec --env ******** --env ******** 61c263fe4190ec83e01311b783e6cb8c1dedf553cbd476e57c893c5f60dfb681 ssh-agent -k 07:29:28 unset SSH_AUTH_SOCK; 07:29:28 unset SSH_AGENT_PID; 07:29:28 echo Agent pid 38 killed; 07:29:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:29:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:29:28 [ssh-agent] Looking for ssh-agent implementation... 07:29:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:29:28 $ docker exec 61c263fe4190ec83e01311b783e6cb8c1dedf553cbd476e57c893c5f60dfb681 ssh-agent 07:29:28 SSH_AUTH_SOCK=/tmp/ssh-RPw7fX3vx049/agent.72 07:29:28 SSH_AGENT_PID=77 07:29:28 Running ssh-add (command line suppressed) 07:29:28 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15530726882179847494.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15530726882179847494.key) 07:29:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:29:29 + git semver init 07:29:29 2025-03-03 07:29:29,242 [run_init] DEBUG init version:0.0.0 force:False 07:29:29 2025-03-03 07:29:29,242 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 07:29:29 2025-03-03 07:29:29,243 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 07:29:29 2025-03-03 07:29:29,243 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 07:29:30 2025-03-03 07:29:29,999 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 07:29:30 2025-03-03 07:29:29,999 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 07:29:30 2025-03-03 07:29:30,000 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 07:29:30 2025-03-03 07:29:30,000 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 07:29:30 4.0.0-dev.19 [Pipeline] } 07:29:30 $ docker exec --env ******** --env ******** 61c263fe4190ec83e01311b783e6cb8c1dedf553cbd476e57c893c5f60dfb681 ssh-agent -k 07:29:30 unset SSH_AUTH_SOCK; 07:29:30 unset SSH_AGENT_PID; 07:29:30 echo Agent pid 77 killed; 07:29:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:29:30 + git semver [Pipeline] } 07:29:30 $ docker stop --time=1 61c263fe4190ec83e01311b783e6cb8c1dedf553cbd476e57c893c5f60dfb681 07:29:32 $ docker rm -f --volumes 61c263fe4190ec83e01311b783e6cb8c1dedf553cbd476e57c893c5f60dfb681 [Pipeline] // withDockerContainer [Pipeline] sh 07:29:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:29:32 Stashed 1 file(s) [Pipeline] echo 07:29:32 [edgeXSemver]: initialized semver on version 4.0.0-dev.19 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:29:33 provisioning config files... 07:29:33 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5487331179393622592tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 07:29:33 ---> ****-login.sh 07:29:33 nexus3.edgexfoundry.org:10001 07:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:29:33 Configure a credential helper to remove this warning. See 07:29:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:29:33 07:29:33 Login Succeeded 07:29:33 nexus3.edgexfoundry.org:10002 07:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:29:33 Configure a credential helper to remove this warning. See 07:29:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:29:33 07:29:33 Login Succeeded 07:29:33 nexus3.edgexfoundry.org:10003 07:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:29:33 Configure a credential helper to remove this warning. See 07:29:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:29:33 07:29:33 Login Succeeded 07:29:33 nexus3.edgexfoundry.org:10004 07:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:29:33 Configure a credential helper to remove this warning. See 07:29:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:29:33 07:29:33 Login Succeeded 07:29:33 ****.io 07:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:29:34 Configure a credential helper to remove this warning. See 07:29:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:29:34 07:29:34 Login Succeeded 07:29:34 ---> ****-login.sh ends [Pipeline] } 07:29:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:29:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:29:34 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 07:29:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:29:34 ========================================================= 07:29:34 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 07:29:34 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:34 + 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 . 07:29:34 Sending build context to Docker daemon 5.497MB 07:29:34 Step 1/22 : ARG BASE=alpine:3.18 07:29:34 Step 2/22 : FROM ${BASE} as builder 07:29:34 latest: Pulling from edgex-devops/edgex-gcc-base 07:29:34 96526aa774ef: Pulling fs layer 07:29:34 da60e534fd72: Pulling fs layer 07:29:34 96526aa774ef: Verifying Checksum 07:29:34 96526aa774ef: Download complete 07:29:34 96526aa774ef: Pull complete 07:29:35 da60e534fd72: Verifying Checksum 07:29:35 da60e534fd72: Download complete 07:29:38 da60e534fd72: Pull complete 07:29:38 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 07:29:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 07:29:38 ---> 6605166a5db4 07:29:38 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 07:29:40 ---> Running in 2eac885157a2 07:29:40 Connecting to iotech.jfrog.io (34.246.139.145:443) 07:29:40 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 07:29:40 alpine.dev.rsa.pub 100% |********************************|  451 0:00:00 ETA 07:29:40 '/etc/apk/keys/alpine.dev.rsa.pub' saved 07:29:40 Removing intermediate container 2eac885157a2 07:29:40 ---> a340e8198273 07:29:40 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 07:29:40 ---> Running in d8ac658a2112 07:29:41 Removing intermediate container d8ac658a2112 07:29:41 ---> 4fb2fec4b6dc 07:29:41 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 07:29:41 ---> Running in 52ceb3f66fac 07:29:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:29:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:29:42 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 07:29:42 WARNING: This apk-tools is OLD! Some packages might not function properly. 07:29:42 (1/15) Installing libcbor (0.10.2-r1) 07:29:42 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 07:29:43 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 07:29:43 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 07:29:44 (5/15) Installing libcbor-dev (0.10.2-r1) 07:29:44 (6/15) Installing libmenuw (6.4_p20230506-r0) 07:29:44 (7/15) Installing libpanelw (6.4_p20230506-r0) 07:29:44 (8/15) Installing libncurses++ (6.4_p20230506-r0) 07:29:44 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 07:29:44 (10/15) Installing libblkid (2.38.1-r8) 07:29:44 (11/15) Installing libuuid (2.38.1-r8) 07:29:44 (12/15) Installing libfdisk (2.38.1-r8) 07:29:44 (13/15) Installing libmount (2.38.1-r8) 07:29:44 (14/15) Installing libsmartcols (2.38.1-r8) 07:29:44 (15/15) Installing util-linux-dev (2.38.1-r8) 07:29:44 Executing busybox-1.36.1-r4.trigger 07:29:44 OK: 336 MiB in 97 packages 07:29:45 Removing intermediate container 52ceb3f66fac 07:29:45 ---> 9a0a707c355d 07:29:45 Step 6/22 : RUN mkdir /tmp/sdk 07:29:45 ---> Running in 147c85056ed0 07:29:45 Removing intermediate container 147c85056ed0 07:29:45 ---> e02aa102549c 07:29:45 Step 7/22 : COPY VERSION /tmp/sdk 07:29:45 ---> e6db14c498c7 07:29:45 Step 8/22 : COPY src /tmp/sdk/src 07:29:45 ---> ef2990082691 07:29:45 Step 9/22 : COPY include /tmp/sdk/include 07:29:45 ---> 6113e7236b93 07:29:45 Step 10/22 : COPY scripts /tmp/sdk/scripts 07:29:46 ---> 2278d5331117 07:29:46 Step 11/22 : COPY LICENSE /tmp/sdk 07:29:46 ---> d08fcb4233ea 07:29:46 Step 12/22 : COPY Attribution.txt /tmp/sdk 07:29:46 ---> 0fbb0a4c8bab 07:29:46 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 07:29:46 ---> Running in ccbbbfc40b43 07:29:46 + CPPCHECK=false 07:29:46 + DOCGEN=false 07:29:46 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 07:29:46 + '[' 0 -gt 0 ] 07:29:46 + readlink -f ./scripts/build.sh 07:29:46 + dirname /tmp/sdk/scripts/build.sh 07:29:46 + dirname /tmp/sdk/scripts 07:29:46 + ROOT=/tmp/sdk 07:29:46 + cd /tmp/sdk 07:29:46 + mkdir -p /tmp/sdk/build/release 07:29:46 + cd /tmp/sdk/build/release 07:29:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 07:29:46 -- The C compiler identification is GNU 12.2.1 07:29:46 -- Detecting C compiler ABI info 07:29:46 -- Detecting C compiler ABI info - done 07:29:46 -- Check for working C compiler: /usr/bin/cc - skipped 07:29:46 -- Detecting C compile features 07:29:46 -- Detecting C compile features - done 07:29:46 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 07:29:46 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 07:29:46 -- Found LIBYAML: /usr/lib/libyaml.so 07:29:46 -- Found LIBUUID: /usr/lib/libuuid.so 07:29:46 -- Found LIBCBOR: /usr/lib/libcbor.so 07:29:46 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 07:29:46 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 07:29:46 -- /opt/iotech/iot/1.5/include 07:29:46 -- C SDK 0.0.0 for Linux 07:29:46 -- Performing Test CSDK_HAVE_ATOMIC 07:29:46 -- Performing Test CSDK_HAVE_ATOMIC - Success 07:29:46 -- Found Curses: /usr/lib/libcurses.so 07:29:46 -- Configuring done (0.4s) 07:29:46 -- Generating done (0.0s) 07:29:47 -- Build files have been written to: /tmp/sdk/build/release 07:29:47 + + teemake release.log 07:29:47 all package 07:29:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 07:29:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 07:29:47 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 07:29:47 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 07:29:47 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 07:29:48 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 07:29:48 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 07:29:48 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 07:29:48 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 07:29:48 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 07:29:48 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 07:29:48 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 07:29:48 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 07:29:49 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 07:29:49 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 07:29:49 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 07:29:49 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 07:29:49 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 07:29:49 from /tmp/sdk/src/c/registry.h:14, 07:29:49 from /tmp/sdk/src/c/registry-impl.h:12, 07:29:49 from /tmp/sdk/src/c/keeper.h:12, 07:29:49 from /tmp/sdk/src/c/keeper.c:4: 07:29:49 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 07:29:49 /tmp/sdk/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 07:29:49 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 07:29:49 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 07:29:49 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 07:29:49 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 07:29:49 | ^~~~~~~~~~~ 07:29:49 /tmp/sdk/src/c/keeper.c:121:55: note: format string is defined here 07:29:49 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 07:29:49 | ~^ 07:29:49 | | 07:29:49 | char * 07:29:49 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 07:29:49 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 07:29:49 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 07:29:50 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 07:29:51 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 07:29:51 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 07:29:51 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 07:29:51 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 07:29:51 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 07:29:51 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 07:29:51 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 07:29:51 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 07:29:52 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 07:29:52 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 07:29:52 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 07:29:52 /tmp/sdk/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 07:29:52 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 07:29:52 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 07:29:52 /tmp/sdk/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 07:29:52 875 | const iot_data_t *deviceservices_config; 07:29:52 | ^~~~~~~~~~~~~~~~~~~~~ 07:29:52 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 07:29:52 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 07:29:52 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 07:29:52 [ 68%] Linking C shared library libcsdk.so 07:29:52 [ 68%] Built target csdk 07:29:52 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 07:29:52 [ 72%] Linking C executable template 07:29:53 [ 72%] Built target template 07:29:53 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 07:29:53 [ 76%] Linking C executable device-counter 07:29:53 [ 76%] Built target device-counter 07:29:53 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 07:29:53 [ 80%] Linking C executable device-random 07:29:53 [ 80%] Built target device-random 07:29:53 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 07:29:53 [ 84%] Linking C executable device-gyro 07:29:53 [ 84%] Built target device-gyro 07:29:53 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 07:29:53 [ 88%] Linking C executable device-bitfields 07:29:53 [ 88%] Built target device-bitfields 07:29:53 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 07:29:53 [ 92%] Linking C executable template-discovery 07:29:53 [ 92%] Built target template-discovery 07:29:53 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 07:29:54 [ 96%] Linking C executable device-file 07:29:54 [ 96%] Built target device-file 07:29:54 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 07:29:54 [100%] Linking C executable device-terminal 07:29:54 [100%] Built target device-terminal 07:29:54 Run CPack packaging tool... 07:29:54 CPack: Create package using TGZ 07:29:54 CPack: Install projects 07:29:54 CPack: - Run preinstall target for: Csdk 07:29:54 CPack: - Install project: Csdk [] 07:29:54 CPack: Create package 07:29:54 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 07:29:54 + '[' false '=' true ] 07:29:54 + '[' false '=' true ] 07:29:54 + mkdir -p /tmp/sdk/build/debug 07:29:54 + cd /tmp/sdk/build/debug 07:29:54 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 07:29:54 -- The C compiler identification is GNU 12.2.1 07:29:54 -- Detecting C compiler ABI info 07:29:54 -- Detecting C compiler ABI info - done 07:29:54 -- Check for working C compiler: /usr/bin/cc - skipped 07:29:54 -- Detecting C compile features 07:29:54 -- Detecting C compile features - done 07:29:54 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 07:29:54 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 07:29:54 -- Found LIBYAML: /usr/lib/libyaml.so 07:29:54 -- Found LIBUUID: /usr/lib/libuuid.so 07:29:54 -- Found LIBCBOR: /usr/lib/libcbor.so 07:29:54 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 07:29:54 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 07:29:54 -- /opt/iotech/iot/1.5/include 07:29:54 -- C SDK 0.0.0 for Linux 07:29:54 -- Performing Test CSDK_HAVE_ATOMIC 07:29:54 -- Performing Test CSDK_HAVE_ATOMIC - Success 07:29:54 -- Found Curses: /usr/lib/libcurses.so 07:29:54 -- Configuring done (0.4s) 07:29:54 -- Generating done (0.0s) 07:29:54 -- Build files have been written to: /tmp/sdk/build/debug 07:29:54 + + teemake debug.log 07:29:54 07:29:55 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 07:29:55 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 07:29:55 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 07:29:55 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 07:29:55 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 07:29:55 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 07:29:55 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 07:29:55 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 07:29:55 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 07:29:55 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 07:29:56 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 07:29:56 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 07:29:56 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 07:29:56 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 07:29:56 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 07:29:56 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 07:29:56 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 07:29:56 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 07:29:56 from /tmp/sdk/src/c/registry.h:14, 07:29:56 from /tmp/sdk/src/c/registry-impl.h:12, 07:29:56 from /tmp/sdk/src/c/keeper.h:12, 07:29:56 from /tmp/sdk/src/c/keeper.c:4: 07:29:56 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 07:29:56 /tmp/sdk/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 07:29:56 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 07:29:56 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 07:29:56 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 07:29:56 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 07:29:56 | ^~~~~~~~~~~ 07:29:56 /tmp/sdk/src/c/keeper.c:121:55: note: format string is defined here 07:29:56 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 07:29:56 | ~^ 07:29:56 | | 07:29:56 | char * 07:29:56 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 07:29:56 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 07:29:56 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 07:29:56 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 07:29:56 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 07:29:56 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 07:29:57 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 07:29:57 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 07:29:57 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 07:29:57 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 07:29:57 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 07:29:57 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 07:29:57 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 07:29:57 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 07:29:57 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 07:29:57 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 07:29:57 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 07:29:57 [ 68%] Linking C shared library libcsdk.so 07:29:57 [ 68%] Built target csdk 07:29:58 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 07:29:58 [ 72%] Linking C executable template 07:29:58 [ 72%] Built target template 07:29:58 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 07:29:58 [ 76%] Linking C executable device-counter 07:29:58 [ 76%] Built target device-counter 07:29:58 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 07:29:58 [ 80%] Linking C executable device-random 07:29:58 [ 80%] Built target device-random 07:29:58 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 07:29:58 [ 84%] Linking C executable device-gyro 07:29:58 [ 84%] Built target device-gyro 07:29:58 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 07:29:58 [ 88%] Linking C executable device-bitfields 07:29:58 [ 88%] Built target device-bitfields 07:29:58 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 07:29:58 [ 92%] Linking C executable template-discovery 07:29:58 [ 92%] Built target template-discovery 07:29:58 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 07:29:58 [ 96%] Linking C executable device-file 07:29:58 [ 96%] Built target device-file 07:29:59 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 07:29:59 [100%] Linking C executable device-terminal 07:29:59 [100%] Built target device-terminal 07:29:59 make: Entering directory '/tmp/sdk/build/release' 07:29:59 [ 68%] Built target csdk 07:29:59 [ 72%] Built target template 07:29:59 [ 76%] Built target device-counter 07:29:59 [ 80%] Built target device-random 07:29:59 [ 84%] Built target device-gyro 07:29:59 [ 88%] Built target device-bitfields 07:29:59 [ 92%] Built target template-discovery 07:29:59 [ 96%] Built target device-file 07:29:59 [100%] Built target device-terminal 07:29:59 Install the project... 07:29:59 -- Install configuration: "Release" 07:29:59 -- Installing: /usr/local/lib/libcsdk.so 07:29:59 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 07:29:59 -- Installing: /usr/local/include 07:29:59 -- Installing: /usr/local/include/devsdk 07:29:59 -- Installing: /usr/local/include/devsdk/devsdk.h 07:29:59 -- Installing: /usr/local/include/devsdk/devsdk-base.h 07:29:59 -- Installing: /usr/local/include/edgex 07:29:59 -- Installing: /usr/local/include/edgex/edgex.h 07:29:59 -- Installing: /usr/local/include/edgex/devices.h 07:29:59 -- Installing: /usr/local/include/edgex/profiles.h 07:29:59 -- Installing: /usr/local/include/edgex/edgex-base.h 07:29:59 -- Installing: /usr/local/include/edgex/rest-server.h 07:29:59 -- Installing: /usr/local/include/edgex/csdk-defs.h 07:29:59 -- Installing: /usr/local/share/device-sdk-c/LICENSE 07:29:59 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 07:29:59 make: Leaving directory '/tmp/sdk/build/release' 07:29:59 Removing intermediate container ccbbbfc40b43 07:29:59 ---> 50a236d55ae2 07:29:59 Step 14/22 : FROM ${BASE} 07:29:59 ---> 6605166a5db4 07:29:59 Step 15/22 : LABEL maintainer="IOTech " 07:29:59 ---> Running in c13ebb5f88a1 07:29:59 Removing intermediate container c13ebb5f88a1 07:29:59 ---> 110fbfd581f4 07:29:59 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 07:29:59 ---> Running in 7be5274206bd 07:30:00 Connecting to iotech.jfrog.io (34.247.22.236:443) 07:30:00 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 07:30:00 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 07:30:00 '/etc/apk/keys/alpine.dev.rsa.pub' saved 07:30:01 Removing intermediate container 7be5274206bd 07:30:01 ---> 000be4ff1c7a 07:30:01 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 07:30:01 ---> Running in dccc00cddb03 07:30:01 Removing intermediate container dccc00cddb03 07:30:01 ---> 9cbd13697fe4 07:30:01 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 07:30:01 ---> Running in 34767ecb72c4 07:30:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:30:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:30:01 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 07:30:02 WARNING: This apk-tools is OLD! Some packages might not function properly. 07:30:02 (1/11) Installing libpsl (0.21.5-r0) 07:30:02 (2/11) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) 07:30:02 (3/11) Installing curl (8.12.1-r0) 07:30:02 (4/11) Installing libpsl-utils (0.21.5-r0) 07:30:02 (5/11) Installing libpsl-dev (0.21.5-r0) 07:30:02 (6/11) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) 07:30:02 (7/11) Installing dumb-init (1.2.5-r2) 07:30:02 (8/11) Installing libcbor (0.10.2-r1) 07:30:02 (9/11) Installing iotech-iot-1.5 (1.5.5-r0) 07:30:03 (10/11) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 07:30:03 (11/11) Installing libuuid (2.38.1-r8) 07:30:03 Executing busybox-1.36.1-r4.trigger 07:30:03 OK: 331 MiB in 91 packages 07:30:04 Removing intermediate container 34767ecb72c4 07:30:04 ---> e05385683068 07:30:04 Step 19/22 : RUN apk --no-cache upgrade 07:30:04 ---> Running in 714d32b0847b 07:30:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:30:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:30:04 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 07:30:05 WARNING: This apk-tools is OLD! Some packages might not function properly. 07:30:05 Upgrading critical system libraries and apk-tools: 07:30:05 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 07:30:05 Executing busybox-1.36.1-r4.trigger 07:30:05 Continuing the upgrade transaction with new apk-tools: 07:30:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:30:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:30:05 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 07:30:06 WARNING: This apk-tools is OLD! Some packages might not function properly. 07:30:06 (1/20) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) 07:30:06 (2/20) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 07:30:06 Executing busybox-1.36.1-r7.post-upgrade 07:30:06 (3/20) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 07:30:06 (4/20) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 07:30:06 (5/20) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) 07:30:06 (6/20) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) 07:30:06 (7/20) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 07:30:06 (8/20) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) 07:30:06 (9/20) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 07:30:06 (10/20) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 07:30:06 (11/20) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 07:30:06 (12/20) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) 07:30:06 (13/20) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 07:30:06 (14/20) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3) 07:30:06 (15/20) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 07:30:06 (16/20) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 07:30:06 (17/20) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 07:30:06 (18/20) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 07:30:06 (19/20) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 07:30:06 (20/20) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 07:30:06 Executing busybox-1.36.1-r7.trigger 07:30:06 Executing ca-certificates-20241121-r1.trigger 07:30:06 OK: 331 MiB in 91 packages 07:30:07 Removing intermediate container 714d32b0847b 07:30:07 ---> 64e6e4d61de5 07:30:07 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 07:30:07 ---> 6c74397c3c60 07:30:07 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 07:30:08 ---> 9ff29031b9e2 07:30:08 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 07:30:08 ---> fb1415f1c1dd 07:30:08 Successfully built fb1415f1c1dd 07:30:08 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 07:30:08 + docker inspect -f . ci-base-image-x86_64 07:30:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:08 prd-ubuntu20.04-docker-8c-8g-40037 does not seem to be running inside a container 07:30:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:30:08 $ docker top 5af77feeb031c0ec28a5e1c9aa7fbe7b7ad87570c8248c4cb94c5062e1fba28b -eo pid,comm [Pipeline] { [Pipeline] sh 07:30:09 + make test 07:30:09 echo "make test" 07:30:09 make test [Pipeline] } 07:30:09 $ docker stop --time=1 5af77feeb031c0ec28a5e1c9aa7fbe7b7ad87570c8248c4cb94c5062e1fba28b 07:30:10 $ docker rm -f --volumes 5af77feeb031c0ec28a5e1c9aa7fbe7b7ad87570c8248c4cb94c5062e1fba28b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:30:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:30:11 + ls -al . 07:30:11 total 212 07:30:11 drwxrwxr-x 9 jenkins jenkins 4096 Mar 3 07:29 . 07:30:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 07:29 .. 07:30:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 07:29 .git 07:30:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 07:29 .github 07:30:11 -rw-rw-r-- 1 jenkins jenkins 176 Mar 3 07:29 .gitignore 07:30:11 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 07:29 .semver 07:30:11 -rw-rw-r-- 1 jenkins jenkins 2908 Mar 3 07:29 Attribution.txt 07:30:11 -rw-rw-r-- 1 jenkins jenkins 11953 Mar 3 07:29 CHANGELOG.md 07:30:11 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 3 07:29 Doxyfile 07:30:11 -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 07:29 GOVERNANCE.md 07:30:11 -rw-rw-r-- 1 jenkins jenkins 784 Mar 3 07:29 Jenkinsfile 07:30:11 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 3 07:29 LICENSE 07:30:11 -rw-rw-r-- 1 jenkins jenkins 444 Mar 3 07:29 Makefile 07:30:11 -rw-rw-r-- 1 jenkins jenkins 618 Mar 3 07:29 OWNERS.md 07:30:11 -rw-rw-r-- 1 jenkins jenkins 1651 Mar 3 07:29 README.IOT.md 07:30:11 -rw-rw-r-- 1 jenkins jenkins 4173 Mar 3 07:29 README.md 07:30:11 -rw-rw-r-- 1 jenkins jenkins 1245 Mar 3 07:29 README.v3.md 07:30:11 -rw-rw-r-- 1 jenkins jenkins 12 Mar 3 07:29 VERSION 07:30:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 07:29 docs 07:30:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 07:29 include 07:30:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 07:29 scripts 07:30:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 07:29 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:12 + 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=2eb698c855af1c27e71275a7dcd4208132ea0d7b --label arch=amd64 --label version=4.0.0-dev.19 . 07:30:12 Sending build context to Docker daemon 5.497MB 07:30:12 Step 1/18 : ARG BASE=alpine:3.18 07:30:12 Step 2/18 : FROM ${BASE} 07:30:12 ---> fb1415f1c1dd 07:30:12 Step 3/18 : LABEL maintainer="IOTech " 07:30:12 ---> Running in f757e68e924a 07:30:12 Removing intermediate container f757e68e924a 07:30:12 ---> 61acc7436dc5 07:30:12 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 07:30:12 ---> Running in 1bd58dcd14d2 07:30:12 Connecting to iotech.jfrog.io (34.246.139.145:443) 07:30:12 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 07:30:12 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 07:30:12 '/etc/apk/keys/alpine.dev.rsa.pub' saved 07:30:13 Removing intermediate container 1bd58dcd14d2 07:30:13 ---> 71a644575ee0 07:30:13 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 07:30:13 ---> Running in f29202bd809c 07:30:13 Removing intermediate container f29202bd809c 07:30:13 ---> fcf005bacfbc 07:30:13 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 07:30:13 ---> Running in d8c576a85ff3 07:30:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:30:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:30:14 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 07:30:14 WARNING: This apk-tools is OLD! Some packages might not function properly. 07:30:14 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 07:30:14 (2/11) Installing libcbor-dev (0.10.2-r1) 07:30:14 (3/11) Installing libmenuw (6.4_p20230506-r0) 07:30:14 (4/11) Installing libpanelw (6.4_p20230506-r0) 07:30:14 (5/11) Installing libncurses++ (6.4_p20230506-r0) 07:30:15 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 07:30:15 (7/11) Installing libblkid (2.38.1-r8) 07:30:15 (8/11) Installing libfdisk (2.38.1-r8) 07:30:15 (9/11) Installing libmount (2.38.1-r8) 07:30:15 (10/11) Installing libsmartcols (2.38.1-r8) 07:30:15 (11/11) Installing util-linux-dev (2.38.1-r8) 07:30:15 Executing busybox-1.36.1-r7.trigger 07:30:15 OK: 336 MiB in 102 packages 07:30:15 Removing intermediate container d8c576a85ff3 07:30:15 ---> 98a0e8095e0d 07:30:15 Step 7/18 : RUN apk --no-cache upgrade 07:30:15 ---> Running in 40ff3e96625b 07:30:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:30:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:30:16 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 07:30:16 WARNING: This apk-tools is OLD! Some packages might not function properly. 07:30:16 OK: 336 MiB in 102 packages 07:30:16 Removing intermediate container 40ff3e96625b 07:30:16 ---> ca0873ba90a8 07:30:16 Step 8/18 : COPY VERSION /edgex-c-sdk/ 07:30:16 ---> 2ac2055252fb 07:30:16 Step 9/18 : COPY src /edgex-c-sdk/src/ 07:30:17 ---> dd84d59f8934 07:30:17 Step 10/18 : COPY include /edgex-c-sdk/include/ 07:30:17 ---> c6164f49f253 07:30:17 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 07:30:17 ---> 6730e2faf4d8 07:30:17 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 07:30:17 ---> 8cca4dc7c764 07:30:17 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 07:30:17 ---> 677f0c29c886 07:30:17 Step 14/18 : WORKDIR /edgex-c-sdk 07:30:17 ---> Running in d13bd5e660de 07:30:17 Removing intermediate container d13bd5e660de 07:30:17 ---> 47bc8bf2be76 07:30:17 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 07:30:17 ---> Running in dd609cf4040a 07:30:17 Removing intermediate container dd609cf4040a 07:30:17 ---> e0601c95e7cb 07:30:17 Step 16/18 : LABEL arch=amd64 07:30:17 ---> Running in 23e970076864 07:30:17 Removing intermediate container 23e970076864 07:30:17 ---> 22d60f397941 07:30:17 Step 17/18 : LABEL git_sha=2eb698c855af1c27e71275a7dcd4208132ea0d7b 07:30:17 ---> Running in e111958976b3 07:30:17 Removing intermediate container e111958976b3 07:30:17 ---> d587c835c613 07:30:17 Step 18/18 : LABEL version=4.0.0-dev.19 07:30:17 ---> Running in 2632f042dccb 07:30:17 Removing intermediate container 2632f042dccb 07:30:17 ---> 4f1816731726 07:30:17 [Warning] One or more build-args [ARCH MAKE] were not consumed 07:30:17 Successfully built 4f1816731726 07:30:17 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 07:30:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:30:18 07:30:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:30:18 latest: Pulling from edgex-lftools-log-publisher 07:30:18 5eb5b503b376: Pulling fs layer 07:30:18 5c69ac0246d0: Pulling fs layer 07:30:18 ec43610c2a17: Pulling fs layer 07:30:18 3a2ae6a8a46f: Pulling fs layer 07:30:18 33b1e0a273af: Pulling fs layer 07:30:18 5d3b04190fa2: Pulling fs layer 07:30:18 2f39f015ded8: Pulling fs layer 07:30:18 33b1e0a273af: Waiting 07:30:18 5d3b04190fa2: Waiting 07:30:18 2f39f015ded8: Waiting 07:30:18 3a2ae6a8a46f: Waiting 07:30:18 5c69ac0246d0: Verifying Checksum 07:30:18 5c69ac0246d0: Download complete 07:30:18 3a2ae6a8a46f: Verifying Checksum 07:30:18 3a2ae6a8a46f: Download complete 07:30:18 33b1e0a273af: Verifying Checksum 07:30:18 33b1e0a273af: Download complete 07:30:18 ec43610c2a17: Download complete 07:30:18 5d3b04190fa2: Verifying Checksum 07:30:18 5d3b04190fa2: Download complete 07:30:19 5eb5b503b376: Verifying Checksum 07:30:19 5eb5b503b376: Download complete 07:30:19 2f39f015ded8: Download complete 07:30:20 5eb5b503b376: Pull complete 07:30:20 5c69ac0246d0: Pull complete 07:30:20 ec43610c2a17: Pull complete 07:30:20 3a2ae6a8a46f: Pull complete 07:30:20 33b1e0a273af: Pull complete 07:30:20 5d3b04190fa2: Pull complete 07:30:24 2f39f015ded8: Pull complete 07:30:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:30:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:30:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:24 prd-ubuntu20.04-docker-8c-8g-40037 does not seem to be running inside a container 07:30:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:30:27 $ docker top 7f1ebf5676c50eaa887d4cf9277243ef558a16828c855d31dfd9730c3ad2dc3e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:30:27 ---> job-cost.sh 07:30:27 lf-activate-venv: SKIPPING 07:30:27 INFO: No Stack... 07:30:28 INFO: Retrieving Pricing Info for: v3-standard-8 07:30:28 INFO: Archiving Costs [Pipeline] sh 07:30:28 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 07:30:28 + cut -d, -f6 [Pipeline] lock 07:30:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-96-stack-cost] 07:30:28 Resource [jenkins-edgexfoundry-device-sdk-c-main-96-stack-cost] did not exist. Created. 07:30:28 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-96-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:30:29 + echo total: 0.2199999988079071 [Pipeline] stash 07:30:29 Stashed 1 file(s) [Pipeline] } 07:30:29 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-96-stack-cost] [Pipeline] // lock [Pipeline] } 07:30:29 $ docker stop --time=1 7f1ebf5676c50eaa887d4cf9277243ef558a16828c855d31dfd9730c3ad2dc3e 07:30:30 $ docker rm -f --volumes 7f1ebf5676c50eaa887d4cf9277243ef558a16828c855d31dfd9730c3ad2dc3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh 07:30:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:30:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:30:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:31 prd-ubuntu20.04-docker-8c-8g-40037 does not seem to be running inside a container 07:30:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:30:31 $ docker top 3b2b88eeecd14a13829764c54d375d45b58d964ce4b85fe1344a6a044af51ebe -eo pid,comm 07:30:31 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). 07:30:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:30:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:30:31 [ssh-agent] Looking for ssh-agent implementation... 07:30:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:30:31 $ docker exec 3b2b88eeecd14a13829764c54d375d45b58d964ce4b85fe1344a6a044af51ebe ssh-agent 07:30:31 SSH_AUTH_SOCK=/tmp/ssh-mjK8mvUVkCpv/agent.33 07:30:31 SSH_AGENT_PID=39 07:30:31 Running ssh-add (command line suppressed) 07:30:31 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12779113489128986406.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12779113489128986406.key) 07:30:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:30:32 + git semver tag 07:30:32 2025-03-03 07:30:32,444 [run_tag] DEBUG tag force:False 07:30:32 2025-03-03 07:30:32,445 [check_head_tag] DEBUG check head tag 07:30:32 2025-03-03 07:30:32,446 [execute] INFO git cat-file --batch-check 07:30:32 2025-03-03 07:30:32,446 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 07:30:32 2025-03-03 07:30:32,449 [execute] INFO git cat-file --batch 07:30:32 2025-03-03 07:30:32,449 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 07:30:32 2025-03-03 07:30:32,468 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 07:30:32 2025-03-03 07:30:32,468 [execute] INFO git tag -a v4.0.0-dev.19 -m v4.0.0-dev.19 07:30:32 2025-03-03 07:30:32,468 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.19', '-m', 'v4.0.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 07:30:32 2025-03-03 07:30:32,473 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 07:30:32 4.0.0-dev.19 [Pipeline] } 07:30:32 $ docker exec --env ******** --env ******** 3b2b88eeecd14a13829764c54d375d45b58d964ce4b85fe1344a6a044af51ebe ssh-agent -k 07:30:32 unset SSH_AUTH_SOCK; 07:30:32 unset SSH_AGENT_PID; 07:30:32 echo Agent pid 39 killed; 07:30:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:30:32 + git semver [Pipeline] } 07:30:33 $ docker stop --time=1 3b2b88eeecd14a13829764c54d375d45b58d964ce4b85fe1344a6a044af51ebe 07:30:34 $ docker rm -f --volumes 3b2b88eeecd14a13829764c54d375d45b58d964ce4b85fe1344a6a044af51ebe [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:30:34 07:30:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:30:35 0.23.1-centos7: Pulling from edgex-lftools 07:30:35 ab5ef0e58194: Pulling fs layer 07:30:35 9712f1f96733: Pulling fs layer 07:30:35 63f879dbbcfc: Pulling fs layer 07:30:35 0d9ebad4ef96: Pulling fs layer 07:30:35 e9a5061849ea: Pulling fs layer 07:30:35 d747dcd14b5f: Pulling fs layer 07:30:35 2de7ff778b66: Pulling fs layer 07:30:35 e9a5061849ea: Waiting 07:30:35 d747dcd14b5f: Waiting 07:30:35 2de7ff778b66: Waiting 07:30:35 0d9ebad4ef96: Waiting 07:30:35 9712f1f96733: Verifying Checksum 07:30:35 9712f1f96733: Download complete 07:30:35 63f879dbbcfc: Verifying Checksum 07:30:35 63f879dbbcfc: Download complete 07:30:35 e9a5061849ea: Verifying Checksum 07:30:35 e9a5061849ea: Download complete 07:30:35 d747dcd14b5f: Verifying Checksum 07:30:35 d747dcd14b5f: Download complete 07:30:35 ab5ef0e58194: Download complete 07:30:35 0d9ebad4ef96: Verifying Checksum 07:30:35 0d9ebad4ef96: Download complete 07:30:35 2de7ff778b66: Download complete 07:30:38 ab5ef0e58194: Pull complete 07:30:38 9712f1f96733: Pull complete 07:30:38 63f879dbbcfc: Pull complete 07:30:42 0d9ebad4ef96: Pull complete 07:30:42 e9a5061849ea: Pull complete 07:30:42 d747dcd14b5f: Pull complete 07:30:43 2de7ff778b66: Pull complete 07:30:43 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:30:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:30:43 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:43 prd-ubuntu20.04-docker-8c-8g-40037 does not seem to be running inside a container 07:30:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:30:46 $ docker top 6344d20e54fea11e105cb3cd10e9c4b34475bfa22b2b01e062e163ce08ad5b10 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:30:46 provisioning config files... 07:30:46 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14423715564662985294tmp 07:30:46 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3678333808390018895tmp 07:30:46 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8439933040063400988tmp [Pipeline] { [Pipeline] echo 07:30:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:30:46 ---> sigul-configuration.sh 07:30:46 gpg: directory `/root/.gnupg' created 07:30:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:30:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:30:46 gpg: keyring `/root/.gnupg/secring.gpg' created 07:30:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:30:46 gpg: CAST5 encrypted data 07:30:46 gpg: encrypted with 1 passphrase 07:30:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:30:47 + mkdir /home/jenkins 07:30:47 + mkdir /home/jenkins/sigul [Pipeline] sh 07:30:47 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 07:30:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:30:47 ---> sigul-install.sh 07:30:47 Sigul already installed; skipping installation. [Pipeline] sh 07:30:48 + git tag --list 07:30:48 0.7.0 07:30:48 0.7.1 07:30:48 1.0.0 07:30:48 v1.0.1 07:30:48 v1.0.2 07:30:48 v1.0.3 07:30:48 v1.1.0 07:30:48 v1.1.1 07:30:48 v1.2.0 07:30:48 v1.2.1 07:30:48 v1.2.2 07:30:48 v1.3.0 07:30:48 v1.3.1 07:30:48 v2.0.0 07:30:48 v2.1.0 07:30:48 v2.2.0 07:30:48 v2.3.0 07:30:48 v3.0 07:30:48 v3.0.0 07:30:48 v3.0.1 07:30:48 v3.0.2 07:30:48 v3.0.3-dev.1 07:30:48 v3.0.3-dev.10 07:30:48 v3.0.3-dev.11 07:30:48 v3.0.3-dev.12 07:30:48 v3.0.3-dev.13 07:30:48 v3.0.3-dev.14 07:30:48 v3.0.3-dev.15 07:30:48 v3.0.3-dev.16 07:30:48 v3.0.3-dev.17 07:30:48 v3.0.3-dev.2 07:30:48 v3.0.3-dev.3 07:30:48 v3.0.3-dev.4 07:30:48 v3.0.3-dev.5 07:30:48 v3.0.3-dev.6 07:30:48 v3.0.3-dev.7 07:30:48 v3.0.3-dev.8 07:30:48 v3.0.3-dev.9 07:30:48 v3.1 07:30:48 v3.1.0 07:30:48 v3.1.0-dev.1 07:30:48 v3.1.0-dev.2 07:30:48 v3.1.0-dev.3 07:30:48 v3.1.0-dev.4 07:30:48 v3.1.0-dev.5 07:30:48 v3.1.0-dev.6 07:30:48 v3.1.0-dev.7 07:30:48 v3.1.0-dev.8 07:30:48 v3.1.0-dev.9 07:30:48 v3.1.1 07:30:48 v3.1.1-dev.1 07:30:48 v4.0.0-dev.1 07:30:48 v4.0.0-dev.10 07:30:48 v4.0.0-dev.11 07:30:48 v4.0.0-dev.12 07:30:48 v4.0.0-dev.13 07:30:48 v4.0.0-dev.14 07:30:48 v4.0.0-dev.15 07:30:48 v4.0.0-dev.16 07:30:48 v4.0.0-dev.17 07:30:48 v4.0.0-dev.18 07:30:48 v4.0.0-dev.19 07:30:48 v4.0.0-dev.2 07:30:48 v4.0.0-dev.3 07:30:48 v4.0.0-dev.4 07:30:48 v4.0.0-dev.5 07:30:48 v4.0.0-dev.6 07:30:48 v4.0.0-dev.7 07:30:48 v4.0.0-dev.8 07:30:48 v4.0.0-dev.9 [Pipeline] sh 07:30:48 + lftools sign git-tag v4.0.0-dev.19 07:30:49 Signing Git tag with Sigul... 07:30:49 Signing v4.0.0-dev.19 [Pipeline] echo 07:30:49 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:30:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:30:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:30:49 $ docker stop --time=1 6344d20e54fea11e105cb3cd10e9c4b34475bfa22b2b01e062e163ce08ad5b10 07:30:50 $ docker rm -f --volumes 6344d20e54fea11e105cb3cd10e9c4b34475bfa22b2b01e062e163ce08ad5b10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:30:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:30:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:30:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:51 prd-ubuntu20.04-docker-8c-8g-40037 does not seem to be running inside a container 07:30:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:30:52 $ docker top 4bf49fe9557942712c9a10ba3d130bbe60479b293dba051da805ea0548957e90 -eo pid,comm 07:30: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). 07:30:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:30:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:30:52 [ssh-agent] Looking for ssh-agent implementation... 07:30:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:30:52 $ docker exec 4bf49fe9557942712c9a10ba3d130bbe60479b293dba051da805ea0548957e90 ssh-agent 07:30:52 SSH_AUTH_SOCK=/tmp/ssh-eWUBnFNunxSD/agent.32 07:30:52 SSH_AGENT_PID=38 07:30:52 Running ssh-add (command line suppressed) 07:30:52 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1459551157149346128.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1459551157149346128.key) 07:30:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:30:52 + git semver bump pre 07:30:52 2025-03-03 07:30:52,892 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 07:30:52 2025-03-03 07:30:52,892 [bump_version] DEBUG bumping version:4.0.0-dev.19 on axis:pre with prefix:dev 07:30:52 2025-03-03 07:30:52,892 [bump_version] DEBUG bumped version:4.0.0-dev.20 07:30:52 2025-03-03 07:30:52,892 [write_version] DEBUG write version:4.0.0-dev.20 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 07:30:52 2025-03-03 07:30:52,892 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 07:30:52 2025-03-03 07:30:52,892 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 07:30:52 2025-03-03 07:30:52,894 [execute] INFO git cat-file --batch-check 07:30:52 2025-03-03 07:30:52,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 07:30:52 2025-03-03 07:30:52,899 [execute] INFO git cat-file --batch 07:30:52 2025-03-03 07:30:52,899 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 07:30:52 2025-03-03 07:30:52,904 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 07:30:52 4.0.0-dev.20 [Pipeline] } 07:30:53 $ docker exec --env ******** --env ******** 4bf49fe9557942712c9a10ba3d130bbe60479b293dba051da805ea0548957e90 ssh-agent -k 07:30:53 unset SSH_AUTH_SOCK; 07:30:53 unset SSH_AGENT_PID; 07:30:53 echo Agent pid 38 killed; 07:30:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:30:53 + git semver [Pipeline] } 07:30:53 $ docker stop --time=1 4bf49fe9557942712c9a10ba3d130bbe60479b293dba051da805ea0548957e90 07:30:55 $ docker rm -f --volumes 4bf49fe9557942712c9a10ba3d130bbe60479b293dba051da805ea0548957e90 [Pipeline] // withDockerContainer [Pipeline] sh 07:30:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:30:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:30:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:55 prd-ubuntu20.04-docker-8c-8g-40037 does not seem to be running inside a container 07:30:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:30:56 $ docker top aeaaaa5f5b94b02354e986c90feeb58a423875b6e45c51e827639d446c857a9b -eo pid,comm 07:30:56 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). 07:30:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:30:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:30:56 [ssh-agent] Looking for ssh-agent implementation... 07:30:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:30:56 $ docker exec aeaaaa5f5b94b02354e986c90feeb58a423875b6e45c51e827639d446c857a9b ssh-agent 07:30:56 SSH_AUTH_SOCK=/tmp/ssh-5cRCfiderqGD/agent.32 07:30:56 SSH_AGENT_PID=38 07:30:56 Running ssh-add (command line suppressed) 07:30:56 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11624614555368646333.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11624614555368646333.key) 07:30:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:30:56 + git semver push 07:30:57 2025-03-03 07:30:57,091 [run_push] DEBUG push 07:30:57 2025-03-03 07:30:57,092 [execute] INFO git cat-file --batch-check 07:30:57 2025-03-03 07:30:57,092 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 07:30:57 2025-03-03 07:30:57,095 [execute] INFO git rev-list 31534213c43d5d28702cedb13b0dcef37c9fc7fc -- 07:30:57 2025-03-03 07:30:57,096 [execute] DEBUG Popen(['git', 'rev-list', '31534213c43d5d28702cedb13b0dcef37c9fc7fc', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 07:30:57 2025-03-03 07:30:57,104 [execute] INFO git fetch -v origin 07:30:57 2025-03-03 07:30:57,104 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 07:30:57 2025-03-03 07:30:57,549 [run_push] DEBUG no remote changes detected 07:30:57 2025-03-03 07:30:57,550 [execute] INFO git push origin semver 07:30:57 2025-03-03 07:30:57,550 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 07:30:58 2025-03-03 07:30:58,149 [run_push] DEBUG push all version tags 07:30:58 2025-03-03 07:30:58,149 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:30:58 2025-03-03 07:30:58,149 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 07:30:58 2025-03-03 07:30:58,777 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 07:30:58 4.0.0-dev.20 [Pipeline] } 07:30:58 $ docker exec --env ******** --env ******** aeaaaa5f5b94b02354e986c90feeb58a423875b6e45c51e827639d446c857a9b ssh-agent -k 07:30:59 unset SSH_AUTH_SOCK; 07:30:59 unset SSH_AGENT_PID; 07:30:59 echo Agent pid 38 killed; 07:30:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:30:59 + git semver [Pipeline] } 07:30:59 $ docker stop --time=1 aeaaaa5f5b94b02354e986c90feeb58a423875b6e45c51e827639d446c857a9b 07:31:00 $ docker rm -f --volumes aeaaaa5f5b94b02354e986c90feeb58a423875b6e45c51e827639d446c857a9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:31:01 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 07:31:01 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 07:31:01 total 16 07:31:01 drwxr-xr-x 3 root root 4096 Mar 3 07:30 . 07:31:01 drwxrwxr-x 10 jenkins jenkins 4096 Mar 3 07:30 .. 07:31:01 drwxr-xr-x 2 root root 4096 Mar 3 07:30 cost 07:31:01 -rw-r--r-- 1 root root 83 Mar 3 07:30 cost.csv 07:31:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 07:31:01 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 07:31:01 total 16 07:31:01 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 07:30 . 07:31:01 drwxrwxr-x 10 jenkins jenkins 4096 Mar 3 07:30 .. 07:31:01 drwxr-xr-x 2 jenkins jenkins 4096 Mar 3 07:30 cost 07:31:01 -rw-r--r-- 1 jenkins jenkins 83 Mar 3 07:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:31:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:31:02 ---> package-listing.sh 07:31:02 ++ facter osfamily 07:31:02 ++ tr '[:upper:]' '[:lower:]' 07:31:02 + OS_FAMILY=debian 07:31:02 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 07:31:02 + START_PACKAGES=/tmp/packages_start.txt 07:31:02 + END_PACKAGES=/tmp/packages_end.txt 07:31:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:31:02 + PACKAGES=/tmp/packages_start.txt 07:31:02 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 07:31:02 + PACKAGES=/tmp/packages_end.txt 07:31:02 + case "${OS_FAMILY}" in 07:31:02 + dpkg -l 07:31:02 + grep '^ii' 07:31:02 + '[' -f /tmp/packages_start.txt ']' 07:31:02 + '[' -f /tmp/packages_end.txt ']' 07:31:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:31:02 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 07:31:02 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 07:31:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 07:31: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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:31:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:31:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:31:03 prd-ubuntu20.04-docker-8c-8g-40037 does not seem to be running inside a container 07:31: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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:31:04 $ docker top 3510bdcf63ad5c4d9d5e5ccea7ecc164b410ea2443a56b0e26c5c480156cc6e6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:31:04 + touch /tmp/pre-build-complete [Pipeline] sh 07:31:04 + mkdir -p /var/log/sysstat [Pipeline] sh 07:31:04 + ls /var/log/sa-host 07:31:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:31:05 provisioning config files... 07:31:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3766763481679036688tmp [Pipeline] { [Pipeline] echo 07:31:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:31:05 ---> create-netrc.sh [Pipeline] } 07:31:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:31:05 ---> python-tools-install.sh [Pipeline] echo 07:31:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:31:06 ---> sudo-logs.sh 07:31:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:31:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:31:06 ---> job-cost.sh 07:31:06 lf-activate-venv: SKIPPING 07:31:06 DEBUG: total: 0.2199999988079071 07:31:06 INFO: Retrieving Stack Cost... 07:31:06 INFO: Retrieving Pricing Info for: v3-standard-8 07:31:06 INFO: Archiving Costs [Pipeline] echo 07:31:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:31:07 ---> logs-deploy.sh 07:31:07 lf-activate-venv: SKIPPING 07:31:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/96 07:31:07 INFO: archiving workspace using pattern(s): 07:31:08 Archives upload complete. 07:31:08 INFO: archiving logs to Nexus