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

Issue 792771 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: Belkin F7D5301 AP at chromeos3-row4-rack4-host2

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

Issue description

chromeos3-row4-rack4-host2
f7d5301 v1_1
BelkinF7D5301APConfigurator


Router does not support multiple bands. Router configuration failed.

RuntimeError: Unable to load admin page after powering on the router




Configuration failed for AP: {'2.4 GHz MAC Address': '94:44:52:18:f0:a7',
 '5 GHz MAC Address': 'N/A',
 'Controller class': 'BelkinF7D5301APConfigurator',
 'Hostname': 'chromeos3-row4-rack4-host2',
 'Router name': 'f7d5301 v1_1'}
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': '94:44:52:18:f0:a7',
 '5 GHz MAC Address': 'N/A',
 'Controller class': 'BelkinF7D5301APConfigurator',
 'Hostname': 'chromeos3-row4-rack4-host2',
 'Router name': 'f7d5301 v1_1'}

12/05 19:47:19.832 ERROR|dynamic_ap_configu:0137| Dumping command list [{'priority': 0, 'args': (), 'method': <bound method BelkinF7D5301APConfigurator._power_up_router of <autotest_lib.server.cros.ap_configurators.belkinF7D5301_ap_configurator.BelkinF7D5301APConfigurator object at 0x7f8ea1eda690>>, 'page': 1}, {'priority': 1000, 'args': (), 'method': <bound method BelkinF7D5301APConfigurator._set_security_disabled of <autotest_lib.server.cros.ap_configurators.belkinF7D5301_ap_configurator.BelkinF7D5301APConfigurator object at 0x7f8ea1eda690>>, 'page': 2}, {'priority': 900, 'args': (8,), 'method': <bound method BelkinF7D5301APConfigurator._set_mode of <autotest_lib.server.cros.ap_configurators.belkinF7D5301_ap_configurator.BelkinF7D5301APConfigurator object at 0x7f8ea1eda690>>, 'page': 1}, {'priority': 900, 'args': (5,), 'method': <bound method BelkinF7D5301APConfigurator._set_channel of <autotest_lib.server.cros.ap_configurators.belkinF7D5301_ap_configurator.BelkinF7D5301APConfigurator object at 0x7f8ea1eda690>>, 'page': 1}, {'priority': 900, 'args': ('f7d5301_v1_1_n_ch5_open',), 'method': <bound method BelkinF7D5301APConfigurator._set_ssid of <autotest_lib.server.cros.ap_configurators.belkinF7D5301_ap_configurator.BelkinF7D5301APConfigurator object at 0x7f8ea1eda690>>, '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 TimeoutException: Message: 'Unable to find the object by xpath: //input[@name=""pws""]\n WebDriver exception: Message: \'\' '
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/belkinF9K_ap_configurator.py"", line 111, in navigate_to_page
    self._login()
  File ""/mnt/host/source/src/third_party/autotest/files/server/cros/ap_configurators/belkinF9K_ap_configurator.py"", line 64, in _login
    self.wait_for_object_by_xpath(xpath, wait_time=10)
  File ""/mnt/host/source/src/third_party/autotest/files/server/cros/ap_configurators/web_driver_core_helpers.py"", line 279, in wait_for_object_by_xpath
    '%s' % (xpath, str(e)))
TimeoutException: Message: 'Unable to find the object by xpath: //input[@name=""pws""]\n WebDriver exception: Message: \'\' '
"
 
Summary: CHAOS LAB: AP configuration failed: Belkin F7D5301 AP at chromeos3-row4-rack4-host2 (was: AP configuration failed: Belkin F7D5301 AP at chromeos3-row4-rack4-host2)
Cc: harpreet@chromium.org lunarobert@chromium.org
Owner: dschimmels@chromium.org
Router does not turn on and is not pingable even when RPM power outlet is ON.


RPM output
harpreet@harpreet:~$ ssh admn@chromeos3-row4-rack4-rpm1.cros
Password: 


Sentry Switched CDU Version 7.0j

Location: chromeos3-row4-rack4

Switched CDU: status

   Outlet   Outlet                    Outlet     Control
   ID       Name                      Status     State

   .A1      row4-rack4-host1          Off        Off       
   .A2      row4-rack4-host2          On         On        
   .A3      row4-rack4-host3          Off        Off       

harpreet@harpreet:~$ ping chromeos3-row4-rack4-host2
PING chromeos3-row4-rack4-host2.cros.corp.google.com (172.22.39.62) 56(84) bytes of data.
^C
--- chromeos3-row4-rack4-host2.cros.corp.google.com ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2015ms

Cc: krisr@chromium.org dschimmels@chromium.org godofredoc@chromium.org
Owner: pjay@chromium.org
dschimmels@ mentioned that chromecast teams is responsible for AP health / maintenance in chaos. Assigning this to pjay@
Cc: rjahagir@chromium.org

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

AP turns on and is now pingable. 

pjay@pjay:~$ ping chromeos3-row4-rack4-host2.cros.corp.google.com
PING chromeos3-row4-rack4-host2.cros.corp.google.com (172.22.39.62) 56(84) bytes of data.
64 bytes from 172.22.39.62: icmp_seq=1 ttl=56 time=3.69 ms
64 bytes from 172.22.39.62: icmp_seq=2 ttl=56 time=3.12 ms
64 bytes from 172.22.39.62: icmp_seq=3 ttl=56 time=3.69 ms
64 bytes from 172.22.39.62: icmp_seq=4 ttl=56 time=3.22 ms
64 bytes from 172.22.39.62: icmp_seq=5 ttl=56 time=3.18 ms
^C
--- chromeos3-row4-rack4-host2.cros.corp.google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4004ms
rtt min/avg/max/mdev = 3.126/3.383/3.697/0.260 ms

AP broadcasts a ssid and machine is able to connect to the AP and reach the Internet. It had issues connecting domain names (e.g.- www.facebook.com) this is resolved by pointing the DNS server to 8.8.8.8

Attaching log files of below procedure carried out to analyse the AP - 
1. scanning the ssid with model 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_f7d5301.txt
32 bytes View Download
f7d5301_iwgetid.txt
42 bytes View Download
f7d5301_local_dns.txt
464 bytes View Download
f7d5301_fb.txt
590 bytes View Download

Sign in to add a comment