Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1072133

Summary: The time remaining is truncated
Product: [Retired] Beaker Reporter: xjia <xjia>
Component: web UIAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: xjia <xjia>
Severity: low Docs Contact:
Priority: low    
Version: 0.15CC: aigao, asaha, dcallagh, llim, rmancy, xtian
Target Milestone: 0.16   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-17 03:01:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
truncated
none
Verify BZ#1072133 none

Description xjia 2014-03-04 02:41:27 UTC
Created attachment 870206 [details]
truncated

Description of problem:
If the time remaining is a bit far in the future, for instance 2999 days. The string is truncated.


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

How reproducible:
100%

Steps to Reproduce:
1. Clone a job such as: J:3563
2. Waiting until the first task runs
3.

Actual results:
Time Remaining 2999 da 


Expected results:
Time Remaining 2999 day(s)

Additional info:

Comment 2 Nick Coghlan 2014-03-04 03:14:21 UTC
Users really shouldn't be setting expiry times that long, but the result display redesign for bug 1013445 may want to take this into account.

Comment 3 Raymond Mancy 2014-03-07 06:21:40 UTC
I think this is a real bug. It seems until the './start' is recorded, the '2999 days' is the reported kill time.

I've tried this on a couple of recipes now and found that to be the case, See J:3658 on beaker-devel for example.

Comment 4 Dan Callaghan 2014-03-09 23:03:59 UTC
(In reply to Raymond Mancy from comment #3)
> I think this is a real bug. It seems until the './start' is recorded, the
> '2999 days' is the reported kill time.

I filed bug 1074345 for that. This one will be purely about the display truncation.

Comment 5 Dan Callaghan 2014-03-10 00:58:43 UTC
On Gerrit: http://gerrit.beaker-project.org/2900

Comment 7 xjia 2014-03-11 02:51:55 UTC
Created attachment 872936 [details]
Verify BZ#1072133

Verify:
[root@dhcp-65-142 ~]# bkr watchdog-extend 112590 --by=259113600
259113599

From the attachment, it shows correctly.

Comment 8 Dan Callaghan 2014-03-17 03:01:29 UTC
Beaker 0.16.0 has been released.