Bug 1270627 - report a result whenever extendtesttime.sh is run in /distribution/reservesys
Summary: report a result whenever extendtesttime.sh is run in /distribution/reservesys
Alias: None
Product: Beaker
Classification: Retired
Component: tests
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified vote
Target Milestone: 21.1
Assignee: Dan Callaghan
QA Contact: tools-bugs
Depends On:
TreeView+ depends on / blocked
Reported: 2015-10-12 00:57 UTC by Dan Callaghan
Modified: 2015-10-15 07:09 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Last Closed: 2015-10-15 07:09:44 UTC

Attachments (Terms of Use)

Description Dan Callaghan 2015-10-12 00:57:58 UTC
To make it easier to see when a reservation has been extended, and for how long, we can make extendtesttime.sh report a result every time it's run. We can record the number of seconds it has been extended for as the result score.

Alex Todorov has contributed a patch for this: http://gerrit.beaker-project.org/4427

Comment 1 Dan Callaghan 2015-10-13 06:01:10 UTC
Tagged as /distribution/reservesys 3.4-6.

Comment 3 Dan Callaghan 2015-10-13 06:26:34 UTC
Steps to verify:
1. Run a job with /distribution/reservesys (for example, use Reserve Workflow)
2. Wait for the system to be reserved, e-mail sent
3. Log in and extend the watchdog by 2 hours by running: extendtesttime.sh 2

Expected results:
In the recipe, a new result for /distribution/reservesys named "extend-test-time" appears, with the score equal to the number of hours reservation was extended by.

Comment 4 Dan Callaghan 2015-10-13 06:31:23 UTC
While trying this out on beaker-devel, I noticed that each extendtesttime.sh invocation does dmesg and AVC checking which creates new task log files. For some reason the log files are prefixed with some kind of UUID, like this:


I've never seen that before, not sure where the UUID is coming from... anyway I guess it's not a big deal.

Comment 6 Dan Callaghan 2015-10-15 07:09:44 UTC
/distribution/reservesys 3.4-6 has been released.

Note You need to log in before you can comment on or make changes to this bug.