Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3521595b3d029ad48779306d8d3c838e476b6612 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-ssh5667408083616088237.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-ssh14694360928588613870.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-ssh5768757432675198591.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-ssh5923777795626923570.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-ssh17720879200194920361.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-34780 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 3521595b3d029ad48779306d8d3c838e476b6612 (main) Commit message: "fix: Wait for MQTT subscriptions to take effect before returning (#516) (#517)" > 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 3521595b3d029ad48779306d8d3c838e476b6612 # timeout=10 > git rev-list --no-walk 62fc64c90db9bc421ef18031b23432b09bce4dbe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:32:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:32:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:32:36 ========================================================= 08:32:36 EdgeX Global Pipelines Version Info 08:32:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:32:37 ------------------- 08:32:37 stable info: 08:32:37 ------------------- 08:32:37 Commited By: Cherry Wang cherry@iotechsys.com 08:32:37 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 08:32:37 Message: update stable to v1.0.269 08:32:37 ------------------- 08:32:37 experimental info: 08:32:37 ------------------- 08:32:37 Commited By: **** collab-it+edgex@linuxfoundation.org 08:32:37 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 08:32:37 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:32:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:32:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:32:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3521595b3d029ad48779306d8d3c838e476b6612 [Pipeline] echo 08:32:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3521595 [Pipeline] echo 08:32:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:32:38 provisioning config files... 08:32:38 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5952018960112087645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:32:38 ---> ****-login.sh 08:32:38 nexus3.edgexfoundry.org:10001 08:32:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:38 Configure a credential helper to remove this warning. See 08:32:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:38 08:32:38 Login Succeeded 08:32:38 nexus3.edgexfoundry.org:10002 08:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:39 Configure a credential helper to remove this warning. See 08:32:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:39 08:32:39 Login Succeeded 08:32:39 nexus3.edgexfoundry.org:10003 08:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:39 Configure a credential helper to remove this warning. See 08:32:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:39 08:32:39 Login Succeeded 08:32:39 nexus3.edgexfoundry.org:10004 08:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:39 Configure a credential helper to remove this warning. See 08:32:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:39 08:32:39 Login Succeeded 08:32:39 ****.io 08:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:39 Configure a credential helper to remove this warning. See 08:32:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:39 08:32:39 Login Succeeded 08:32:39 ---> ****-login.sh ends [Pipeline] } 08:32:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 08:32:39 + git rev-list -1 --merges 3521595b3d029ad48779306d8d3c838e476b6612~1..3521595b3d029ad48779306d8d3c838e476b6612 [Pipeline] echo 08:32:39 -----------> git rev-list -1 --merges 3521595b3d029ad48779306d8d3c838e476b6612~1..3521595b3d029ad48779306d8d3c838e476b6612 3521595b3d029ad48779306d8d3c838e476b6612 [false] [Pipeline] sh 08:32:40 + git log --format=format:%s -1 3521595b3d029ad48779306d8d3c838e476b6612 [Pipeline] echo 08:32:40 ========================================================= 08:32:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:32:40 ========================================================= 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 08:32:40 + git rev-list -1 --merges 3521595b3d029ad48779306d8d3c838e476b6612~1..3521595b3d029ad48779306d8d3c838e476b6612 [Pipeline] echo 08:32:40 -----------> git rev-list -1 --merges 3521595b3d029ad48779306d8d3c838e476b6612~1..3521595b3d029ad48779306d8d3c838e476b6612 3521595b3d029ad48779306d8d3c838e476b6612 [false] [Pipeline] sh 08:32:41 + git log --format=format:%s -1 3521595b3d029ad48779306d8d3c838e476b6612 [Pipeline] echo 08:32:41 ========================================================= 08:32:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:32:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 08:32:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:32:41 + grep -v github /etc/ssh/ssh_known_hosts 08:32:41 + [ -e /tmp/ssh_known_hosts ] 08:32:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:32:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:32:41 + sudo tee -a /etc/ssh/ssh_known_hosts 08:32:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:32:41 08:32:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:32:42 0.1.4: Pulling from edgex-devops/py-git-semver 08:32:42 b85a868b505f: Pulling fs layer 08:32:42 e2be974225ed: Pulling fs layer 08:32:42 339a4e72a1f5: Pulling fs layer 08:32:42 988bab9f4d93: Pulling fs layer 08:32:42 1469e6f7b9e6: Pulling fs layer 08:32:42 eaf3925da568: Pulling fs layer 08:32:42 bab4dde63d76: Pulling fs layer 08:32:42 bde34c3a00c8: Pulling fs layer 08:32:42 b352a97aabf1: Pulling fs layer 08:32:42 4872d77fe225: Pulling fs layer 08:32:42 5851b861e8e6: Pulling fs layer 08:32:42 bde34c3a00c8: Waiting 08:32:42 b352a97aabf1: Waiting 08:32:42 4872d77fe225: Waiting 08:32:42 bab4dde63d76: Waiting 08:32:42 5851b861e8e6: Waiting 08:32:42 988bab9f4d93: Waiting 08:32:42 eaf3925da568: Waiting 08:32:42 1469e6f7b9e6: Waiting 08:32:42 e2be974225ed: Download complete 08:32:42 988bab9f4d93: Verifying Checksum 08:32:42 988bab9f4d93: Download complete 08:32:42 1469e6f7b9e6: Verifying Checksum 08:32:42 1469e6f7b9e6: Download complete 08:32:42 eaf3925da568: Download complete 08:32:42 339a4e72a1f5: Verifying Checksum 08:32:42 339a4e72a1f5: Download complete 08:32:42 bde34c3a00c8: Verifying Checksum 08:32:42 bde34c3a00c8: Download complete 08:32:42 b352a97aabf1: Verifying Checksum 08:32:42 b352a97aabf1: Download complete 08:32:42 4872d77fe225: Verifying Checksum 08:32:42 4872d77fe225: Download complete 08:32:42 5851b861e8e6: Verifying Checksum 08:32:42 5851b861e8e6: Download complete 08:32:42 b85a868b505f: Verifying Checksum 08:32:42 b85a868b505f: Download complete 08:32:42 bab4dde63d76: Verifying Checksum 08:32:42 bab4dde63d76: Download complete 08:32:44 b85a868b505f: Pull complete 08:32:44 e2be974225ed: Pull complete 08:32:44 339a4e72a1f5: Pull complete 08:32:44 988bab9f4d93: Pull complete 08:32:44 1469e6f7b9e6: Pull complete 08:32:44 eaf3925da568: Pull complete 08:32:46 bab4dde63d76: Pull complete 08:32:46 bde34c3a00c8: Pull complete 08:32:46 b352a97aabf1: Pull complete 08:32:47 4872d77fe225: Pull complete 08:32:47 5851b861e8e6: Pull complete 08:32:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:32:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:32:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:32:47 prd-ubuntu20.04-docker-8c-8g-34780 does not seem to be running inside a container 08:32:47 $ 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 08:32:50 $ docker top 6034fc6af5708b29b662788dc1389d9da6505303a7d4335bafebb6a3cd4d7e40 -eo pid,comm 08:32:50 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). 08:32:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:32:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:32:50 [ssh-agent] Looking for ssh-agent implementation... 08:32:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:32:50 $ docker exec 6034fc6af5708b29b662788dc1389d9da6505303a7d4335bafebb6a3cd4d7e40 ssh-agent 08:32:50 SSH_AUTH_SOCK=/tmp/ssh-H2iBi9yaWZrF/agent.32 08:32:50 SSH_AGENT_PID=38 08:32:50 Running ssh-add (command line suppressed) 08:32:50 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6433553884983560600.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6433553884983560600.key) 08:32:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:32:51 + git tag --points-at HEAD [Pipeline] } 08:32:51 $ docker exec --env ******** --env ******** 6034fc6af5708b29b662788dc1389d9da6505303a7d4335bafebb6a3cd4d7e40 ssh-agent -k 08:32:51 unset SSH_AUTH_SOCK; 08:32:51 unset SSH_AGENT_PID; 08:32:51 echo Agent pid 38 killed; 08:32:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:32:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:32:51 [ssh-agent] Looking for ssh-agent implementation... 08:32:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:32:51 $ docker exec 6034fc6af5708b29b662788dc1389d9da6505303a7d4335bafebb6a3cd4d7e40 ssh-agent 08:32:51 SSH_AUTH_SOCK=/tmp/ssh-FiSBCRR6nsc6/agent.71 08:32:51 SSH_AGENT_PID=77 08:32:51 Running ssh-add (command line suppressed) 08:32:51 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13167978252367606328.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13167978252367606328.key) 08:32:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:32:51 + git semver init 08:32:52 2024-12-09 08:32:52,072 [run_init] DEBUG init version:0.0.0 force:False 08:32:52 2024-12-09 08:32:52,073 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 08:32:52 2024-12-09 08:32:52,074 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 08:32:52 2024-12-09 08:32:52,074 [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) 08:32:53 2024-12-09 08:32:52,863 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 08:32:53 2024-12-09 08:32:52,863 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 08:32:53 2024-12-09 08:32:52,863 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 08:32:53 2024-12-09 08:32:52,863 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 08:32:53 4.0.0-dev.7 [Pipeline] } 08:32:53 $ docker exec --env ******** --env ******** 6034fc6af5708b29b662788dc1389d9da6505303a7d4335bafebb6a3cd4d7e40 ssh-agent -k 08:32:53 unset SSH_AUTH_SOCK; 08:32:53 unset SSH_AGENT_PID; 08:32:53 echo Agent pid 77 killed; 08:32:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:32:53 + git semver [Pipeline] } 08:32:53 $ docker stop --time=1 6034fc6af5708b29b662788dc1389d9da6505303a7d4335bafebb6a3cd4d7e40 08:32:55 $ docker rm -f --volumes 6034fc6af5708b29b662788dc1389d9da6505303a7d4335bafebb6a3cd4d7e40 [Pipeline] // withDockerContainer [Pipeline] sh 08:32:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:32:55 Stashed 1 file(s) [Pipeline] echo 08:32:55 [edgeXSemver]: initialized semver on version 4.0.0-dev.7 [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 08:32:55 provisioning config files... 08:32:55 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15476809020731152407tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 08:32:56 ---> ****-login.sh 08:32:56 nexus3.edgexfoundry.org:10001 08:32:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:56 Configure a credential helper to remove this warning. See 08:32:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:56 08:32:56 Login Succeeded 08:32:56 nexus3.edgexfoundry.org:10002 08:32:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:56 Configure a credential helper to remove this warning. See 08:32:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:56 08:32:56 Login Succeeded 08:32:56 nexus3.edgexfoundry.org:10003 08:32:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:56 Configure a credential helper to remove this warning. See 08:32:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:56 08:32:56 Login Succeeded 08:32:56 nexus3.edgexfoundry.org:10004 08:32:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:56 Configure a credential helper to remove this warning. See 08:32:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:56 08:32:56 Login Succeeded 08:32:56 ****.io 08:32:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:56 Configure a credential helper to remove this warning. See 08:32:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:56 08:32:56 Login Succeeded 08:32:56 ---> ****-login.sh ends [Pipeline] } 08:32:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:32:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:32:56 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 08:32:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:32:56 ========================================================= 08:32:56 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 08:32:56 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:57 + 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 . 08:32:57 Sending build context to Docker daemon 5.172MB 08:32:57 Step 1/22 : ARG BASE=alpine:3.18 08:32:57 Step 2/22 : FROM ${BASE} as builder 08:32:57 latest: Pulling from edgex-devops/edgex-gcc-base 08:32:57 96526aa774ef: Pulling fs layer 08:32:57 da60e534fd72: Pulling fs layer 08:32:57 96526aa774ef: Verifying Checksum 08:32:57 96526aa774ef: Download complete 08:32:57 96526aa774ef: Pull complete 08:32:58 da60e534fd72: Download complete 08:33:01 da60e534fd72: Pull complete 08:33:01 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 08:33:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 08:33:01 ---> 6605166a5db4 08:33:01 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 08:33:04 ---> Running in c7ec0cb58dd3 08:33:04 Connecting to iotech.jfrog.io (34.247.22.236:443) 08:33:04 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 08:33:04 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 08:33:04 '/etc/apk/keys/alpine.dev.rsa.pub' saved 08:33:04 Removing intermediate container c7ec0cb58dd3 08:33:04 ---> 661ed07e4064 08:33:04 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 08:33:04 ---> Running in f0ead57fc8aa 08:33:05 Removing intermediate container f0ead57fc8aa 08:33:05 ---> b63d7da917cd 08:33:05 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 08:33:05 ---> Running in 835d7ab9dd9f 08:33:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:33:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:33:06 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 08:33:06 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:33:06 (1/15) Installing libcbor (0.10.2-r1) 08:33:06 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 08:33:07 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 08:33:07 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 08:33:07 (5/15) Installing libcbor-dev (0.10.2-r1) 08:33:07 (6/15) Installing libmenuw (6.4_p20230506-r0) 08:33:07 (7/15) Installing libpanelw (6.4_p20230506-r0) 08:33:07 (8/15) Installing libncurses++ (6.4_p20230506-r0) 08:33:07 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 08:33:07 (10/15) Installing libblkid (2.38.1-r8) 08:33:07 (11/15) Installing libuuid (2.38.1-r8) 08:33:07 (12/15) Installing libfdisk (2.38.1-r8) 08:33:07 (13/15) Installing libmount (2.38.1-r8) 08:33:07 (14/15) Installing libsmartcols (2.38.1-r8) 08:33:07 (15/15) Installing util-linux-dev (2.38.1-r8) 08:33:07 Executing busybox-1.36.1-r4.trigger 08:33:07 OK: 336 MiB in 97 packages 08:33:08 Removing intermediate container 835d7ab9dd9f 08:33:08 ---> 8a6ccc6e5a64 08:33:08 Step 6/22 : RUN mkdir /tmp/sdk 08:33:08 ---> Running in b25b09c3b770 08:33:08 Removing intermediate container b25b09c3b770 08:33:08 ---> 39bd182e3b4e 08:33:08 Step 7/22 : COPY VERSION /tmp/sdk 08:33:09 ---> 4e8474f6f86e 08:33:09 Step 8/22 : COPY src /tmp/sdk/src 08:33:09 ---> 3e157472891a 08:33:09 Step 9/22 : COPY include /tmp/sdk/include 08:33:09 ---> a9e53344b033 08:33:09 Step 10/22 : COPY scripts /tmp/sdk/scripts 08:33:09 ---> 16fb23dbd61e 08:33:09 Step 11/22 : COPY LICENSE /tmp/sdk 08:33:09 ---> 68cfea58e977 08:33:09 Step 12/22 : COPY Attribution.txt /tmp/sdk 08:33:09 ---> 8acc7f6f7199 08:33:09 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 08:33:09 ---> Running in baaa9c21c56d 08:33:10 + CPPCHECK=false 08:33:10 + DOCGEN=false 08:33:10 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 08:33:10 + '[' 0 -gt 0 ] 08:33:10 + readlink -f ./scripts/build.sh 08:33:10 + dirname /tmp/sdk/scripts/build.sh 08:33:10 + dirname /tmp/sdk/scripts 08:33:10 + ROOT=/tmp/sdk 08:33:10 + cd /tmp/sdk 08:33:10 + mkdir -p /tmp/sdk/build/release 08:33:10 + cd /tmp/sdk/build/release 08:33:10 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 08:33:10 -- The C compiler identification is GNU 12.2.1 08:33:10 -- Detecting C compiler ABI info 08:33:10 -- Detecting C compiler ABI info - done 08:33:10 -- Check for working C compiler: /usr/bin/cc - skipped 08:33:10 -- Detecting C compile features 08:33:10 -- Detecting C compile features - done 08:33:10 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 08:33:10 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 08:33:10 -- Found LIBYAML: /usr/lib/libyaml.so 08:33:10 -- Found LIBUUID: /usr/lib/libuuid.so 08:33:10 -- Found LIBCBOR: /usr/lib/libcbor.so 08:33:10 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 08:33:10 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 08:33:10 -- /opt/iotech/iot/1.5/include 08:33:10 -- C SDK 4.0.0-dev.7 for Linux 08:33:10 -- Performing Test CSDK_HAVE_ATOMIC 08:33:10 -- Performing Test CSDK_HAVE_ATOMIC - Success 08:33:10 -- Found Curses: /usr/lib/libcurses.so 08:33:10 -- Configuring done (0.4s) 08:33:10 -- Generating done (0.0s) 08:33:10 -- Build files have been written to: /tmp/sdk/build/release 08:33:10 + make all package 08:33:10 + tee release.log 08:33:10 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 08:33:10 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 08:33:10 from /tmp/sdk/src/c/service.h:12, 08:33:10 from /tmp/sdk/src/c/autoevent.h:12, 08:33:10 from /tmp/sdk/src/c/autoevent.c:9: 08:33:10 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 08:33:10 /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 08:33:10 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 08:33:10 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 08:33:10 | | 08:33:10 | size_t {aka long unsigned int} 08:33:10 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 08:33:10 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 08:33:10 | ^~~~~~~~~~~ 08:33:10 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 08:33:10 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 08:33:10 | ~^ 08:33:10 | | 08:33:10 | int 08:33:10 | %ld 08:33:10 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 08:33:10 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 08:33:10 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 08:33:11 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 08:33:11 [ 11%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 08:33:11 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 08:33:11 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 08:33:11 294 | while (privateConfig) 08:33:11 | ^~~~~~~~~~~~~ 08:33:11 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 08:33:11 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 08:33:11 | ^~~~~~~~~~~~~ 08:33:11 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 08:33:11 271 | while (result) 08:33:11 | ^~~~~~ 08:33:11 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 08:33:11 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 08:33:11 | ^~~~~~ 08:33:11 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 08:33:11 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 08:33:11 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 08:33:12 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 08:33:12 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 08:33:12 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 08:33:12 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 08:33:12 [ 27%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 08:33:12 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 08:33:12 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 08:33:13 [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 08:33:13 [ 35%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 08:33:13 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 08:33:13 from /tmp/sdk/src/c/registry.h:14, 08:33:13 from /tmp/sdk/src/c/registry-impl.h:12, 08:33:13 from /tmp/sdk/src/c/keeper.h:12, 08:33:13 from /tmp/sdk/src/c/keeper.c:1: 08:33:13 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 08:33:13 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 08:33:13 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 08:33:13 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 08:33:13 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 08:33:13 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 08:33:13 | ^~~~~~~~~~~ 08:33:13 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 08:33:13 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 08:33:13 | ~^ 08:33:13 | | 08:33:13 | char * 08:33:13 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 08:33:13 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 08:33:13 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 08:33:15 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 08:33:15 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 08:33:15 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 08:33:15 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 08:33:15 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 08:33:15 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 08:33:15 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 08:33:15 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 08:33:15 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 08:33:16 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 08:33:16 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 08:33:16 /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 08:33:16 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 08:33:16 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 08:33:16 /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 08:33:16 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 08:33:16 | ^ 08:33:16 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 08:33:16 from /tmp/sdk/src/c/service.h:12, 08:33:16 from /tmp/sdk/src/c/service.c:9: 08:33:16 /tmp/sdk/src/c/service.c:1095:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 08:33:16 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 08:33:16 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 08:33:16 | | 08:33:16 | uint64_t {aka long unsigned int} 08:33:16 /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' 08:33:16 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) 08:33:16 | ^~~~~~~~~~~ 08:33:16 /tmp/sdk/src/c/service.c:1095:54: note: format string is defined here 08:33:16 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 08:33:16 | ~^ 08:33:16 | | 08:33:16 | int 08:33:16 | %ld 08:33:16 /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': 08:33:16 /tmp/sdk/src/c/service.c:1158:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 08:33:16 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 08:33:16 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 08:33:16 | | 08:33:16 | size_t {aka long unsigned int} 08:33:16 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 08:33:16 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 08:33:16 | ^~~~~~~~~~~ 08:33:16 /tmp/sdk/src/c/service.c:1158:66: note: format string is defined here 08:33:16 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 08:33:16 | ~^ 08:33:16 | | 08:33:16 | int 08:33:16 | %ld 08:33:16 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 08:33:16 /tmp/sdk/src/c/service.c:1078:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 08:33:16 1078 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 08:33:16 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 08:33:16 /tmp/sdk/src/c/service.c:882:68: note: 'deviceservices_config' was declared here 08:33:16 882 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 08:33:16 | ^~~~~~~~~~~~~~~~~~~~~ 08:33:16 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 08:33:16 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 08:33:16 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 08:33:16 [ 68%] Linking C shared library libcsdk.so 08:33:16 [ 68%] Built target csdk 08:33:16 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 08:33:16 [ 72%] Linking C executable template 08:33:16 [ 72%] Built target template 08:33:16 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 08:33:16 [ 76%] Linking C executable device-counter 08:33:16 [ 76%] Built target device-counter 08:33:17 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 08:33:17 [ 80%] Linking C executable device-random 08:33:17 [ 80%] Built target device-random 08:33:17 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 08:33:17 [ 84%] Linking C executable device-gyro 08:33:17 [ 84%] Built target device-gyro 08:33:17 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 08:33:17 [ 88%] Linking C executable device-bitfields 08:33:17 [ 88%] Built target device-bitfields 08:33:17 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 08:33:17 [ 92%] Linking C executable template-discovery 08:33:17 [ 92%] Built target template-discovery 08:33:17 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 08:33:18 [ 96%] Linking C executable device-file 08:33:18 [ 96%] Built target device-file 08:33:18 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 08:33:18 [100%] Linking C executable device-terminal 08:33:18 [100%] Built target device-terminal 08:33:18 Run CPack packaging tool... 08:33:18 CPack: Create package using TGZ 08:33:18 CPack: Install projects 08:33:18 CPack: - Run preinstall target for: Csdk 08:33:18 CPack: - Install project: Csdk [] 08:33:18 CPack: Create package 08:33:18 CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.7.tar.gz generated. 08:33:18 + '[' false '=' true ] 08:33:18 + '[' false '=' true ] 08:33:18 + mkdir -p /tmp/sdk/build/debug 08:33:18 + cd /tmp/sdk/build/debug 08:33:18 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 08:33:18 -- The C compiler identification is GNU 12.2.1 08:33:18 -- Detecting C compiler ABI info 08:33:18 -- Detecting C compiler ABI info - done 08:33:18 -- Check for working C compiler: /usr/bin/cc - skipped 08:33:18 -- Detecting C compile features 08:33:18 -- Detecting C compile features - done 08:33:18 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 08:33:18 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 08:33:18 -- Found LIBYAML: /usr/lib/libyaml.so 08:33:18 -- Found LIBUUID: /usr/lib/libuuid.so 08:33:18 -- Found LIBCBOR: /usr/lib/libcbor.so 08:33:18 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 08:33:18 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 08:33:18 -- /opt/iotech/iot/1.5/include 08:33:18 -- C SDK 4.0.0-dev.7 for Linux 08:33:18 -- Performing Test CSDK_HAVE_ATOMIC 08:33:18 -- Performing Test CSDK_HAVE_ATOMIC - Success 08:33:18 -- Found Curses: /usr/lib/libcurses.so 08:33:19 -- Configuring done (0.4s) 08:33:19 -- Generating done (0.0s) 08:33:19 -- Build files have been written to: /tmp/sdk/build/debug 08:33:19 + make 08:33:19 + tee debug.log 08:33:19 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 08:33:19 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 08:33:19 from /tmp/sdk/src/c/service.h:12, 08:33:19 from /tmp/sdk/src/c/autoevent.h:12, 08:33:19 from /tmp/sdk/src/c/autoevent.c:9: 08:33:19 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 08:33:19 /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 08:33:19 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 08:33:19 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 08:33:19 | | 08:33:19 | size_t {aka long unsigned int} 08:33:19 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 08:33:19 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 08:33:19 | ^~~~~~~~~~~ 08:33:19 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 08:33:19 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 08:33:19 | ~^ 08:33:19 | | 08:33:19 | int 08:33:19 | %ld 08:33:19 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 08:33:19 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 08:33:19 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 08:33:19 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 08:33:19 [ 11%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 08:33:19 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 08:33:19 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 08:33:19 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 08:33:19 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 08:33:19 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 08:33:19 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 08:33:20 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 08:33:20 [ 27%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 08:33:20 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 08:33:20 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 08:33:20 [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 08:33:20 [ 35%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 08:33:20 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 08:33:20 from /tmp/sdk/src/c/registry.h:14, 08:33:20 from /tmp/sdk/src/c/registry-impl.h:12, 08:33:20 from /tmp/sdk/src/c/keeper.h:12, 08:33:20 from /tmp/sdk/src/c/keeper.c:1: 08:33:20 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 08:33:20 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 08:33:20 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 08:33:20 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 08:33:20 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 08:33:20 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 08:33:20 | ^~~~~~~~~~~ 08:33:20 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 08:33:20 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 08:33:20 | ~^ 08:33:20 | | 08:33:20 | char * 08:33:20 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 08:33:20 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 08:33:20 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 08:33:20 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 08:33:20 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 08:33:20 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 08:33:21 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 08:33:21 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 08:33:21 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 08:33:21 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 08:33:21 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 08:33:21 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 08:33:21 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 08:33:21 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 08:33:21 /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 08:33:21 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 08:33:21 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 08:33:21 /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 08:33:21 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 08:33:21 | ^ 08:33:21 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 08:33:21 from /tmp/sdk/src/c/service.h:12, 08:33:21 from /tmp/sdk/src/c/service.c:9: 08:33:21 /tmp/sdk/src/c/service.c:1095:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 08:33:21 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 08:33:21 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 08:33:21 | | 08:33:21 | uint64_t {aka long unsigned int} 08:33:21 /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' 08:33:21 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) 08:33:21 | ^~~~~~~~~~~ 08:33:21 /tmp/sdk/src/c/service.c:1095:54: note: format string is defined here 08:33:21 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 08:33:21 | ~^ 08:33:21 | | 08:33:21 | int 08:33:21 | %ld 08:33:21 /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': 08:33:21 /tmp/sdk/src/c/service.c:1158:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 08:33:21 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 08:33:21 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 08:33:21 | | 08:33:21 | size_t {aka long unsigned int} 08:33:21 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 08:33:21 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 08:33:21 | ^~~~~~~~~~~ 08:33:21 /tmp/sdk/src/c/service.c:1158:66: note: format string is defined here 08:33:21 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 08:33:21 | ~^ 08:33:21 | | 08:33:21 | int 08:33:21 | %ld 08:33:21 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 08:33:21 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 08:33:21 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 08:33:21 [ 68%] Linking C shared library libcsdk.so 08:33:21 [ 68%] Built target csdk 08:33:21 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 08:33:21 [ 72%] Linking C executable template 08:33:22 [ 72%] Built target template 08:33:22 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 08:33:22 [ 76%] Linking C executable device-counter 08:33:22 [ 76%] Built target device-counter 08:33:22 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 08:33:22 [ 80%] Linking C executable device-random 08:33:22 [ 80%] Built target device-random 08:33:22 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 08:33:22 [ 84%] Linking C executable device-gyro 08:33:22 [ 84%] Built target device-gyro 08:33:22 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 08:33:22 [ 88%] Linking C executable device-bitfields 08:33:22 [ 88%] Built target device-bitfields 08:33:22 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 08:33:22 [ 92%] Linking C executable template-discovery 08:33:22 [ 92%] Built target template-discovery 08:33:22 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 08:33:22 [ 96%] Linking C executable device-file 08:33:22 [ 96%] Built target device-file 08:33:22 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 08:33:22 [100%] Linking C executable device-terminal 08:33:23 [100%] Built target device-terminal 08:33:23 make: Entering directory '/tmp/sdk/build/release' 08:33:23 [ 68%] Built target csdk 08:33:23 [ 72%] Built target template 08:33:23 [ 76%] Built target device-counter 08:33:23 [ 80%] Built target device-random 08:33:23 [ 84%] Built target device-gyro 08:33:23 [ 88%] Built target device-bitfields 08:33:23 [ 92%] Built target template-discovery 08:33:23 [ 96%] Built target device-file 08:33:23 [100%] Built target device-terminal 08:33:23 Install the project... 08:33:23 -- Install configuration: "Release" 08:33:23 -- Installing: /usr/local/lib/libcsdk.so 08:33:23 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 08:33:23 -- Installing: /usr/local/include 08:33:23 -- Installing: /usr/local/include/devsdk 08:33:23 -- Installing: /usr/local/include/devsdk/devsdk.h 08:33:23 -- Installing: /usr/local/include/devsdk/devsdk-base.h 08:33:23 -- Installing: /usr/local/include/edgex 08:33:23 -- Installing: /usr/local/include/edgex/edgex.h 08:33:23 -- Installing: /usr/local/include/edgex/devices.h 08:33:23 -- Installing: /usr/local/include/edgex/profiles.h 08:33:23 -- Installing: /usr/local/include/edgex/edgex-base.h 08:33:23 -- Installing: /usr/local/include/edgex/rest-server.h 08:33:23 -- Installing: /usr/local/include/edgex/csdk-defs.h 08:33:23 -- Installing: /usr/local/share/device-sdk-c/LICENSE 08:33:23 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 08:33:23 make: Leaving directory '/tmp/sdk/build/release' 08:33:24 Removing intermediate container baaa9c21c56d 08:33:24 ---> 1b8ad264f53a 08:33:24 Step 14/22 : FROM ${BASE} 08:33:24 ---> 6605166a5db4 08:33:24 Step 15/22 : LABEL maintainer="IOTech " 08:33:24 ---> Running in a0ec6a128680 08:33:24 Removing intermediate container a0ec6a128680 08:33:24 ---> d99549117807 08:33:24 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 08:33:24 ---> Running in d0592ed3b6b6 08:33:24 Connecting to iotech.jfrog.io (34.246.139.145:443) 08:33:24 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 08:33:24 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 08:33:24 '/etc/apk/keys/alpine.dev.rsa.pub' saved 08:33:25 Removing intermediate container d0592ed3b6b6 08:33:25 ---> 673b831c9562 08:33:25 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 08:33:25 ---> Running in a25d14739152 08:33:25 Removing intermediate container a25d14739152 08:33:25 ---> 39b32a449ccf 08:33:25 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 08:33:25 ---> Running in 2d297c888f77 08:33:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:33:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:33:26 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 08:33:26 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:33:26 (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 08:33:26 (2/8) Installing curl (8.9.1-r1) 08:33:26 (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 08:33:26 (4/8) Installing dumb-init (1.2.5-r2) 08:33:26 (5/8) Installing libcbor (0.10.2-r1) 08:33:26 (6/8) Installing iotech-iot-1.5 (1.5.5-r0) 08:33:27 (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 08:33:27 (8/8) Installing libuuid (2.38.1-r8) 08:33:27 Executing busybox-1.36.1-r4.trigger 08:33:27 OK: 331 MiB in 88 packages 08:33:28 Removing intermediate container 2d297c888f77 08:33:28 ---> 9d2c5639098f 08:33:28 Step 19/22 : RUN apk --no-cache upgrade 08:33:28 ---> Running in 33911c1d8ac6 08:33:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:33:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:33:28 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 08:33:29 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:33:29 Upgrading critical system libraries and apk-tools: 08:33:29 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 08:33:29 Executing busybox-1.36.1-r4.trigger 08:33:29 Continuing the upgrade transaction with new apk-tools: 08:33:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:33:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:33:29 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 08:33:30 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:33:30 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 08:33:30 Executing busybox-1.36.1-r7.post-upgrade 08:33:30 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 08:33:30 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 08:33:30 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 08:33:30 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 08:33:30 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 08:33:30 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 08:33:30 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 08:33:30 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 08:33:30 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 08:33:30 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 08:33:30 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 08:33:30 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 08:33:30 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 08:33:30 Executing busybox-1.36.1-r7.trigger 08:33:30 Executing ca-certificates-20240226-r0.trigger 08:33:30 OK: 331 MiB in 88 packages 08:33:31 Removing intermediate container 33911c1d8ac6 08:33:31 ---> b57679c4f449 08:33:31 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 08:33:31 ---> 16726ecf431b 08:33:31 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 08:33:31 ---> 4380c928b3b2 08:33:31 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 08:33:32 ---> f6a4747b5f6e 08:33:32 Successfully built f6a4747b5f6e 08:33:32 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 08:33:32 + docker inspect -f . ci-base-image-x86_64 08:33:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:33:32 prd-ubuntu20.04-docker-8c-8g-34780 does not seem to be running inside a container 08:33:32 $ 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 08:33:33 $ docker top 6cf2d32dc6489157b0088959cf847a763eb4f797f376cf7f10884a6a432f55da -eo pid,comm [Pipeline] { [Pipeline] sh 08:33:33 + make test 08:33:33 echo "make test" 08:33:33 make test [Pipeline] } 08:33:33 $ docker stop --time=1 6cf2d32dc6489157b0088959cf847a763eb4f797f376cf7f10884a6a432f55da 08:33:34 $ docker rm -f --volumes 6cf2d32dc6489157b0088959cf847a763eb4f797f376cf7f10884a6a432f55da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:33:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:33:35 + ls -al . 08:33:35 total 212 08:33:35 drwxrwxr-x 9 jenkins jenkins 4096 Dec 9 08:32 . 08:33:35 drwxrwxr-x 4 jenkins jenkins 4096 Dec 9 08:32 .. 08:33:35 drwxrwxr-x 8 jenkins jenkins 4096 Dec 9 08:32 .git 08:33:35 drwxrwxr-x 3 jenkins jenkins 4096 Dec 9 08:32 .github 08:33:35 -rw-rw-r-- 1 jenkins jenkins 176 Dec 9 08:32 .gitignore 08:33:35 drwxr-xr-x 3 jenkins jenkins 4096 Dec 9 08:32 .semver 08:33:35 -rw-rw-r-- 1 jenkins jenkins 2908 Dec 9 08:32 Attribution.txt 08:33:35 -rw-rw-r-- 1 jenkins jenkins 11953 Dec 9 08:32 CHANGELOG.md 08:33:35 -rw-rw-r-- 1 jenkins jenkins 108574 Dec 9 08:32 Doxyfile 08:33:35 -rw-rw-r-- 1 jenkins jenkins 677 Dec 9 08:32 GOVERNANCE.md 08:33:35 -rw-rw-r-- 1 jenkins jenkins 784 Dec 9 08:32 Jenkinsfile 08:33:35 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 9 08:32 LICENSE 08:33:35 -rw-rw-r-- 1 jenkins jenkins 444 Dec 9 08:32 Makefile 08:33:35 -rw-rw-r-- 1 jenkins jenkins 618 Dec 9 08:32 OWNERS.md 08:33:35 -rw-rw-r-- 1 jenkins jenkins 1651 Dec 9 08:32 README.IOT.md 08:33:35 -rw-rw-r-- 1 jenkins jenkins 4173 Dec 9 08:32 README.md 08:33:35 -rw-rw-r-- 1 jenkins jenkins 1245 Dec 9 08:32 README.v3.md 08:33:35 -rw-rw-r-- 1 jenkins jenkins 11 Dec 9 08:32 VERSION 08:33:35 drwxrwxr-x 2 jenkins jenkins 4096 Dec 9 08:32 docs 08:33:35 drwxrwxr-x 4 jenkins jenkins 4096 Dec 9 08:32 include 08:33:35 drwxrwxr-x 2 jenkins jenkins 4096 Dec 9 08:32 scripts 08:33:35 drwxrwxr-x 4 jenkins jenkins 4096 Dec 9 08:32 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:35 + 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=3521595b3d029ad48779306d8d3c838e476b6612 --label arch=amd64 --label version=4.0.0-dev.7 . 08:33:35 Sending build context to Docker daemon 5.172MB 08:33:35 Step 1/18 : ARG BASE=alpine:3.18 08:33:35 Step 2/18 : FROM ${BASE} 08:33:35 ---> f6a4747b5f6e 08:33:35 Step 3/18 : LABEL maintainer="IOTech " 08:33:35 ---> Running in 5f6a194a2030 08:33:36 Removing intermediate container 5f6a194a2030 08:33:36 ---> e6cec718b4be 08:33:36 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 08:33:36 ---> Running in af491d53509d 08:33:36 Connecting to iotech.jfrog.io (34.247.22.236:443) 08:33:36 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 08:33:36 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 08:33:36 '/etc/apk/keys/alpine.dev.rsa.pub' saved 08:33:36 Removing intermediate container af491d53509d 08:33:36 ---> 98c6ef273f9a 08:33:36 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 08:33:36 ---> Running in 3a4cc97d1749 08:33:37 Removing intermediate container 3a4cc97d1749 08:33:37 ---> 03e82b8aee25 08:33:37 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 08:33:37 ---> Running in 8808c9eb3985 08:33:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:33:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:33:38 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 08:33:38 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:33:38 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 08:33:39 (2/11) Installing libcbor-dev (0.10.2-r1) 08:33:39 (3/11) Installing libmenuw (6.4_p20230506-r0) 08:33:39 (4/11) Installing libpanelw (6.4_p20230506-r0) 08:33:39 (5/11) Installing libncurses++ (6.4_p20230506-r0) 08:33:39 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 08:33:39 (7/11) Installing libblkid (2.38.1-r8) 08:33:39 (8/11) Installing libfdisk (2.38.1-r8) 08:33:39 (9/11) Installing libmount (2.38.1-r8) 08:33:39 (10/11) Installing libsmartcols (2.38.1-r8) 08:33:39 (11/11) Installing util-linux-dev (2.38.1-r8) 08:33:39 Executing busybox-1.36.1-r7.trigger 08:33:39 OK: 336 MiB in 99 packages 08:33:40 Removing intermediate container 8808c9eb3985 08:33:40 ---> 630046c28fec 08:33:40 Step 7/18 : RUN apk --no-cache upgrade 08:33:40 ---> Running in d88c931c6a85 08:33:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:33:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:33:40 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 08:33:40 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:33:40 OK: 336 MiB in 99 packages 08:33:41 Removing intermediate container d88c931c6a85 08:33:41 ---> cb21f08dfcee 08:33:41 Step 8/18 : COPY VERSION /edgex-c-sdk/ 08:33:41 ---> f719bb73bbc7 08:33:41 Step 9/18 : COPY src /edgex-c-sdk/src/ 08:33:41 ---> e3a91bb9d181 08:33:41 Step 10/18 : COPY include /edgex-c-sdk/include/ 08:33:41 ---> d05e0ac9e95a 08:33:41 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 08:33:41 ---> bf72e8f27d1e 08:33:41 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 08:33:42 ---> d5793ada8663 08:33:42 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 08:33:42 ---> 5f9257b9a268 08:33:42 Step 14/18 : WORKDIR /edgex-c-sdk 08:33:42 ---> Running in e4576db87d88 08:33:42 Removing intermediate container e4576db87d88 08:33:42 ---> 00450f68fb51 08:33:42 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 08:33:42 ---> Running in 55ec96887f7f 08:33:42 Removing intermediate container 55ec96887f7f 08:33:42 ---> c25ff6e1512b 08:33:42 Step 16/18 : LABEL arch=amd64 08:33:42 ---> Running in 051e580aa3ef 08:33:42 Removing intermediate container 051e580aa3ef 08:33:42 ---> 006d94d50d67 08:33:42 Step 17/18 : LABEL git_sha=3521595b3d029ad48779306d8d3c838e476b6612 08:33:42 ---> Running in a5b66b22a5ab 08:33:42 Removing intermediate container a5b66b22a5ab 08:33:42 ---> 93282a293a67 08:33:42 Step 18/18 : LABEL version=4.0.0-dev.7 08:33:42 ---> Running in 0a2141df517b 08:33:42 Removing intermediate container 0a2141df517b 08:33:42 ---> 9ead7729c072 08:33:42 [Warning] One or more build-args [ARCH MAKE] were not consumed 08:33:42 Successfully built 9ead7729c072 08:33:42 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 08:33:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:33:43 08:33:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:33:43 latest: Pulling from edgex-lftools-log-publisher 08:33:43 5eb5b503b376: Pulling fs layer 08:33:43 5c69ac0246d0: Pulling fs layer 08:33:43 ec43610c2a17: Pulling fs layer 08:33:43 3a2ae6a8a46f: Pulling fs layer 08:33:43 33b1e0a273af: Pulling fs layer 08:33:43 5d3b04190fa2: Pulling fs layer 08:33:43 2f39f015ded8: Pulling fs layer 08:33:43 3a2ae6a8a46f: Waiting 08:33:43 33b1e0a273af: Waiting 08:33:43 5d3b04190fa2: Waiting 08:33:43 5c69ac0246d0: Download complete 08:33:43 3a2ae6a8a46f: Verifying Checksum 08:33:43 3a2ae6a8a46f: Download complete 08:33:43 33b1e0a273af: Verifying Checksum 08:33:43 33b1e0a273af: Download complete 08:33:43 5d3b04190fa2: Download complete 08:33:43 ec43610c2a17: Download complete 08:33:43 5eb5b503b376: Download complete 08:33:44 2f39f015ded8: Download complete 08:33:45 5eb5b503b376: Pull complete 08:33:45 5c69ac0246d0: Pull complete 08:33:45 ec43610c2a17: Pull complete 08:33:45 3a2ae6a8a46f: Pull complete 08:33:46 33b1e0a273af: Pull complete 08:33:46 5d3b04190fa2: Pull complete 08:33:51 2f39f015ded8: Pull complete 08:33:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:33:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:33:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:33:51 prd-ubuntu20.04-docker-8c-8g-34780 does not seem to be running inside a container 08:33:51 $ 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 08:33:55 $ docker top f4f5bacc73d4bfe7616d614f78d0ffaf38ab34220b542148ef546766ce31be55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:33:56 ---> job-cost.sh 08:33:56 lf-activate-venv: SKIPPING 08:33:56 INFO: No Stack... 08:33:56 INFO: Retrieving Pricing Info for: v3-standard-8 08:33:56 INFO: Archiving Costs [Pipeline] sh 08:33:56 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 08:33:56 + cut -d, -f6 [Pipeline] lock 08:33:56 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-84-stack-cost] 08:33:56 Resource [jenkins-edgexfoundry-device-sdk-c-main-84-stack-cost] did not exist. Created. 08:33:56 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-84-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:33:57 + echo total: 0.2199999988079071 [Pipeline] stash 08:33:57 Stashed 1 file(s) [Pipeline] } 08:33:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-84-stack-cost] [Pipeline] // lock [Pipeline] } 08:33:57 $ docker stop --time=1 f4f5bacc73d4bfe7616d614f78d0ffaf38ab34220b542148ef546766ce31be55 08:33:58 $ docker rm -f --volumes f4f5bacc73d4bfe7616d614f78d0ffaf38ab34220b542148ef546766ce31be55 [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 08:33:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:33:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:33:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:33:59 prd-ubuntu20.04-docker-8c-8g-34780 does not seem to be running inside a container 08:33:59 $ 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 08:33:59 $ docker top 34d97392f4e77aa43b4b88b5558e81208cddadec0fa8c11271ee5a9dfd363ac1 -eo pid,comm 08:33:59 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). 08:33:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:33:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:33:59 [ssh-agent] Looking for ssh-agent implementation... 08:34:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:34:00 $ docker exec 34d97392f4e77aa43b4b88b5558e81208cddadec0fa8c11271ee5a9dfd363ac1 ssh-agent 08:34:00 SSH_AUTH_SOCK=/tmp/ssh-4ywP8AYMD4C5/agent.32 08:34:00 SSH_AGENT_PID=38 08:34:00 Running ssh-add (command line suppressed) 08:34:00 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14817916871946823361.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14817916871946823361.key) 08:34:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:34:00 + git semver tag 08:34:00 2024-12-09 08:34:00,747 [run_tag] DEBUG tag force:False 08:34:00 2024-12-09 08:34:00,747 [check_head_tag] DEBUG check head tag 08:34:00 2024-12-09 08:34:00,748 [execute] INFO git cat-file --batch-check 08:34:00 2024-12-09 08:34:00,748 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 08:34:00 2024-12-09 08:34:00,752 [execute] INFO git cat-file --batch 08:34:00 2024-12-09 08:34:00,752 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 08:34:00 2024-12-09 08:34:00,772 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 08:34:00 2024-12-09 08:34:00,772 [execute] INFO git tag -a v4.0.0-dev.7 -m v4.0.0-dev.7 08:34:00 2024-12-09 08:34:00,773 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.7', '-m', 'v4.0.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 08:34:00 2024-12-09 08:34:00,777 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 08:34:00 4.0.0-dev.7 [Pipeline] } 08:34:00 $ docker exec --env ******** --env ******** 34d97392f4e77aa43b4b88b5558e81208cddadec0fa8c11271ee5a9dfd363ac1 ssh-agent -k 08:34:00 unset SSH_AUTH_SOCK; 08:34:00 unset SSH_AGENT_PID; 08:34:00 echo Agent pid 38 killed; 08:34:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:34:01 + git semver [Pipeline] } 08:34:01 $ docker stop --time=1 34d97392f4e77aa43b4b88b5558e81208cddadec0fa8c11271ee5a9dfd363ac1 08:34:02 $ docker rm -f --volumes 34d97392f4e77aa43b4b88b5558e81208cddadec0fa8c11271ee5a9dfd363ac1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:34:03 08:34:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:34:03 0.23.1-centos7: Pulling from edgex-lftools 08:34:03 ab5ef0e58194: Pulling fs layer 08:34:03 9712f1f96733: Pulling fs layer 08:34:03 63f879dbbcfc: Pulling fs layer 08:34:03 0d9ebad4ef96: Pulling fs layer 08:34:03 e9a5061849ea: Pulling fs layer 08:34:03 d747dcd14b5f: Pulling fs layer 08:34:03 2de7ff778b66: Pulling fs layer 08:34:03 e9a5061849ea: Waiting 08:34:03 d747dcd14b5f: Waiting 08:34:03 0d9ebad4ef96: Waiting 08:34:03 2de7ff778b66: Waiting 08:34:03 9712f1f96733: Verifying Checksum 08:34:03 9712f1f96733: Download complete 08:34:03 63f879dbbcfc: Verifying Checksum 08:34:03 63f879dbbcfc: Download complete 08:34:04 e9a5061849ea: Verifying Checksum 08:34:04 e9a5061849ea: Download complete 08:34:04 d747dcd14b5f: Verifying Checksum 08:34:04 d747dcd14b5f: Download complete 08:34:04 ab5ef0e58194: Verifying Checksum 08:34:04 ab5ef0e58194: Download complete 08:34:04 0d9ebad4ef96: Verifying Checksum 08:34:04 0d9ebad4ef96: Download complete 08:34:04 2de7ff778b66: Verifying Checksum 08:34:04 2de7ff778b66: Download complete 08:34:07 ab5ef0e58194: Pull complete 08:34:07 9712f1f96733: Pull complete 08:34:07 63f879dbbcfc: Pull complete 08:34:12 0d9ebad4ef96: Pull complete 08:34:12 e9a5061849ea: Pull complete 08:34:12 d747dcd14b5f: Pull complete 08:34:13 2de7ff778b66: Pull complete 08:34:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:34:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:34:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:34:13 prd-ubuntu20.04-docker-8c-8g-34780 does not seem to be running inside a container 08:34:13 $ 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 08:34:19 $ docker top 21d791c3705307902548445b7bbd0547666399d6a409039cf933872f0f9cafc5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:34:19 provisioning config files... 08:34:19 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10782700835354858908tmp 08:34:19 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5730205752906267559tmp 08:34:19 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5717678136417167661tmp [Pipeline] { [Pipeline] echo 08:34:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:34:19 ---> sigul-configuration.sh 08:34:19 gpg: directory `/root/.gnupg' created 08:34:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:34:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:34:19 gpg: keyring `/root/.gnupg/secring.gpg' created 08:34:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:34:19 gpg: CAST5 encrypted data 08:34:19 gpg: encrypted with 1 passphrase 08:34:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:34:19 + mkdir /home/jenkins 08:34:19 + mkdir /home/jenkins/sigul [Pipeline] sh 08:34:20 + 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 08:34:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:34:20 ---> sigul-install.sh 08:34:20 Sigul already installed; skipping installation. [Pipeline] sh 08:34:20 + git tag --list 08:34:20 0.7.0 08:34:20 0.7.1 08:34:20 1.0.0 08:34:20 v1.0.1 08:34:20 v1.0.2 08:34:20 v1.0.3 08:34:20 v1.1.0 08:34:20 v1.1.1 08:34:20 v1.2.0 08:34:20 v1.2.1 08:34:20 v1.2.2 08:34:20 v1.3.0 08:34:20 v1.3.1 08:34:20 v2.0.0 08:34:20 v2.1.0 08:34:20 v2.2.0 08:34:20 v2.3.0 08:34:20 v3.0 08:34:20 v3.0.0 08:34:20 v3.0.1 08:34:20 v3.0.2 08:34:20 v3.0.3-dev.1 08:34:20 v3.0.3-dev.10 08:34:20 v3.0.3-dev.11 08:34:20 v3.0.3-dev.12 08:34:20 v3.0.3-dev.13 08:34:20 v3.0.3-dev.14 08:34:20 v3.0.3-dev.15 08:34:20 v3.0.3-dev.16 08:34:20 v3.0.3-dev.17 08:34:20 v3.0.3-dev.2 08:34:20 v3.0.3-dev.3 08:34:20 v3.0.3-dev.4 08:34:20 v3.0.3-dev.5 08:34:20 v3.0.3-dev.6 08:34:20 v3.0.3-dev.7 08:34:20 v3.0.3-dev.8 08:34:20 v3.0.3-dev.9 08:34:20 v3.1 08:34:20 v3.1.0 08:34:20 v3.1.0-dev.1 08:34:20 v3.1.0-dev.2 08:34:20 v3.1.0-dev.3 08:34:20 v3.1.0-dev.4 08:34:20 v3.1.0-dev.5 08:34:20 v3.1.0-dev.6 08:34:20 v3.1.0-dev.7 08:34:20 v3.1.0-dev.8 08:34:20 v3.1.0-dev.9 08:34:20 v3.1.1 08:34:20 v3.1.1-dev.1 08:34:20 v4.0.0-dev.1 08:34:20 v4.0.0-dev.2 08:34:20 v4.0.0-dev.3 08:34:20 v4.0.0-dev.4 08:34:20 v4.0.0-dev.5 08:34:20 v4.0.0-dev.6 08:34:20 v4.0.0-dev.7 [Pipeline] sh 08:34:21 + lftools sign git-tag v4.0.0-dev.7 08:34:21 Signing Git tag with Sigul... 08:34:21 Signing v4.0.0-dev.7 [Pipeline] echo 08:34:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:34:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:34:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:34:22 $ docker stop --time=1 21d791c3705307902548445b7bbd0547666399d6a409039cf933872f0f9cafc5 08:34:23 $ docker rm -f --volumes 21d791c3705307902548445b7bbd0547666399d6a409039cf933872f0f9cafc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:34:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:34:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:34:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:34:24 prd-ubuntu20.04-docker-8c-8g-34780 does not seem to be running inside a container 08:34:24 $ 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 08:34:24 $ docker top 38e88fc3ab4a7a9efd4b78ab54ffae0e7a4b2a4908a125ce215b6bf3c05d1228 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:34:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:34:25 [ssh-agent] Looking for ssh-agent implementation... 08:34:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:34:25 $ docker exec 38e88fc3ab4a7a9efd4b78ab54ffae0e7a4b2a4908a125ce215b6bf3c05d1228 ssh-agent 08:34:25 SSH_AUTH_SOCK=/tmp/ssh-L7VBOf5nyx3I/agent.32 08:34:25 SSH_AGENT_PID=38 08:34:25 Running ssh-add (command line suppressed) 08:34:25 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13992330556096516715.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13992330556096516715.key) 08:34:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:34:25 + git semver bump pre 08:34:25 2024-12-09 08:34:25,813 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 08:34:25 2024-12-09 08:34:25,813 [bump_version] DEBUG bumping version:4.0.0-dev.7 on axis:pre with prefix:dev 08:34:25 2024-12-09 08:34:25,813 [bump_version] DEBUG bumped version:4.0.0-dev.8 08:34:25 2024-12-09 08:34:25,813 [write_version] DEBUG write version:4.0.0-dev.8 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 08:34:25 2024-12-09 08:34:25,813 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 08:34:25 2024-12-09 08:34:25,813 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 08:34:25 2024-12-09 08:34:25,816 [execute] INFO git cat-file --batch-check 08:34:25 2024-12-09 08:34:25,816 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 08:34:25 2024-12-09 08:34:25,822 [execute] INFO git cat-file --batch 08:34:25 2024-12-09 08:34:25,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 08:34:25 2024-12-09 08:34:25,827 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 08:34:25 4.0.0-dev.8 [Pipeline] } 08:34:25 $ docker exec --env ******** --env ******** 38e88fc3ab4a7a9efd4b78ab54ffae0e7a4b2a4908a125ce215b6bf3c05d1228 ssh-agent -k 08:34:25 unset SSH_AUTH_SOCK; 08:34:25 unset SSH_AGENT_PID; 08:34:25 echo Agent pid 38 killed; 08:34:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:34:26 + git semver [Pipeline] } 08:34:26 $ docker stop --time=1 38e88fc3ab4a7a9efd4b78ab54ffae0e7a4b2a4908a125ce215b6bf3c05d1228 08:34:27 $ docker rm -f --volumes 38e88fc3ab4a7a9efd4b78ab54ffae0e7a4b2a4908a125ce215b6bf3c05d1228 [Pipeline] // withDockerContainer [Pipeline] sh 08:34:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:34:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:34:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:34:28 prd-ubuntu20.04-docker-8c-8g-34780 does not seem to be running inside a container 08:34:28 $ 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 08:34:29 $ docker top 76daab11140f68738178d3520ce21f0c5a41cef05eba094e512f3a6014b9ca1f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:34:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:34:29 [ssh-agent] Looking for ssh-agent implementation... 08:34:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:34:29 $ docker exec 76daab11140f68738178d3520ce21f0c5a41cef05eba094e512f3a6014b9ca1f ssh-agent 08:34:29 SSH_AUTH_SOCK=/tmp/ssh-HdyTzy3e9pck/agent.32 08:34:29 SSH_AGENT_PID=38 08:34:29 Running ssh-add (command line suppressed) 08:34:29 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15505449216710163701.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15505449216710163701.key) 08:34:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:34:29 + git semver push 08:34:30 2024-12-09 08:34:29,947 [run_push] DEBUG push 08:34:30 2024-12-09 08:34:29,948 [execute] INFO git cat-file --batch-check 08:34:30 2024-12-09 08:34:29,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 08:34:30 2024-12-09 08:34:29,952 [execute] INFO git rev-list 82d32f8fb59c048ed7d620bf5c9a1ab367eb4705 -- 08:34:30 2024-12-09 08:34:29,952 [execute] DEBUG Popen(['git', 'rev-list', '82d32f8fb59c048ed7d620bf5c9a1ab367eb4705', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 08:34:30 2024-12-09 08:34:29,960 [execute] INFO git fetch -v origin 08:34:30 2024-12-09 08:34:29,961 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 08:34:30 2024-12-09 08:34:30,412 [run_push] DEBUG no remote changes detected 08:34:30 2024-12-09 08:34:30,412 [execute] INFO git push origin semver 08:34:30 2024-12-09 08:34:30,413 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 08:34:31 2024-12-09 08:34:31,035 [run_push] DEBUG push all version tags 08:34:31 2024-12-09 08:34:31,035 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:34:31 2024-12-09 08:34:31,036 [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) 08:34:31 2024-12-09 08:34:31,648 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 08:34:31 4.0.0-dev.8 [Pipeline] } 08:34:31 $ docker exec --env ******** --env ******** 76daab11140f68738178d3520ce21f0c5a41cef05eba094e512f3a6014b9ca1f ssh-agent -k 08:34:31 unset SSH_AUTH_SOCK; 08:34:31 unset SSH_AGENT_PID; 08:34:31 echo Agent pid 38 killed; 08:34:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:34:32 + git semver [Pipeline] } 08:34:32 $ docker stop --time=1 76daab11140f68738178d3520ce21f0c5a41cef05eba094e512f3a6014b9ca1f 08:34:33 $ docker rm -f --volumes 76daab11140f68738178d3520ce21f0c5a41cef05eba094e512f3a6014b9ca1f [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 08:34:34 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 08:34:34 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 08:34:34 total 16 08:34:34 drwxr-xr-x 3 root root 4096 Dec 9 08:33 . 08:34:34 drwxrwxr-x 10 jenkins jenkins 4096 Dec 9 08:34 .. 08:34:34 drwxr-xr-x 2 root root 4096 Dec 9 08:33 cost 08:34:34 -rw-r--r-- 1 root root 83 Dec 9 08:33 cost.csv 08:34:34 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 08:34:34 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 08:34:34 total 16 08:34:34 drwxr-xr-x 3 jenkins jenkins 4096 Dec 9 08:33 . 08:34:34 drwxrwxr-x 10 jenkins jenkins 4096 Dec 9 08:34 .. 08:34:34 drwxr-xr-x 2 jenkins jenkins 4096 Dec 9 08:33 cost 08:34:34 -rw-r--r-- 1 jenkins jenkins 83 Dec 9 08:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:34:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:34:35 ---> package-listing.sh 08:34:35 ++ facter osfamily 08:34:35 ++ tr '[:upper:]' '[:lower:]' 08:34:35 + OS_FAMILY=debian 08:34:35 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 08:34:35 + START_PACKAGES=/tmp/packages_start.txt 08:34:35 + END_PACKAGES=/tmp/packages_end.txt 08:34:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:34:35 + PACKAGES=/tmp/packages_start.txt 08:34:35 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 08:34:35 + PACKAGES=/tmp/packages_end.txt 08:34:35 + case "${OS_FAMILY}" in 08:34:35 + dpkg -l 08:34:35 + grep '^ii' 08:34:35 + '[' -f /tmp/packages_start.txt ']' 08:34:35 + '[' -f /tmp/packages_end.txt ']' 08:34:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:34:35 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 08:34:35 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 08:34:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 08:34:35 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 08:34:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:34:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:34:36 prd-ubuntu20.04-docker-8c-8g-34780 does not seem to be running inside a container 08:34:36 $ 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 08:34:36 $ docker top 493fd5dc88e8163aecaa6a94746dc446ef00bd2a7c1f77c2b9518cc531c87fd9 -eo pid,comm [Pipeline] { [Pipeline] sh 08:34:37 + touch /tmp/pre-build-complete [Pipeline] sh 08:34:37 + mkdir -p /var/log/sysstat [Pipeline] sh 08:34:37 + ls /var/log/sa-host 08:34:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:34:37 provisioning config files... 08:34:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6304946556959413316tmp [Pipeline] { [Pipeline] echo 08:34:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:34:38 ---> create-netrc.sh [Pipeline] } 08:34:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:34:38 ---> python-tools-install.sh [Pipeline] echo 08:34:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:34:38 ---> sudo-logs.sh 08:34:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:34:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:34:39 ---> job-cost.sh 08:34:39 lf-activate-venv: SKIPPING 08:34:39 DEBUG: total: 0.2199999988079071 08:34:39 INFO: Retrieving Stack Cost... 08:34:39 INFO: Retrieving Pricing Info for: v3-standard-8 08:34:39 INFO: Archiving Costs [Pipeline] echo 08:34:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:34:39 ---> logs-deploy.sh 08:34:39 lf-activate-venv: SKIPPING 08:34:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/84 08:34:39 INFO: archiving workspace using pattern(s): 08:34:40 Archives upload complete. 08:34:40 INFO: archiving logs to Nexus