test_that exception |
|||||||||
Issue description
The command that I ran for testing Bluetooth:
test_that -b veyron_minnie-cheets -i trybot-lulu-paladin/R55-8847.0.0-b1551 android1758-row4-rack7-host4.cros suite:bluetooth
Traceback (most recent call last):
File "/build/veyron_minnie-cheets/usr/local/build/autotest/site_utils/test_that.py", line 347, in <module>
sys.exit(main(sys.argv[1:]))
File "/build/veyron_minnie-cheets/usr/local/build/autotest/site_utils/test_that.py", line 343, in main
return _main_for_local_run(argv, arguments)
File "/build/veyron_minnie-cheets/usr/local/build/autotest/site_utils/test_that.py", line 300, in _main_for_local_run
pretend=arguments.pretend)
File "/build/veyron_minnie-cheets/usr/local/build/autotest/site_utils/test_runner_utils.py", line 701, in perform_run_from_autotest_root
if any(codes):
TypeError: 'NoneType' object is not iterable
,
Oct 5 2016
Can you make comment #1 a separate bug? That is a separate issue with provisioning that needs investigation. This bug is about the 'NoneType' exception (which is much simpler and I have a fix in progress)
,
Oct 5 2016
Sure! I file https://code.google.com/archive/p/chromium-os/issues/653037 for the prevision investigation. Thanks.
,
Oct 9 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/autotest/+/21d6cef4f3d8cf2f51ec2f879bf46eb6302017e2 commit 21d6cef4f3d8cf2f51ec2f879bf46eb6302017e2 Author: Aviv Keshet <akeshet@chromium.org> Date: Wed Oct 05 08:37:35 2016 test_that: handle provision failure prior to any jobs correctly BUG= chromium:653002 TEST=None Change-Id: I9515cce6fe6c9895f2607a65324a1718695fca3f Reviewed-on: https://chromium-review.googlesource.com/393270 Commit-Ready: Aviv Keshet <akeshet@chromium.org> Tested-by: Aviv Keshet <akeshet@chromium.org> Reviewed-by: Simran Basi <sbasi@chromium.org> [modify] https://crrev.com/21d6cef4f3d8cf2f51ec2f879bf46eb6302017e2/site_utils/test_runner_utils.py
,
Oct 11 2016
,
Nov 3 2016
,
Jan 21 2017
,
Mar 4 2017
,
Apr 17 2017
,
May 30 2017
,
Aug 1 2017
,
Oct 14 2017
|
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by mcchou@chromium.org
, Oct 5 2016In order to get rid of the question marks on using a different build name to run the test, I setup and built veyron_minnie locally. And I can still repro the issue. Please see test_that_result.tar.gz for the test_that logs. Device: veyron_minnie Command: test_that -b veyron_minnie -i trybot-veyron_minnie-paladin/R55-8847.0.0-b1544 android1758-row4-rack8-host3.cros suite:bluetooth Repro rate: 100% Backtrace: Traceback (most recent call last): File "/build/veyron_minnie/usr/local/build/autotest/site_utils/test_that.py", line 347, in <module> sys.exit(main(sys.argv[1:])) File "/build/veyron_minnie/usr/local/build/autotest/site_utils/test_that.py", line 343, in main return _main_for_local_run(argv, arguments) File "/build/veyron_minnie/usr/local/build/autotest/site_utils/test_that.py", line 300, in _main_for_local_run pretend=arguments.pretend) File "/build/veyron_minnie/usr/local/build/autotest/site_utils/test_runner_utils.py", line 701, in perform_run_from_autotest_root if any(codes): TypeError: 'NoneType' object is not iterable12.9 MB
12.9 MB Download