View Issue Details

IDProjectCategoryView StatusLast Update
0008565CTT UA Scripts1 - Script Issuepublic2023-02-21 15:27
ReporterAlexander Allmendinger Assigned ToArchie Miller  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.03.501 
Fixed in Version1.03.502 
Summary0008565: A&C scripts printing misleading skip messages or marking tests as passed which are not run
Description

When there is an issue in a test script of A&C the execution of the tests is aborted causing all remaining test cases to either be marked as a success or print a "No alarms discovered for ..." skip messages. But there is no indication, that the script hasn't really be executed because of the earlier issue. When the CTT is running in such an issue, there needs to be a clear indication, which scripts have been run and which did not run at all.

Additional Information

For demonstration purposes a script in the A&C Comment CU has been broken which resulted in the attached screenshot.

The screenshot shows how test cases Test_001 - Test_004 and Err_002 - Err_005 are marked as passed, though the CTT didn't even wait for events to be received (see timestamps between initialize and cleanup -> 300ms)

TagsNo tags attached.
Attached Files
PassedTestsWhenException.PNG (74,040 bytes)   
PassedTestsWhenException.PNG (74,040 bytes)   
Files Affected

Relationships

related to 0008549 closedArchie Miller A&C Acknowledge: Sometimes tests are skipped for types where alarms are frequently triggered 
related to 0008559 closedArchie Miller A and C Refresh stops when time shift between CTT and SUT is bigger 0ms 
related to 0008558 closedArchie Miller A and C Refresh stops without running all test scripts and indication of it 

Activities

Archie Miller

2023-01-09 21:11

administrator   ~0018444

To get more details, it is necessary to enable the Log messages, which are disabled by default. This was the only way to show pass/fails/skips

image.png (73,669 bytes)   
image.png (73,669 bytes)   

Alexander Allmendinger

2023-01-12 14:28

developer   ~0018461

In my case Log messages were activated as well. The output is fine, when there are no issues in the scripts. But if in one of the scripts in the CU an exception is triggered, this issue shows up. Then all following test cases are marked as passed without any log messages.

Archie Miller

2023-02-03 17:17

administrator   ~0018665

Resolved at the same time as 8549

Paul Hunkar

2023-02-21 15:27

administrator   ~0018783

Agreed in call that other mantis issues covered this issue, closed issue

Issue History

Date Modified Username Field Change
2023-01-04 14:50 Alexander Allmendinger New Issue
2023-01-04 14:50 Alexander Allmendinger File Added: PassedTestsWhenException.PNG
2023-01-09 21:11 Archie Miller Note Added: 0018444
2023-01-09 21:11 Archie Miller File Added: image.png
2023-01-12 14:28 Alexander Allmendinger Note Added: 0018461
2023-02-03 15:08 Paul Hunkar Assigned To => Archie Miller
2023-02-03 15:08 Paul Hunkar Status new => assigned
2023-02-03 17:17 Archie Miller Relationship added related to 0008549
2023-02-03 17:17 Archie Miller Status assigned => resolved
2023-02-03 17:17 Archie Miller Resolution open => fixed
2023-02-03 17:17 Archie Miller Note Added: 0018665
2023-02-06 23:46 Archie Miller Relationship added related to 0008559
2023-02-06 23:47 Archie Miller Relationship added related to 0008558
2023-02-21 15:27 Paul Hunkar Status resolved => closed
2023-02-21 15:27 Paul Hunkar Fixed in Version => 1.03.502
2023-02-21 15:27 Paul Hunkar Note Added: 0018783