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

Issue 792758 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: Asus RTAC68U AP at chromeos3-row3-rack4-host4

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

Issue description

chromeos3-row3-rack4-host4
rt-ac68u
AsusRTAC68UAPConfigurator


Configuration failed for AP


NoSuchElementException: Message: u'no such element\n  (Session info: chrome=38.0.2125.122)\n  (Driver info: chromedriver=2.12.301324 (de8ab311bc9374d0ade71f7c167bad61848c7c48),platform=Linux 3.13.0-32-generic x86_64)'



"Configuration failed for AP: {'2.4 GHz MAC Address': '30:5a:3a:c7:a1:08',
 '5 GHz MAC Address': '30:5a:3a:c7:a1:0c',
 'Controller class': 'AsusRTAC68UAPConfigurator',
 'Hostname': 'chromeos3-row3-rack4-host4',
 'Router name': 'rt-ac68u'}
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 806, in apply_settings
    self.navigate_to_page(i)
  File ""/mnt/host/source/src/third_party/autotest/files/server/cros/ap_configurators/asus_rtac68u_ap_configurator.py"", line 88, in navigate_to_page
    self._ap_login()
  File ""/mnt/host/source/src/third_party/autotest/files/server/cros/ap_configurators/asus_rtac68u_ap_configurator.py"", line 99, in _ap_login
    abort_check=True)
  File ""/mnt/host/source/src/third_party/autotest/files/server/cros/ap_configurators/web_driver_core_helpers.py"", line 425, in set_content_of_text_field_by_xpath
    text_field = self.driver.find_element_by_xpath(xpath)
  File ""/mnt/host/source/src/third_party/autotest/files/site-packages/selenium/webdriver/remote/webdriver.py"", line 221, in find_element_by_xpath
    return self.find_element(by=By.XPATH, value=xpath)
  File ""/mnt/host/source/src/third_party/autotest/files/site-packages/selenium/webdriver/remote/webdriver.py"", line 681, in find_element
    {'using': by, 'value': value})['value']
  File ""/mnt/host/source/src/third_party/autotest/files/site-packages/selenium/webdriver/remote/webdriver.py"", line 164, in execute
    self.error_handler.check_response(response)
  File ""/mnt/host/source/src/third_party/autotest/files/site-packages/selenium/webdriver/remote/errorhandler.py"", line 164, in check_response
    raise exception_class(message, screen, stacktrace)
NoSuchElementException: Message: u'no such element\n  (Session info: chrome=38.0.2125.122)\n  (Driver info: chromedriver=2.12.301324 (de8ab311bc9374d0ade71f7c167bad61848c7c48),platform=Linux 3.13.0-32-generic x86_64)'

12/05 19:43:42.941 ERROR|dynamic_ap_configu:0137| Dumping command list [{'priority': 0, 'args': (), 'method': <bound method AsusRTAC68UAPConfigurator._power_up_router of <autotest_lib.server.cros.ap_configurators.asus_rtac68u_ap_configurator.AsusRTAC68UAPConfigurator object at 0x7f8ea1f23690>>, 'page': 1}, {'priority': 900, 'args': (True,), 'method': <bound method AsusRTAC68UAPConfigurator._set_visibility of <autotest_lib.server.cros.ap_configurators.asus_rtac68u_ap_configurator.AsusRTAC68UAPConfigurator object at 0x7f8ea1f23690>>, 'page': 1}, {'priority': 900, 'args': (), 'method': <bound method AsusRTAC68UAPConfigurator._set_security_disabled of <autotest_lib.server.cros.ap_configurators.asus_rtac68u_ap_configurator.AsusRTAC68UAPConfigurator object at 0x7f8ea1f23690>>, 'page': 1}, {'priority': 700, 'args': (), 'method': <bound method AsusRTAC68UAPConfigurator._set_band of <autotest_lib.server.cros.ap_configurators.asus_rtac68u_ap_configurator.AsusRTAC68UAPConfigurator object at 0x7f8ea1f23690>>, 'page': 1}, {'priority': 800, 'args': (8, None), 'method': <bound method AsusRTAC68UAPConfigurator._set_mode of <autotest_lib.server.cros.ap_configurators.asus_rtac68u_ap_configurator.AsusRTAC68UAPConfigurator object at 0x7f8ea1f23690>>, 'page': 1}, {'priority': 900, 'args': (5,), 'method': <bound method AsusRTAC68UAPConfigurator._set_channel of <autotest_lib.server.cros.ap_configurators.asus_rtac68u_ap_configurator.AsusRTAC68UAPConfigurator object at 0x7f8ea1f23690>>, 'page': 1}, {'priority': 900, 'args': ('rt-ac68u_n_ch5_open',), 'method': <bound method AsusRTAC68UAPConfigurator._set_ssid of <autotest_lib.server.cros.ap_configurators.asus_rtac68u_ap_configurator.AsusRTAC68UAPConfigurator object at 0x7f8ea1f23690>>, 'page': 1}]

"
 
Summary: CHAOS LAB: AP configuration failed: Asus RTAC68U AP at chromeos3-row3-rack4-host4 (was: AP configuration failed: Asus RTAC68U AP at chromeos3-row3-rack4-host4)
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-row3-rack4-rpm1.cros
Password: 


Sentry Switched CDU Version 7.0j

Location: chromeos3-row3-rack4

Switched CDU: status row3-rack4-host4

   Outlet   Outlet                    Outlet     Control
   ID       Name                      Status     State

   .A4      row3-rack4-host4          On         On        

   Command successful



harpreet@harpreet:~$ ping chromeos3-row3-rack4-host4
PING chromeos3-row3-rack4-host4.cros.corp.google.com (172.22.38.238) 56(84) bytes of data.
^C
--- chromeos3-row3-rack4-host4.cros.corp.google.com ping statistics ---
60 packets transmitted, 0 received, 100% packet loss, time 59429ms

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

When the AP was diagnosed it did not have any problems with its physical connections(e.g. wan port and rpm cable). While diagnosing the AP no issues were faced except that the AP did not connect to the Internet.  

AP turns on and is now pingable. 

pjay@pjay:~$ ping  chromeos3-row3-rack4-host4.cros.corp.google.com  
PING chromeos3-row3-rack4-host4.cros.corp.google.com (172.22.38.238) 56(84) bytes of data.
64 bytes from 172.22.38.238: icmp_seq=1 ttl=56 time=32.3 ms
64 bytes from 172.22.38.238: icmp_seq=2 ttl=56 time=2.93 ms
64 bytes from 172.22.38.238: icmp_seq=3 ttl=56 time=2.81 ms
64 bytes from 172.22.38.238: icmp_seq=4 ttl=56 time=2.92 ms
64 bytes from 172.22.38.238: icmp_seq=5 ttl=56 time=2.77 ms
^C
--- chromeos3-row3-rack4-host4.cros.corp.google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 2.770/8.760/32.366/11.803 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 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_rtac68u.txt
67 bytes View Download
rtac68u_iwgetid.txt
45 bytes View Download
rtac68u_local_dns.txt
515 bytes View Download
rtac68u_fb.txt
1.3 KB View Download

Sign in to add a comment