When we are trying to deploy a test class, We are seeing the following error on many test classes
duplicate value found <unknown> duplicates value on record with id: <unknown>
Everything else is deployed without any issues. This test class alone is causing problems for us.
We are facing issue with this test class alone. We have gone through below solution. But, we couldn't find any history tracking on the objects the insertions are failing.
Object Deploy fails with: "duplicate value found: <unknown> duplicates value on record with id"
Please let us know if you need more info.