Hi,
Thank you, We migrated to 7.5 and retried the issue still exist.
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.5</version>
</dependency>
[INFO]
[ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 1
[INFO]
[INFO] xxx-transportation-testautomation .............. SUCCESS [ 0.203 s]
[INFO] automation-framework ............................... SUCCESS [ 5.217 s]
[INFO] automation-base-ui ................................. SUCCESS [ 1.878 s]
[INFO] automation-api ..................................... FAILURE [01:49 min]
[INFO] automation-ui ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:56 min
[INFO] Finished at: 2022-03-22T17:56:58+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project automation-api: There are test failures.
[ERROR]
[ERROR] Please refer to C:\TCX\trimble.transportation.core.iam\automation\automation-api\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
In the XML file, we added all the packages and test are run selected based on groups.
<?xml version="1.0" encoding="UTF-8"
?>
<!DOCTYPE suite SYSTEM "
http://testng.org/testng-1.0.dtd"
>
<suite name="regression" configfailurepolicy="continue" parallel = "classes" >
<test name="regression" >
If one test fails, all the following tests are skipped. The failed test retry worked, but not continuing to next one.
All test have common base class act as Super class. Individually test are fine.
Please suggest as continuous execution is completely blocked.
Thanks,
Vigi