Not able to run all the testcases in testNG framework. tests are stopping after first testcase is done successfully, rest testcases are not executing and it is again going in first testcase and failing

For example,
I have 3 test cases,
1 - Login (loginTest.java)
2 - create animal (pdRecheckHeifer.java)
3 - create event for animal (pdRecheckCreateEvent.java)

now in testng i have given,

<?xml version="1.0" encoding="UTF-8"?>

now when I am running the program then it is showing me the below error.

This seems like more of a Testng problem. Have you posted in Testng Google Group?

https://groups.google.com/g/testng-users