Fetch Tests From Build does not work when at the job creation page |
||||
Issue description
If I set the image URL "gandof-release/R50-7978.42.0", and click "Fetch Tests From Build", I got the error:
ControlVariableException: Error parsing data because invalid syntax (line 1)
Traceback (most recent call last):
File "/usr/local/autotest/frontend/afe/json_rpc/serviceHandler.py", line 114, in dispatchRequest
results['result'] = self.invokeServiceEndpoint(meth, args)
File "/usr/local/autotest/frontend/afe/json_rpc/serviceHandler.py", line 154, in invokeServiceEndpoint
return meth(*args)
File "/usr/local/autotest/frontend/afe/rpc_handler.py", line 125, in new_fn
return f(*args, **keyword_args)
File "/usr/local/autotest/frontend/afe/site_rpc_interface.py", line 995, in get_tests_by_build
control_obj = control_data.parse_control_string(control_file)
File "/usr/local/autotest/client/common_lib/control_data.py", line 344, in parse_control_string
raise ControlVariableException("Error parsing data because %s" % e)
ControlVariableException: Error parsing data because invalid syntax (line 1)
------------------------------
Failed to update tests for given build.
------------------------------
ControlVariableException: Error parsing data because invalid syntax (line 1)
Traceback (most recent call last):
File "/usr/local/autotest/frontend/afe/json_rpc/serviceHandler.py", line 114, in dispatchRequest
results['result'] = self.invokeServiceEndpoint(meth, args)
File "/usr/local/autotest/frontend/afe/json_rpc/serviceHandler.py", line 154, in invokeServiceEndpoint
return meth(*args)
File "/usr/local/autotest/frontend/afe/rpc_handler.py", line 125, in new_fn
return f(*args, **keyword_args)
File "/usr/local/autotest/frontend/afe/site_rpc_interface.py", line 995, in get_tests_by_build
control_obj = control_data.parse_control_string(control_file)
File "/usr/local/autotest/client/common_lib/control_data.py", line 344, in parse_control_string
raise ControlVariableException("Error parsing data because %s" % e)
ControlVariableException: Error parsing data because invalid syntax (line 1)
,
Apr 14 2016
,
Apr 14 2016
https://cs.corp.google.com/chromeos_public/chromite/cbuildbot/commands.py?rcl=ba55a829e4a4adb946e3d85647ae94a154e07787&l=1931 add the path (client/deps) to exclude_dirs should do.
,
Apr 15 2016
Actually, we could not just exclude "client/deps". The files like "autotest/client/deps/telemetry_dep/control" is good control file. But "autotest/client/deps/telemetry_dep/test_src/third_party/catapult/third_party/gsutil/third_party/python-gflags/debian/control" is not. Probably, I will add a checkbox "Ignore Invalid Tests" on the UI.
,
Apr 18 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/autotest/+/340efe3d29035ecdb28c7c758489fc83b08d31fb commit 340efe3d29035ecdb28c7c758489fc83b08d31fb Author: Michael Tang <ntang@google.com> Date: Sat Apr 16 19:15:17 2016 Adds a flag to ignore invalid test control files in test image. BUG= chromium:603302 TEST=Manually test the case on device. Change-Id: I1d2ac46283f45e2c701a8c569f20b6ffdcf114c1 Reviewed-on: https://chromium-review.googlesource.com/339360 Commit-Ready: Michael Tang <ntang@chromium.org> Tested-by: Michael Tang <ntang@chromium.org> Reviewed-by: Michael Tang <ntang@chromium.org> [modify] https://crrev.com/340efe3d29035ecdb28c7c758489fc83b08d31fb/frontend/afe/site_rpc_interface.py [modify] https://crrev.com/340efe3d29035ecdb28c7c758489fc83b08d31fb/frontend/client/src/autotest/public/AfeClient.html [modify] https://crrev.com/340efe3d29035ecdb28c7c758489fc83b08d31fb/frontend/client/src/autotest/afe/create/CreateJobViewDisplay.java [modify] https://crrev.com/340efe3d29035ecdb28c7c758489fc83b08d31fb/frontend/client/src/autotest/afe/create/CreateJobViewPresenter.java
,
Apr 20 2016
,
May 23 2016
Bulk verified
,
May 23 2016
bulk verified |
||||
►
Sign in to add a comment |
||||
Comment 1 by ntang@google.com
, Apr 14 2016