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

Issue 792751 link

Starred by 2 users

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: Not able to configure AP - Netgear WNR1000V4 router at chromeos3-row2-rack4-host1

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

Issue description

chromeos3-row2-rack4-host1
wnr1000v4
NetgearWNR1000V4APConfigurator



Not able to configure AP. 


Configuration failed for AP: {'2.4 GHz MAC Address': '50:6a:03:f3:a2:80',
 '5 GHz MAC Address': 'N/A',
 'Controller class': 'NetgearWNR1000V4APConfigurator',
 'Hostname': 'chromeos3-row2-rack4-host1',
 'Router name': 'wnr1000v4'}
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': '50:6a:03:f3:a2:80',
 '5 GHz MAC Address': 'N/A',
 'Controller class': 'NetgearWNR1000V4APConfigurator',
 'Hostname': 'chromeos3-row2-rack4-host1',
 'Router name': 'wnr1000v4'}

12/04 20:07:52.523 ERROR|dynamic_ap_configu:0137| Dumping command list [{'priority': 0, 'args': (), 'method': <bound method NetgearWNR1000V4APConfigurator._power_up_router of <autotest_lib.server.cros.ap_configurators.netgearwnr1000v4_ap_configurator.NetgearWNR1000V4APConfigurator object at 0x7fe698bcb410>>, 'page': 1}, {'priority': 900, 'args': (True,), 'method': <bound method NetgearWNR1000V4APConfigurator._set_visibility of <autotest_lib.server.cros.ap_configurators.netgearwnr1000v4_ap_configurator.NetgearWNR1000V4APConfigurator object at 0x7fe698bcb410>>, 'page': 1}, {'priority': 900, 'args': (), 'method': <bound method NetgearWNR1000V4APConfigurator._set_security_disabled of <autotest_lib.server.cros.ap_configurators.netgearwnr1000v4_ap_configurator.NetgearWNR1000V4APConfigurator object at 0x7fe698bcb410>>, 'page': 1}, {'priority': 900, 'args': (8,), 'method': <bound method NetgearWNR1000V4APConfigurator._set_mode of <autotest_lib.server.cros.ap_configurators.netgearwnr1000v4_ap_configurator.NetgearWNR1000V4APConfigurator object at 0x7fe698bcb410>>, 'page': 1}, {'priority': 900, 'args': (5,), 'method': <bound method NetgearWNR1000V4APConfigurator._set_channel of <autotest_lib.server.cros.ap_configurators.netgearwnr1000v4_ap_configurator.NetgearWNR1000V4APConfigurator object at 0x7fe698bcb410>>, 'page': 1}, {'priority': 900, 'args': ('wnr1000v4_n_ch5_open',), 'method': <bound method NetgearWNR1000V4APConfigurator._set_ssid of <autotest_lib.server.cros.ap_configurators.netgearwnr1000v4_ap_configurator.NetgearWNR1000V4APConfigurator object at 0x7fe698bcb410>>, '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: //div[@id="wireless"]\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/netgearwnr1000v4_ap_configurator.py", line 106, in navigate_to_page
    self.wait_for_object_by_xpath('//div[@id="wireless"]')
  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: //div[@id="wireless"]\n WebDriver exception: Message: \'\' '

 
Summary: CHAOS LAB: Not able to configure AP - Netgear WNR1000V4 router at chromeos3-row2-rack4-host1 (was: Not able to configure AP - Netgear WNR1000V4 router at chromeos3-row2-rack4-host1)
Cc: rjahagir@chromium.org
Router does not turn on and is not pingable when RPM power outlet is ON.


harpreet@harpreet:~$ ssh admn@chromeos3-row2-rack4-rpm1.cros
Password: 


Sentry Switched CDU Version 7.0j

Location: chromeos3-row2-rack4


Switched CDU: status

   Outlet   Outlet                    Outlet     Control
   ID       Name                      Status     State

   .A1      row2-rack4-host1          On         On 



harpreet@harpreet:~$ ping chromeos3-row2-rack4-host1
PING chromeos3-row2-rack4-host1.cros.corp.google.com (172.22.38.155) 56(84) bytes of data.
^C
--- chromeos3-row2-rack4-host1.cros.corp.google.com ping statistics ---
53 packets transmitted, 0 received, 100% packet loss, time 52011ms
Cc: dschimmels@chromium.org godofredoc@chromium.org
Owner: pjay@chromium.org

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

AP was connected to the incorrect RPM source. After making the right connections , AP is powered on and is pingable.

pjay@pjay:~$ ping  chromeos3-row2-rack4-host1.cros.corp.google.com  
PING chromeos3-row2-rack4-host1.cros.corp.google.com (172.22.38.155) 56(84) bytes of data.
64 bytes from 172.22.38.155: icmp_seq=1 ttl=56 time=8.02 ms
64 bytes from 172.22.38.155: icmp_seq=2 ttl=56 time=3.14 ms
64 bytes from 172.22.38.155: icmp_seq=3 ttl=56 time=3.27 ms
64 bytes from 172.22.38.155: icmp_seq=4 ttl=56 time=3.00 ms
^C
--- chromeos3-row2-rack4-host1.cros.corp.google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 3.001/4.361/8.029/2.120 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_wnr1000v4.txt
49 bytes View Download
wnr1000v4_iwgetid.txt
39 bytes View Download
wnr1000v4_local_dns.txt
516 bytes View Download
wnr1000v4_fb.txt
639 bytes View Download

Sign in to add a comment