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

Issue 792761 link

Starred by 1 user

Issue metadata

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

Blocking:
issue 785615



Sign in to add a comment

CHAOS LAB: AP configuration failed: Edimax AP br6258n at chromeos3-row4-rack1-host16

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

Issue description

chromeos3-row4-rack1-host16
br6258n
EdimaxAPConfigurator


AP configuration failed


"Configuration failed for AP: {'2.4 GHz MAC Address': '80:1f:02:24:cb:3e',
 '5 GHz MAC Address': 'N/A',
 'Controller class': 'EdimaxAPConfigurator',
 'Hostname': 'chromeos3-row4-rack1-host16',
 'Router name': 'br6258n'}
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': '80:1f:02:24:cb:3e',
 '5 GHz MAC Address': 'N/A',
 'Controller class': 'EdimaxAPConfigurator',
 'Hostname': 'chromeos3-row4-rack1-host16',
 'Router name': 'br6258n'}

12/06 16:06:18.157 ERROR|dynamic_ap_configu:0137| Dumping command list [{'priority': 0, 'args': (), 'method': <bound method EdimaxAPConfigurator._power_up_router of <autotest_lib.server.cros.ap_configurators.edimax_ap_configurator.EdimaxAPConfigurator object at 0x7f6ed77d49d0>>, 'page': 1}, {'priority': 1000, 'args': (), 'method': <bound method EdimaxAPConfigurator._set_security_disabled of <autotest_lib.server.cros.ap_configurators.edimax_ap_configurator.EdimaxAPConfigurator object at 0x7f6ed77d49d0>>, 'page': 2}, {'priority': 800, 'args': (8,), 'method': <bound method EdimaxAPConfigurator._set_mode of <autotest_lib.server.cros.ap_configurators.edimax_ap_configurator.EdimaxAPConfigurator object at 0x7f6ed77d49d0>>, 'page': 1}, {'priority': 900, 'args': (5,), 'method': <bound method EdimaxAPConfigurator._set_channel of <autotest_lib.server.cros.ap_configurators.edimax_ap_configurator.EdimaxAPConfigurator object at 0x7f6ed77d49d0>>, 'page': 1}, {'priority': 1000, 'args': ('br6258n_n_ch5_open',), 'method': <bound method EdimaxAPConfigurator._set_ssid of <autotest_lib.server.cros.ap_configurators.edimax_ap_configurator.EdimaxAPConfigurator object at 0x7f6ed77d49d0>>, '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 EDIMAX Technology intitle, but got http://172.22.39.16:8080/index.asp is not available 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/edimax_ap_configurator.py"", line 28, in navigate_to_page
    self.get_url(page_url, page_title='EDIMAX Technology')
  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 EDIMAX Technology intitle, but got http://172.22.39.16:8080/index.asp is not available as title.'"
 
Summary: CHAOS LAB: AP configuration failed: Edimax AP br6258n at chromeos3-row4-rack1-host16 (was: AP configuration failed: Edimax AP br6258n at chromeos3-row4-rack1-host16)
Cc: rjahagir@chromium.org
Cc: dschimmels@chromium.org godofredoc@chromium.org
Owner: pjay@chromium.org
Router does not turn on and is not pingable even when RPM power outlet is ON.



harpreet@harpreet:~$ ssh admn@chromeos3-row4-rack1-rpm1.cros
Password: 


Sentry Switched CDU Version 7.0j

Location: chromeos3-row4-rack1

Switched CDU: status row4-rack1-host16

   Outlet   Outlet                    Outlet     Control
   ID       Name                      Status     State

   .A16     row4-rack1-host16         On         On        

   Command successful



harpreet@harpreet:~$ ping chromeos3-row4-rack1-host16
PING chromeos3-row4-rack1-host16.cros.corp.google.com (172.22.39.16) 56(84) bytes of data.

^C
--- chromeos3-row4-rack1-host16.cros.corp.google.com ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9072ms

Comment 4 by pjay@google.com, Dec 14 2017

AP is powered on and now pingable. 

pjay@pjay:~$ ping  chromeos3-row4-rack1-host16.cros.corp.google.com  
PING chromeos3-row4-rack1-host16.cros.corp.google.com (172.22.39.16) 56(84) bytes of data.
From 172.22.39.62: icmp_seq=1 Redirect Host(New nexthop: 172.22.39.62)
From 172.22.39.62: icmp_seq=1 Redirect Host(New nexthop: 172.22.39.62)
64 bytes from 172.22.39.62: icmp_seq=1 ttl=247 time=42.4 ms
64 bytes from 172.22.39.62: icmp_seq=2 ttl=247 time=4.78 ms
64 bytes from 172.22.39.62: icmp_seq=3 ttl=247 time=4.26 ms
64 bytes from 172.22.39.62: icmp_seq=4 ttl=247 time=4.33 ms
64 bytes from 172.22.39.62: icmp_seq=5 ttl=247 time=4.31 ms
64 bytes from 172.22.39.62: icmp_seq=6 ttl=247 time=4.74 ms
64 bytes from 172.22.39.62: icmp_seq=7 ttl=247 time=4.81 ms
^C
--- chromeos3-row4-rack1-host16.cros.corp.google.com ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6011ms
rtt min/avg/max/mdev = 4.264/9.960/42.478/13.277 ms

AP broadcasts a ssid and machine is able to connect to the AP and reach the Internet.

Attaching log files of below procedure carried out to analyse the AP - 
1. scanning the ssid with model name on wlan0.
2. connecting to the ssid and verifying the current used network.
3. pinging 8.8.8.8
4. pinging www.facebook.com
iwlist_wlan0_scanning_grep_br6258n.txt
47 bytes View Download
br6258n_iwgetid.txt
37 bytes View Download
br6258n_local_dns.txt
464 bytes View Download
br6258n_fb.txt
739 bytes View Download

Sign in to add a comment