Example:
=== RUN TestApplyThrice
2019-05-02T02:00:14.273826Z info Graceful termination period is -10s, starting...
--- PASS: TestApplyThrice (0.00s)
2019-05-02T02:00:14.274025Z info Epoch 0 starting
panic: Fail in goroutine after TestApplyThrice has completed
FAIL istio.io/istio/pilot/pkg/proxy 0.008s
Looking into the code: https://github.com/jstemmer/go-junit-report/blob/af01ea7f8024089b458d804d5cdf190f962a9a0c/parser/parser.go#L230 Looks like if summary is FAIL, the test still going to be marked as Pass.
Example: === RUN TestApplyThrice 2019-05-02T02:00:14.273826Z info Graceful termination period is -10s, starting... --- PASS: TestApplyThrice (0.00s) 2019-05-02T02:00:14.274025Z info Epoch 0 starting panic: Fail in goroutine after TestApplyThrice has completed FAIL istio.io/istio/pilot/pkg/proxy 0.008s