4598: account for queued and cancelled jobs, fix sorting
authorTim Pierce <twp@curoverse.com>
Tue, 6 Jan 2015 16:03:10 +0000 (11:03 -0500)
committerTim Pierce <twp@curoverse.com>
Tue, 6 Jan 2015 16:03:10 +0000 (11:03 -0500)
commita686dcbfc02914af289fceec63d68645b4ffb13f
treeea2eebc8b9b6304528425640ab752e37b4f6b2ac
parente5dce6935b3ad0e1222c63cccc3fb4e4e4924d05
4598: account for queued and cancelled jobs, fix sorting

Per code review:
* Updated report to include job states "Cancelled" and "Queued" as well
  as Failed, Running and Complete, and to take these into account when
  calculating job counts.
* Fixed sorting for failure classes.
services/api/script/crunch-failure-report.py