We've been busy working on the scheduling and harness side of beaker
here at Red Hat. Here is a sneak peek of scheduling a job from the
command line.
The output may look familiar to you koji users. I'm using kobo (which
is the generic framework version) for all command line communication
and I've been able to plug into the existing TaskWatcher from it as
well. May need to tweak things a little since it may be too verbose.
[bpeck@localhost src]$ ./main.py job-submit ~/multi-host.xml
Watching tasks (this may be safely interrupted)...
j:58 Multihost kernel testing: New
RS:58 None: New
R:114 None: New (None)
T:222 /distribution/install: New (None)
T:223 /distribution/kernelinstall: New (None)
R:115 None: New (None)
T:224 /distribution/install: New (None)
T:225 /distribution/kernelinstall: New (None)
--> New: 8 [total: 8]
R:114 None: New (None) -> Processed (None)
T:222 /distribution/install: New (None) -> Processed (None)
T:223 /distribution/kernelinstall: New (None) -> Processed (None)
R:115 None: New (None) -> Processed (None)
T:224 /distribution/install: New (None) -> Processed (None)
T:225 /distribution/kernelinstall: New (None) -> Processed (None)
--> New: 2 Processed: 6 [total: 8]
j:58 Multihost kernel testing: New -> Processed
RS:58 None: New -> Processed
--> Processed: 8 [total: 8]
R:115 None: Processed (None) -> Queued (None)
T:224 /distribution/install: Processed (None) -> Queued (None)
T:225 /distribution/kernelinstall: Processed (None) -> Queued (None)
--> Processed: 5 Queued: 3 [total: 8]
j:58 Multihost kernel testing: Processed -> Queued
RS:58 None: Processed -> Queued
R:114 None: Processed (None) -> Queued (None)
T:222 /distribution/install: Processed (None) -> Queued (None)
T:223 /distribution/kernelinstall: Processed (None) -> Queued (None)
--> Queued: 8 [total: 8]
j:58 Multihost kernel testing: Queued -> Scheduled
RS:58 None: Queued -> Scheduled
R:114 None: Queued (None) -> Scheduled (dell-pesc430-02.domain.com)
T:222 /distribution/install: Queued (None) -> Scheduled
(dell-pesc430-02.domain.com)
T:223 /distribution/kernelinstall: Queued (None) -> Scheduled
(dell-pesc430-02.domain.com)
--> Queued: 3 Scheduled: 5 [total: 8]
Only one of the machines in our multi host job is available for use
right now. I should be able to add in ETA's very easily since we know
what machines have matched and what jobs are ahead of us and the maximum
time it will take for those jobs to finish.
Then the missing machine became available
R:115 None: Queued (None) -> Scheduled (hp-lp1.domain.com)
T:224 /distribution/install: Queued (None) -> Scheduled
(hp-lp1.domain.com)
T:225 /distribution/kernelinstall: Queued (None) -> Scheduled
(hp-lp1.domain.com)
--> Scheduled: 8 [total: 8]
j:58 Multihost kernel testing: Scheduled -> Running
RS:58 None: Scheduled -> Running
R:114 None: Scheduled (dell-pesc430-02.domain.com) -> Running
(dell-pesc430-02.domain.com)
T:222 /distribution/install: Scheduled
(dell-pesc430-02.domain.com) -> Running (dell-pesc430-02.domain.com)
T:223 /distribution/kernelinstall: Scheduled
(dell-pesc430-02.domain.com) -> Waiting (dell-pesc430-02.domain.com)
R:115 None: Scheduled (hp-lp1.domain.com) -> Running (hp-lp1.domain.com)
T:224 /distribution/install: Scheduled (hp-lp1.domain.com) ->
Running (hp-lp1.domain.com)
T:225 /distribution/kernelinstall: Scheduled (hp-lp1.domain.com)
-> Waiting (hp-lp1.domain.com)
--> Running: 6 Waiting: 2 [total: 8]
The backend is also uploading the console output and test output.
The Lab Proxy/Watchdog kicked in when the host hp-lp1 did not check in
for its install
R:115 None: Running (hp-lp1.domain.com) -> Aborted (hp-lp1.domain.com)
T:224 /distribution/install: Running (hp-lp1.domain.com) ->
Aborted (hp-lp1.domain.com)
T:225 /distribution/kernelinstall: Waiting (hp-lp1.domain.com) ->
Aborted (hp-lp1.domain.com)
--> Aborted: 3 Running: 4 Waiting: 1 [total: 8]
I should have more to report next week. :-)