fix(perf): Ignore negative count trials
Sometimes, TRex wrongly gives negative number of forwarded packets.
As json schema requires non-negative values, this is not acceptable.
The MRR export keyword is changed to raise an exception,
the robot keyword has added logic to explicitly skip without export.
MRR json can still fail validation if all 10 trials are skipped.
With this change, the JSON is exported as failed,
but Robot test is not failed (left TODO to add later if needed).
For ndrpdr and soak tests, ignoring such trials would just repeat them,
so in this case the simpler fix is to add repeats to TrafficGenerator.
If three consecutive trials give negative results, the test fails.
Ticket: csit-3983
Change-Id: I1e8abb2ece5bd457f1e2c0c0634f9d08e2697f12
Signed-off-by: Vratko Polak <[email protected]>