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

Issue 860834 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

autotest: wifi: network_WiFi_DisconnectReason.disable_client_wifi not actually collecting disconnect reasons

Project Member Reported by akhouderchah@chromium.org, Jul 6

Issue description

Reproducible on chell:

network_WiFi_DisconnectReason.disable_client_wifi is not actually collecting any disconnect codes. This was previously not visible, as network_WiFi_DisconnectReason did not ensure that the disconnect codes collected from net.log were actually generated by the current test until this CL:
    https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/1128210

Based on the log files, it does look like wpa_supplicant has a CTRL-EVENT-DISCONNECTED with a -3 disconnect reason (as expected). However, shill does not log a supplicant disconnect event, which is what the current network_WiFi_DisconnectReason implementation looks for.

In particular, when the wifi interface is disabled through dbus, shill doesn't log a disconnect (due to Wifi::Stop() being called before getting a disconnect message from wpa_supplicant?)
 
Components: OS>Systems>Network
Labels: -Pri-1 Pri-2
Status: Available (was: Untriaged)
Labels: Enterprise-Triaged

Sign in to add a comment