History log of /external/autotest/server/cros/network/wifi_cell_test_base.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3e6944709f789c44af7bc3d258f73932d25310b5 07-Feb-2017 Allen Li <ayatane@chromium.org> [autotest] Remove overridden import

This code doesnt have my name on it, so it existed prior to any
site_utils merging I have done. Whatever its supposed to do, it
doesnt seem broken now, so remove the spurious import.

BUG=chromium:672727
TEST=None

Change-Id: I9f414017bfaea91bc9c12486f7c91bfef41f57d2
Reviewed-on: https://chromium-review.googlesource.com/438838
Commit-Ready: Allen Li <ayatane@chromium.org>
Tested-by: Allen Li <ayatane@chromium.org>
Reviewed-by: Allen Li <ayatane@chromium.org>
/external/autotest/server/cros/network/wifi_cell_test_base.py
c971e00b59416a55b8ff8733388a258db98d6349 29-Apr-2017 Po-Hsien Wang <pwang@chromium.org> [wifi_cell_test_base] Stop installing pyshark for every wifi job

We can stop installing pyshark etc. as the base image in the lab have
been updated to include them.

BUG=chromium:716556
TEST=test_that chromeos2-row11-rack1-host2.cros network_WiFi_Powersave.wifi_ps
test_that chromeos2-row11-rack1-host2.cros network_WiFi_GTK
test_that chromeos2-row11-rack1-host2.cros network_WiFi_Roam.wifi_roamNone
CQ-DEPEND=CL:360690

Change-Id: I1e3309b4612ae5a142e16407b319e67241bbfa36
Reviewed-on: https://chromium-review.googlesource.com/490832
Commit-Ready: Po-Hsien Wang <pwang@chromium.org>
Tested-by: Po-Hsien Wang <pwang@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
/external/autotest/server/cros/network/wifi_cell_test_base.py
4b4051baa31443a2a3908d5818795774f5dacdb6 15-Feb-2017 Prathmesh Prabhu <pprabhu@chromium.org> [autotest] Use HostInfo to get AFE information in WifiCellTestBase

BUG=chromium:678430
TEST=None

Change-Id: Iac26bb0419daa99967b061ce7784eb6cc3529593
Reviewed-on: https://chromium-review.googlesource.com/442654
Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Allen Li <ayatane@chromium.org>
/external/autotest/server/cros/network/wifi_cell_test_base.py
a9367ade951440b2edd47909a041052275b3b34c 27-Aug-2015 Filipe Brandenburger <filbranden@chromium.org> autotest: do not print WiFi log messages using /usr/bin/logger on Android

Android does not have /usr/bin/logger available, so skip these when
running on an Android device.

Use isinstance(self.host, ADBHost) to detect that situation.
(That might not be ideal, but it is already in use in two other spots in
this source file.)

BUG=None.
TEST=Ran test_that command on adb host and it did not choke on logger.

Change-Id: I3f06cf3be44430407aa5fc46551abbf26eb35398
Signed-off-by: Filipe Brandenburger <filbranden@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/295688
Reviewed-by: mukesh agrawal <quiche@chromium.org>
/external/autotest/server/cros/network/wifi_cell_test_base.py
e0b08e6170b57f90262726eb7f04e059cb47419c 11-Aug-2015 Hsinyu Chao <hychao@chromium.org> Revert "autotest: move constants to common_lib"

This reverts commit a4ac7a8f67d61f8a616724f9426dbc0fce71ce69.

BUG=chromium:519353

Change-Id: Iec2873ad22b5bb90e46a9e5b323f9626a2c07d9b
Reviewed-on: https://chromium-review.googlesource.com/292347
Reviewed-by: Hsinyu Chao <hychao@chromium.org>
Commit-Queue: Hsinyu Chao <hychao@chromium.org>
Tested-by: Hsinyu Chao <hychao@chromium.org>
Reviewed-by: Sonny Rao <sonnyrao@chromium.org>
Commit-Queue: Sonny Rao <sonnyrao@chromium.org>
Tested-by: Sonny Rao <sonnyrao@chromium.org>
/external/autotest/server/cros/network/wifi_cell_test_base.py
a4ac7a8f67d61f8a616724f9426dbc0fce71ce69 06-Aug-2015 Eric Caruso <ejcaruso@chromium.org> autotest: move constants to common_lib

This file gets imported from lots of server-side tests and
infrastructure so it shouldn't be hiding in client/cros. This
moves the file and fixes all imports.

BUG=chromium:485834
TEST=run many tests, make sure there are no problems importing
constants

Change-Id: I5c2b2a0bef6ebc998e62f40162a6ec9cc4436480
Reviewed-on: https://chromium-review.googlesource.com/291302
Trybot-Ready: Eric Caruso <ejcaruso@chromium.org>
Commit-Queue: Eric Caruso <ejcaruso@chromium.org>
Tested-by: Eric Caruso <ejcaruso@chromium.org>
Reviewed-by: Chris Sosa <sosa@google.com>
/external/autotest/server/cros/network/wifi_cell_test_base.py
2f7e5c60cbcc9c8e23583442350db627fe3b58ef 07-Aug-2015 Dan Shi <dshi@chromium.org> [autotest] Update wifi_cell_test_base to make package install in container faster

The change uses new method in lxc util to install packages in a single call to
avoid multiple calls of apt-get update.

BUG=chromium:508314
TEST=None

Change-Id: Icf825577cb21f33340cb1d0e0942627ecc8d8033
Reviewed-on: https://chromium-review.googlesource.com/291430
Commit-Ready: Dan Shi <dshi@chromium.org>
Tested-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Tien Chang <tienchang@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
/external/autotest/server/cros/network/wifi_cell_test_base.py
37dcc880b6c51fd3406fdac75ac3eb26ffe4afc4 12-Jun-2015 Samuel Tan <samueltan@chromium.org> autotest: add log messages for WiFi autotest start and finish

Add log messages on autotest server and DUT indicating when
1) WiFi autotest setup is complete, and the body of a test is
about to start running, and
2) When the test is complete, and teardown is about to begin.

1) is logged at the end of wifi_cell_test_base.warmup(), since
warmup() is called right before the main body of the test, run_once(),
is executed. 2) is logged at the start of wifi_cell_test_base.cleanup(),
which marks the beginning of test teardown.

On the DUT, these log messages are added to the shill log
(/var/log/net.log) as debug messages. On the autotest server,
these messages will be found in the output of test_that.

BUG=chromium:492267
TEST=Run a WiFi autotest and look for the added test start and end
log messages in /var/log/net.log on the DUT, and in the test_that
output on the server.

Change-Id: I7da241b752ed22c5fc4f5734c7e98be539cfb186
Reviewed-on: https://chromium-review.googlesource.com/277130
Tested-by: Samuel Tan <samueltan@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Queue: Samuel Tan <samueltan@chromium.org>
/external/autotest/server/cros/network/wifi_cell_test_base.py
80afd243567dfdc57b3fdfebcb5edcaa844c9626 25-Jun-2015 Samuel Tan <samueltan@chromium.org> autotest (WiFi): add utility function to configure and connect to ap

Add configure_and_connect_to_ap() to wifi_cell_test_base.py, which configures
the router as an AP and connects the DUT to it.

BUG=None
TEST=The following tests pass on samus servo wificell:

network_WiFi_DarkResumeActiveScans
network_WiFi_WakeOnDisconnect
network_WiFi_WakeOnSSID
network_WiFi_WoWLAN
network_WiFi_ReconnectInDarkResume

Change-Id: Ib12d0f7b63675131812c1234da93af72493eb288
Reviewed-on: https://chromium-review.googlesource.com/282040
Reviewed-by: Samuel Tan <samueltan@chromium.org>
Commit-Queue: Samuel Tan <samueltan@chromium.org>
Tested-by: Samuel Tan <samueltan@chromium.org>
/external/autotest/server/cros/network/wifi_cell_test_base.py
a025919ac2e6d18bd5839979d4c99d4d482f269c 26-Mar-2015 Roshan Pius <rpius@chromium.org> autotest (wifi): Migrate all the capture packet analysis to use pyshark.

Migrating all existing packet capture analysis done using tcpdump
commandline to use pyshark python library since it makes the analysis
less unwieldy.
Uses SSP to install pyshark and its dependencies in lab machines.

BUG=chromium:470708
TEST=Following tests run:
`test_that ${host} network_WiFi_HiddenScan`
`test_that ${host} network_WiFi_VisibleScan`
`test_that ${host} network_WiFi_LowInitialBitrates`
`test_that ${host} network_WiFi_RateControl`

Change-Id: I5ee8891c76760a7250bbd151fdbad0527712a2bb
Reviewed-on: https://chromium-review.googlesource.com/262651
Tested-by: Roshan Pius <rpius@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
Commit-Queue: Roshan Pius <rpius@chromium.org>
Trybot-Ready: Roshan Pius <rpius@chromium.org>
/external/autotest/server/cros/network/wifi_cell_test_base.py
17224dafbd49270ef5228595c489ee33a93680f2 19-May-2015 mukesh agrawal <quiche@chromium.org> autotest: add host_is_in_afe(), and have wifi code use it

Several parts of our WiFi test code attempt to contact the
autotest front-end, in order to fetch meta-data about DUTs.
These bits of code are guarded by calls to host_is_in_afe(),
to prevent us from wasting time for DUTs which are outside
the lab.

This was great, until the definition of "outside the lab"
became a bit fuzzier. In particular, there are some machines
which are in the lab zone (in DNS), but not managed by AFE
(autotest front-end).

For machines that are in the lab zone, but not managed by AFE,
calls to host_is_in_lab_zone() will return True. So we'll
waste time asking AFE about DUTs which AFE does not manage.

In the normal case, that's not a huge deal. But, when AFE is
down, things get really painful.

By adding host_is_in_afe(), and updating WiFi test code to use
it, we improve this situation. Namely, tests against DUTs in
developer cells won't be blocked due to AFE problems.

BUG=chromium:484442
TEST=test_that chromeos1-dev-host6.cros network_WiFi_RateControl
TEST=test_that chromeos1-row3-rack11-host1.cros network_WiFi_RateControl
TEST=test_that chromeos2-row6-rack4-host4.cros network_WiFi_RateControl
TEST=test_that chromeos1-dev-host6.cros network_WiFi_RateControl (AFE firewalled)
TEST=test_that chromeos1-row3-rack11-host1.cros network_WiFi_RateControl (AFE firewalled)

Observed test results:
- chromeos1-dev-host6: "Unable to determine if DUT has conducted..."
- chromeos1-row3-rack11-host1: TEST_NA
- chromeos2-row6-rack4-host4: PASS
- chromeos1-dev-host6 (AFE firewalled): "Unable to determine..."
- chromeos1-row3-rack11-host1 (AFE FW): "Unhandled URLError... Connection timed out"

Firewall setup:
- iptables -A INPUT --proto tcp --source 172.18.72.86 -j DROP

Change-Id: Id01f964ffe03f283e8b18743f677fa5fe7280e7a
Reviewed-on: https://chromium-review.googlesource.com/271856
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
Commit-Queue: mukesh agrawal <quiche@chromium.org>
/external/autotest/server/cros/network/wifi_cell_test_base.py
4d8b1c16cbea0cc0d2ef01df7887a642293df253 26-Feb-2015 Kris Rambish <krisr@chromium.org> Add try block to cautotest connection.

If the cautotest frontend server is not available, continue.

BUG=chromium:462045
TEST=Manual; Ran it

Change-Id: I2209bea764f58c7eb9422448e422e2bb0214801f
Reviewed-on: https://chromium-review.googlesource.com/253775
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Kris Rambish <krisr@chromium.org>
/external/autotest/server/cros/network/wifi_cell_test_base.py
eb04ae43956d2be5cf4c247dc4858dc656c4d29d 05-Feb-2015 Kris Rambish <krisr@chromium.org> Add variant handling to performance tests.

BUG=chromium:454915
TEST=Unit test for perf_uploader, ran network_WiFi_Perf

Change-Id: I9718b340fced30756d6b7f015e3a7945b1aa4f45
Reviewed-on: https://chromium-review.googlesource.com/246310
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Bindu Mahadev <bmahadev@chromium.org>
Reviewed-by: Fang Deng <fdeng@chromium.org>
Commit-Queue: Kris Rambish <krisr@chromium.org>
/external/autotest/server/cros/network/wifi_cell_test_base.py
16a21ddcb0684bdcc2f5e334e2dcd0d24bd32777 17-Dec-2014 Eric Caruso <ejcaruso@chromium.org> network: Merge WifiTestBase into WifiCellTestBase

We weren't using WifiTestBase for anything other than WifiCellTestBase,
so splitting this class in half just to expose the ability to use
a different context manager and then not doing so anywhere in the
test code is unnecessary.

BUG=None
TEST=test_that with random sampling of network_WiFi_* tests

Change-Id: I30edbb252c36c576effe0e23c38bc17de5cada35
Reviewed-on: https://chromium-review.googlesource.com/236452
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Tested-by: Eric Caruso <ejcaruso@chromium.org>
Commit-Queue: Eric Caruso <ejcaruso@chromium.org>
/external/autotest/server/cros/network/wifi_cell_test_base.py
e4e8d994c4b53e97b0fc6c622f8fa80f6b64d92b 10-Jul-2013 Christopher Wiley <wiley@chromium.org> autotest: Move wifi_test_context_manager.py to server/cros/network

TEST=Ran check11b successfully. This indicates that objects were
imported and instantiated correctly.
BUG=chromium:258537

Change-Id: I84f1344eb5a5a711c8c1a0bfd631907b85a437d4
Reviewed-on: https://gerrit.chromium.org/gerrit/61349
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/server/cros/network/wifi_cell_test_base.py
4961e848f54cb64f911c3ce03b3c377d171b35e5 10-Jul-2013 Christopher Wiley <wiley@chromium.org> autotest: Move WiFi test bases to server/cros/network/

TEST=Ran check11g successfully.
BUG=chromium:258537

Change-Id: Ifc608c8470d14ee123ce192632172a8b08674e4e
Reviewed-on: https://gerrit.chromium.org/gerrit/61348
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/server/cros/network/wifi_cell_test_base.py