New issue
Advanced search Search tips

Issue 696709 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

create_suite_job rpc should fail not timeout if the suite_name is wrong.

Project Member Reported by sbasi@chromium.org, Feb 27 2017

Issue description

$ ./site_utils/run_suite.py --board=guado_moblab --build=trybot-guado_moblab-paladin/R58-9314.0.0-b2265 --suite_name=control.moblab_quick --pool=''
Autotest instance: cautotest
02-27-2017 [12:13:25] Submitted create_suite_job rpc
Unhandled run_suite exception: retry exception (function="create_suite()"), timeout = 600s
Traceback (most recent call last):
  File "./site_utils/run_suite.py", line 1826, in main
    code, output_dict = main_without_exception_handling(options)
  File "./site_utils/run_suite.py", line 1632, in main_without_exception_handling
    job_id = create_suite(afe, options)
  File "/usr/local/autotest/client/common_lib/cros/retry.py", line 233, in func_retry
    raise error.TimeoutException(exception_message)
TimeoutException: retry exception (function="create_suite()"), timeout = 600s
Will return from run_suite with status: INFRA_FAILURE


chromeos-test@chromeos-server2:/usr/local/autotest$ ./site_utils/run_suite.py --board=guado_moblab --build=trybot-guado_moblab-paladin/R58-9314.0.0-b2265 --suite_name=moblab_quick --pool=''
Autotest instance: cautotest
02-27-2017 [12:31:55] Submitted create_suite_job rpc
02-27-2017 [12:32:13] Created suite job: http://cautotest.corp.google.com/afe/#tab_id=view_job&object_id=103814422
@@@STEP_LINK@Link to suite@http://cautotest.corp.google.com/afe/#tab_id=view_job&object_id=103814422@@@


Difference is I accidentally put control.moblab_quick as the suite name (as thats the filename). It would be nice to have better error reporting for this case.
 
Status: Archived (was: Untriaged)

Sign in to add a comment