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

Issue 792770 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Blocking:
issue 785615



Sign in to add a comment

CHAOS LAB: AP configuration failed: Linksys WRT610N AP at chromeos3-row4-rack3-host12

Project Member Reported by harpreet@chromium.org, Dec 7 2017

Issue description

chromeos3-row4-rack3-host12
linksys e3000
LinksysWRT610NAPConfigurator


AP configuration failed


Configuration failed for AP: {'2.4 GHz MAC Address': '98:fc:11:78:64:c0',
 '5 GHz MAC Address': '98:fc:11:78:64:c1',
 'Controller class': 'LinksysWRT610NAPConfigurator',
 'Hostname': 'chromeos3-row4-rack3-host12',
 'Router name': 'linksys e3000'}
Traceback (most recent call last):
  File "/mnt/host/source/src/third_party/autotest/files/server/cros/ap_configurators/ap_cartridge.py", line 52, in _apply_settings
    configurator.apply_settings()
  File "/mnt/host/source/src/third_party/autotest/files/server/cros/ap_configurators/dynamic_ap_configurator.py", line 791, in apply_settings
    first_command(*sorted_page_commands[0]['args'])
  File "/mnt/host/source/src/third_party/autotest/files/server/cros/ap_configurators/dynamic_ap_configurator.py", line 547, in _power_up_router
    'router: %s' % self.name)
RuntimeError: Unable to load admin page after powering on the router: {'2.4 GHz MAC Address': '98:fc:11:78:64:c0',
 '5 GHz MAC Address': '98:fc:11:78:64:c1',
 'Controller class': 'LinksysWRT610NAPConfigurator',
 'Hostname': 'chromeos3-row4-rack3-host12',
 'Router name': 'linksys e3000'}

12/04 20:07:49.150 ERROR|dynamic_ap_configu:0137| Dumping command list [{'priority': 0, 'args': (), 'method': <bound method LinksysWRT610NAPConfigurator._power_up_router of <autotest_lib.server.cros.ap_configurators.linksyswrt610n_ap_configurator.LinksysWRT610NAPConfigurator object at 0x7fe698b45910>>, 'page': 1}, {'priority': 900, 'args': (True,), 'method': <bound method LinksysWRT610NAPConfigurator._set_visibility of <autotest_lib.server.cros.ap_configurators.linksyswrt610n_ap_configurator.LinksysWRT610NAPConfigurator object at 0x7fe698b45910>>, 'page': 1}, {'priority': 900, 'args': (), 'method': <bound method LinksysWRT610NAPConfigurator._set_security_disabled of <autotest_lib.server.cros.ap_configurators.linksyswrt610n_ap_configurator.LinksysWRT610NAPConfigurator object at 0x7fe698b45910>>, 'page': 2}, {'priority': 800, 'args': (8, None), 'method': <bound method LinksysWRT610NAPConfigurator._set_mode of <autotest_lib.server.cros.ap_configurators.linksyswrt610n_ap_configurator.LinksysWRT610NAPConfigurator object at 0x7fe698b45910>>, 'page': 1}, {'priority': 900, 'args': (5,), 'method': <bound method LinksysWRT610NAPConfigurator._set_channel of <autotest_lib.server.cros.ap_configurators.linksyswrt610n_ap_configurator.LinksysWRT610NAPConfigurator object at 0x7fe698b45910>>, 'page': 1}, {'priority': 900, 'args': ('linksys_e3000_n_ch5_open',), 'method': <bound method LinksysWRT610NAPConfigurator._set_ssid of <autotest_lib.server.cros.ap_configurators.linksyswrt610n_ap_configurator.LinksysWRT610NAPConfigurator object at 0x7fe698b45910>>, 'page': 1}]


---------------------------------------------------

The test failed with the following exception
Traceback (most recent call last):
  File "/mnt/host/source/src/third_party/autotest/files/client/common_lib/test.py", line 631, in _exec
    _call_test_function(self.execute, *p_args, **p_dargs)
  File "/mnt/host/source/src/third_party/autotest/files/client/common_lib/test.py", line 837, in _call_test_function
    raise error.UnhandledTestFail(e)
UnhandledTestFail: Unhandled WebDriverException: Message: u'Page did not load. Expected Settings intitle, but got Router Access as title.'
Traceback (most recent call last):
  File "/mnt/host/source/src/third_party/autotest/files/client/common_lib/test.py", line 831, in _call_test_function
    return func(*args, **dargs)
  File "/mnt/host/source/src/third_party/autotest/files/client/common_lib/test.py", line 495, in execute
    dargs)
  File "/mnt/host/source/src/third_party/autotest/files/client/common_lib/test.py", line 362, in _call_run_once_with_retry
    postprocess_profiled_run, args, dargs)
  File "/mnt/host/source/src/third_party/autotest/files/client/common_lib/test.py", line 400, in _call_run_once
    self.run_once(*args, **dargs)
  File "/mnt/host/source/src/third_party/autotest/files/server/site_tests/network_WiFi_ChaosConfigFailure/network_WiFi_ChaosConfigFailure.py", line 30, in run_once
    ap.debug_full_state(self.outputdir)
  File "/mnt/host/source/src/third_party/autotest/files/server/cros/ap_configurators/dynamic_ap_configurator.py", line 857, in debug_full_state
    self._save_all_pages()
  File "/mnt/host/source/src/third_party/autotest/files/server/cros/ap_configurators/dynamic_ap_configurator.py", line 192, in _save_all_pages
    self.navigate_to_page(page)
  File "/mnt/host/source/src/third_party/autotest/files/server/cros/ap_configurators/linksyse2500_ap_configurator.py", line 54, in navigate_to_page
    self.get_url(page_url, page_title='Settings')
  File "/mnt/host/source/src/third_party/autotest/files/server/cros/ap_configurators/web_driver_core_helpers.py", line 184, in get_url
    (page_title, self.driver.title))
WebDriverException: Message: u'Page did not load. Expected Settings intitle, but got Router Access as title.'

 
Summary: CHAOS LAB: AP configuration failed: Linksys WRT610N AP at chromeos3-row4-rack3-host12 (was: AP configuration failed: Linksys WRT610N AP at chromeos3-row4-rack3-host12)
Per LinksysWRT610NAPConfigurator (linksyse2500_ap_configurator) it is expected that the page navigation should work without any initial login to the router. In reality this is not the case as the login screen is presented when the user navigates to the router ip:8080/Wireless_Basic.asp and you need to login with 'admin' | 'admin' before you can proceed past this screen.

https://cs.corp.google.com/chromeos_public/src/third_party/autotest/files/server/cros/ap_configurators/linksyse2500_ap_configurator.py?l=52


This happens on Linksys E3000 but not on Linksys E2500. E2500 works without having to login.

Either we need to remove the need to login to the router or make necessary changes to the configurator to account for login.

Cc: rjahagir@chromium.org
Status: WontFix (was: Assigned)
Closing all Choas lab bugs as we are moving away from dynamic configuration of the APs. These APs have all been reset and FW updated as needed. We have also split the APs equally across 3 RF chambers where they will be manually configured (1 time) to specified configurations. 

Sign in to add a comment