Bug 1295642 - <reservesys/> is silently discarded from job XML
Summary: <reservesys/> is silently discarded from job XML
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: develop
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 22.0
Assignee: Dan Callaghan
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-05 05:29 UTC by Dan Callaghan
Modified: 2016-01-14 05:33 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-14 05:33:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Callaghan 2016-01-05 05:29:13 UTC
Description of problem:
<reservesys/> is silently discarded from job XML.

Version-Release number of selected component (if applicable):
22.0rc1 (does not affect any released version)

How reproducible:
easily

Steps to Reproduce:
1. Submit a job which uses <reservesys/> after the <task/> elements in the <recipe/>
(see https://beaker-project.org/docs/user-guide/system-reservation.html#using-the-reservesys-element)

Actual results:
Beaker does not reserve the system at the end of the recipe.
If you clone the job, the <reservesys/> element is missing.

Expected results:
Beaker should reserve the system at the end of the recipe.
The <reservesys/> element should be preserved when the job is cloned.

Additional info:
Regression in recipe XML parsing due to the lxml conversion. <reservesys/> is missing from complete-job.xml so parsing of <reservesys/> is not covered by any tests.

Comment 1 Dan Callaghan 2016-01-05 05:50:33 UTC
http://gerrit.beaker-project.org/4563

Comment 5 Dan Callaghan 2016-01-14 05:33:18 UTC
Beaker 22.0 has been released.


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