Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8c5e39fa7b5b04e520d4bb53faca14d55facea43 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-ssh15044289012143431793.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-ssh11679630293913736130.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-ssh5239262192936686683.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-ssh3688074472166896301.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-ssh10742923711940367856.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-34535 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 8c5e39fa7b5b04e520d4bb53faca14d55facea43 (main) Commit message: "feat!: Remove Redis Pub/Sub feature and dependency (#527)" > 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 8c5e39fa7b5b04e520d4bb53faca14d55facea43 # timeout=10 > git rev-list --no-walk b4a60c126f741d84c14ee104c3263f3235d33930 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:53:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:53:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:53:51 ========================================================= 05:53:51 EdgeX Global Pipelines Version Info 05:53:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:53:52 ------------------- 05:53:52 stable info: 05:53:52 ------------------- 05:53:52 Commited By: Cherry Wang cherry@iotechsys.com 05:53:52 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 05:53:52 Message: update stable to v1.0.269 05:53:52 ------------------- 05:53:52 experimental info: 05:53:52 ------------------- 05:53:52 Commited By: **** collab-it+edgex@linuxfoundation.org 05:53:52 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 05:53:52 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:53:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 05:53:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 05:53:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:53:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:53:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:53:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 05:53:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 05:53:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:53:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:53:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 05:53:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:53:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:53:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:53:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:53:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:53:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:53:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:53:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:53:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:53:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:53:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c5e39fa7b5b04e520d4bb53faca14d55facea43 [Pipeline] echo 05:53:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c5e39f [Pipeline] echo 05:53:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:53 provisioning config files... 05:53:53 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5502640875202206868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:53 ---> ****-login.sh 05:53:53 nexus3.edgexfoundry.org:10001 05:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:54 Configure a credential helper to remove this warning. See 05:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:54 05:53:54 Login Succeeded 05:53:54 nexus3.edgexfoundry.org:10002 05:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:54 Configure a credential helper to remove this warning. See 05:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:54 05:53:54 Login Succeeded 05:53:54 nexus3.edgexfoundry.org:10003 05:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:54 Configure a credential helper to remove this warning. See 05:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:54 05:53:54 Login Succeeded 05:53:54 nexus3.edgexfoundry.org:10004 05:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:54 Configure a credential helper to remove this warning. See 05:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:54 05:53:54 Login Succeeded 05:53:54 ****.io 05:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:54 Configure a credential helper to remove this warning. See 05:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:54 05:53:54 Login Succeeded 05:53:54 ---> ****-login.sh ends [Pipeline] } 05:53:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 05:53:55 + git rev-list -1 --merges 8c5e39fa7b5b04e520d4bb53faca14d55facea43~1..8c5e39fa7b5b04e520d4bb53faca14d55facea43 [Pipeline] echo 05:53:55 -----------> git rev-list -1 --merges 8c5e39fa7b5b04e520d4bb53faca14d55facea43~1..8c5e39fa7b5b04e520d4bb53faca14d55facea43 8c5e39fa7b5b04e520d4bb53faca14d55facea43 [false] [Pipeline] sh 05:53:55 + git log --format=format:%s -1 8c5e39fa7b5b04e520d4bb53faca14d55facea43 [Pipeline] echo 05:53:55 ========================================================= 05:53:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:53:55 ========================================================= 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 05:53:55 + git rev-list -1 --merges 8c5e39fa7b5b04e520d4bb53faca14d55facea43~1..8c5e39fa7b5b04e520d4bb53faca14d55facea43 [Pipeline] echo 05:53:55 -----------> git rev-list -1 --merges 8c5e39fa7b5b04e520d4bb53faca14d55facea43~1..8c5e39fa7b5b04e520d4bb53faca14d55facea43 8c5e39fa7b5b04e520d4bb53faca14d55facea43 [false] [Pipeline] sh 05:53:56 + git log --format=format:%s -1 8c5e39fa7b5b04e520d4bb53faca14d55facea43 [Pipeline] echo 05:53:56 ========================================================= 05:53:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:53:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 05:53:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:53:56 + grep -v github /etc/ssh/ssh_known_hosts 05:53:56 + [ -e /tmp/ssh_known_hosts ] 05:53:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:53:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:53:56 + sudo tee -a /etc/ssh/ssh_known_hosts 05:53:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:53:56 05:53:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:53:57 0.1.4: Pulling from edgex-devops/py-git-semver 05:53:57 b85a868b505f: Pulling fs layer 05:53:57 e2be974225ed: Pulling fs layer 05:53:57 339a4e72a1f5: Pulling fs layer 05:53:57 988bab9f4d93: Pulling fs layer 05:53:57 1469e6f7b9e6: Pulling fs layer 05:53:57 eaf3925da568: Pulling fs layer 05:53:57 bab4dde63d76: Pulling fs layer 05:53:57 bde34c3a00c8: Pulling fs layer 05:53:57 b352a97aabf1: Pulling fs layer 05:53:57 4872d77fe225: Pulling fs layer 05:53:57 5851b861e8e6: Pulling fs layer 05:53:57 988bab9f4d93: Waiting 05:53:57 1469e6f7b9e6: Waiting 05:53:57 eaf3925da568: Waiting 05:53:57 bde34c3a00c8: Waiting 05:53:57 4872d77fe225: Waiting 05:53:57 e2be974225ed: Verifying Checksum 05:53:57 e2be974225ed: Download complete 05:53:57 988bab9f4d93: Download complete 05:53:57 1469e6f7b9e6: Verifying Checksum 05:53:57 1469e6f7b9e6: Download complete 05:53:57 eaf3925da568: Verifying Checksum 05:53:57 eaf3925da568: Download complete 05:53:57 339a4e72a1f5: Verifying Checksum 05:53:57 339a4e72a1f5: Download complete 05:53:57 bde34c3a00c8: Verifying Checksum 05:53:57 bde34c3a00c8: Download complete 05:53:57 b352a97aabf1: Download complete 05:53:57 4872d77fe225: Download complete 05:53:57 5851b861e8e6: Verifying Checksum 05:53:57 5851b861e8e6: Download complete 05:53:57 b85a868b505f: Verifying Checksum 05:53:57 b85a868b505f: Download complete 05:53:57 bab4dde63d76: Verifying Checksum 05:53:57 bab4dde63d76: Download complete 05:53:58 b85a868b505f: Pull complete 05:53:58 e2be974225ed: Pull complete 05:53:59 339a4e72a1f5: Pull complete 05:53:59 988bab9f4d93: Pull complete 05:53:59 1469e6f7b9e6: Pull complete 05:53:59 eaf3925da568: Pull complete 05:54:01 bab4dde63d76: Pull complete 05:54:01 bde34c3a00c8: Pull complete 05:54:01 b352a97aabf1: Pull complete 05:54:01 4872d77fe225: Pull complete 05:54:01 5851b861e8e6: Pull complete 05:54:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:54:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:54:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:54:01 prd-ubuntu20.04-docker-8c-8g-34535 does not seem to be running inside a container 05:54:01 $ 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 05:54:03 $ docker top 6567891661fa654b520a54bcc442681b1c081b8bc422b48acafabdb0dcb90c68 -eo pid,comm 05:54:03 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). 05:54:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:54:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:54:03 [ssh-agent] Looking for ssh-agent implementation... 05:54:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:54:03 $ docker exec 6567891661fa654b520a54bcc442681b1c081b8bc422b48acafabdb0dcb90c68 ssh-agent 05:54:03 SSH_AUTH_SOCK=/tmp/ssh-YM5MDS8RMMXL/agent.33 05:54:03 SSH_AGENT_PID=39 05:54:03 Running ssh-add (command line suppressed) 05:54:03 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9746666402067809363.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9746666402067809363.key) 05:54:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:54:03 + git tag --points-at HEAD [Pipeline] } 05:54:03 $ docker exec --env ******** --env ******** 6567891661fa654b520a54bcc442681b1c081b8bc422b48acafabdb0dcb90c68 ssh-agent -k 05:54:03 unset SSH_AUTH_SOCK; 05:54:03 unset SSH_AGENT_PID; 05:54:03 echo Agent pid 39 killed; 05:54:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:54:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:54:17 [ssh-agent] Looking for ssh-agent implementation... 05:54:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:54:17 $ docker exec 6567891661fa654b520a54bcc442681b1c081b8bc422b48acafabdb0dcb90c68 ssh-agent 05:54:17 SSH_AUTH_SOCK=/tmp/ssh-cw6ATHWRaMSD/agent.72 05:54:17 SSH_AGENT_PID=78 05:54:17 Running ssh-add (command line suppressed) 05:54:17 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_897311509519073865.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_897311509519073865.key) 05:54:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:54:18 + git semver init 05:54:18 2024-12-05 05:54:18,277 [run_init] DEBUG init version:0.0.0 force:False 05:54:18 2024-12-05 05:54:18,278 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 05:54:18 2024-12-05 05:54:18,278 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 05:54:18 2024-12-05 05:54:18,278 [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) 05:54:19 2024-12-05 05:54:19,049 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 05:54:19 2024-12-05 05:54:19,049 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 05:54:19 2024-12-05 05:54:19,049 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 05:54:19 2024-12-05 05:54:19,050 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 05:54:19 4.0.0-dev.3 [Pipeline] } 05:54:19 $ docker exec --env ******** --env ******** 6567891661fa654b520a54bcc442681b1c081b8bc422b48acafabdb0dcb90c68 ssh-agent -k 05:54:19 unset SSH_AUTH_SOCK; 05:54:19 unset SSH_AGENT_PID; 05:54:19 echo Agent pid 78 killed; 05:54:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:54:19 + git semver [Pipeline] } 05:54:20 $ docker stop --time=1 6567891661fa654b520a54bcc442681b1c081b8bc422b48acafabdb0dcb90c68 05:54:21 $ docker rm -f --volumes 6567891661fa654b520a54bcc442681b1c081b8bc422b48acafabdb0dcb90c68 [Pipeline] // withDockerContainer [Pipeline] sh 05:54:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:54:21 Stashed 1 file(s) [Pipeline] echo 05:54:21 [edgeXSemver]: initialized semver on version 4.0.0-dev.3 [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 05:54:22 provisioning config files... 05:54:22 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13219871021155731903tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 05:54:22 ---> ****-login.sh 05:54:22 nexus3.edgexfoundry.org:10001 05:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:22 Configure a credential helper to remove this warning. See 05:54:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:22 05:54:22 Login Succeeded 05:54:22 nexus3.edgexfoundry.org:10002 05:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:22 Configure a credential helper to remove this warning. See 05:54:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:22 05:54:22 Login Succeeded 05:54:22 nexus3.edgexfoundry.org:10003 05:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:22 Configure a credential helper to remove this warning. See 05:54:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:22 05:54:22 Login Succeeded 05:54:22 nexus3.edgexfoundry.org:10004 05:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:22 Configure a credential helper to remove this warning. See 05:54:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:22 05:54:22 Login Succeeded 05:54:22 ****.io 05:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:22 Configure a credential helper to remove this warning. See 05:54:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:22 05:54:22 Login Succeeded 05:54:22 ---> ****-login.sh ends [Pipeline] } 05:54:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:54:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:54:23 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 05:54:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:54:23 ========================================================= 05:54:23 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 05:54:23 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:23 + 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 . 05:54:23 Sending build context to Docker daemon 5.081MB 05:54:23 Step 1/22 : ARG BASE=alpine:3.18 05:54:23 Step 2/22 : FROM ${BASE} as builder 05:54:23 latest: Pulling from edgex-devops/edgex-gcc-base 05:54:23 96526aa774ef: Pulling fs layer 05:54:23 da60e534fd72: Pulling fs layer 05:54:23 96526aa774ef: Verifying Checksum 05:54:23 96526aa774ef: Download complete 05:54:23 96526aa774ef: Pull complete 05:54:24 da60e534fd72: Verifying Checksum 05:54:24 da60e534fd72: Download complete 05:54:27 da60e534fd72: Pull complete 05:54:27 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 05:54:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 05:54:27 ---> 6605166a5db4 05:54:27 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 05:54:28 ---> Running in a7413c3d06aa 05:54:28 Connecting to iotech.jfrog.io (34.247.22.236:443) 05:54:28 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:54:28 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:54:28 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:54:28 Removing intermediate container a7413c3d06aa 05:54:28 ---> 17d926be76e0 05:54:28 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 05:54:28 ---> Running in 8967716d02fc 05:54:29 Removing intermediate container 8967716d02fc 05:54:29 ---> 8357651c5ed6 05:54:29 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 05:54:29 ---> Running in ccb093ed7031 05:54:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:54:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:54:30 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:54:30 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:54:30 (1/15) Installing libcbor (0.10.2-r1) 05:54:30 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 05:54:31 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 05:54:31 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 05:54:31 (5/15) Installing libcbor-dev (0.10.2-r1) 05:54:31 (6/15) Installing libmenuw (6.4_p20230506-r0) 05:54:31 (7/15) Installing libpanelw (6.4_p20230506-r0) 05:54:31 (8/15) Installing libncurses++ (6.4_p20230506-r0) 05:54:31 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 05:54:31 (10/15) Installing libblkid (2.38.1-r8) 05:54:31 (11/15) Installing libuuid (2.38.1-r8) 05:54:31 (12/15) Installing libfdisk (2.38.1-r8) 05:54:31 (13/15) Installing libmount (2.38.1-r8) 05:54:31 (14/15) Installing libsmartcols (2.38.1-r8) 05:54:31 (15/15) Installing util-linux-dev (2.38.1-r8) 05:54:31 Executing busybox-1.36.1-r4.trigger 05:54:31 OK: 336 MiB in 97 packages 05:54:32 Removing intermediate container ccb093ed7031 05:54:32 ---> ce7a419f2100 05:54:32 Step 6/22 : RUN mkdir /tmp/sdk 05:54:32 ---> Running in 44f5c70e4d81 05:54:33 Removing intermediate container 44f5c70e4d81 05:54:33 ---> 2b2b9126b236 05:54:33 Step 7/22 : COPY VERSION /tmp/sdk 05:54:33 ---> 0c05edd07a22 05:54:33 Step 8/22 : COPY src /tmp/sdk/src 05:54:33 ---> 089e2f299d42 05:54:33 Step 9/22 : COPY include /tmp/sdk/include 05:54:33 ---> 2b3d946a5145 05:54:33 Step 10/22 : COPY scripts /tmp/sdk/scripts 05:54:33 ---> c34eec097aa7 05:54:33 Step 11/22 : COPY LICENSE /tmp/sdk 05:54:33 ---> dec46f30c4a1 05:54:33 Step 12/22 : COPY Attribution.txt /tmp/sdk 05:54:33 ---> 63d7259b0a8f 05:54:33 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 05:54:33 ---> Running in fb37bc5ede6e 05:54:34 + CPPCHECK=false 05:54:34 + DOCGEN=false 05:54:34 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 05:54:34 + '[' 0 -gt 0 ] 05:54:34 + readlink -f ./scripts/build.sh 05:54:34 + dirname /tmp/sdk/scripts/build.sh 05:54:34 + dirname /tmp/sdk/scripts 05:54:34 + ROOT=/tmp/sdk 05:54:34 + cd /tmp/sdk 05:54:34 + mkdir -p /tmp/sdk/build/release 05:54:34 + cd /tmp/sdk/build/release 05:54:34 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 05:54:34 -- The C compiler identification is GNU 12.2.1 05:54:34 -- Detecting C compiler ABI info 05:54:34 -- Detecting C compiler ABI info - done 05:54:34 -- Check for working C compiler: /usr/bin/cc - skipped 05:54:34 -- Detecting C compile features 05:54:34 -- Detecting C compile features - done 05:54:34 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:54:34 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 05:54:34 -- Found LIBYAML: /usr/lib/libyaml.so 05:54:34 -- Found LIBUUID: /usr/lib/libuuid.so 05:54:34 -- Found LIBCBOR: /usr/lib/libcbor.so 05:54:34 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:54:34 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:54:34 -- /opt/iotech/iot/1.5/include 05:54:34 -- C SDK 4.0.0-dev.3 for Linux 05:54:34 -- Performing Test CSDK_HAVE_ATOMIC 05:54:34 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:54:34 -- Found Curses: /usr/lib/libcurses.so 05:54:34 -- Configuring done (0.4s) 05:54:34 -- Generating done (0.0s) 05:54:34 -- Build files have been written to: /tmp/sdk/build/release 05:54:34 + make all package 05:54:34 + tee release.log 05:54:34 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:54:34 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 05:54:34 from /tmp/sdk/src/c/service.h:12, 05:54:34 from /tmp/sdk/src/c/autoevent.h:12, 05:54:34 from /tmp/sdk/src/c/autoevent.c:9: 05:54:34 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 05:54:34 /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=] 05:54:34 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:54:34 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:54:34 | | 05:54:34 | size_t {aka long unsigned int} 05:54:34 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 05:54:34 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 05:54:34 | ^~~~~~~~~~~ 05:54:34 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 05:54:34 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:54:34 | ~^ 05:54:34 | | 05:54:34 | int 05:54:34 | %ld 05:54:34 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:54:34 [ 6%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:54:34 [ 8%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:54:34 [ 10%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:54:35 [ 12%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 05:54:35 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 05:54:35 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 05:54:35 294 | while (privateConfig) 05:54:35 | ^~~~~~~~~~~~~ 05:54:35 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 05:54:35 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 05:54:35 | ^~~~~~~~~~~~~ 05:54:35 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 05:54:35 271 | while (result) 05:54:35 | ^~~~~~ 05:54:35 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 05:54:35 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 05:54:35 | ^~~~~~ 05:54:35 [ 14%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:54:35 [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:54:35 [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:54:35 [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:54:35 [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:54:36 [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:54:36 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:54:36 [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:54:36 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:54:36 [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:54:37 [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:54:37 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:54:37 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:54:37 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:54:38 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:54:38 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:54:38 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:54:38 [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:54:38 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:54:38 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:54:39 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:54:39 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:54:39 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:54:39 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:54:39 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 05:54:39 /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 05:54:39 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 05:54:39 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:54:39 /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 05:54:39 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 05:54:39 | ^ 05:54:39 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 05:54:39 from /tmp/sdk/src/c/service.h:12, 05:54:39 from /tmp/sdk/src/c/service.c:9: 05:54:39 /tmp/sdk/src/c/service.c:1087:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 05:54:39 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 05:54:39 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:54:39 | | 05:54:39 | uint64_t {aka long unsigned int} 05:54:39 /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' 05:54:39 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) 05:54:39 | ^~~~~~~~~~~ 05:54:39 /tmp/sdk/src/c/service.c:1087:54: note: format string is defined here 05:54:39 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 05:54:39 | ~^ 05:54:39 | | 05:54:39 | int 05:54:39 | %ld 05:54:39 /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': 05:54:39 /tmp/sdk/src/c/service.c:1150:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 05:54:39 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:54:39 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:54:39 | | 05:54:39 | size_t {aka long unsigned int} 05:54:39 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 05:54:39 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 05:54:39 | ^~~~~~~~~~~ 05:54:39 /tmp/sdk/src/c/service.c:1150:66: note: format string is defined here 05:54:39 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:54:39 | ~^ 05:54:39 | | 05:54:39 | int 05:54:39 | %ld 05:54:39 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 05:54:39 /tmp/sdk/src/c/service.c:1070:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 05:54:39 1070 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 05:54:39 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:54:39 /tmp/sdk/src/c/service.c:882:68: note: 'deviceservices_config' was declared here 05:54:39 882 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 05:54:39 | ^~~~~~~~~~~~~~~~~~~~~ 05:54:39 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:54:40 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:54:40 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:54:40 [ 68%] Linking C shared library libcsdk.so 05:54:40 [ 68%] Built target csdk 05:54:40 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:54:40 [ 72%] Linking C executable template 05:54:40 [ 72%] Built target template 05:54:40 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:54:40 [ 76%] Linking C executable device-counter 05:54:40 [ 76%] Built target device-counter 05:54:40 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:54:40 [ 80%] Linking C executable device-random 05:54:40 [ 80%] Built target device-random 05:54:40 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:54:40 [ 84%] Linking C executable device-gyro 05:54:40 [ 84%] Built target device-gyro 05:54:41 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:54:41 [ 88%] Linking C executable device-bitfields 05:54:41 [ 88%] Built target device-bitfields 05:54:41 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:54:41 [ 92%] Linking C executable template-discovery 05:54:41 [ 92%] Built target template-discovery 05:54:41 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:54:41 [ 96%] Linking C executable device-file 05:54:41 [ 96%] Built target device-file 05:54:41 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:54:41 [100%] Linking C executable device-terminal 05:54:41 [100%] Built target device-terminal 05:54:41 Run CPack packaging tool... 05:54:41 CPack: Create package using TGZ 05:54:41 CPack: Install projects 05:54:41 CPack: - Run preinstall target for: Csdk 05:54:42 CPack: - Install project: Csdk [] 05:54:42 CPack: Create package 05:54:42 CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.3.tar.gz generated. 05:54:42 + '[' false '=' true ] 05:54:42 + '[' false '=' true ] 05:54:42 + mkdir -p /tmp/sdk/build/debug 05:54:42 + cd /tmp/sdk/build/debug 05:54:42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 05:54:42 -- The C compiler identification is GNU 12.2.1 05:54:42 -- Detecting C compiler ABI info 05:54:42 -- Detecting C compiler ABI info - done 05:54:42 -- Check for working C compiler: /usr/bin/cc - skipped 05:54:42 -- Detecting C compile features 05:54:42 -- Detecting C compile features - done 05:54:42 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:54:42 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 05:54:42 -- Found LIBYAML: /usr/lib/libyaml.so 05:54:42 -- Found LIBUUID: /usr/lib/libuuid.so 05:54:42 -- Found LIBCBOR: /usr/lib/libcbor.so 05:54:42 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:54:42 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:54:42 -- /opt/iotech/iot/1.5/include 05:54:42 -- C SDK 4.0.0-dev.3 for Linux 05:54:42 -- Performing Test CSDK_HAVE_ATOMIC 05:54:42 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:54:42 -- Found Curses: /usr/lib/libcurses.so 05:54:42 -- Configuring done (0.4s) 05:54:42 -- Generating done (0.0s) 05:54:42 -- Build files have been written to: /tmp/sdk/build/debug 05:54:42 + make 05:54:42 + tee debug.log 05:54:42 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:54:42 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 05:54:42 from /tmp/sdk/src/c/service.h:12, 05:54:42 from /tmp/sdk/src/c/autoevent.h:12, 05:54:42 from /tmp/sdk/src/c/autoevent.c:9: 05:54:42 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 05:54:42 /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=] 05:54:42 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:54:42 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:54:42 | | 05:54:42 | size_t {aka long unsigned int} 05:54:42 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 05:54:42 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 05:54:42 | ^~~~~~~~~~~ 05:54:42 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 05:54:42 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:54:42 | ~^ 05:54:42 | | 05:54:42 | int 05:54:42 | %ld 05:54:42 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:54:42 [ 6%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:54:42 [ 8%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:54:42 [ 10%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:54:42 [ 12%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 05:54:43 [ 14%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:54:43 [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:54:43 [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:54:43 [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:54:43 [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:54:43 [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:54:43 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:54:43 [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:54:43 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:54:43 [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:54:43 [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:54:43 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:54:43 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:54:44 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:54:44 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:54:44 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:54:44 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:54:44 [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:54:44 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:54:44 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:54:44 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:54:44 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:54:44 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:54:44 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:54:44 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 05:54:44 /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 05:54:44 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 05:54:44 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:54:44 /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 05:54:44 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 05:54:44 | ^ 05:54:44 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 05:54:44 from /tmp/sdk/src/c/service.h:12, 05:54:44 from /tmp/sdk/src/c/service.c:9: 05:54:44 /tmp/sdk/src/c/service.c:1087:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 05:54:44 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 05:54:44 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:54:44 | | 05:54:44 | uint64_t {aka long unsigned int} 05:54:44 /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' 05:54:44 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) 05:54:44 | ^~~~~~~~~~~ 05:54:44 /tmp/sdk/src/c/service.c:1087:54: note: format string is defined here 05:54:44 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 05:54:44 | ~^ 05:54:44 | | 05:54:44 | int 05:54:44 | %ld 05:54:44 /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': 05:54:44 /tmp/sdk/src/c/service.c:1150:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 05:54:44 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:54:44 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:54:44 | | 05:54:44 | size_t {aka long unsigned int} 05:54:44 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 05:54:44 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 05:54:44 | ^~~~~~~~~~~ 05:54:44 /tmp/sdk/src/c/service.c:1150:66: note: format string is defined here 05:54:44 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:54:44 | ~^ 05:54:44 | | 05:54:44 | int 05:54:44 | %ld 05:54:45 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:54:45 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:54:45 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:54:45 [ 68%] Linking C shared library libcsdk.so 05:54:45 [ 68%] Built target csdk 05:54:45 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:54:45 [ 72%] Linking C executable template 05:54:45 [ 72%] Built target template 05:54:45 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:54:45 [ 76%] Linking C executable device-counter 05:54:45 [ 76%] Built target device-counter 05:54:45 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:54:45 [ 80%] Linking C executable device-random 05:54:45 [ 80%] Built target device-random 05:54:45 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:54:46 [ 84%] Linking C executable device-gyro 05:54:46 [ 84%] Built target device-gyro 05:54:46 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:54:46 [ 88%] Linking C executable device-bitfields 05:54:46 [ 88%] Built target device-bitfields 05:54:46 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:54:46 [ 92%] Linking C executable template-discovery 05:54:46 [ 92%] Built target template-discovery 05:54:46 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:54:46 [ 96%] Linking C executable device-file 05:54:46 [ 96%] Built target device-file 05:54:46 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:54:46 [100%] Linking C executable device-terminal 05:54:46 [100%] Built target device-terminal 05:54:46 make: Entering directory '/tmp/sdk/build/release' 05:54:46 [ 68%] Built target csdk 05:54:46 [ 72%] Built target template 05:54:46 [ 76%] Built target device-counter 05:54:46 [ 80%] Built target device-random 05:54:46 [ 84%] Built target device-gyro 05:54:46 [ 88%] Built target device-bitfields 05:54:46 [ 92%] Built target template-discovery 05:54:46 [ 96%] Built target device-file 05:54:46 [100%] Built target device-terminal 05:54:46 Install the project... 05:54:46 -- Install configuration: "Release" 05:54:46 -- Installing: /usr/local/lib/libcsdk.so 05:54:46 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 05:54:46 -- Installing: /usr/local/include 05:54:46 -- Installing: /usr/local/include/devsdk 05:54:46 -- Installing: /usr/local/include/devsdk/devsdk.h 05:54:46 -- Installing: /usr/local/include/devsdk/devsdk-base.h 05:54:46 -- Installing: /usr/local/include/edgex 05:54:46 -- Installing: /usr/local/include/edgex/edgex.h 05:54:46 -- Installing: /usr/local/include/edgex/devices.h 05:54:46 -- Installing: /usr/local/include/edgex/profiles.h 05:54:46 -- Installing: /usr/local/include/edgex/edgex-base.h 05:54:46 -- Installing: /usr/local/include/edgex/rest-server.h 05:54:46 -- Installing: /usr/local/include/edgex/csdk-defs.h 05:54:46 -- Installing: /usr/local/share/device-sdk-c/LICENSE 05:54:46 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 05:54:46 make: Leaving directory '/tmp/sdk/build/release' 05:54:47 Removing intermediate container fb37bc5ede6e 05:54:47 ---> 3540d2f18d89 05:54:47 Step 14/22 : FROM ${BASE} 05:54:47 ---> 6605166a5db4 05:54:47 Step 15/22 : LABEL maintainer="IOTech " 05:54:47 ---> Running in 0ca38f05c7e8 05:54:47 Removing intermediate container 0ca38f05c7e8 05:54:47 ---> b08694928f45 05:54:47 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 05:54:47 ---> Running in f4c86b066f5a 05:54:47 Connecting to iotech.jfrog.io (34.247.22.236:443) 05:54:48 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:54:48 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:54:48 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:54:48 Removing intermediate container f4c86b066f5a 05:54:48 ---> f78eb6c9039b 05:54:48 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 05:54:48 ---> Running in 9f40dd99fead 05:54:49 Removing intermediate container 9f40dd99fead 05:54:49 ---> f6eed214ee9e 05:54:49 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 05:54:49 ---> Running in 65ee8ae92754 05:54:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:54:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:54:49 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:54:50 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:54:50 (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 05:54:50 (2/8) Installing curl (8.9.1-r1) 05:54:50 (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 05:54:50 (4/8) Installing dumb-init (1.2.5-r2) 05:54:50 (5/8) Installing libcbor (0.10.2-r1) 05:54:50 (6/8) Installing iotech-iot-1.5 (1.5.5-r0) 05:54:50 (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 05:54:50 (8/8) Installing libuuid (2.38.1-r8) 05:54:50 Executing busybox-1.36.1-r4.trigger 05:54:50 OK: 331 MiB in 88 packages 05:54:51 Removing intermediate container 65ee8ae92754 05:54:51 ---> 8693f707835f 05:54:51 Step 19/22 : RUN apk --no-cache upgrade 05:54:51 ---> Running in 256ff1caca38 05:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:54:51 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:54:52 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:54:52 Upgrading critical system libraries and apk-tools: 05:54:52 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 05:54:52 Executing busybox-1.36.1-r4.trigger 05:54:52 Continuing the upgrade transaction with new apk-tools: 05:54:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:54:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:54:52 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:54:53 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:54:53 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 05:54:53 Executing busybox-1.36.1-r7.post-upgrade 05:54:53 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 05:54:53 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 05:54:53 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 05:54:53 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 05:54:53 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 05:54:53 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 05:54:53 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 05:54:53 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 05:54:53 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 05:54:53 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 05:54:53 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 05:54:53 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 05:54:53 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 05:54:53 Executing busybox-1.36.1-r7.trigger 05:54:53 Executing ca-certificates-20240226-r0.trigger 05:54:53 OK: 331 MiB in 88 packages 05:54:53 Removing intermediate container 256ff1caca38 05:54:53 ---> 869e0f4216c5 05:54:53 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 05:54:54 ---> 6bacb79d7cae 05:54:54 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 05:54:54 ---> df42a4173c3e 05:54:54 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 05:54:54 ---> 53f5cfdb11c7 05:54:54 Successfully built 53f5cfdb11c7 05:54:54 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 05:54:54 + docker inspect -f . ci-base-image-x86_64 05:54:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:54:55 prd-ubuntu20.04-docker-8c-8g-34535 does not seem to be running inside a container 05:54:55 $ 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 05:54:55 $ docker top eaa1b34dec9c6a0c7ebf81f307c96af08e7d3f13343e7759b75b93733880df1d -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:55 + make test 05:54:55 echo "make test" 05:54:55 make test [Pipeline] } 05:54:55 $ docker stop --time=1 eaa1b34dec9c6a0c7ebf81f307c96af08e7d3f13343e7759b75b93733880df1d 05:54:56 $ docker rm -f --volumes eaa1b34dec9c6a0c7ebf81f307c96af08e7d3f13343e7759b75b93733880df1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:54:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:54:57 + ls -al . 05:54:57 total 212 05:54:57 drwxrwxr-x 9 jenkins jenkins 4096 Dec 5 05:54 . 05:54:57 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 05:53 .. 05:54:57 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 05:54 .git 05:54:57 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 05:53 .github 05:54:57 -rw-rw-r-- 1 jenkins jenkins 176 Dec 5 05:53 .gitignore 05:54:57 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 05:54 .semver 05:54:57 -rw-rw-r-- 1 jenkins jenkins 2908 Dec 5 05:53 Attribution.txt 05:54:57 -rw-rw-r-- 1 jenkins jenkins 11953 Dec 5 05:53 CHANGELOG.md 05:54:57 -rw-rw-r-- 1 jenkins jenkins 108574 Dec 5 05:53 Doxyfile 05:54:57 -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 05:53 GOVERNANCE.md 05:54:57 -rw-rw-r-- 1 jenkins jenkins 784 Dec 5 05:53 Jenkinsfile 05:54:57 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 5 05:53 LICENSE 05:54:57 -rw-rw-r-- 1 jenkins jenkins 444 Dec 5 05:53 Makefile 05:54:57 -rw-rw-r-- 1 jenkins jenkins 618 Dec 5 05:53 OWNERS.md 05:54:57 -rw-rw-r-- 1 jenkins jenkins 1651 Dec 5 05:53 README.IOT.md 05:54:57 -rw-rw-r-- 1 jenkins jenkins 4173 Dec 5 05:53 README.md 05:54:57 -rw-rw-r-- 1 jenkins jenkins 1245 Dec 5 05:53 README.v3.md 05:54:57 -rw-rw-r-- 1 jenkins jenkins 11 Dec 5 05:54 VERSION 05:54:57 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 05:53 docs 05:54:57 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 05:53 include 05:54:57 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 05:53 scripts 05:54:57 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 05:53 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:58 + 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=8c5e39fa7b5b04e520d4bb53faca14d55facea43 --label arch=amd64 --label version=4.0.0-dev.3 . 05:54:58 Sending build context to Docker daemon 5.081MB 05:54:58 Step 1/18 : ARG BASE=alpine:3.18 05:54:58 Step 2/18 : FROM ${BASE} 05:54:58 ---> 53f5cfdb11c7 05:54:58 Step 3/18 : LABEL maintainer="IOTech " 05:54:58 ---> Running in 5b4415fd57ed 05:54:58 Removing intermediate container 5b4415fd57ed 05:54:58 ---> 102cb2d307de 05:54:58 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 05:54:58 ---> Running in 4c6a712875ac 05:54:58 Connecting to iotech.jfrog.io (34.247.22.236:443) 05:54:59 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:54:59 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:54:59 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:54:59 Removing intermediate container 4c6a712875ac 05:54:59 ---> 8fe53045d1dd 05:54:59 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 05:54:59 ---> Running in eba23b272b7f 05:54:59 Removing intermediate container eba23b272b7f 05:54:59 ---> 4fb5555d397c 05:54:59 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 05:54:59 ---> Running in 9df81779d384 05:55:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:55:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:55:00 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:55:00 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:55:00 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 05:55:01 (2/11) Installing libcbor-dev (0.10.2-r1) 05:55:01 (3/11) Installing libmenuw (6.4_p20230506-r0) 05:55:01 (4/11) Installing libpanelw (6.4_p20230506-r0) 05:55:01 (5/11) Installing libncurses++ (6.4_p20230506-r0) 05:55:01 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 05:55:01 (7/11) Installing libblkid (2.38.1-r8) 05:55:01 (8/11) Installing libfdisk (2.38.1-r8) 05:55:01 (9/11) Installing libmount (2.38.1-r8) 05:55:01 (10/11) Installing libsmartcols (2.38.1-r8) 05:55:01 (11/11) Installing util-linux-dev (2.38.1-r8) 05:55:01 Executing busybox-1.36.1-r7.trigger 05:55:01 OK: 336 MiB in 99 packages 05:55:01 Removing intermediate container 9df81779d384 05:55:01 ---> c03423544943 05:55:01 Step 7/18 : RUN apk --no-cache upgrade 05:55:01 ---> Running in a00c4750594f 05:55:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:55:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:55:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:55:02 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:55:02 OK: 336 MiB in 99 packages 05:55:02 Removing intermediate container a00c4750594f 05:55:02 ---> d703c25c5a45 05:55:02 Step 8/18 : COPY VERSION /edgex-c-sdk/ 05:55:03 ---> 0b5359d03819 05:55:03 Step 9/18 : COPY src /edgex-c-sdk/src/ 05:55:03 ---> 0ce3200dee2d 05:55:03 Step 10/18 : COPY include /edgex-c-sdk/include/ 05:55:03 ---> eecb503227d3 05:55:03 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 05:55:03 ---> 63a9bc80f527 05:55:03 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 05:55:03 ---> f4774980046f 05:55:03 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 05:55:03 ---> 2f89d59b4bb7 05:55:03 Step 14/18 : WORKDIR /edgex-c-sdk 05:55:03 ---> Running in 78011ee95292 05:55:03 Removing intermediate container 78011ee95292 05:55:03 ---> e7ab1fb03c42 05:55:03 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 05:55:03 ---> Running in 8291790cafe6 05:55:03 Removing intermediate container 8291790cafe6 05:55:03 ---> 4835f0935a6c 05:55:03 Step 16/18 : LABEL arch=amd64 05:55:03 ---> Running in 2f8d9e847696 05:55:03 Removing intermediate container 2f8d9e847696 05:55:03 ---> 6294e3f8a977 05:55:03 Step 17/18 : LABEL git_sha=8c5e39fa7b5b04e520d4bb53faca14d55facea43 05:55:03 ---> Running in 77c61c94f328 05:55:04 Removing intermediate container 77c61c94f328 05:55:04 ---> f8b9f8790b8b 05:55:04 Step 18/18 : LABEL version=4.0.0-dev.3 05:55:04 ---> Running in ff3175e628d5 05:55:04 Removing intermediate container ff3175e628d5 05:55:04 ---> 34784c0e9f7b 05:55:04 [Warning] One or more build-args [MAKE ARCH] were not consumed 05:55:04 Successfully built 34784c0e9f7b 05:55:04 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 05:55:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:55:04 05:55:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:55:04 latest: Pulling from edgex-lftools-log-publisher 05:55:04 5eb5b503b376: Pulling fs layer 05:55:04 5c69ac0246d0: Pulling fs layer 05:55:04 ec43610c2a17: Pulling fs layer 05:55:04 3a2ae6a8a46f: Pulling fs layer 05:55:04 33b1e0a273af: Pulling fs layer 05:55:04 5d3b04190fa2: Pulling fs layer 05:55:04 2f39f015ded8: Pulling fs layer 05:55:04 33b1e0a273af: Waiting 05:55:04 5d3b04190fa2: Waiting 05:55:04 2f39f015ded8: Waiting 05:55:04 3a2ae6a8a46f: Waiting 05:55:04 5c69ac0246d0: Verifying Checksum 05:55:04 5c69ac0246d0: Download complete 05:55:04 3a2ae6a8a46f: Verifying Checksum 05:55:04 3a2ae6a8a46f: Download complete 05:55:04 33b1e0a273af: Verifying Checksum 05:55:04 33b1e0a273af: Download complete 05:55:04 5d3b04190fa2: Verifying Checksum 05:55:04 ec43610c2a17: Verifying Checksum 05:55:05 5eb5b503b376: Verifying Checksum 05:55:05 5eb5b503b376: Download complete 05:55:05 2f39f015ded8: Download complete 05:55:06 5eb5b503b376: Pull complete 05:55:06 5c69ac0246d0: Pull complete 05:55:06 ec43610c2a17: Pull complete 05:55:06 3a2ae6a8a46f: Pull complete 05:55:07 33b1e0a273af: Pull complete 05:55:07 5d3b04190fa2: Pull complete 05:55:11 2f39f015ded8: Pull complete 05:55:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:55:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:55:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:11 prd-ubuntu20.04-docker-8c-8g-34535 does not seem to be running inside a container 05:55:11 $ 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 05:55:12 $ docker top fcb1e0ea7d9e6c670c6622594e193dca2dd238205c13f9317fa37baac836deb5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:55:13 ---> job-cost.sh 05:55:13 lf-activate-venv: SKIPPING 05:55:13 INFO: No Stack... 05:55:13 INFO: Retrieving Pricing Info for: v3-standard-8 05:55:14 INFO: Archiving Costs [Pipeline] sh 05:55:14 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 05:55:14 + cut -d, -f6 [Pipeline] lock 05:55:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-80-stack-cost] 05:55:14 Resource [jenkins-edgexfoundry-device-sdk-c-main-80-stack-cost] did not exist. Created. 05:55:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:55:14 + echo total: 0.2199999988079071 [Pipeline] stash 05:55:14 Stashed 1 file(s) [Pipeline] } 05:55:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-80-stack-cost] [Pipeline] // lock [Pipeline] } 05:55:14 $ docker stop --time=1 fcb1e0ea7d9e6c670c6622594e193dca2dd238205c13f9317fa37baac836deb5 05:55:15 $ docker rm -f --volumes fcb1e0ea7d9e6c670c6622594e193dca2dd238205c13f9317fa37baac836deb5 [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 05:55:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:55:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:55:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:16 prd-ubuntu20.04-docker-8c-8g-34535 does not seem to be running inside a container 05:55:16 $ 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 05:55:17 $ docker top eac283c4702a17f9fe47c0a4fbf1d374ea5f09278dda4da57fc1f2be4d79c08b -eo pid,comm 05:55:17 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). 05:55:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:55:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:55:17 [ssh-agent] Looking for ssh-agent implementation... 05:55:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:55:17 $ docker exec eac283c4702a17f9fe47c0a4fbf1d374ea5f09278dda4da57fc1f2be4d79c08b ssh-agent 05:55:17 SSH_AUTH_SOCK=/tmp/ssh-I8jPWi2ZG969/agent.32 05:55:17 SSH_AGENT_PID=38 05:55:17 Running ssh-add (command line suppressed) 05:55:17 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12424458087215691967.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12424458087215691967.key) 05:55:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:55:17 + git semver tag 05:55:18 2024-12-05 05:55:18,102 [run_tag] DEBUG tag force:False 05:55:18 2024-12-05 05:55:18,102 [check_head_tag] DEBUG check head tag 05:55:18 2024-12-05 05:55:18,103 [execute] INFO git cat-file --batch-check 05:55:18 2024-12-05 05:55:18,103 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 05:55:18 2024-12-05 05:55:18,106 [execute] INFO git cat-file --batch 05:55:18 2024-12-05 05:55:18,106 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 05:55:18 2024-12-05 05:55:18,123 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 05:55:18 2024-12-05 05:55:18,124 [execute] INFO git tag -a v4.0.0-dev.3 -m v4.0.0-dev.3 05:55:18 2024-12-05 05:55:18,124 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.3', '-m', 'v4.0.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 05:55:18 2024-12-05 05:55:18,129 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 05:55:18 4.0.0-dev.3 [Pipeline] } 05:55:18 $ docker exec --env ******** --env ******** eac283c4702a17f9fe47c0a4fbf1d374ea5f09278dda4da57fc1f2be4d79c08b ssh-agent -k 05:55:18 unset SSH_AUTH_SOCK; 05:55:18 unset SSH_AGENT_PID; 05:55:18 echo Agent pid 38 killed; 05:55:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:55:18 + git semver [Pipeline] } 05:55:18 $ docker stop --time=1 eac283c4702a17f9fe47c0a4fbf1d374ea5f09278dda4da57fc1f2be4d79c08b 05:55:20 $ docker rm -f --volumes eac283c4702a17f9fe47c0a4fbf1d374ea5f09278dda4da57fc1f2be4d79c08b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:55:20 05:55:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:55:20 0.23.1-centos7: Pulling from edgex-lftools 05:55:20 ab5ef0e58194: Pulling fs layer 05:55:20 9712f1f96733: Pulling fs layer 05:55:20 63f879dbbcfc: Pulling fs layer 05:55:20 0d9ebad4ef96: Pulling fs layer 05:55:20 e9a5061849ea: Pulling fs layer 05:55:20 d747dcd14b5f: Pulling fs layer 05:55:20 2de7ff778b66: Pulling fs layer 05:55:20 d747dcd14b5f: Waiting 05:55:20 0d9ebad4ef96: Waiting 05:55:20 e9a5061849ea: Waiting 05:55:20 2de7ff778b66: Waiting 05:55:20 9712f1f96733: Verifying Checksum 05:55:20 9712f1f96733: Download complete 05:55:21 63f879dbbcfc: Verifying Checksum 05:55:21 63f879dbbcfc: Download complete 05:55:21 e9a5061849ea: Verifying Checksum 05:55:21 e9a5061849ea: Download complete 05:55:21 d747dcd14b5f: Verifying Checksum 05:55:21 d747dcd14b5f: Download complete 05:55:21 0d9ebad4ef96: Verifying Checksum 05:55:21 0d9ebad4ef96: Download complete 05:55:21 ab5ef0e58194: Download complete 05:55:21 2de7ff778b66: Verifying Checksum 05:55:21 2de7ff778b66: Download complete 05:55:24 ab5ef0e58194: Pull complete 05:55:24 9712f1f96733: Pull complete 05:55:24 63f879dbbcfc: Pull complete 05:55:29 0d9ebad4ef96: Pull complete 05:55:29 e9a5061849ea: Pull complete 05:55:29 d747dcd14b5f: Pull complete 05:55:30 2de7ff778b66: Pull complete 05:55:30 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:55:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:55:30 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:30 prd-ubuntu20.04-docker-8c-8g-34535 does not seem to be running inside a container 05:55:30 $ 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 05:55:32 $ docker top d509ffb9ccd36a6c15d496299a985063e9a23d373a0aa22b7ba38dae239f8d59 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:55:32 provisioning config files... 05:55:32 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config16332129116416463534tmp 05:55:32 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17644947740151510795tmp 05:55:32 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4148504034318239735tmp [Pipeline] { [Pipeline] echo 05:55:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:55:32 ---> sigul-configuration.sh 05:55:32 gpg: directory `/root/.gnupg' created 05:55:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:55:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:55:32 gpg: keyring `/root/.gnupg/secring.gpg' created 05:55:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:55:32 gpg: CAST5 encrypted data 05:55:32 gpg: encrypted with 1 passphrase 05:55:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:55:32 + mkdir /home/jenkins 05:55:32 + mkdir /home/jenkins/sigul [Pipeline] sh 05:55:33 + 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 05:55:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:55:33 ---> sigul-install.sh 05:55:33 Sigul already installed; skipping installation. [Pipeline] sh 05:55:33 + git tag --list 05:55:33 0.7.0 05:55:33 0.7.1 05:55:33 1.0.0 05:55:33 v1.0.1 05:55:33 v1.0.2 05:55:33 v1.0.3 05:55:33 v1.1.0 05:55:33 v1.1.1 05:55:33 v1.2.0 05:55:33 v1.2.1 05:55:33 v1.2.2 05:55:33 v1.3.0 05:55:33 v1.3.1 05:55:33 v2.0.0 05:55:33 v2.1.0 05:55:33 v2.2.0 05:55:33 v2.3.0 05:55:33 v3.0 05:55:33 v3.0.0 05:55:33 v3.0.1 05:55:33 v3.0.2 05:55:33 v3.0.3-dev.1 05:55:33 v3.0.3-dev.10 05:55:33 v3.0.3-dev.11 05:55:33 v3.0.3-dev.12 05:55:33 v3.0.3-dev.13 05:55:33 v3.0.3-dev.14 05:55:33 v3.0.3-dev.15 05:55:33 v3.0.3-dev.16 05:55:33 v3.0.3-dev.17 05:55:33 v3.0.3-dev.2 05:55:33 v3.0.3-dev.3 05:55:33 v3.0.3-dev.4 05:55:33 v3.0.3-dev.5 05:55:33 v3.0.3-dev.6 05:55:33 v3.0.3-dev.7 05:55:33 v3.0.3-dev.8 05:55:33 v3.0.3-dev.9 05:55:33 v3.1 05:55:33 v3.1.0 05:55:33 v3.1.0-dev.1 05:55:33 v3.1.0-dev.2 05:55:33 v3.1.0-dev.3 05:55:33 v3.1.0-dev.4 05:55:33 v3.1.0-dev.5 05:55:33 v3.1.0-dev.6 05:55:33 v3.1.0-dev.7 05:55:33 v3.1.0-dev.8 05:55:33 v3.1.0-dev.9 05:55:33 v3.1.1 05:55:33 v3.1.1-dev.1 05:55:33 v4.0.0-dev.1 05:55:33 v4.0.0-dev.2 05:55:33 v4.0.0-dev.3 [Pipeline] sh 05:55:34 + lftools sign git-tag v4.0.0-dev.3 05:55:34 Signing Git tag with Sigul... 05:55:34 Signing v4.0.0-dev.3 [Pipeline] echo 05:55:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:55:35 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:55:35 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:55:35 $ docker stop --time=1 d509ffb9ccd36a6c15d496299a985063e9a23d373a0aa22b7ba38dae239f8d59 05:55:36 $ docker rm -f --volumes d509ffb9ccd36a6c15d496299a985063e9a23d373a0aa22b7ba38dae239f8d59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:55:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:55:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:55:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:37 prd-ubuntu20.04-docker-8c-8g-34535 does not seem to be running inside a container 05:55:37 $ 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 05:55:37 $ docker top fabe17472d581cc517ca96feba3b9b1f3e722f623de130d94d20b143b0cccb31 -eo pid,comm 05:55:37 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). 05:55:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:55:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:55:37 [ssh-agent] Looking for ssh-agent implementation... 05:55:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:55:38 $ docker exec fabe17472d581cc517ca96feba3b9b1f3e722f623de130d94d20b143b0cccb31 ssh-agent 05:55:38 SSH_AUTH_SOCK=/tmp/ssh-vfcLprnBBJIA/agent.33 05:55:38 SSH_AGENT_PID=39 05:55:38 Running ssh-add (command line suppressed) 05:55:38 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6764110254437480601.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6764110254437480601.key) 05:55:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:55:38 + git semver bump pre 05:55:38 2024-12-05 05:55:38,775 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 05:55:38 2024-12-05 05:55:38,775 [bump_version] DEBUG bumping version:4.0.0-dev.3 on axis:pre with prefix:dev 05:55:38 2024-12-05 05:55:38,775 [bump_version] DEBUG bumped version:4.0.0-dev.4 05:55:38 2024-12-05 05:55:38,775 [write_version] DEBUG write version:4.0.0-dev.4 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 05:55:38 2024-12-05 05:55:38,775 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 05:55:38 2024-12-05 05:55:38,775 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 05:55:38 2024-12-05 05:55:38,778 [execute] INFO git cat-file --batch-check 05:55:38 2024-12-05 05:55:38,778 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 05:55:38 2024-12-05 05:55:38,783 [execute] INFO git cat-file --batch 05:55:38 2024-12-05 05:55:38,783 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 05:55:38 2024-12-05 05:55:38,787 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 05:55:38 4.0.0-dev.4 [Pipeline] } 05:55:38 $ docker exec --env ******** --env ******** fabe17472d581cc517ca96feba3b9b1f3e722f623de130d94d20b143b0cccb31 ssh-agent -k 05:55:38 unset SSH_AUTH_SOCK; 05:55:38 unset SSH_AGENT_PID; 05:55:38 echo Agent pid 39 killed; 05:55:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:55:39 + git semver [Pipeline] } 05:55:39 $ docker stop --time=1 fabe17472d581cc517ca96feba3b9b1f3e722f623de130d94d20b143b0cccb31 05:55:40 $ docker rm -f --volumes fabe17472d581cc517ca96feba3b9b1f3e722f623de130d94d20b143b0cccb31 [Pipeline] // withDockerContainer [Pipeline] sh 05:55:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:55:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:55:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:41 prd-ubuntu20.04-docker-8c-8g-34535 does not seem to be running inside a container 05:55:41 $ 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 05:55:41 $ docker top be29ea2a19ada9c2efa6c2ab9af18d93792297f7f42e9fa01dd7a2974428ae9d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:55:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:55:42 [ssh-agent] Looking for ssh-agent implementation... 05:55:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:55:42 $ docker exec be29ea2a19ada9c2efa6c2ab9af18d93792297f7f42e9fa01dd7a2974428ae9d ssh-agent 05:55:42 SSH_AUTH_SOCK=/tmp/ssh-lqDoEMdmaYGO/agent.32 05:55:42 SSH_AGENT_PID=38 05:55:42 Running ssh-add (command line suppressed) 05:55:42 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5872411474399700649.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5872411474399700649.key) 05:55:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:55:42 + git semver push 05:55:43 2024-12-05 05:55:42,908 [run_push] DEBUG push 05:55:43 2024-12-05 05:55:42,909 [execute] INFO git cat-file --batch-check 05:55:43 2024-12-05 05:55:42,909 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 05:55:43 2024-12-05 05:55:42,915 [execute] INFO git rev-list 908d074d958c9ca29695c1736fb9bca8ef698962 -- 05:55:43 2024-12-05 05:55:42,915 [execute] DEBUG Popen(['git', 'rev-list', '908d074d958c9ca29695c1736fb9bca8ef698962', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 05:55:43 2024-12-05 05:55:42,925 [execute] INFO git fetch -v origin 05:55:43 2024-12-05 05:55:42,926 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 05:55:43 2024-12-05 05:55:43,382 [run_push] DEBUG no remote changes detected 05:55:43 2024-12-05 05:55:43,382 [execute] INFO git push origin semver 05:55:43 2024-12-05 05:55:43,383 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 05:55:44 2024-12-05 05:55:43,983 [run_push] DEBUG push all version tags 05:55:44 2024-12-05 05:55:43,983 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:55:44 2024-12-05 05:55:43,984 [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) 05:55:44 2024-12-05 05:55:44,566 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 05:55:44 4.0.0-dev.4 [Pipeline] } 05:55:44 $ docker exec --env ******** --env ******** be29ea2a19ada9c2efa6c2ab9af18d93792297f7f42e9fa01dd7a2974428ae9d ssh-agent -k 05:55:44 unset SSH_AUTH_SOCK; 05:55:44 unset SSH_AGENT_PID; 05:55:44 echo Agent pid 38 killed; 05:55:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:55:45 + git semver [Pipeline] } 05:55:45 $ docker stop --time=1 be29ea2a19ada9c2efa6c2ab9af18d93792297f7f42e9fa01dd7a2974428ae9d 05:55:46 $ docker rm -f --volumes be29ea2a19ada9c2efa6c2ab9af18d93792297f7f42e9fa01dd7a2974428ae9d [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 05:55:47 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 05:55:47 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 05:55:47 total 16 05:55:47 drwxr-xr-x 3 root root 4096 Dec 5 05:55 . 05:55:47 drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 05:55 .. 05:55:47 drwxr-xr-x 2 root root 4096 Dec 5 05:55 cost 05:55:47 -rw-r--r-- 1 root root 83 Dec 5 05:55 cost.csv 05:55:47 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 05:55:47 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 05:55:47 total 16 05:55:47 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 05:55 . 05:55:47 drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 05:55 .. 05:55:47 drwxr-xr-x 2 jenkins jenkins 4096 Dec 5 05:55 cost 05:55:47 -rw-r--r-- 1 jenkins jenkins 83 Dec 5 05:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:55:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:55:48 ---> package-listing.sh 05:55:48 ++ tr '[:upper:]' '[:lower:]' 05:55:48 ++ facter osfamily 05:55:48 + OS_FAMILY=debian 05:55:48 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 05:55:48 + START_PACKAGES=/tmp/packages_start.txt 05:55:48 + END_PACKAGES=/tmp/packages_end.txt 05:55:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:55:48 + PACKAGES=/tmp/packages_start.txt 05:55:48 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 05:55:48 + PACKAGES=/tmp/packages_end.txt 05:55:48 + case "${OS_FAMILY}" in 05:55:48 + dpkg -l 05:55:48 + grep '^ii' 05:55:48 + '[' -f /tmp/packages_start.txt ']' 05:55:48 + '[' -f /tmp/packages_end.txt ']' 05:55:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:55:48 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 05:55:48 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 05:55:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 05:55:48 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 05:55:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:55:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:49 prd-ubuntu20.04-docker-8c-8g-34535 does not seem to be running inside a container 05:55:49 $ 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 05:55:49 $ docker top ab8090ef28e33a6995fecbc357b2215893c62a441999cb2e7497813f143d71e8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:50 + touch /tmp/pre-build-complete [Pipeline] sh 05:55:50 + mkdir -p /var/log/sysstat [Pipeline] sh 05:55:50 + ls /var/log/sa-host 05:55:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:55:50 provisioning config files... 05:55:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config716632572548082344tmp [Pipeline] { [Pipeline] echo 05:55:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:55:51 ---> create-netrc.sh [Pipeline] } 05:55:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:55:51 ---> python-tools-install.sh [Pipeline] echo 05:55:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:55:51 ---> sudo-logs.sh 05:55:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:55:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:55:52 ---> job-cost.sh 05:55:52 lf-activate-venv: SKIPPING 05:55:52 DEBUG: total: 0.2199999988079071 05:55:52 INFO: Retrieving Stack Cost... 05:55:52 INFO: Retrieving Pricing Info for: v3-standard-8 05:55:52 INFO: Archiving Costs [Pipeline] echo 05:55:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:55:53 ---> logs-deploy.sh 05:55:53 lf-activate-venv: SKIPPING 05:55:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/80 05:55:53 INFO: archiving workspace using pattern(s): 05:55:54 Archives upload complete. 05:55:54 INFO: archiving logs to Nexus