External constraint fail

In reply to cropty:

It would help if you showed us a complete example stripping out the UVM.

Since you are calling this.randomize(), the constraint c_int_test1 must be satified regardless of which variable is being randomized.