Red Hat Bugzilla – Bug 1014876
Show Failed Results doesn't show warns/panics
Last modified: 2013-10-23 02:56:40 EDT
Description of problem:
When viewing results from the job page clicking on "Show Failed Results" will not show Warn or Panic resuls.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. find a job that has warns
These states are correctly causing the "Show Failed Results" button to appear, but are not showing up when it is clicked. The result filter needs to be updated to match the one that controls whether or not the button is shown.
OK, I figured out *why* this is breaking: the check to decide whether or not to display the button uses Recipe.is_failed, which correctly checks for warn, fail and panic results.
However, the GET request to tasks/do_search only accepts a single "result" and at the moment the failed results tab is only asking for Fail results, leaving out Warn and Panic.
Solution will be to accept multiple "result" values for tasks/do_search and update the JS call appropriately.
Initial patch on Gerrit: http://gerrit.beaker-project.org/2327
verified on beaker-devel Version 0.15.0(2013-10-10)-->pass
1. click on "Show Failed Results" on job pages containing Warn results
2. click on "Show Failed Results" on job pages containing Panic results
same as expected results.
should show Warn/Panic results accordingly.
beaker 0.15.1 has been released.