View Issue Details

IDProjectCategoryView StatusLast Update
0010238Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2025-03-17 13:39
ReporterV. Monfort Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version1.04.11-01.00.506 
Summary0010238: A&C Enable Test_003 might get stuck if no events are triggered anymore after Disable
Description

A&C Enable Test_003 might get stuck if no events are triggered anymore

  • First step disable the enabled alarms
  • A "timer" (TargetRefreshLocalTime) is initialized to call Refresh
  • PostLoopAction function evaluates the timer

The issue is that if no more events are triggered before reaching "TargetRefreshLocalTime", then the PostLoopAction is not called anymore and thus Refresh is never called.
In this case, the test gets stuck and makes fail the following tests too (all skipped) .

I guess the PostLoopAction might be called by AlarmCollector module even when no event is found to fix this kind of issue, a potential patch is attached.

TagsNo tags attached.
Attached Files
alarmCollectorPostLoop.patch (698 bytes)   
diff --git a/UACTT_project/library/AlarmsAndConditions/AlarmCollector.js b/UACTT_project/library/AlarmsAndConditions/AlarmCollector.js
index 006d9e7b..fea0a0c3 100755
--- a/UACTT_project/library/AlarmsAndConditions/AlarmCollector.js
+++ b/UACTT_project/library/AlarmsAndConditions/AlarmCollector.js
@@ -627,9 +627,9 @@ function AlarmCollector ( cuVariables, customInitialize ) {
                 // Update the state if a test case was completed
                 this.FinalizeNextTestState(conditionId);
             }
-            this.ForEachTest( "PostLoopAction" );
             this.AlarmTester.RemoveEntry( events );
         }
+        this.ForEachTest( "PostLoopAction" );
     }
 
     /**
Files Affected

Activities

Issue History

Date Modified Username Field Change
2025-03-17 13:39 V. Monfort New Issue
2025-03-17 13:39 V. Monfort File Added: alarmCollectorPostLoop.patch