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

Issue 616974 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

[wifi_matfunc] [M 53] Multiple testcases failing with Unhandled AttributeError: 'module' object has no attribute 'poll_for_condition'

Project Member Reported by aashuto...@chromium.org, Jun 3 2016

Issue description

https://wmatrix.googleplex.com/failures/wifi_matfunc?tests=network_WiFi_SimpleConnect.wifi_check1x_PEAP&days_back=10&releases=tot
https://wmatrix.googleplex.com/failures/wifi_matfunc?platforms=daisy&days_back=10&builds=R53-8397.0.0&releases=tot
https://wmatrix.googleplex.com/failures/wifi_matfunc?platforms=chell&days_back=10&builds=R53-8395.0.0&releases=tot

Sample failures

06/02 17:01:41.497 WARNI|              test:0606| Autotest caught exception when running test:
Traceback (most recent call last):
  File "/usr/local/autotest/client/common_lib/test.py", line 600, in _exec
    _call_test_function(self.execute, *p_args, **p_dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 810, in _call_test_function
    raise error.UnhandledTestFail(e)
UnhandledTestFail: Unhandled AttributeError: 'module' object has no attribute 'poll_for_condition'
Traceback (most recent call last):
  File "/usr/local/autotest/client/common_lib/test.py", line 804, in _call_test_function
    return func(*args, **dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 461, in execute
    dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 347, in _call_run_once_with_retry
    postprocess_profiled_run, args, dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 376, in _call_run_once
    self.run_once(*args, **dargs)
  File "/usr/local/autotest/server/site_tests/network_WiFi_SimpleConnect/network_WiFi_SimpleConnect.py", line 37, in run_once
    ht_type=router_conf.ht_packet_capture_mode)
  File "/usr/local/autotest/server/site_linux_system.py", line 336, in start_capture
    remote_file=remote_path)
  File "/usr/local/autotest/server/cros/network/packet_capturer.py", line 317, in start_capture
    site_utils.poll_for_condition(
AttributeError: 'module' object has no attribute 'poll_for_condition'

06/02 17:01:41.499 INFO |       wifi_client:1301| ======= WiFi autotest complete. Cleaning up... =======
 
The following link will give a better idea where it started failing. This is for most of the devices

R53-8389.0.0 --looks good
R53-8393.0.0  -- lot of failures.

https://wmatrix.googleplex.com/platform/wifi_matfunc?platforms=winky&days_back=10&releases=tot

Cc: -tienchang@chromium.org
Owner: tienchang@chromium.org
Status: Assigned (was: Untriaged)
I *just* found out what change went in that broke this (https://chromium-review.googlesource.com/#/c/347562/4). Great minds think alike! I'm writing up a fix.
Status: Fixed (was: Assigned)
Status: Verified (was: Fixed)
bulk verified

Sign in to add a comment