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

Bug 955868

Summary: XML Filtering by System's added date using __eq__ is broken
Product: [Retired] Beaker Reporter: Amit Saha <asaha>
Component: schedulerAssignee: Amit Saha <asaha>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.12CC: asaha, dcallagh, ebaak, llim, qwan, rglasz, rmancy, xinzhang, xjia
Target Milestone: 0.13   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-25 06:26:35 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:

Description Amit Saha 2013-04-24 02:24:29 UTC
Description of problem:

XML filtering with System's date added field is broken when used with the '=' operator. For example:

<system>
		<added op="=" value="2010-10-27"/>
</system>

fails to return any systems even though there are systems which were added on that date.

The Web search UI functions correctly though.

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

0.12.1

How reproducible:


Steps to Reproduce:
1. Add the above filter with an appropriate date
2. Submit job
3.
  
Actual results:

Recipe aborted not finding any matching systems


Expected results:

Picks one of the systems added on the mentioned date.

Additional info:

Comment 2 Amit Saha 2013-04-24 06:21:08 UTC
On Gerrit: http://gerrit.beaker-project.org/#/c/1896

Comment 7 xjia 2013-05-30 03:12:22 UTC
My fault, please ignore #comment6

Comment 8 Xin Zhang 2013-05-30 03:18:19 UTC
Verified.Submit a job via job xml with
<system>
		<added op="=" value="2012-11-05"/>
</system>
successfully choose system dev-kvm-guest-08.rhts.eng.bos.redhat.com and complete job with the result Pass.

beaker-client version:beaker-client-0.12.1-1.git.138.df77d66.el6eng

Comment 10 Amit Saha 2013-06-25 06:26:35 UTC
Beaker 0.13.1 has been released.