Bug 726363

Summary: Beaker email subjects should list completion status first
Product: [Retired] Beaker Reporter: Stephen Gallagher <sgallagh>
Component: schedulerAssignee: Yang Ren <ryang>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.7CC: bpeck, dcallagh, jgalipea, mcsontos, rmancy, stl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-08 02:43:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 720041    
Bug Blocks:    

Description Stephen Gallagher 2011-07-28 11:48:40 UTC
Description of problem:
After BZ #720041 was added, emails now have potentially longer subject lines due to the whiteboard field being used. This now means that the result is now not viewable at a glance in many email clients (as the subject line is longer than the available space to display it). It would be advantageous if the result was listed first.

Version-Release number of selected component (if applicable):
0.6.16

How reproducible:
Every time

Steps to Reproduce:
1. Add a long title in the whiteboard

Actual results:
[Beaker Job Completion] [115171: SSSD - Native LDAP Acceptance Run on Fedora 15 i386] Completed Fail

Expected results:
[Beaker Job Completion] [FAIL] [115171: SSSD - Native LDAP Acceptance Run on Fedora 15 i386]

Additional info:
Displaying things this way will make it much easier to tell if action needs to be taken.

Comment 1 Bill Peck 2011-08-30 18:05:02 UTC
Ren Yang,

Could you look into this?  Looks like an easy fix?

Thanks

Comment 3 Yang Ren 2011-08-31 09:06:30 UTC
make the format like this.
[Beaker Job Completion] [FAIL] [115171: SSSD - Native LDAP Acceptance Run on
Fedora 15 i386] Completed

Pushed code to gerrit.

Comment 4 Marian Csontos 2011-08-31 09:29:47 UTC
(In reply to comment #0)
> Actual results:
> [Beaker Job Completion] [115171: SSSD - Native LDAP Acceptance Run on Fedora 15
> i386] Completed Fail
> 
> Expected results:
> [Beaker Job Completion] [FAIL] [115171: SSSD - Native LDAP Acceptance Run on
> Fedora 15 i386]

Should that better be:

[Beaker Job Completion] [Completed/FAIL] 115171: SSSD - Native LDAP Acceptance Run on Fedora 15 i386

I think status is often as interesting as result when job was Cancelled or Aborted.

Comment 5 Yang Ren 2011-09-01 01:09:12 UTC
Yes, I thought it's strange to just leave the job status in the end.

Comment 7 Dan Callaghan 2011-09-08 02:43:16 UTC
Beaker 0.7.1 has been released.