autotest web frontend: can not create new job |
|||
Issue descriptionWhat steps will reproduce the problem? (1) open autotest website and click "create job" (http://cautotest/afe/#tab_id=create_job) (2) Fill image URL/Build (eg. link-release/R68-10709.0.0) (3) Click "Fetch Tests from Build" What is the expected result? Can fetch tests correctly. What happens instead? It shows "Failed to update tests for given build." Error log below is ''' AttributeError: 'module' object has no attribute 'ENABLE_CONTROLS_IN_BATCH' Traceback (most recent call last): File "/usr/local/autotest/frontend/afe/json_rpc/serviceHandler.py", line 109, in dispatchRequest results['result'] = self.invokeServiceEndpoint(meth, args) File "/usr/local/autotest/frontend/afe/json_rpc/serviceHandler.py", line 147, in invokeServiceEndpoint return meth(*args) File "/usr/local/autotest/frontend/afe/rpc_handler.py", line 270, in new_fn return f(*args, **keyword_args) File "/usr/local/autotest/frontend/afe/rpc_interface.py", line 2365, in get_tests_by_build if SuiteBase.ENABLE_CONTROLS_IN_BATCH: AttributeError: 'module' object has no attribute 'ENABLE_CONTROLS_IN_BATCH' ------------------------------ Failed to update tests for given build. '''
,
May 29 2018
Related to https://chromium-review.googlesource.com/1031620 at all?
,
Jun 1 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/autotest/+/94132edd45cc2030a60f0b5485c5403cb6c249dc commit 94132edd45cc2030a60f0b5485c5403cb6c249dc Author: Xixuan Wu <xixuan@chromium.org> Date: Fri Jun 01 17:24:03 2018 autotest: Fix import of ENABLE_CONTROLS_IN_BATCH. BUG= chromium:846189 TEST=None Change-Id: I63d0f600aec62a6098bbd6af21a5850448a68700 Reviewed-on: https://chromium-review.googlesource.com/1076892 Commit-Ready: Xixuan Wu <xixuan@chromium.org> Tested-by: Xixuan Wu <xixuan@chromium.org> Reviewed-by: Aviv Keshet <akeshet@chromium.org> [modify] https://crrev.com/94132edd45cc2030a60f0b5485c5403cb6c249dc/frontend/afe/control_file.py [modify] https://crrev.com/94132edd45cc2030a60f0b5485c5403cb6c249dc/frontend/afe/rpc_interface.py
,
Jul 3
Thanks! |
|||
►
Sign in to add a comment |
|||
Comment 1 by yuhsuan@chromium.org
, May 28 2018