From 0336ce65b7bdff6f91c378e6d9a514f3f322886e Mon Sep 17 00:00:00 2001 From: adrojaankur Date: Tue, 19 Aug 2025 19:16:01 +0530 Subject: [PATCH 1/6] Update curlinterface.c --- source/protocol/http/curlinterface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/protocol/http/curlinterface.c b/source/protocol/http/curlinterface.c index 54143827..7e8074ad 100644 --- a/source/protocol/http/curlinterface.c +++ b/source/protocol/http/curlinterface.c @@ -515,13 +515,14 @@ T2ERROR sendReportOverHTTP(char *httpUrl, char *payload, pid_t* outForkedPid) if(curl_code != CURLE_OK || http_code != 200) { #ifdef LIBRDKCERTSEL_BUILD - T2Info("%s: Using xpki Certs connection certname: %s\n", __func__, pCertFile); + T2Info("%s: Failed to establish connection using xPKI certificate: %s\n", __func__, pCertFile); #endif fprintf(stderr, "curl failed: %s\n", curl_easy_strerror(curl_code)); childCurlResponse.lineNumber = __LINE__; } else { + T2Info("%s: Using xpki Certs connection certname: %s\n", __func__, pCertFile); childCurlResponse.lineNumber = __LINE__; } childCurlResponse.curlResponse = curl_code; From 10b5914ae038c61b8fbb348ffbad67be733bdad5 Mon Sep 17 00:00:00 2001 From: adrojaankur Date: Tue, 19 Aug 2025 19:17:31 +0530 Subject: [PATCH 2/6] Update xconfclient.c --- source/xconf-client/xconfclient.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/xconf-client/xconfclient.c b/source/xconf-client/xconfclient.c index 1622d9ba..ab3775b6 100644 --- a/source/xconf-client/xconfclient.c +++ b/source/xconf-client/xconfclient.c @@ -792,9 +792,11 @@ T2ERROR doHttpGet(char* httpsUrl, char **data) curl_code = curl_easy_perform(curl); #ifdef LIBRDKCERTSEL_BUILD if(curl_code != CURLE_OK) - { - T2Info("%s: Using xpki Certs connection certname : %s \n", __FUNCTION__, pCertFile); + { + T2Info("%s: Failed to establish connection using xPKI certificate: %s\n", __func__, pCertFile); T2Error("Curl failed : %d \n", curl_code); + }else{ + T2Info("%s: Using xpki Certs connection certname : %s \n", __FUNCTION__, pCertFile); } } } From 7f44568a4d227b0e7de0964d7d285139fa5cda68 Mon Sep 17 00:00:00 2001 From: adrojaankur Date: Wed, 20 Aug 2025 10:47:36 +0530 Subject: [PATCH 3/6] Update xconfclient.c --- source/xconf-client/xconfclient.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/xconf-client/xconfclient.c b/source/xconf-client/xconfclient.c index ab3775b6..ae26b6f8 100644 --- a/source/xconf-client/xconfclient.c +++ b/source/xconf-client/xconfclient.c @@ -793,8 +793,7 @@ T2ERROR doHttpGet(char* httpsUrl, char **data) #ifdef LIBRDKCERTSEL_BUILD if(curl_code != CURLE_OK) { - T2Info("%s: Failed to establish connection using xPKI certificate: %s\n", __func__, pCertFile); - T2Error("Curl failed : %d \n", curl_code); + T2Error("%s: Failed to establish connection using xPKI certificate: %s, Curl failed : %d\n", __func__, pCertFile, curl_code); }else{ T2Info("%s: Using xpki Certs connection certname : %s \n", __FUNCTION__, pCertFile); } From 202a020ffb84837d212b46fcd5cc589e658e5492 Mon Sep 17 00:00:00 2001 From: adrojaankur Date: Wed, 20 Aug 2025 10:50:11 +0530 Subject: [PATCH 4/6] Update curlinterface.c --- source/protocol/http/curlinterface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/protocol/http/curlinterface.c b/source/protocol/http/curlinterface.c index 7e8074ad..3d99a63d 100644 --- a/source/protocol/http/curlinterface.c +++ b/source/protocol/http/curlinterface.c @@ -515,7 +515,7 @@ T2ERROR sendReportOverHTTP(char *httpUrl, char *payload, pid_t* outForkedPid) if(curl_code != CURLE_OK || http_code != 200) { #ifdef LIBRDKCERTSEL_BUILD - T2Info("%s: Failed to establish connection using xPKI certificate: %s\n", __func__, pCertFile); + T2Error("%s: Failed to establish connection using xPKI certificate: %s, curl failed: %d\n", __func__, pCertFile, curl_code); #endif fprintf(stderr, "curl failed: %s\n", curl_easy_strerror(curl_code)); childCurlResponse.lineNumber = __LINE__; From 5ea805501ab82a016dc6ce05cddd275098da5efc Mon Sep 17 00:00:00 2001 From: shibu-kv Date: Wed, 27 Aug 2025 09:59:28 -0700 Subject: [PATCH 5/6] Changelog updates for release 1.6.1 --- CHANGELOG.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a155274b..a25e83b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,14 +4,27 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [1.6.1](https://github.com/rdkcentral/telemetry/compare/1.6.0...1.6.1) + +- RDKB 60706 : Failed to verify the certificate used during telemetry profile upload. [`#150`](https://github.com/rdkcentral/telemetry/pull/150) +- Rebase [`#156`](https://github.com/rdkcentral/telemetry/pull/156) +- RDKEMW-6872: Reduce Max Sleep for Previous Report and Fix Crash [`#153`](https://github.com/rdkcentral/telemetry/pull/153) +- RDKB-60978 Timer should not expire when there is a systemClock drift ( eg: NTP sync) happens. [`#143`](https://github.com/rdkcentral/telemetry/pull/143) +- Update xconfclient.c [`10b5914`](https://github.com/rdkcentral/telemetry/commit/10b5914ae038c61b8fbb348ffbad67be733bdad5) +- Update xconfclient.c [`7f44568`](https://github.com/rdkcentral/telemetry/commit/7f44568a4d227b0e7de0964d7d285139fa5cda68) +- Update curlinterface.c [`0336ce6`](https://github.com/rdkcentral/telemetry/commit/0336ce65b7bdff6f91c378e6d9a514f3f322886e) + #### [1.6.0](https://github.com/rdkcentral/telemetry/compare/1.5.2...1.6.0) +> 20 August 2025 + +- Resolve coverity issues and optimize DeltaInmmapSearch [`#151`](https://github.com/rdkcentral/telemetry/pull/151) - Resolve build errors in XE2-V2 builds [`#145`](https://github.com/rdkcentral/telemetry/pull/145) - RDKB-60894 : crash with strnstr and memcmp_eq in T2 [`#144`](https://github.com/rdkcentral/telemetry/pull/144) - RDK-57625: [RDK-E] Increase L2 Test Coverage For Telemetry [`#128`](https://github.com/rdkcentral/telemetry/pull/128) -- RDK-58420: crash [`#141`](https://github.com/rdkcentral/telemetry/pull/141) +- Topic/memcmp crash [`#141`](https://github.com/rdkcentral/telemetry/pull/141) - RDK-58420: Implement Log rotation logic for grep markers [`#135`](https://github.com/rdkcentral/telemetry/pull/135) -- RDK-58420: Optimize dca sub-module for log data scrapping [`f68badc`](https://github.com/rdkcentral/telemetry/commit/f68badc055ce35ba80c23a23e56d32eb766fd6b0) +- Resolve crash issues [`f68badc`](https://github.com/rdkcentral/telemetry/commit/f68badc055ce35ba80c23a23e56d32eb766fd6b0) - Update dca.c with temporary file approach [`9fc4930`](https://github.com/rdkcentral/telemetry/commit/9fc49306c65d51e21c471c36874270d7cf423faa) - Update dca.c to resolve memcmp_crash [`34f7a90`](https://github.com/rdkcentral/telemetry/commit/34f7a90e84aad97ab43af5021c0e466c65e240f2) From ee72c701fb50b5bbd28ac810feeaa4d5f4bb3516 Mon Sep 17 00:00:00 2001 From: shibu-kv Date: Wed, 27 Aug 2025 13:15:03 -0700 Subject: [PATCH 6/6] Correcting code formating errors for 1.6.1 release --- source/xconf-client/xconfclient.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/source/xconf-client/xconfclient.c b/source/xconf-client/xconfclient.c index ae26b6f8..e3ef6c67 100644 --- a/source/xconf-client/xconfclient.c +++ b/source/xconf-client/xconfclient.c @@ -792,10 +792,12 @@ T2ERROR doHttpGet(char* httpsUrl, char **data) curl_code = curl_easy_perform(curl); #ifdef LIBRDKCERTSEL_BUILD if(curl_code != CURLE_OK) - { - T2Error("%s: Failed to establish connection using xPKI certificate: %s, Curl failed : %d\n", __func__, pCertFile, curl_code); - }else{ - T2Info("%s: Using xpki Certs connection certname : %s \n", __FUNCTION__, pCertFile); + { + T2Error("%s: Failed to establish connection using xPKI certificate: %s, Curl failed : %d\n", __func__, pCertFile, curl_code); + } + else + { + T2Info("%s: Using xpki Certs connection certname : %s \n", __FUNCTION__, pCertFile); } } }