Bug 601174 - Allow job submission with missing tasks
Allow job submission with missing tasks
Status: CLOSED CURRENTRELEASE
Product: Beaker
Classification: Community
Component: command line (Show other bugs)
0.6
All Linux
low Severity medium (vote)
: 0.6.04
: ---
Assigned To: Dan Callaghan
:
Depends On: 601170
Blocks: 593663
  Show dependency treegraph
 
Reported: 2010-06-07 07:59 EDT by Jan Ščotka
Modified: 2011-02-09 20:01 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-02-09 20:01:15 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Ščotka 2010-06-07 07:59:27 EDT
Description of problem:
linked with bz601170

I met several times problem with submitting job.
I do it for tier test purpose for BaseOS, and sometimes happen, that I must add new test,
for example tier test have over 200 of scheduled tests.
And problematic is, that beaker try to find if all rpms are in beaker repository, and sometimes it fails and show me something like:
$ bkr job-submit --convert beaker-xml
<Fault 1: "bkr.server.bexceptions.BX:u'Invalid Task: /CoreOS/tzdata/Regression/bz517009-Egypt-DST-2009'">

So I expect some type of fault tolerance option for example --force to do that.
Because for me and for tier test is better to schedule it, with missing tasks, than it is not scheduled.
   Thanks
Comment 1 Marian Csontos 2011-01-31 02:46:14 EST
Placeholder task could be used instead of simple omitting the task as that may put multihost off sync e.g. when a task is unavailable for architecture of one of the machines?

Different RPM can be used for these tasks while keep name and role intact. This would also make re-scheduling job after the tasks are uploaded/fixed easier.
Comment 2 Dan Callaghan 2011-01-31 19:44:56 EST
(In reply to comment #1)

Marian, that a very good point about multihost tests getting out of sync. At the moment though we already have this problem, when a task is excluded because of arch/family: it is just silently removed. So I will do the same thing for this RFE. I will open a separate RFE with your idea of using a placeholder task.
Comment 3 Dan Callaghan 2011-02-01 18:08:34 EST
(In reply to comment #1)

Bug 674229 is the RFE for inserting placeholder tasks.
Comment 6 Dan Callaghan 2011-02-09 20:01:15 EST
Beaker 0.6.4 has been released.

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