Bug 841197

Summary: Beaker ignores tasks, no error reported
Product: [Retired] Beaker Reporter: Petr Beňas <pbenas>
Component: command lineAssignee: Bill Peck <bpeck>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.9CC: azelinka, bpeck, dcallagh, jbrier, ksrot, mcsontos, psplicha, pstehlik, rmancy, stl
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-06 04:40:43 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:

Comment 1 Dan Callaghan 2012-07-31 00:12:17 UTC
This is expected behaviour. Your recipe is using RHEL5 Server and that task is excluded from RHEL5 Server, so Beaker discards it.

The Beaker server assumes that if you are submitting job XML directly, you know what you're doing and it takes the job as is. We rely on the tool which generated the job XML to pick the right tasks (for example, the bkr client workflow commands will complain if you use this task on RHEL5). In future the server may not enforce exclusions at all.

Comment 6 Bill Peck 2012-08-10 11:00:52 UTC
I'm re-opening this bug because I think its a mistake for beaker to filter when being given an xml.  The xml should already be filtered and this would allow task/test management outside of beaker in TCMS for example.

Comment 7 Bill Peck 2012-08-21 09:32:48 UTC
http://gerrit.beaker-project.org/#/c/1296/

Comment 8 Karel Srot 2012-08-24 05:30:36 UTC
On Thu, 2012-08-23 at 10:16 -0400, Bill Peck wrote:
Hello,
> 
> Beaker currently filters out tasks based on which Release and Arch is 
> being requested.  All of the current workflows filter out tasks that 
> don't apply to the requested Release and Arch.  
> 
I believe this is not true for workflow-tcms which is widely used in BaseOS QE and thus we are depending on the current behavior. I need to check with Petr Splichal whether he can fix it.

Comment 9 Bill Peck 2012-08-24 10:55:29 UTC
(In reply to comment #8)
> On Thu, 2012-08-23 at 10:16 -0400, Bill Peck wrote:
> Hello,
> > 
> > Beaker currently filters out tasks based on which Release and Arch is 
> > being requested.  All of the current workflows filter out tasks that 
> > don't apply to the requested Release and Arch.  
> > 
> I believe this is not true for workflow-tcms which is widely used in BaseOS
> QE and thus we are depending on the current behavior. I need to check with
> Petr Splichal whether he can fix it.

Thanks for checking on this.  That is kind of ironic since I thought this change was needed so that TCMS can actually manage the test plan. :-)

Comment 11 Dan Callaghan 2012-08-26 23:55:11 UTC
Marking this fix as verified, in that Beaker no longer filters tasks on the server side. However we are still waiting to see if it will be a problem for workflow-tcms.

Comment 12 Dan Callaghan 2012-09-03 06:36:36 UTC
*** Bug 645705 has been marked as a duplicate of this bug. ***

Comment 13 Dan Callaghan 2012-09-06 04:40:43 UTC
Beaker 0.9.3 has been released.