New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 653002 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

test_that exception

Project Member Reported by mcchou@chromium.org, Oct 5 2016

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

 
In 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 iterable

test_that_result.tar.gz
12.9 MB Download
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)
Sure! I file https://code.google.com/archive/p/chromium-os/issues/653037 for the prevision investigation. Thanks.
Project Member

Comment 4 by bugdroid1@chromium.org, 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

Comment 5 by autumn@chromium.org, Oct 11 2016

Labels: -current-issue
Status: Fixed (was: Assigned)

Comment 7 by dchan@google.com, Jan 21 2017

Labels: VerifyIn-57

Comment 8 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58

Comment 9 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 10 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 12 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)

Sign in to add a comment