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): 0.15 How reproducible: everytime Steps to Reproduce: 1. find a job that has warns 2. 3.
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 steps: 1. click on "Show Failed Results" on job pages containing Warn results 2. click on "Show Failed Results" on job pages containing Panic results actual results: same as expected results. expected results: should show Warn/Panic results accordingly.
beaker 0.15.1 has been released.