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

Issue 628784 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

[Wifi_matfunc] network_WiFi_ChannelScanDwellTime fails with the following error "Failed to find any BSS"

Project Member Reported by aashuto...@chromium.org, Jul 15 2016

Issue description

https://wmatrix.googleplex.com/failures/unfiltered?suites=wifi_matfunc&tests=network_WiFi_ChannelScanDwellTime&days_back=30&releases=53&hide_missing=True&platforms=daisy,celes,cyan,stumpy,veyron_minnie

https://wmatrix.googleplex.com/failures/unfiltered?suites=wifi_matfunc&tests=network_WiFi_ChannelScanDwellTime&days_back=30&releases=54&hide_missing=True&platforms=daisy,celes,cyan,stumpy,veyron_minnie

sample failure

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 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_ChannelScanDwellTime/network_WiFi_ChannelScanDwellTime.py", line 183, in run_once
    dwell_time = self._channel_dwell_time_test(True)
  File "/usr/local/autotest/server/site_tests/network_WiFi_ChannelScanDwellTime/network_WiFi_ChannelScanDwellTime.py", line 144, in _channel_dwell_time_test
    raise error.TestFail('Failed to find any BSS')

sample logs @ https://pantheon.corp.google.com/storage/browser/chromeos-autotest-results/67849164-chromeos-test/android1758-row4-rack3-host4/debug/
 
Project Member

Comment 1 by sheriffbot@chromium.org, Jul 16 2016

Labels: -M-53 MovedFrom-53
Moving this nonessential bug to the next milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: kirtika@chromium.org

Comment 3 by kirtika@google.com, Aug 30 2016

Owner: kirtika@chromium.org
Status: Assigned (was: Untriaged)
Project Member

Comment 5 by bugdroid1@chromium.org, Dec 2

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/2c06c1e0c2e2450c335e30f1f6fe2474936f3759

commit 2c06c1e0c2e2450c335e30f1f6fe2474936f3759
Author: Brian Norris <briannorris@chromium.org>
Date: Sun Dec 02 05:19:16 2018

[autotest] network_WiFi_ChannelScanDwellTime: correct list checks

CL:1097984 incorrectly refactored our list-collation logic. Today, it's
not possible to hit the 'Failed to find any BSS' code, since the only
TimeoutError is when _bss_list is None (which is different than []).

Instead, we get this, when the empty list makes its way into logic that
didn't expect it:

  File "/usr/local/autotest/server/site_tests/network_WiFi_ChannelScanDwellTime/network_WiFi_ChannelScanDwellTime.py", line 82, in _get_dwell_time
    index_diff = ssid_index[-1] - ssid_index[0]
IndexError: list index out of range

I picked a semi-related BUG=, because we're not seeing that symptom any
more, and are instead seeing this Error. We still should probably figure
out why we fail the test.

BUG=chromium:628784
TEST=network_WiFi_ChannelScanDwellTime

Change-Id: Ie458ffb609ebdf8940ec793f782befd293d2c4a2
Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1357253
Commit-Ready: Kirtika Ruchandani <kirtika@chromium.org>
Reviewed-by: Alex Khouderchah <akhouderchah@chromium.org>

[modify] https://crrev.com/2c06c1e0c2e2450c335e30f1f6fe2474936f3759/server/site_tests/network_WiFi_ChannelScanDwellTime/network_WiFi_ChannelScanDwellTime.py

Sign in to add a comment