[webui] Broken filtering with "Show only failures" in External results
LTP test https://openqa.suse.de/tests/2823096#step/ADSP079/8 failed with
Test died: Timed out waiting for LTP test case which may still be running or the OS may have crashed! at /var/lib/openqa/cache/openqa.suse.de/tests/sle/tests/kernel/run_ltp.pm line 316.
But it's not shown in External results tab when filtering with "Show only failures.
Not sure if this is a problem of openQA search or test was not marked correctly by LTP module.
#1 Updated by mkittler over 2 years ago
The filter is not broken here. The table for external results simply does not include that result because it is no external result. The result comes from os-autoinst/tests-distri itself.
Would it always makes sense to add text results to the "External results" table (if one is present)? Then I could implement it as simple as doing that. The "External results" table would then possibly show output from the external tool mixed with output from regular test API functions. That doesn't sound nice to me.
Otherwise you could replace the
run_ltp.pm with code which would add an external test result similar to
write_extra_test_result. That would likely be the right thing to do. If it is inconvenient there could be a helper for this.