Bug 841197 - Beaker ignores tasks, no error reported
Summary: Beaker ignores tasks, no error reported
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: command line
Version: 0.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bill Peck
QA Contact:
URL:
Whiteboard:
: 645705 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-18 11:54 UTC by Petr Beňas
Modified: 2019-05-22 13:42 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-06 04:40:43 UTC
Embargoed:


Attachments (Terms of Use)

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.


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