On Thu, 2010-09-23 at 17:05 -0700, Gregory Smith wrote: > Return a better error message when job create fails due to a deps check.
Applied, thanks! > Signed-off-by: Gregory Smith <[email protected]> > > --- autotest/frontend/afe/rpc_utils.py 2010-07-14 12:42:00.000000000 > -0700 > +++ autotest/frontend/afe/rpc_utils.py 2010-09-23 16:46:27.000000000 > -0700 > @@ -233,8 +233,10 @@ > set(host.hostname for host in ok_hosts)) > if failing_hosts: > raise model_logic.ValidationError( > - {'hosts' : 'Host(s) failed to meet job dependencies: ' + > - ', '.join(failing_hosts)}) > + {'hosts' : 'Host(s) failed to meet job dependencies (' + > + (', '.join(job_dependencies)) + '): ' + > + (', '.join(failing_hosts))}) > + > > > def _execution_key_for(host_queue_entry): > _______________________________________________ > Autotest mailing list > [email protected] > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
