seems like byteagent is not recommended that is my understanding from the error message. Try to explicitly attach using jvm arguments while running the test case.