Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 62fc64c90db9bc421ef18031b23432b09bce4dbe 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-ssh4337840934278482671.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-ssh12984961917279797585.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-ssh15850425363858742168.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-ssh7516931003381831152.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-ssh16830108152285987412.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 ‘prd-ubuntu20.04-docker-8c-8g-34598’ is offline Running on prd-ubuntu20.04-docker-8c-8g-34599 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 62fc64c90db9bc421ef18031b23432b09bce4dbe (main) Commit message: "feat: Support core-keeper for registry and config. (#520)" > 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 62fc64c90db9bc421ef18031b23432b09bce4dbe # timeout=10 > git rev-list --no-walk eb7d9b4eba343d86dc807026297d2d397bf17ca8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:16:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:16:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:16:21 ========================================================= 06:16:21 EdgeX Global Pipelines Version Info 06:16:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:16:22 ------------------- 06:16:22 stable info: 06:16:22 ------------------- 06:16:22 Commited By: Cherry Wang cherry@iotechsys.com 06:16:22 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 06:16:22 Message: update stable to v1.0.269 06:16:22 ------------------- 06:16:22 experimental info: 06:16:22 ------------------- 06:16:22 Commited By: **** collab-it+edgex@linuxfoundation.org 06:16:22 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 06:16:22 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:16:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 06:16:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 06:16:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:16:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:16:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:16:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 06:16:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 06:16:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:16:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:16:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 06:16:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:16:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:16:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:16:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:16:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:16:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:16:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:16:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:16:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:16:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:16:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 62fc64c90db9bc421ef18031b23432b09bce4dbe [Pipeline] echo 06:16:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 62fc64c [Pipeline] echo 06:16:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:16:23 provisioning config files... 06:16:23 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4695292130294942016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:23 ---> ****-login.sh 06:16:23 nexus3.edgexfoundry.org:10001 06:16:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:23 Configure a credential helper to remove this warning. See 06:16:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:23 06:16:23 Login Succeeded 06:16:23 nexus3.edgexfoundry.org:10002 06:16:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:23 Configure a credential helper to remove this warning. See 06:16:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:23 06:16:23 Login Succeeded 06:16:23 nexus3.edgexfoundry.org:10003 06:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:24 Configure a credential helper to remove this warning. See 06:16:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:24 06:16:24 Login Succeeded 06:16:24 nexus3.edgexfoundry.org:10004 06:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:24 Configure a credential helper to remove this warning. See 06:16:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:24 06:16:24 Login Succeeded 06:16:24 ****.io 06:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:24 Configure a credential helper to remove this warning. See 06:16:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:24 06:16:24 Login Succeeded 06:16:24 ---> ****-login.sh ends [Pipeline] } 06:16:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 06:16:24 + git rev-list -1 --merges 62fc64c90db9bc421ef18031b23432b09bce4dbe~1..62fc64c90db9bc421ef18031b23432b09bce4dbe [Pipeline] echo 06:16:24 -----------> git rev-list -1 --merges 62fc64c90db9bc421ef18031b23432b09bce4dbe~1..62fc64c90db9bc421ef18031b23432b09bce4dbe 62fc64c90db9bc421ef18031b23432b09bce4dbe [false] [Pipeline] sh 06:16:25 + git log --format=format:%s -1 62fc64c90db9bc421ef18031b23432b09bce4dbe [Pipeline] echo 06:16:25 ========================================================= 06:16:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:16:25 ========================================================= 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 06:16:25 + git rev-list -1 --merges 62fc64c90db9bc421ef18031b23432b09bce4dbe~1..62fc64c90db9bc421ef18031b23432b09bce4dbe [Pipeline] echo 06:16:25 -----------> git rev-list -1 --merges 62fc64c90db9bc421ef18031b23432b09bce4dbe~1..62fc64c90db9bc421ef18031b23432b09bce4dbe 62fc64c90db9bc421ef18031b23432b09bce4dbe [false] [Pipeline] sh 06:16:26 + git log --format=format:%s -1 62fc64c90db9bc421ef18031b23432b09bce4dbe [Pipeline] echo 06:16:26 ========================================================= 06:16:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:16:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 06:16:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:16:26 + grep -v github /etc/ssh/ssh_known_hosts 06:16:26 + [ -e /tmp/ssh_known_hosts ] 06:16:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:16:26 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:16:26 sudo tee -a /etc/ssh/ssh_known_hosts 06:16:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:26 06:16:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:27 0.1.4: Pulling from edgex-devops/py-git-semver 06:16:27 b85a868b505f: Pulling fs layer 06:16:27 e2be974225ed: Pulling fs layer 06:16:27 339a4e72a1f5: Pulling fs layer 06:16:27 988bab9f4d93: Pulling fs layer 06:16:27 1469e6f7b9e6: Pulling fs layer 06:16:27 eaf3925da568: Pulling fs layer 06:16:27 bab4dde63d76: Pulling fs layer 06:16:27 bde34c3a00c8: Pulling fs layer 06:16:27 b352a97aabf1: Pulling fs layer 06:16:27 4872d77fe225: Pulling fs layer 06:16:27 5851b861e8e6: Pulling fs layer 06:16:27 eaf3925da568: Waiting 06:16:27 988bab9f4d93: Waiting 06:16:27 1469e6f7b9e6: Waiting 06:16:27 bab4dde63d76: Waiting 06:16:27 4872d77fe225: Waiting 06:16:27 5851b861e8e6: Waiting 06:16:27 bde34c3a00c8: Waiting 06:16:27 b352a97aabf1: Waiting 06:16:27 e2be974225ed: Verifying Checksum 06:16:27 e2be974225ed: Download complete 06:16:27 988bab9f4d93: Verifying Checksum 06:16:27 988bab9f4d93: Download complete 06:16:27 1469e6f7b9e6: Verifying Checksum 06:16:27 1469e6f7b9e6: Download complete 06:16:27 eaf3925da568: Verifying Checksum 06:16:27 eaf3925da568: Download complete 06:16:27 339a4e72a1f5: Verifying Checksum 06:16:27 339a4e72a1f5: Download complete 06:16:27 bde34c3a00c8: Download complete 06:16:27 b352a97aabf1: Download complete 06:16:27 4872d77fe225: Verifying Checksum 06:16:27 4872d77fe225: Download complete 06:16:27 5851b861e8e6: Verifying Checksum 06:16:27 5851b861e8e6: Download complete 06:16:27 b85a868b505f: Verifying Checksum 06:16:27 b85a868b505f: Download complete 06:16:27 bab4dde63d76: Verifying Checksum 06:16:27 bab4dde63d76: Download complete 06:16:28 b85a868b505f: Pull complete 06:16:28 e2be974225ed: Pull complete 06:16:29 339a4e72a1f5: Pull complete 06:16:29 988bab9f4d93: Pull complete 06:16:29 1469e6f7b9e6: Pull complete 06:16:29 eaf3925da568: Pull complete 06:16:31 bab4dde63d76: Pull complete 06:16:31 bde34c3a00c8: Pull complete 06:16:31 b352a97aabf1: Pull complete 06:16:31 4872d77fe225: Pull complete 06:16:31 5851b861e8e6: Pull complete 06:16:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:16:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:31 prd-ubuntu20.04-docker-8c-8g-34599 does not seem to be running inside a container 06:16:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:16:33 $ docker top 27426129d28e5658b93a32d279d8bba7966b70ac99150243d0dc34d6560f2f46 -eo pid,comm 06:16:33 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). 06:16:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:16:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:33 [ssh-agent] Looking for ssh-agent implementation... 06:16:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:33 $ docker exec 27426129d28e5658b93a32d279d8bba7966b70ac99150243d0dc34d6560f2f46 ssh-agent 06:16:33 SSH_AUTH_SOCK=/tmp/ssh-539OrkZMJ0GF/agent.31 06:16:33 SSH_AGENT_PID=37 06:16:33 Running ssh-add (command line suppressed) 06:16:33 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12920695134139293690.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12920695134139293690.key) 06:16:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:33 + git tag --points-at HEAD [Pipeline] } 06:16:33 $ docker exec --env ******** --env ******** 27426129d28e5658b93a32d279d8bba7966b70ac99150243d0dc34d6560f2f46 ssh-agent -k 06:16:33 unset SSH_AUTH_SOCK; 06:16:33 unset SSH_AGENT_PID; 06:16:33 echo Agent pid 37 killed; 06:16:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:16:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:34 [ssh-agent] Looking for ssh-agent implementation... 06:16:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:34 $ docker exec 27426129d28e5658b93a32d279d8bba7966b70ac99150243d0dc34d6560f2f46 ssh-agent 06:16:34 SSH_AUTH_SOCK=/tmp/ssh-dnBySAhmQY24/agent.70 06:16:34 SSH_AGENT_PID=77 06:16:34 Running ssh-add (command line suppressed) 06:16:34 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1399694069683674239.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1399694069683674239.key) 06:16:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:34 + git semver init 06:16:34 2024-12-06 06:16:34,866 [run_init] DEBUG init version:0.0.0 force:False 06:16:34 2024-12-06 06:16:34,866 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 06:16:34 2024-12-06 06:16:34,867 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 06:16:34 2024-12-06 06:16:34,867 [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) 06:16:35 2024-12-06 06:16:35,648 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 06:16:35 2024-12-06 06:16:35,648 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 06:16:35 2024-12-06 06:16:35,648 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:16:35 2024-12-06 06:16:35,649 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:16:35 4.0.0-dev.6 [Pipeline] } 06:16:35 $ docker exec --env ******** --env ******** 27426129d28e5658b93a32d279d8bba7966b70ac99150243d0dc34d6560f2f46 ssh-agent -k 06:16:35 unset SSH_AUTH_SOCK; 06:16:35 unset SSH_AGENT_PID; 06:16:35 echo Agent pid 77 killed; 06:16:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:16:36 + git semver [Pipeline] } 06:16:36 $ docker stop --time=1 27426129d28e5658b93a32d279d8bba7966b70ac99150243d0dc34d6560f2f46 06:16:37 $ docker rm -f --volumes 27426129d28e5658b93a32d279d8bba7966b70ac99150243d0dc34d6560f2f46 [Pipeline] // withDockerContainer [Pipeline] sh 06:16:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:16:38 Stashed 1 file(s) [Pipeline] echo 06:16:38 [edgeXSemver]: initialized semver on version 4.0.0-dev.6 [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 06:16:38 provisioning config files... [Pipeline] // stage [Pipeline] } 06:16:38 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1891286414515007199tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 06:16:39 ---> ****-login.sh 06:16:39 nexus3.edgexfoundry.org:10001 06:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:39 Configure a credential helper to remove this warning. See 06:16:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:39 06:16:39 Login Succeeded 06:16:39 nexus3.edgexfoundry.org:10002 06:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:39 Configure a credential helper to remove this warning. See 06:16:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:39 06:16:39 Login Succeeded 06:16:39 nexus3.edgexfoundry.org:10003 06:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:39 Configure a credential helper to remove this warning. See 06:16:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:39 06:16:39 Login Succeeded 06:16:39 nexus3.edgexfoundry.org:10004 06:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:39 Configure a credential helper to remove this warning. See 06:16:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:39 06:16:39 Login Succeeded 06:16:39 ****.io 06:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:39 Configure a credential helper to remove this warning. See 06:16:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:39 06:16:39 Login Succeeded 06:16:39 ---> ****-login.sh ends [Pipeline] } 06:16:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:16:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:16:39 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 06:16:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:16:39 ========================================================= 06:16:39 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 06:16:39 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:40 + 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 . 06:16:40 Sending build context to Docker daemon 5.15MB 06:16:40 Step 1/22 : ARG BASE=alpine:3.18 06:16:40 Step 2/22 : FROM ${BASE} as builder 06:16:40 latest: Pulling from edgex-devops/edgex-gcc-base 06:16:40 96526aa774ef: Pulling fs layer 06:16:40 da60e534fd72: Pulling fs layer 06:16:40 96526aa774ef: Verifying Checksum 06:16:40 96526aa774ef: Download complete 06:16:40 96526aa774ef: Pull complete 06:16:41 da60e534fd72: Download complete 06:16:44 da60e534fd72: Pull complete 06:16:44 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 06:16:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 06:16:44 ---> 6605166a5db4 06:16:44 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 06:16:44 ---> Running in 29b0fe0faf99 06:16:45 Connecting to iotech.jfrog.io (54.73.4.50:443) 06:16:45 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 06:16:45 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 06:16:45 '/etc/apk/keys/alpine.dev.rsa.pub' saved 06:16:45 Removing intermediate container 29b0fe0faf99 06:16:45 ---> 106733e08813 06:16:45 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 06:16:45 ---> Running in 3bb823ea4862 06:16:46 Removing intermediate container 3bb823ea4862 06:16:46 ---> 41500aac58bd 06:16:46 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 06:16:46 ---> Running in 7a91d2783934 06:16:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:16:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:16:47 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 06:16:47 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:16:47 (1/15) Installing libcbor (0.10.2-r1) 06:16:47 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 06:16:48 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 06:16:48 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 06:16:48 (5/15) Installing libcbor-dev (0.10.2-r1) 06:16:48 (6/15) Installing libmenuw (6.4_p20230506-r0) 06:16:48 (7/15) Installing libpanelw (6.4_p20230506-r0) 06:16:48 (8/15) Installing libncurses++ (6.4_p20230506-r0) 06:16:48 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 06:16:48 (10/15) Installing libblkid (2.38.1-r8) 06:16:48 (11/15) Installing libuuid (2.38.1-r8) 06:16:48 (12/15) Installing libfdisk (2.38.1-r8) 06:16:48 (13/15) Installing libmount (2.38.1-r8) 06:16:48 (14/15) Installing libsmartcols (2.38.1-r8) 06:16:48 (15/15) Installing util-linux-dev (2.38.1-r8) 06:16:48 Executing busybox-1.36.1-r4.trigger 06:16:48 OK: 336 MiB in 97 packages 06:16:49 Removing intermediate container 7a91d2783934 06:16:49 ---> 60a1e854416d 06:16:49 Step 6/22 : RUN mkdir /tmp/sdk 06:16:49 ---> Running in d0c09f4a9841 06:16:49 Removing intermediate container d0c09f4a9841 06:16:49 ---> 6e66284a6ee8 06:16:49 Step 7/22 : COPY VERSION /tmp/sdk 06:16:49 ---> d37252c9ca6a 06:16:49 Step 8/22 : COPY src /tmp/sdk/src 06:16:50 ---> 13a61acd81a2 06:16:50 Step 9/22 : COPY include /tmp/sdk/include 06:16:50 ---> 24a0645a3e94 06:16:50 Step 10/22 : COPY scripts /tmp/sdk/scripts 06:16:50 ---> 4a126c9f9f4d 06:16:50 Step 11/22 : COPY LICENSE /tmp/sdk 06:16:50 ---> b78866a02715 06:16:50 Step 12/22 : COPY Attribution.txt /tmp/sdk 06:16:50 ---> afd54869c9d5 06:16:50 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 06:16:50 ---> Running in 20322ed45740 06:16:51 + CPPCHECK=false 06:16:51 + DOCGEN=false 06:16:51 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 06:16:51 + '[' 0 -gt 0 ] 06:16:51 + readlink -f ./scripts/build.sh 06:16:51 + dirname /tmp/sdk/scripts/build.sh 06:16:51 + dirname /tmp/sdk/scripts 06:16:51 + ROOT=/tmp/sdk 06:16:51 + cd /tmp/sdk 06:16:51 + mkdir -p /tmp/sdk/build/release 06:16:51 + cd /tmp/sdk/build/release 06:16:51 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 06:16:51 -- The C compiler identification is GNU 12.2.1 06:16:51 -- Detecting C compiler ABI info 06:16:51 -- Detecting C compiler ABI info - done 06:16:51 -- Check for working C compiler: /usr/bin/cc - skipped 06:16:51 -- Detecting C compile features 06:16:51 -- Detecting C compile features - done 06:16:51 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:16:51 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 06:16:51 -- Found LIBYAML: /usr/lib/libyaml.so 06:16:51 -- Found LIBUUID: /usr/lib/libuuid.so 06:16:51 -- Found LIBCBOR: /usr/lib/libcbor.so 06:16:51 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:16:51 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 06:16:51 -- /opt/iotech/iot/1.5/include 06:16:51 -- C SDK 4.0.0-dev.6 for Linux 06:16:51 -- Performing Test CSDK_HAVE_ATOMIC 06:16:51 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:16:51 -- Found Curses: /usr/lib/libcurses.so 06:16:51 -- Configuring done (0.4s) 06:16:51 -- Generating done (0.0s) 06:16:51 -- Build files have been written to: /tmp/sdk/build/release 06:16:51 + make all package 06:16:51 + tee release.log 06:16:51 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:16:51 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 06:16:51 from /tmp/sdk/src/c/service.h:12, 06:16:51 from /tmp/sdk/src/c/autoevent.h:12, 06:16:51 from /tmp/sdk/src/c/autoevent.c:9: 06:16:51 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 06:16:51 /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=] 06:16:51 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:16:51 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:16:51 | | 06:16:51 | size_t {aka long unsigned int} 06:16:51 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 06:16:51 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 06:16:51 | ^~~~~~~~~~~ 06:16:51 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 06:16:51 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:16:51 | ~^ 06:16:51 | | 06:16:51 | int 06:16:51 | %ld 06:16:51 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 06:16:51 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 06:16:52 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 06:16:52 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:16:52 [ 11%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 06:16:52 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 06:16:52 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 06:16:52 294 | while (privateConfig) 06:16:52 | ^~~~~~~~~~~~~ 06:16:52 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 06:16:52 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 06:16:52 | ^~~~~~~~~~~~~ 06:16:52 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 06:16:52 271 | while (result) 06:16:52 | ^~~~~~ 06:16:52 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 06:16:52 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 06:16:52 | ^~~~~~ 06:16:52 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:16:52 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:16:52 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:16:53 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:16:53 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:16:53 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:16:53 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:16:53 [ 27%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 06:16:53 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:16:53 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:16:53 [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:16:53 [ 35%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 06:16:53 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 06:16:53 from /tmp/sdk/src/c/registry.h:14, 06:16:53 from /tmp/sdk/src/c/registry-impl.h:12, 06:16:53 from /tmp/sdk/src/c/keeper.h:12, 06:16:53 from /tmp/sdk/src/c/keeper.c:1: 06:16:53 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 06:16:53 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 06:16:53 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 06:16:53 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:16:53 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 06:16:53 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 06:16:53 | ^~~~~~~~~~~ 06:16:53 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 06:16:53 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 06:16:53 | ~^ 06:16:53 | | 06:16:53 | char * 06:16:54 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:16:54 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:16:54 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:16:55 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:16:55 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:16:55 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:16:55 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 06:16:55 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:16:56 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:16:56 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 06:16:56 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 06:16:56 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 06:16:56 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:16:56 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 06:16:56 /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:16:56 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 06:16:56 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:16:56 /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:16:56 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 06:16:56 | ^ 06:16:56 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 06:16:56 from /tmp/sdk/src/c/service.h:12, 06:16:56 from /tmp/sdk/src/c/service.c:9: 06:16:56 /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=] 06:16:56 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 06:16:56 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:16:56 | | 06:16:56 | uint64_t {aka long unsigned int} 06:16:56 /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' 06:16:56 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) 06:16:56 | ^~~~~~~~~~~ 06:16:56 /tmp/sdk/src/c/service.c:1095:54: note: format string is defined here 06:16:56 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 06:16:56 | ~^ 06:16:56 | | 06:16:56 | int 06:16:56 | %ld 06:16:56 /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': 06:16:56 /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=] 06:16:56 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:16:56 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:16:56 | | 06:16:56 | size_t {aka long unsigned int} 06:16:56 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 06:16:56 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 06:16:56 | ^~~~~~~~~~~ 06:16:56 /tmp/sdk/src/c/service.c:1158:66: note: format string is defined here 06:16:56 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:16:56 | ~^ 06:16:56 | | 06:16:56 | int 06:16:56 | %ld 06:16:57 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 06:16:57 /tmp/sdk/src/c/service.c:1078:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 06:16:57 1078 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 06:16:57 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:16:57 /tmp/sdk/src/c/service.c:882:68: note: 'deviceservices_config' was declared here 06:16:57 882 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 06:16:57 | ^~~~~~~~~~~~~~~~~~~~~ 06:16:57 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:16:57 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 06:16:57 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:16:57 [ 68%] Linking C shared library libcsdk.so 06:16:57 [ 68%] Built target csdk 06:16:57 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:16:57 [ 72%] Linking C executable template 06:16:57 [ 72%] Built target template 06:16:57 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:16:57 [ 76%] Linking C executable device-counter 06:16:57 [ 76%] Built target device-counter 06:16:57 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:16:57 [ 80%] Linking C executable device-random 06:16:58 [ 80%] Built target device-random 06:16:58 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:16:58 [ 84%] Linking C executable device-gyro 06:16:58 [ 84%] Built target device-gyro 06:16:58 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:16:58 [ 88%] Linking C executable device-bitfields 06:16:58 [ 88%] Built target device-bitfields 06:16:58 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:16:58 [ 92%] Linking C executable template-discovery 06:16:58 [ 92%] Built target template-discovery 06:16:58 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:16:58 [ 96%] Linking C executable device-file 06:16:58 [ 96%] Built target device-file 06:16:58 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:16:58 [100%] Linking C executable device-terminal 06:16:58 [100%] Built target device-terminal 06:16:58 Run CPack packaging tool... 06:16:58 CPack: Create package using TGZ 06:16:58 CPack: Install projects 06:16:58 CPack: - Run preinstall target for: Csdk 06:16:59 CPack: - Install project: Csdk [] 06:16:59 CPack: Create package 06:16:59 CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.6.tar.gz generated. 06:16:59 + '[' false '=' true ] 06:16:59 + '[' false '=' true ] 06:16:59 + mkdir -p /tmp/sdk/build/debug 06:16:59 + cd /tmp/sdk/build/debug 06:16:59 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 06:16:59 -- The C compiler identification is GNU 12.2.1 06:16:59 -- Detecting C compiler ABI info 06:16:59 -- Detecting C compiler ABI info - done 06:16:59 -- Check for working C compiler: /usr/bin/cc - skipped 06:16:59 -- Detecting C compile features 06:16:59 -- Detecting C compile features - done 06:16:59 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:16:59 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 06:16:59 -- Found LIBYAML: /usr/lib/libyaml.so 06:16:59 -- Found LIBUUID: /usr/lib/libuuid.so 06:16:59 -- Found LIBCBOR: /usr/lib/libcbor.so 06:16:59 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:16:59 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 06:16:59 -- /opt/iotech/iot/1.5/include 06:16:59 -- C SDK 4.0.0-dev.6 for Linux 06:16:59 -- Performing Test CSDK_HAVE_ATOMIC 06:16:59 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:16:59 -- Found Curses: /usr/lib/libcurses.so 06:16:59 -- Configuring done (0.4s) 06:16:59 -- Generating done (0.0s) 06:16:59 -- Build files have been written to: /tmp/sdk/build/debug 06:16:59 + make 06:16:59 + tee debug.log 06:16:59 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:16:59 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 06:16:59 from /tmp/sdk/src/c/service.h:12, 06:16:59 from /tmp/sdk/src/c/autoevent.h:12, 06:16:59 from /tmp/sdk/src/c/autoevent.c:9: 06:16:59 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 06:16:59 /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=] 06:16:59 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:16:59 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:16:59 | | 06:16:59 | size_t {aka long unsigned int} 06:16:59 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 06:16:59 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 06:16:59 | ^~~~~~~~~~~ 06:16:59 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 06:16:59 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:16:59 | ~^ 06:16:59 | | 06:16:59 | int 06:16:59 | %ld 06:16:59 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 06:16:59 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 06:16:59 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 06:16:59 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:17:00 [ 11%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 06:17:00 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:17:00 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:17:00 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:17:00 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:17:00 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:17:00 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:17:00 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:17:00 [ 27%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 06:17:01 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:17:01 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:17:01 [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:17:01 [ 35%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 06:17:01 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 06:17:01 from /tmp/sdk/src/c/registry.h:14, 06:17:01 from /tmp/sdk/src/c/registry-impl.h:12, 06:17:01 from /tmp/sdk/src/c/keeper.h:12, 06:17:01 from /tmp/sdk/src/c/keeper.c:1: 06:17:01 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 06:17:01 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 06:17:01 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 06:17:01 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:17:01 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 06:17:01 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 06:17:01 | ^~~~~~~~~~~ 06:17:01 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 06:17:01 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 06:17:01 | ~^ 06:17:01 | | 06:17:01 | char * 06:17:01 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:17:01 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:17:01 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:17:01 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:17:01 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:17:01 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:17:01 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 06:17:01 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:17:01 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:17:02 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 06:17:02 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 06:17:02 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 06:17:02 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:17:02 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 06:17:02 /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:17:02 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 06:17:02 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:17:02 /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:17:02 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 06:17:02 | ^ 06:17:02 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 06:17:02 from /tmp/sdk/src/c/service.h:12, 06:17:02 from /tmp/sdk/src/c/service.c:9: 06:17:02 /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=] 06:17:02 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 06:17:02 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:17:02 | | 06:17:02 | uint64_t {aka long unsigned int} 06:17:02 /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' 06:17:02 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) 06:17:02 | ^~~~~~~~~~~ 06:17:02 /tmp/sdk/src/c/service.c:1095:54: note: format string is defined here 06:17:02 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 06:17:02 | ~^ 06:17:02 | | 06:17:02 | int 06:17:02 | %ld 06:17:02 /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': 06:17:02 /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=] 06:17:02 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:17:02 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:17:02 | | 06:17:02 | size_t {aka long unsigned int} 06:17:02 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 06:17:02 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 06:17:02 | ^~~~~~~~~~~ 06:17:02 /tmp/sdk/src/c/service.c:1158:66: note: format string is defined here 06:17:02 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 06:17:02 | ~^ 06:17:02 | | 06:17:02 | int 06:17:02 | %ld 06:17:02 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:17:02 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 06:17:02 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:17:02 [ 68%] Linking C shared library libcsdk.so 06:17:02 [ 68%] Built target csdk 06:17:02 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:17:02 [ 72%] Linking C executable template 06:17:02 [ 72%] Built target template 06:17:02 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:17:02 [ 76%] Linking C executable device-counter 06:17:02 [ 76%] Built target device-counter 06:17:03 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:17:03 [ 80%] Linking C executable device-random 06:17:03 [ 80%] Built target device-random 06:17:03 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:17:03 [ 84%] Linking C executable device-gyro 06:17:03 [ 84%] Built target device-gyro 06:17:03 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:17:03 [ 88%] Linking C executable device-bitfields 06:17:03 [ 88%] Built target device-bitfields 06:17:03 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:17:03 [ 92%] Linking C executable template-discovery 06:17:03 [ 92%] Built target template-discovery 06:17:03 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:17:03 [ 96%] Linking C executable device-file 06:17:03 [ 96%] Built target device-file 06:17:03 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:17:03 [100%] Linking C executable device-terminal 06:17:03 [100%] Built target device-terminal 06:17:03 make: Entering directory '/tmp/sdk/build/release' 06:17:03 [ 68%] Built target csdk 06:17:03 [ 72%] Built target template 06:17:03 [ 76%] Built target device-counter 06:17:03 [ 80%] Built target device-random 06:17:03 [ 84%] Built target device-gyro 06:17:03 [ 88%] Built target device-bitfields 06:17:03 [ 92%] Built target template-discovery 06:17:04 [ 96%] Built target device-file 06:17:04 [100%] Built target device-terminal 06:17:04 Install the project... 06:17:04 -- Install configuration: "Release" 06:17:04 -- Installing: /usr/local/lib/libcsdk.so 06:17:04 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 06:17:04 -- Installing: /usr/local/include 06:17:04 -- Installing: /usr/local/include/devsdk 06:17:04 -- Installing: /usr/local/include/devsdk/devsdk.h 06:17:04 -- Installing: /usr/local/include/devsdk/devsdk-base.h 06:17:04 -- Installing: /usr/local/include/edgex 06:17:04 -- Installing: /usr/local/include/edgex/edgex.h 06:17:04 -- Installing: /usr/local/include/edgex/devices.h 06:17:04 -- Installing: /usr/local/include/edgex/profiles.h 06:17:04 -- Installing: /usr/local/include/edgex/edgex-base.h 06:17:04 -- Installing: /usr/local/include/edgex/rest-server.h 06:17:04 -- Installing: /usr/local/include/edgex/csdk-defs.h 06:17:04 -- Installing: /usr/local/share/device-sdk-c/LICENSE 06:17:04 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 06:17:04 make: Leaving directory '/tmp/sdk/build/release' 06:17:04 Removing intermediate container 20322ed45740 06:17:04 ---> b7e81e8a2baf 06:17:04 Step 14/22 : FROM ${BASE} 06:17:04 ---> 6605166a5db4 06:17:04 Step 15/22 : LABEL maintainer="IOTech " 06:17:04 ---> Running in 7dae8f598ebf 06:17:04 Removing intermediate container 7dae8f598ebf 06:17:04 ---> c94ff1bf49ca 06:17:04 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 06:17:04 ---> Running in faf70d5b09ce 06:17:05 Connecting to iotech.jfrog.io (34.246.139.145:443) 06:17:05 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 06:17:05 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 06:17:05 '/etc/apk/keys/alpine.dev.rsa.pub' saved 06:17:05 Removing intermediate container faf70d5b09ce 06:17:05 ---> 70d1611c4d66 06:17:05 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 06:17:05 ---> Running in 4f3f9d24f68e 06:17:06 Removing intermediate container 4f3f9d24f68e 06:17:06 ---> 4d8206db2a42 06:17:06 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 06:17:06 ---> Running in 9ad868dbe9af 06:17:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:17:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:17:06 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 06:17:07 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:17:07 (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 06:17:07 (2/8) Installing curl (8.9.1-r1) 06:17:07 (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 06:17:07 (4/8) Installing dumb-init (1.2.5-r2) 06:17:07 (5/8) Installing libcbor (0.10.2-r1) 06:17:07 (6/8) Installing iotech-iot-1.5 (1.5.5-r0) 06:17:08 (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 06:17:08 (8/8) Installing libuuid (2.38.1-r8) 06:17:08 Executing busybox-1.36.1-r4.trigger 06:17:08 OK: 331 MiB in 88 packages 06:17:08 Removing intermediate container 9ad868dbe9af 06:17:08 ---> a78b801fd91d 06:17:08 Step 19/22 : RUN apk --no-cache upgrade 06:17:08 ---> Running in bca0f1a0a698 06:17:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:17:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:17:09 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 06:17:09 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:17:09 Upgrading critical system libraries and apk-tools: 06:17:09 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 06:17:09 Executing busybox-1.36.1-r4.trigger 06:17:09 Continuing the upgrade transaction with new apk-tools: 06:17:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:17:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:17:09 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 06:17:10 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:17:10 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 06:17:10 Executing busybox-1.36.1-r7.post-upgrade 06:17:10 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 06:17:10 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 06:17:10 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 06:17:10 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 06:17:10 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 06:17:10 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 06:17:10 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 06:17:10 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 06:17:10 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 06:17:10 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 06:17:10 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 06:17:10 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 06:17:10 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 06:17:10 Executing busybox-1.36.1-r7.trigger 06:17:10 Executing ca-certificates-20240226-r0.trigger 06:17:10 OK: 331 MiB in 88 packages 06:17:11 Removing intermediate container bca0f1a0a698 06:17:11 ---> b3655d3f09e7 06:17:11 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 06:17:11 ---> 987f496b7eea 06:17:11 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 06:17:11 ---> 71040a2390f1 06:17:11 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 06:17:11 ---> 2972d876dbbd 06:17:11 Successfully built 2972d876dbbd 06:17:11 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 06:17:12 + docker inspect -f . ci-base-image-x86_64 06:17:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:12 prd-ubuntu20.04-docker-8c-8g-34599 does not seem to be running inside a container 06:17:12 $ 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 06:17:12 $ docker top ccc31b5a0f6b2e7177679b49bdaf895be2cb873044bf9c924658fe68c8bbc7a8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:13 + make test 06:17:13 echo "make test" 06:17:13 make test [Pipeline] } 06:17:13 $ docker stop --time=1 ccc31b5a0f6b2e7177679b49bdaf895be2cb873044bf9c924658fe68c8bbc7a8 06:17:14 $ docker rm -f --volumes ccc31b5a0f6b2e7177679b49bdaf895be2cb873044bf9c924658fe68c8bbc7a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:17:15 + ls -al . 06:17:15 total 212 06:17:15 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 06:16 . 06:17:15 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 06:16 .. 06:17:15 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 06:16 .git 06:17:15 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 06:16 .github 06:17:15 -rw-rw-r-- 1 jenkins jenkins 176 Dec 6 06:16 .gitignore 06:17:15 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 06:16 .semver 06:17:15 -rw-rw-r-- 1 jenkins jenkins 2908 Dec 6 06:16 Attribution.txt 06:17:15 -rw-rw-r-- 1 jenkins jenkins 11953 Dec 6 06:16 CHANGELOG.md 06:17:15 -rw-rw-r-- 1 jenkins jenkins 108574 Dec 6 06:16 Doxyfile 06:17:15 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 06:16 GOVERNANCE.md 06:17:15 -rw-rw-r-- 1 jenkins jenkins 784 Dec 6 06:16 Jenkinsfile 06:17:15 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 6 06:16 LICENSE 06:17:15 -rw-rw-r-- 1 jenkins jenkins 444 Dec 6 06:16 Makefile 06:17:15 -rw-rw-r-- 1 jenkins jenkins 618 Dec 6 06:16 OWNERS.md 06:17:15 -rw-rw-r-- 1 jenkins jenkins 1651 Dec 6 06:16 README.IOT.md 06:17:15 -rw-rw-r-- 1 jenkins jenkins 4173 Dec 6 06:16 README.md 06:17:15 -rw-rw-r-- 1 jenkins jenkins 1245 Dec 6 06:16 README.v3.md 06:17:15 -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 06:16 VERSION 06:17:15 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 06:16 docs 06:17:15 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 06:16 include 06:17:15 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 06:16 scripts 06:17:15 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 06:16 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:15 + 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=62fc64c90db9bc421ef18031b23432b09bce4dbe --label arch=amd64 --label version=4.0.0-dev.6 . 06:17:15 Sending build context to Docker daemon 5.15MB 06:17:15 Step 1/18 : ARG BASE=alpine:3.18 06:17:15 Step 2/18 : FROM ${BASE} 06:17:15 ---> 2972d876dbbd 06:17:15 Step 3/18 : LABEL maintainer="IOTech " 06:17:15 ---> Running in 52b5a7fead35 06:17:15 Removing intermediate container 52b5a7fead35 06:17:15 ---> fde88eae0483 06:17:15 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 06:17:15 ---> Running in 367d0375d79b 06:17:15 Connecting to iotech.jfrog.io (54.73.4.50:443) 06:17:16 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 06:17:16 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 06:17:16 '/etc/apk/keys/alpine.dev.rsa.pub' saved 06:17:16 Removing intermediate container 367d0375d79b 06:17:16 ---> 31be8f904b93 06:17:16 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 06:17:16 ---> Running in b814f25c6cb0 06:17:17 Removing intermediate container b814f25c6cb0 06:17:17 ---> bff4a82ae7dc 06:17:17 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 06:17:17 ---> Running in 70a606e2eb5d 06:17:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:17:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:17:17 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 06:17:18 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:17:18 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 06:17:18 (2/11) Installing libcbor-dev (0.10.2-r1) 06:17:18 (3/11) Installing libmenuw (6.4_p20230506-r0) 06:17:18 (4/11) Installing libpanelw (6.4_p20230506-r0) 06:17:18 (5/11) Installing libncurses++ (6.4_p20230506-r0) 06:17:18 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 06:17:18 (7/11) Installing libblkid (2.38.1-r8) 06:17:18 (8/11) Installing libfdisk (2.38.1-r8) 06:17:18 (9/11) Installing libmount (2.38.1-r8) 06:17:18 (10/11) Installing libsmartcols (2.38.1-r8) 06:17:18 (11/11) Installing util-linux-dev (2.38.1-r8) 06:17:18 Executing busybox-1.36.1-r7.trigger 06:17:18 OK: 336 MiB in 99 packages 06:17:19 Removing intermediate container 70a606e2eb5d 06:17:19 ---> 057a7494aa94 06:17:19 Step 7/18 : RUN apk --no-cache upgrade 06:17:19 ---> Running in 5dbfa8ee7b5e 06:17:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:17:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:17:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 06:17:20 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:17:20 OK: 336 MiB in 99 packages 06:17:20 Removing intermediate container 5dbfa8ee7b5e 06:17:20 ---> 55431ca6e1d6 06:17:20 Step 8/18 : COPY VERSION /edgex-c-sdk/ 06:17:20 ---> d6b511dad30b 06:17:20 Step 9/18 : COPY src /edgex-c-sdk/src/ 06:17:20 ---> 88c8c7701996 06:17:20 Step 10/18 : COPY include /edgex-c-sdk/include/ 06:17:21 ---> 7aac150110f8 06:17:21 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 06:17:21 ---> e12bebd3df9c 06:17:21 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 06:17:21 ---> 68fbde9d401c 06:17:21 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 06:17:21 ---> 64260d9f9894 06:17:21 Step 14/18 : WORKDIR /edgex-c-sdk 06:17:21 ---> Running in b9df3dd59b6d 06:17:21 Removing intermediate container b9df3dd59b6d 06:17:21 ---> 9064c2f09b97 06:17:21 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 06:17:21 ---> Running in b80f1806e590 06:17:21 Removing intermediate container b80f1806e590 06:17:21 ---> 758493d2f7ed 06:17:21 Step 16/18 : LABEL arch=amd64 06:17:21 ---> Running in 3c8a6adb3135 06:17:21 Removing intermediate container 3c8a6adb3135 06:17:21 ---> 5275e5a17a9a 06:17:21 Step 17/18 : LABEL git_sha=62fc64c90db9bc421ef18031b23432b09bce4dbe 06:17:21 ---> Running in 75c9455be375 06:17:21 Removing intermediate container 75c9455be375 06:17:21 ---> 13348d9d7a4d 06:17:21 Step 18/18 : LABEL version=4.0.0-dev.6 06:17:21 ---> Running in 1f206a8adc17 06:17:21 Removing intermediate container 1f206a8adc17 06:17:21 ---> 135d62ec9cee 06:17:21 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:17:21 Successfully built 135d62ec9cee 06:17:21 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 06:17:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:22 06:17:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:22 latest: Pulling from edgex-lftools-log-publisher 06:17:22 5eb5b503b376: Pulling fs layer 06:17:22 5c69ac0246d0: Pulling fs layer 06:17:22 ec43610c2a17: Pulling fs layer 06:17:22 3a2ae6a8a46f: Pulling fs layer 06:17:22 33b1e0a273af: Pulling fs layer 06:17:22 3a2ae6a8a46f: Waiting 06:17:22 33b1e0a273af: Waiting 06:17:22 5d3b04190fa2: Pulling fs layer 06:17:22 2f39f015ded8: Pulling fs layer 06:17:22 5d3b04190fa2: Waiting 06:17:22 2f39f015ded8: Waiting 06:17:22 5c69ac0246d0: Download complete 06:17:22 3a2ae6a8a46f: Download complete 06:17:22 33b1e0a273af: Verifying Checksum 06:17:22 33b1e0a273af: Download complete 06:17:22 5d3b04190fa2: Verifying Checksum 06:17:22 5d3b04190fa2: Download complete 06:17:22 ec43610c2a17: Verifying Checksum 06:17:22 ec43610c2a17: Download complete 06:17:22 5eb5b503b376: Verifying Checksum 06:17:22 5eb5b503b376: Download complete 06:17:23 2f39f015ded8: Download complete 06:17:24 5eb5b503b376: Pull complete 06:17:24 5c69ac0246d0: Pull complete 06:17:24 ec43610c2a17: Pull complete 06:17:24 3a2ae6a8a46f: Pull complete 06:17:24 33b1e0a273af: Pull complete 06:17:24 5d3b04190fa2: Pull complete 06:17:29 2f39f015ded8: Pull complete 06:17:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:17:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:29 prd-ubuntu20.04-docker-8c-8g-34599 does not seem to be running inside a container 06:17:29 $ 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 06:17:30 $ docker top 211e9eb3571964d78f1df37d19a911317993c3fd1b4b96c49fddf3f6b9f4f3d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:30 ---> job-cost.sh 06:17:30 lf-activate-venv: SKIPPING 06:17:30 INFO: No Stack... 06:17:31 INFO: Retrieving Pricing Info for: v3-standard-8 06:17:31 INFO: Archiving Costs [Pipeline] sh 06:17:31 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 06:17:31 + cut -d, -f6 [Pipeline] lock 06:17:31 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-83-stack-cost] 06:17:31 Resource [jenkins-edgexfoundry-device-sdk-c-main-83-stack-cost] did not exist. Created. 06:17:31 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:17:32 + echo total: 0.2199999988079071 [Pipeline] stash 06:17:32 Stashed 1 file(s) [Pipeline] } 06:17:32 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-83-stack-cost] [Pipeline] // lock [Pipeline] } 06:17:32 $ docker stop --time=1 211e9eb3571964d78f1df37d19a911317993c3fd1b4b96c49fddf3f6b9f4f3d4 06:17:33 $ docker rm -f --volumes 211e9eb3571964d78f1df37d19a911317993c3fd1b4b96c49fddf3f6b9f4f3d4 [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 06:17:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:17:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:17:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:34 prd-ubuntu20.04-docker-8c-8g-34599 does not seem to be running inside a container 06:17:34 $ 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 06:17:34 $ docker top fc5adf56f56cf1e29f2649dddf46545a58d7b3c87caf9dfc41eb1a1c363874ff -eo pid,comm 06:17:34 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). 06:17:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:17:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:17:34 [ssh-agent] Looking for ssh-agent implementation... 06:17:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:17:34 $ docker exec fc5adf56f56cf1e29f2649dddf46545a58d7b3c87caf9dfc41eb1a1c363874ff ssh-agent 06:17:34 SSH_AUTH_SOCK=/tmp/ssh-X9ybwP2fO5dC/agent.32 06:17:34 SSH_AGENT_PID=38 06:17:34 Running ssh-add (command line suppressed) 06:17:34 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1248087018408222354.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1248087018408222354.key) 06:17:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:17:35 + git semver tag 06:17:35 2024-12-06 06:17:35,510 [run_tag] DEBUG tag force:False 06:17:35 2024-12-06 06:17:35,510 [check_head_tag] DEBUG check head tag 06:17:35 2024-12-06 06:17:35,511 [execute] INFO git cat-file --batch-check 06:17:35 2024-12-06 06:17:35,511 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 06:17:35 2024-12-06 06:17:35,514 [execute] INFO git cat-file --batch 06:17:35 2024-12-06 06:17:35,515 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 06:17:35 2024-12-06 06:17:35,533 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:17:35 2024-12-06 06:17:35,533 [execute] INFO git tag -a v4.0.0-dev.6 -m v4.0.0-dev.6 06:17:35 2024-12-06 06:17:35,534 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.6', '-m', 'v4.0.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 06:17:35 2024-12-06 06:17:35,538 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:17:35 4.0.0-dev.6 [Pipeline] } 06:17:35 $ docker exec --env ******** --env ******** fc5adf56f56cf1e29f2649dddf46545a58d7b3c87caf9dfc41eb1a1c363874ff ssh-agent -k 06:17:35 unset SSH_AUTH_SOCK; 06:17:35 unset SSH_AGENT_PID; 06:17:35 echo Agent pid 38 killed; 06:17:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:17:36 + git semver [Pipeline] } 06:17:36 $ docker stop --time=1 fc5adf56f56cf1e29f2649dddf46545a58d7b3c87caf9dfc41eb1a1c363874ff 06:17:37 $ docker rm -f --volumes fc5adf56f56cf1e29f2649dddf46545a58d7b3c87caf9dfc41eb1a1c363874ff [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:17:37 06:17:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:17:38 0.23.1-centos7: Pulling from edgex-lftools 06:17:38 ab5ef0e58194: Pulling fs layer 06:17:38 9712f1f96733: Pulling fs layer 06:17:38 63f879dbbcfc: Pulling fs layer 06:17:38 0d9ebad4ef96: Pulling fs layer 06:17:38 e9a5061849ea: Pulling fs layer 06:17:38 d747dcd14b5f: Pulling fs layer 06:17:38 2de7ff778b66: Pulling fs layer 06:17:38 0d9ebad4ef96: Waiting 06:17:38 e9a5061849ea: Waiting 06:17:38 d747dcd14b5f: Waiting 06:17:38 2de7ff778b66: Waiting 06:17:38 9712f1f96733: Verifying Checksum 06:17:38 9712f1f96733: Download complete 06:17:38 63f879dbbcfc: Verifying Checksum 06:17:38 63f879dbbcfc: Download complete 06:17:38 e9a5061849ea: Verifying Checksum 06:17:38 e9a5061849ea: Download complete 06:17:38 d747dcd14b5f: Download complete 06:17:38 0d9ebad4ef96: Verifying Checksum 06:17:38 0d9ebad4ef96: Download complete 06:17:38 ab5ef0e58194: Verifying Checksum 06:17:38 ab5ef0e58194: Download complete 06:17:39 2de7ff778b66: Verifying Checksum 06:17:39 2de7ff778b66: Download complete 06:17:41 ab5ef0e58194: Pull complete 06:17:41 9712f1f96733: Pull complete 06:17:42 63f879dbbcfc: Pull complete 06:17:45 0d9ebad4ef96: Pull complete 06:17:45 e9a5061849ea: Pull complete 06:17:45 d747dcd14b5f: Pull complete 06:17:46 2de7ff778b66: Pull complete 06:17:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:17:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:17:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:46 prd-ubuntu20.04-docker-8c-8g-34599 does not seem to be running inside a container 06:17:46 $ 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 06:17:50 $ docker top a623e8fc65403c8d2b7d66ee4a7811df5abde4992da1f04eac351b80d1cb6ac1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:17:50 provisioning config files... 06:17:50 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14238787670245763366tmp 06:17:50 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10024140126868728579tmp 06:17:50 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13063112149485322683tmp [Pipeline] { [Pipeline] echo 06:17:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:17:51 ---> sigul-configuration.sh 06:17:51 gpg: directory `/root/.gnupg' created 06:17:51 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:17:51 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:17:51 gpg: keyring `/root/.gnupg/secring.gpg' created 06:17:51 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:17:51 gpg: CAST5 encrypted data 06:17:51 gpg: encrypted with 1 passphrase 06:17:51 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:17:51 + mkdir /home/jenkins 06:17:51 + mkdir /home/jenkins/sigul [Pipeline] sh 06:17:51 + 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 06:17:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:17:52 ---> sigul-install.sh 06:17:52 Sigul already installed; skipping installation. [Pipeline] sh 06:17:52 + git tag --list 06:17:52 0.7.0 06:17:52 0.7.1 06:17:52 1.0.0 06:17:52 v1.0.1 06:17:52 v1.0.2 06:17:52 v1.0.3 06:17:52 v1.1.0 06:17:52 v1.1.1 06:17:52 v1.2.0 06:17:52 v1.2.1 06:17:52 v1.2.2 06:17:52 v1.3.0 06:17:52 v1.3.1 06:17:52 v2.0.0 06:17:52 v2.1.0 06:17:52 v2.2.0 06:17:52 v2.3.0 06:17:52 v3.0 06:17:52 v3.0.0 06:17:52 v3.0.1 06:17:52 v3.0.2 06:17:52 v3.0.3-dev.1 06:17:52 v3.0.3-dev.10 06:17:52 v3.0.3-dev.11 06:17:52 v3.0.3-dev.12 06:17:52 v3.0.3-dev.13 06:17:52 v3.0.3-dev.14 06:17:52 v3.0.3-dev.15 06:17:52 v3.0.3-dev.16 06:17:52 v3.0.3-dev.17 06:17:52 v3.0.3-dev.2 06:17:52 v3.0.3-dev.3 06:17:52 v3.0.3-dev.4 06:17:52 v3.0.3-dev.5 06:17:52 v3.0.3-dev.6 06:17:52 v3.0.3-dev.7 06:17:52 v3.0.3-dev.8 06:17:52 v3.0.3-dev.9 06:17:52 v3.1 06:17:52 v3.1.0 06:17:52 v3.1.0-dev.1 06:17:52 v3.1.0-dev.2 06:17:52 v3.1.0-dev.3 06:17:52 v3.1.0-dev.4 06:17:52 v3.1.0-dev.5 06:17:52 v3.1.0-dev.6 06:17:52 v3.1.0-dev.7 06:17:52 v3.1.0-dev.8 06:17:52 v3.1.0-dev.9 06:17:52 v3.1.1 06:17:52 v3.1.1-dev.1 06:17:52 v4.0.0-dev.1 06:17:52 v4.0.0-dev.2 06:17:52 v4.0.0-dev.3 06:17:52 v4.0.0-dev.4 06:17:52 v4.0.0-dev.5 06:17:52 v4.0.0-dev.6 [Pipeline] sh 06:17:52 + lftools sign git-tag v4.0.0-dev.6 06:17:53 Signing Git tag with Sigul... 06:17:53 Signing v4.0.0-dev.6 [Pipeline] echo 06:17:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:17:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:17:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:17:53 $ docker stop --time=1 a623e8fc65403c8d2b7d66ee4a7811df5abde4992da1f04eac351b80d1cb6ac1 06:17:55 $ docker rm -f --volumes a623e8fc65403c8d2b7d66ee4a7811df5abde4992da1f04eac351b80d1cb6ac1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:17:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:17:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:17:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:56 prd-ubuntu20.04-docker-8c-8g-34599 does not seem to be running inside a container 06:17:56 $ 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 06:17:56 $ docker top 525fe591c400b46c96d1542f63bf4e6323a263772019ad6afbebdbf81a7285e2 -eo pid,comm 06:17:56 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:17:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:17:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:17:56 [ssh-agent] Looking for ssh-agent implementation... 06:17:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:17:56 $ docker exec 525fe591c400b46c96d1542f63bf4e6323a263772019ad6afbebdbf81a7285e2 ssh-agent 06:17:56 SSH_AUTH_SOCK=/tmp/ssh-I42KMqBlja3z/agent.32 06:17:56 SSH_AGENT_PID=38 06:17:56 Running ssh-add (command line suppressed) 06:17:56 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_18351607691079806663.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_18351607691079806663.key) 06:17:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:17:57 + git semver bump pre 06:17:57 2024-12-06 06:17:57,213 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:17:57 2024-12-06 06:17:57,213 [bump_version] DEBUG bumping version:4.0.0-dev.6 on axis:pre with prefix:dev 06:17:57 2024-12-06 06:17:57,213 [bump_version] DEBUG bumped version:4.0.0-dev.7 06:17:57 2024-12-06 06:17:57,213 [write_version] DEBUG write version:4.0.0-dev.7 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 06:17:57 2024-12-06 06:17:57,213 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:17:57 2024-12-06 06:17:57,213 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:17:57 2024-12-06 06:17:57,216 [execute] INFO git cat-file --batch-check 06:17:57 2024-12-06 06:17:57,216 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 06:17:57 2024-12-06 06:17:57,220 [execute] INFO git cat-file --batch 06:17:57 2024-12-06 06:17:57,220 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 06:17:57 2024-12-06 06:17:57,224 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:17:57 4.0.0-dev.7 [Pipeline] } 06:17:57 $ docker exec --env ******** --env ******** 525fe591c400b46c96d1542f63bf4e6323a263772019ad6afbebdbf81a7285e2 ssh-agent -k 06:17:57 unset SSH_AUTH_SOCK; 06:17:57 unset SSH_AGENT_PID; 06:17:57 echo Agent pid 38 killed; 06:17:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:17:57 + git semver [Pipeline] } 06:17:58 $ docker stop --time=1 525fe591c400b46c96d1542f63bf4e6323a263772019ad6afbebdbf81a7285e2 06:17:59 $ docker rm -f --volumes 525fe591c400b46c96d1542f63bf4e6323a263772019ad6afbebdbf81a7285e2 [Pipeline] // withDockerContainer [Pipeline] sh 06:17:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:17:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:17:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:59 prd-ubuntu20.04-docker-8c-8g-34599 does not seem to be running inside a container 06:18:00 $ 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 06:18:00 $ docker top 66f24a78898a95cbee7d0a8737c342baf8e7b780a912b37bc13761d15e80b8e8 -eo pid,comm 06:18:00 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). 06:18:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:18:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:18:00 [ssh-agent] Looking for ssh-agent implementation... 06:18:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:18:00 $ docker exec 66f24a78898a95cbee7d0a8737c342baf8e7b780a912b37bc13761d15e80b8e8 ssh-agent 06:18:00 SSH_AUTH_SOCK=/tmp/ssh-Sr8Vde04fokj/agent.31 06:18:00 SSH_AGENT_PID=37 06:18:00 Running ssh-add (command line suppressed) 06:18:00 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7072000102686476664.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7072000102686476664.key) 06:18:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:18:01 + git semver push 06:18:01 2024-12-06 06:18:01,197 [run_push] DEBUG push 06:18:01 2024-12-06 06:18:01,198 [execute] INFO git cat-file --batch-check 06:18:01 2024-12-06 06:18:01,198 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 06:18:01 2024-12-06 06:18:01,201 [execute] INFO git rev-list 1658416c3e83fa51b79240a02ffc0a1819f54d2d -- 06:18:01 2024-12-06 06:18:01,201 [execute] DEBUG Popen(['git', 'rev-list', '1658416c3e83fa51b79240a02ffc0a1819f54d2d', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 06:18:01 2024-12-06 06:18:01,209 [execute] INFO git fetch -v origin 06:18:01 2024-12-06 06:18:01,209 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 06:18:01 2024-12-06 06:18:01,643 [run_push] DEBUG no remote changes detected 06:18:01 2024-12-06 06:18:01,644 [execute] INFO git push origin semver 06:18:01 2024-12-06 06:18:01,644 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 06:18:02 2024-12-06 06:18:02,439 [run_push] DEBUG push all version tags 06:18:02 2024-12-06 06:18:02,440 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:18:02 2024-12-06 06:18:02,440 [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) 06:18:03 2024-12-06 06:18:03,090 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:18:03 4.0.0-dev.7 [Pipeline] } 06:18:03 $ docker exec --env ******** --env ******** 66f24a78898a95cbee7d0a8737c342baf8e7b780a912b37bc13761d15e80b8e8 ssh-agent -k 06:18:03 unset SSH_AUTH_SOCK; 06:18:03 unset SSH_AGENT_PID; 06:18:03 echo Agent pid 37 killed; 06:18:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:18:03 + git semver [Pipeline] } 06:18:04 $ docker stop --time=1 66f24a78898a95cbee7d0a8737c342baf8e7b780a912b37bc13761d15e80b8e8 06:18:05 $ docker rm -f --volumes 66f24a78898a95cbee7d0a8737c342baf8e7b780a912b37bc13761d15e80b8e8 [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 06:18:05 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 06:18:05 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 06:18:05 total 16 06:18:05 drwxr-xr-x 3 root root 4096 Dec 6 06:17 . 06:18:05 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 06:17 .. 06:18:05 drwxr-xr-x 2 root root 4096 Dec 6 06:17 cost 06:18:05 -rw-r--r-- 1 root root 83 Dec 6 06:17 cost.csv 06:18:05 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 06:18:05 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 06:18:05 total 16 06:18:05 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 06:17 . 06:18:05 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 06:17 .. 06:18:05 drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 06:17 cost 06:18:05 -rw-r--r-- 1 jenkins jenkins 83 Dec 6 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:18:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:18:06 ---> package-listing.sh 06:18:06 ++ facter osfamily 06:18:06 ++ tr '[:upper:]' '[:lower:]' 06:18:07 + OS_FAMILY=debian 06:18:07 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 06:18:07 + START_PACKAGES=/tmp/packages_start.txt 06:18:07 + END_PACKAGES=/tmp/packages_end.txt 06:18:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:18:07 + PACKAGES=/tmp/packages_start.txt 06:18:07 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 06:18:07 + PACKAGES=/tmp/packages_end.txt 06:18:07 + case "${OS_FAMILY}" in 06:18:07 + dpkg -l 06:18:07 + grep '^ii' 06:18:07 + '[' -f /tmp/packages_start.txt ']' 06:18:07 + '[' -f /tmp/packages_end.txt ']' 06:18:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:18:07 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 06:18:07 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 06:18:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 06:18:07 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 06:18:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:18:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:08 prd-ubuntu20.04-docker-8c-8g-34599 does not seem to be running inside a container 06:18:08 $ 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 06:18:08 $ docker top e85064e0dd9c97334c4bd5f1e89244b97a35843ce50966f82c8dda0fce6c7fe8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:08 + touch /tmp/pre-build-complete [Pipeline] sh 06:18:09 + mkdir -p /var/log/sysstat [Pipeline] sh 06:18:09 + ls /var/log/sa-host 06:18:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:18:09 provisioning config files... 06:18:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17898849374957032582tmp [Pipeline] { [Pipeline] echo 06:18:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:18:09 ---> create-netrc.sh [Pipeline] } 06:18:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:18:10 ---> python-tools-install.sh [Pipeline] echo 06:18:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:18:10 ---> sudo-logs.sh 06:18:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:18:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:18:10 ---> job-cost.sh 06:18:10 lf-activate-venv: SKIPPING 06:18:10 DEBUG: total: 0.2199999988079071 06:18:10 INFO: Retrieving Stack Cost... 06:18:10 INFO: Retrieving Pricing Info for: v3-standard-8 06:18:11 INFO: Archiving Costs [Pipeline] echo 06:18:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:18:11 ---> logs-deploy.sh 06:18:11 lf-activate-venv: SKIPPING 06:18:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/83 06:18:11 INFO: archiving workspace using pattern(s): 06:18:12 Archives upload complete. 06:18:12 INFO: archiving logs to Nexus