From 387cfee9ff0306f3a1a594e3860b95d81ae6483e Mon Sep 17 00:00:00 2001 From: "Kadiyala, Jayasri" Date: Wed, 13 May 2026 13:52:52 -0700 Subject: [PATCH 1/8] RDKB-62887: Changing frequent logs to debug Reason for change: Modifying log to Debug. Test Procedure: Tested by modfying log levl to Debug. Risks: Low Priority:P2 Signed-off-by:jayasri_kadiyala@comcast.com --- source/SnmpPlugin/ccsp_mib_utilities.c | 2 +- source/SnmpPlugin/ccsp_scalar_helper_access.c | 2 +- source/SnmpPlugin/ccsp_scalar_helper_control.c | 2 +- source/SnmpPlugin/ccsp_table_helper_access.c | 2 +- source/SnmpPlugin/ccsp_table_helper_control.c | 2 +- source/SnmpPlugin/cosa_api.c | 4 ++-- source/custom/ccsp_snmp_common.c | 6 +++--- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/source/SnmpPlugin/ccsp_mib_utilities.c b/source/SnmpPlugin/ccsp_mib_utilities.c index 50e8391..daee1a4 100644 --- a/source/SnmpPlugin/ccsp_mib_utilities.c +++ b/source/SnmpPlugin/ccsp_mib_utilities.c @@ -2047,7 +2047,7 @@ CcspUtilDMFilterToNamespace if( !Cosa_FindDestComp(pBuffer, ppDestName, ppDestPath) || *ppDestName == NULL || *ppDestPath == NULL) { - AnscTraceWarning(("Failed to find the CCSP component who supports '%s'\n", pBuffer)); + CcspTraceDebug(("Failed to find the CCSP component who supports '%s'\n", pBuffer)); return insNumber; } diff --git a/source/SnmpPlugin/ccsp_scalar_helper_access.c b/source/SnmpPlugin/ccsp_scalar_helper_access.c index a57f878..f01367e 100644 --- a/source/SnmpPlugin/ccsp_scalar_helper_access.c +++ b/source/SnmpPlugin/ccsp_scalar_helper_access.c @@ -656,7 +656,7 @@ CcspScalarHelperRefreshCache if( !Cosa_FindDestComp(pDMString, &pThisObject->pCcspComp, &pThisObject->pCcspPath) ) { - AnscTraceWarning(("Failed to find the CCSP component who supports '%s'\n", pDMString)); + CcspTraceDebug(("Failed to find the CCSP component who supports '%s'\n", pDMString)); return -1; } diff --git a/source/SnmpPlugin/ccsp_scalar_helper_control.c b/source/SnmpPlugin/ccsp_scalar_helper_control.c index f165c85..d2c4cb2 100644 --- a/source/SnmpPlugin/ccsp_scalar_helper_control.c +++ b/source/SnmpPlugin/ccsp_scalar_helper_control.c @@ -444,7 +444,7 @@ CcspScalarHelperRegisterMibHandler mibHandler ); - AnscTraceInfo(("Register Cache handler successfully.\n")); + CcspTraceDebug(("Register Cache handler successfully.\n")); } entry = AnscQueueGetNextEntry(entry); } diff --git a/source/SnmpPlugin/ccsp_table_helper_access.c b/source/SnmpPlugin/ccsp_table_helper_access.c index e41aa31..abc42c7 100755 --- a/source/SnmpPlugin/ccsp_table_helper_access.c +++ b/source/SnmpPlugin/ccsp_table_helper_access.c @@ -1128,7 +1128,7 @@ CcspTableHelperRefreshCache if( !Cosa_FindDestComp(pDMString, &pThisObject->pCcspComp, &pThisObject->pCcspPath) ) { - AnscTraceWarning(("Failed to find the CCSP component who supports '%s'\n", pDMString)); + CcspTraceDebug(("Failed to find the CCSP component who supports '%s'\n", pDMString)); return -1; } diff --git a/source/SnmpPlugin/ccsp_table_helper_control.c b/source/SnmpPlugin/ccsp_table_helper_control.c index 095736b..693c19f 100644 --- a/source/SnmpPlugin/ccsp_table_helper_control.c +++ b/source/SnmpPlugin/ccsp_table_helper_control.c @@ -574,7 +574,7 @@ CcspTableHelperRegisterMibHandler if (mibHandler) netsnmp_inject_handler( reg, mibHandler); - AnscTraceInfo(("Register Cache handler for Table Mibs successfully.\n")); + CcspTraceDebug(("Register Cache handler for Table Mibs successfully.\n")); } } diff --git a/source/SnmpPlugin/cosa_api.c b/source/SnmpPlugin/cosa_api.c index edc26c0..6cfa6ce 100644 --- a/source/SnmpPlugin/cosa_api.c +++ b/source/SnmpPlugin/cosa_api.c @@ -151,7 +151,7 @@ BOOL Cosa_GetParamValues ) { - CcspTraceInfo(("RDKB_SNMP : SNMP GET called for param '%s'\n",*pParamArray)); + CcspTraceDebug(("RDKB_SNMP : SNMP GET called for param '%s'\n",*pParamArray)); int iStatus = 0; iStatus = CcspBaseIf_getParameterValues @@ -171,7 +171,7 @@ BOOL Cosa_GetParamValues else { - CcspTraceInfo(("RDKB_SNMP : SNMP GET SUCCESS for param '%s'\n",*pParamArray)); + CcspTraceDebug(("RDKB_SNMP : SNMP GET SUCCESS for param '%s'\n",*pParamArray)); } return iStatus == CCSP_SUCCESS; } diff --git a/source/custom/ccsp_snmp_common.c b/source/custom/ccsp_snmp_common.c index 341d447..f684068 100644 --- a/source/custom/ccsp_snmp_common.c +++ b/source/custom/ccsp_snmp_common.c @@ -33,7 +33,7 @@ limitations under the License. **********************************************************************/ - +#include "ansc_platform.h" #include "cosa_api.h" #include "ccsp_snmp_common.h" #include "safec_lib_common.h" @@ -58,7 +58,7 @@ int get_dm_value(const char *param, char *val, size_t len) //Get Destination component if(!Cosa_FindDestComp((char *)param, &ppDestComponentName, &ppDestPath)){ - AnscTraceWarning(("Failed to find the CCSP component who supports '%s'\n", param)); + CcspTraceDebug(("Failed to find the CCSP component who supports '%s'\n", param)); goto get_negative_result; } @@ -111,7 +111,7 @@ int set_dm_value(const char *param, char *val, size_t vlen) } if (!Cosa_FindDestComp((char *)param, &ppDestComponentName, &ppDestPath)){ - AnscTraceWarning(("Failed to find the CCSP component who supports '%s'\n", param)); + CcspTraceDebug(("Failed to find the CCSP component who supports '%s'\n", param)); goto set_negative_result; } From 8d749646860703493ae99723ef7a32e66292fc9d Mon Sep 17 00:00:00 2001 From: "Kadiyala, Jayasri" Date: Wed, 13 May 2026 13:52:52 -0700 Subject: [PATCH 2/8] RDKB-62887: Change file permissions to run UT Reason for change: Modifying log to Debug. Test Procedure: Tested by modfying log levl to Debug. Risks: Low Priority:P2 Signed-off-by:jayasri_kadiyala@comcast.com --- source/test/run_ut.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 source/test/run_ut.sh diff --git a/source/test/run_ut.sh b/source/test/run_ut.sh old mode 100644 new mode 100755 From 27b6a25a3d99fa7a1191a1ad58d06de92a45d763 Mon Sep 17 00:00:00 2001 From: jayasrikadiyal Date: Mon, 25 May 2026 21:43:57 -0700 Subject: [PATCH 3/8] Potential fix for pull request finding Reverting Failed to find The ccsp component log to warning and Fixing the root cause to avoid failure messages. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- source/SnmpPlugin/ccsp_table_helper_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/SnmpPlugin/ccsp_table_helper_access.c b/source/SnmpPlugin/ccsp_table_helper_access.c index abc42c7..e41aa31 100755 --- a/source/SnmpPlugin/ccsp_table_helper_access.c +++ b/source/SnmpPlugin/ccsp_table_helper_access.c @@ -1128,7 +1128,7 @@ CcspTableHelperRefreshCache if( !Cosa_FindDestComp(pDMString, &pThisObject->pCcspComp, &pThisObject->pCcspPath) ) { - CcspTraceDebug(("Failed to find the CCSP component who supports '%s'\n", pDMString)); + AnscTraceWarning(("Failed to find the CCSP component who supports '%s'\n", pDMString)); return -1; } From eb882ff60a488bf7f521e529b1aa5c1c5a17398b Mon Sep 17 00:00:00 2001 From: jayasrikadiyal Date: Mon, 25 May 2026 21:44:36 -0700 Subject: [PATCH 4/8] Potential fix for pull request finding reverting change to fix root cause Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- source/custom/ccsp_snmp_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/custom/ccsp_snmp_common.c b/source/custom/ccsp_snmp_common.c index f684068..04af026 100644 --- a/source/custom/ccsp_snmp_common.c +++ b/source/custom/ccsp_snmp_common.c @@ -58,7 +58,7 @@ int get_dm_value(const char *param, char *val, size_t len) //Get Destination component if(!Cosa_FindDestComp((char *)param, &ppDestComponentName, &ppDestPath)){ - CcspTraceDebug(("Failed to find the CCSP component who supports '%s'\n", param)); + AnscTraceWarning(("Failed to find the CCSP component who supports '%s'\n", param)); goto get_negative_result; } From ab5e0ad85be712346fb79fd7c7948ce41d7c7952 Mon Sep 17 00:00:00 2001 From: jayasrikadiyal Date: Mon, 25 May 2026 22:17:35 -0700 Subject: [PATCH 5/8] Update ccsp_mib_utilities.c --- source/SnmpPlugin/ccsp_mib_utilities.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/SnmpPlugin/ccsp_mib_utilities.c b/source/SnmpPlugin/ccsp_mib_utilities.c index daee1a4..50e8391 100644 --- a/source/SnmpPlugin/ccsp_mib_utilities.c +++ b/source/SnmpPlugin/ccsp_mib_utilities.c @@ -2047,7 +2047,7 @@ CcspUtilDMFilterToNamespace if( !Cosa_FindDestComp(pBuffer, ppDestName, ppDestPath) || *ppDestName == NULL || *ppDestPath == NULL) { - CcspTraceDebug(("Failed to find the CCSP component who supports '%s'\n", pBuffer)); + AnscTraceWarning(("Failed to find the CCSP component who supports '%s'\n", pBuffer)); return insNumber; } From 36ff07db8f6539986df07916582270a3a03bfc4a Mon Sep 17 00:00:00 2001 From: jayasrikadiyal Date: Mon, 25 May 2026 22:19:00 -0700 Subject: [PATCH 6/8] Update ccsp_scalar_helper_access.c --- source/SnmpPlugin/ccsp_scalar_helper_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/SnmpPlugin/ccsp_scalar_helper_access.c b/source/SnmpPlugin/ccsp_scalar_helper_access.c index f01367e..a57f878 100644 --- a/source/SnmpPlugin/ccsp_scalar_helper_access.c +++ b/source/SnmpPlugin/ccsp_scalar_helper_access.c @@ -656,7 +656,7 @@ CcspScalarHelperRefreshCache if( !Cosa_FindDestComp(pDMString, &pThisObject->pCcspComp, &pThisObject->pCcspPath) ) { - CcspTraceDebug(("Failed to find the CCSP component who supports '%s'\n", pDMString)); + AnscTraceWarning(("Failed to find the CCSP component who supports '%s'\n", pDMString)); return -1; } From fdfe37af5d52f5f95945ab3c83b194182338c422 Mon Sep 17 00:00:00 2001 From: jayasrikadiyal Date: Mon, 25 May 2026 22:23:53 -0700 Subject: [PATCH 7/8] Update ccsp_snmp_common.c --- source/custom/ccsp_snmp_common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/custom/ccsp_snmp_common.c b/source/custom/ccsp_snmp_common.c index 04af026..70b0d27 100644 --- a/source/custom/ccsp_snmp_common.c +++ b/source/custom/ccsp_snmp_common.c @@ -33,7 +33,6 @@ limitations under the License. **********************************************************************/ -#include "ansc_platform.h" #include "cosa_api.h" #include "ccsp_snmp_common.h" #include "safec_lib_common.h" @@ -111,7 +110,7 @@ int set_dm_value(const char *param, char *val, size_t vlen) } if (!Cosa_FindDestComp((char *)param, &ppDestComponentName, &ppDestPath)){ - CcspTraceDebug(("Failed to find the CCSP component who supports '%s'\n", param)); + AnscTraceWarning(("Failed to find the CCSP component who supports '%s'\n", param)); goto set_negative_result; } From 2c83aef689a20c612643b7a76b1bdcb2ecf76460 Mon Sep 17 00:00:00 2001 From: jayasrikadiyal Date: Mon, 25 May 2026 22:24:41 -0700 Subject: [PATCH 8/8] Update ccsp_snmp_common.c --- source/custom/ccsp_snmp_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/custom/ccsp_snmp_common.c b/source/custom/ccsp_snmp_common.c index 70b0d27..341d447 100644 --- a/source/custom/ccsp_snmp_common.c +++ b/source/custom/ccsp_snmp_common.c @@ -33,6 +33,7 @@ limitations under the License. **********************************************************************/ + #include "cosa_api.h" #include "ccsp_snmp_common.h" #include "safec_lib_common.h"