The trace test is to test that the trace output is working. i.e. that DMA trace has valid trace data.
The trace test currently parses the trace data for "error" and reports any "error" strings found as a test fail. This is wrong. This test must not parse the trace log for "error" as it reporting failed trace functionality due to "error" strings in the trace output.
Parsing for "error" is valid for other tests but not this one.