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

Issue 704671 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug-Regression



Sign in to add a comment

[Pyro] Network test failing when run as part of 'wifi_matfunc/wifi_release' suite

Project Member Reported by aashuto...@chromium.org, Mar 23 2017

Issue description

Chrome OS Version: <From about:version: Platform 9202.56.0 >
Chrome OS Platform: <Pyro>
Network info: <>

Network test failing on pyro device (also seeing on couple of other devices) are failing with the following error
"AttributeError: 'network_WiFi_DisconnectClearsIP' object has no attribute '_wifi_context'"
Also with  "Unable to find /usr/sbin/iw" error, I see the module, when I login to the DUT and check manually. 

Sample Failure:

/tmp/test_that_results_9TfEYo/results-79-network_WiFi_DisconnectClearsIP                                                                               [  FAILED  ]
/tmp/test_that_results_9TfEYo/results-79-network_WiFi_DisconnectClearsIP                                                                                 ERROR: Unable to find /usr/sbin/iw on kwificell

/tmp/test_that_results_9TfEYo/results-79-network_WiFi_DisconnectClearsIP/network_WiFi_DisconnectClearsIP                                               [  FAILED  ]
/tmp/test_that_results_9TfEYo/results-79-network_WiFi_DisconnectClearsIP/network_WiFi_DisconnectClearsIP                                                 ERROR: Unable to find /usr/sbin/iw on kwificell
/tmp/test_that_results_9TfEYo/results-79-network_WiFi_DisconnectClearsIP/network_WiFi_DisconnectClearsIP                                                 03/22 21:01:12.673 ERROR|              test:0613| Ignoring exception during cleanup() phase:
/tmp/test_that_results_9TfEYo/results-79-network_WiFi_DisconnectClearsIP/network_WiFi_DisconnectClearsIP                                                 03/22 21:01:12.674 ERROR|         traceback:0013| 
Traceback (most recent call last):
/tmp/test_that_results_9TfEYo/results-79-network_WiFi_DisconnectClearsIP/network_WiFi_DisconnectClearsIP                                                 03/22 21:01:12.674 ERROR|         traceback:0013|   File "/tmp/pyro_9202.56.0_beta_Autotest/chromeos-hwqual-pyro-R57-9202.56.0/autotest/client/common_lib/test.py", line 611, in _exec
/tmp/test_that_results_9TfEYo/results-79-network_WiFi_DisconnectClearsIP/network_WiFi_DisconnectClearsIP                                                 03/22 21:01:12.675 ERROR|         traceback:0013|     _cherry_pick_call(self.cleanup, *args, **dargs)
/tmp/test_that_results_9TfEYo/results-79-network_WiFi_DisconnectClearsIP/network_WiFi_DisconnectClearsIP                                                 03/22 21:01:12.675 ERROR|         traceback:0013|   File "/tmp/pyro_9202.56.0_beta_Autotest/chromeos-hwqual-pyro-R57-9202.56.0/autotest/client/common_lib/test.py", line 719, in _cherry_pick_call
/tmp/test_that_results_9TfEYo/results-79-network_WiFi_DisconnectClearsIP/network_WiFi_DisconnectClearsIP                                                 03/22 21:01:12.676 ERROR|         traceback:0013|     return func(*p_args, **p_dargs)
/tmp/test_that_results_9TfEYo/results-79-network_WiFi_DisconnectClearsIP/network_WiFi_DisconnectClearsIP                                                 03/22 21:01:12.677 ERROR|         traceback:0013|   File "/tmp/pyro_9202.56.0_beta_Autotest/chromeos-hwqual-pyro-R57-9202.56.0/autotest/server/cros/network/wifi_cell_test_base.py", line 116, in cleanup
/tmp/test_that_results_9TfEYo/results-79-network_WiFi_DisconnectClearsIP/network_WiFi_DisconnectClearsIP                                                 03/22 21:01:12.677 ERROR|         traceback:0013|     self._wifi_context.client.shill_debug_log(msg)
/tmp/test_that_results_9TfEYo/results-79-network_WiFi_DisconnectClearsIP/network_WiFi_DisconnectClearsIP                                                 03/22 21:01:12.678 ERROR|         traceback:0013| AttributeError: 'network_WiFi_DisconnectClearsIP' object has no attribute '_wifi_context'
/tmp/test_that_results_9TfEYo/results-79-network_WiFi_DisconnectClearsIP/network_WiFi_DisconnectClearsIP                                                 03/22 21:01:12.679 ERROR|              test:0617| Now raising the earlier <class 'autotest_lib.client.common_lib.error.TestError'> error


When, I run the test independently, It does not throw any error. This is the case for all of the test cases, I re-ran. 

-------------------------------------------------------------------------------------------------------------------
/tmp/test_that_results_iHPhEt/results-1-network_WiFi_DisconnectClearsIP                                 [  PASSED  ]
/tmp/test_that_results_iHPhEt/results-1-network_WiFi_DisconnectClearsIP/network_WiFi_DisconnectClearsIP [  PASSED  ]
-------------------------------------------------------------------------------------------------------------------
 
I have also seen this on other devices with R57 builds. This looks like  Infra/Autotest related. 

Will check and update, if it continues to be an issue on latest ToT

 
logs attached. 
test_that_results_9TfEYo.tar.gz
7.7 MB Download
Summary: [Pyro] Network test failing when run as part of 'wifi_matfunc/wifi_release' suite (was: [Pyro] Network test failing when run as part of 'wifi_matfunc' suite)
I continue to see similar issues on Pyro  9202.66.0 - 57.0.2987.148 

Most of the test cases failed with following error
"ERROR: Unable to find /usr/sbin/iw"

Just re-running the failed test, does not throw any error. 
Owner: jrbarnette@chromium.org
Passing to current deputy.
Components: -Infra>Client>ChromeOS Tests OS>Systems>Network
Owner: ----
Status: Available (was: Untriaged)
I'm pretty sure this is a bug in the test or in the platform,
not in autotest.
Cc: -debayanb@chromium.org briannorris@chromium.org
Owner: debayanb@chromium.org
Debayan, can you take a look.
Project Member

Comment 6 by sheriffbot@chromium.org, Apr 16 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Archived (was: Untriaged)

Sign in to add a comment