84f2591b9e12028fbf3d928770b88edf32dfaa63 |
04-Dec-2015 |
Paul Stewart <pstew@google.com> |
shill: test-scripts: Fix up device properties Fix dbus types used in the set-device-property script. Bug:None Change-Id: Ic79f07b4fc20d6213a8e436c4a187516a92c6305 Test:Run "set-device-property wlan0 BgscanShortInterval 30"
et-device-property
|
c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5 |
03-Sep-2015 |
Peter Qiu <zqiu@google.com> |
License shill to Apache2 This patch automatically replaced the license on all text files from Chromium OS (BSD style) to AOSP (Apache2), keeping the original year as a reference. The license header was added to .gyp and .gypi, the NOTICE was added with a copy of the Apache2 license and MODULE_LICENSE_* file was added. BUG=23587594 TEST=grep 'Chromium OS Authors' doesn't find anything. Change-Id: If41ede586c2465f5831fb7fee270ff41dbfdb596
ackchannel
laim-interface
onnect-disconnect
onnect-vpn
rypto_util_pb2.py
limflam.py
et-profile-entry
ist-active-service
ist-profiles
elease-interface
outing.py
tability
|
18213652e2ce4c6e4354951e5b665097b7a7aa6b |
22-Apr-2015 |
Peter Qiu <zqiu@chromium.org> |
shill: remove dependency for ProfileDBusPropertyExporter Currently, Profile.GetEntry uses ProfileDBusPropertyExporter to retrieve entry settings for a service entry that's not registered to the manager or loaded from a different profile. ProfileDBusPropertyExporter duplicates logics from Service and its subclasses for loading settings from the profile. Instead, create a temporary service for profile to load entry settings into for such service entry, and then retrieve the service settings (properties) directly. When creating a temporary service, the profile entry will be validated for fields required by the corresponding service type. Also added couple test scripts for testing purpose. BUG=chromium:208736 TEST=USE="asan clang wimax" FEATURES=test emerge-$BOARD shill Manual Test: 1. Bootup a DUT (wolf) without logging in, connect to a wifi network WiFi-A. 2. Logged in with an user account, connect to a different managed wifi network WiFi-B. 3. Invoke command "/usr/local/lib/flimflam/test/list-profiles", verify there is an entry in both default profile "/profile/default" and user profile "/profile/chronos/shill". 3. Use the get-profile-entry command to retrieve entry from both default and user profile, verify entries are retrieved successfully. "/usr/local/lib/flimflam/test/get-profile-entry default <entry_name>" "/usr/local/lib/flimflam/test/get-profile-entry shill <entry_name>" Change-Id: If6c22fbca0e4e47dd42761b047d57fff14c2e658 Reviewed-on: https://chromium-review.googlesource.com/266751 Tested-by: Zeping Qiu <zqiu@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Zeping Qiu <zqiu@chromium.org>
et-profile-entry
ist-profiles
|
e4c29c5297b36ee8ed7e7119bc66227a85f19c94 |
15-Apr-2015 |
Garret Kelly <gdk@chromium.org> |
shill: add test-scripts for claiming and releasing devices Add claim-interface and release-interface scripts useful for when testing shill in passive mode. BUG=chrome-os-partner:39112 TEST=manually, on panther Change-Id: I41baa01ad96af7e9d5115fddc8068ca6f5bac8b0 Reviewed-on: https://chromium-review.googlesource.com/265875 Reviewed-by: Zeping Qiu <zqiu@chromium.org> Commit-Queue: Garret Kelly <gdk@chromium.org> Tested-by: Garret Kelly <gdk@chromium.org>
laim-interface
elease-interface
|
3fee7e38845bc9512a84c311c7bfcc21e19cda19 |
16-Oct-2014 |
Paul Stewart <pstew@chromium.org> |
shill: Service: Rank HasEverConnected with Managed Credentials Add a service property that specifies whether the credentials for this service are managed outside of shill, and are validated in some manner other than the user. As such, these credentials need not be validated via an initial connection attempt in order for the service to be considered of equal priority to other services that have been connected before. BUG=chromium:424036 TEST=Unit tests Change-Id: I20f709b525a32400ae9b90797f8107c2f6446f2e Reviewed-on: https://chromium-review.googlesource.com/223653 Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org> Reviewed-by: mukesh agrawal <quiche@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org>
et-service-property
|
d49760e19d137f43df29e00265259d395b07994c |
20-Sep-2014 |
Peter Qiu <zqiu@chromium.org> |
shill: Add support for disable/enable link monitoring through DBUS This is a per-service setting, with default value set to false (link monitoring enabled). BUG=chromium:415367 TEST=unit tests, manual test Manual Test 1. Get a chrome device, and turn up the logging with "ff_debug +device" and "ff_debug --level -2". 2. Connect to "GoogleGuest", verify link monitor is enabled (by default) by examing log file "/var/log/net.log" for following message "Link Monitor starting". 3. Disable link monitor for "GoogleGuest" with command "/usr/local/lib/flimflam/test/set-service-property GoogleGuest LinkMonitorDisable true" 4. Connect to a different network, then connect back to "GoogleGuest". Verify link monitor is disabled by examing log file "/var/log/net.log" for following message "Link Monitor is disabled for the selected service". CQ-DEPEND=CL:219029 Change-Id: I83aabe035f66eeaa9547a486d4677c7292247561 Reviewed-on: https://chromium-review.googlesource.com/219117 Reviewed-by: Peter Qiu <zqiu@chromium.org> Tested-by: Peter Qiu <zqiu@chromium.org> Commit-Queue: Peter Qiu <zqiu@chromium.org>
et-service-property
|
513d15b8ecae7c125c7440f402f4422984885e76 |
16-Aug-2014 |
Ben Chan <benchan@chromium.org> |
shill: test-scripts: Remove obsolete fake cromo stuff. BUG=chromium:404003 CQ-DEPEND=CL:212801 CQ-DEPEND=CL:212811 TEST=Trybot run on paladin, release, and chromiumos-sdk builders. Change-Id: Ia323c8323f4ef9f7589551d1b629d34d9792566b Reviewed-on: https://chromium-review.googlesource.com/212812 Tested-by: Ben Chan <benchan@chromium.org> Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org>
ctivation-server
ake-cromo
ake-gsm-modem
limflam_test.py
|
69e32cd08a5b727cfbb9b6bd6db866ab3f07c486 |
15-Aug-2014 |
Ben Chan <benchan@chromium.org> |
shill: test-scripts: Remove obsolete mm.py. mm.py from shill-test-scripts is obsoleted and replaced by the one under autotest.client.cros.cellular. BUG=chromium:404003 CQ-DEPEND=CL:212570 CQ-DEPEND=CL:212571 TEST=`emerge-$BOARD shill-test-scripts` Change-Id: I4e0061e1f1d4c65916e675ace6a611b609af11f5 Reviewed-on: https://chromium-review.googlesource.com/212572 Tested-by: Ben Chan <benchan@chromium.org> Reviewed-by: Thieu Le <thieule@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org>
m.py
|
a87bb44a9a686baa4bce362aacf91d2134cd8475 |
10-Jul-2014 |
Ben Chan <benchan@chromium.org> |
shill: Fix indentation issues in backchannel script. This CL fixes indentation and whitespace issues in backchannel script and does not introduce logical changes. It also fixes the usage messages to fit into the 80 character limit. BUG=None TEST=Tested the following: 1. `emerge-$BOARD shill-test-scripts` 2. Run from a root shell on a DUT: `/usr/local/lib/flimflam/test/backchannel setup eth0 eth_test` `/usr/local/lib/flimflam/test/backchannel teardown eth0 eth_test` 3. Run network_3GSmokeTest on a DUT with a modem. Change-Id: I040bd699008ecd7d84c6da1175a2a3043fbc4990 Reviewed-on: https://chromium-review.googlesource.com/207410 Tested-by: Ben Chan <benchan@chromium.org> Reviewed-by: Thieu Le <thieule@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org>
ackchannel
|
c350e68360d08626cff8c4020c743b61d7da5a2b |
20-Jun-2014 |
Paul Stewart <pstew@chromium.org> |
shill: Further deprecate CaCertNSS Chrome has been updated to no longer set the CaCertNSS property for OpenVPN, L2TP/IPSec and 802.1x connections. It also has code to migrate such properties over to the equivalent CaCertPEM property. This CL rips out the underpinnings in shill that used to convert NSS properties by reading the user NSS database. It still supports the various NSS service properties for read (to allow Chrome to detect and migrate away from the NSS property) and write (so Chrome can clear the vestigial property) in all the places where that was previously supported. CQ-DEPEND=CL:205152 BUG=chromium:385401 TEST=Unit tests Change-Id: Id3df385148acb8e9c4240bbaa980e4118aa6b088 Reviewed-on: https://chromium-review.googlesource.com/204763 Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
onnect-vpn
|
b7d002d705ff5e5adc8ef04f666bbbb709340548 |
19-Jun-2014 |
Ben Chan <benchan@chromium.org> |
shill: test-scripts: Ignore InProgress error for EnableTechnology. FlimFlam.EnableTechnology() is (only) used by network3g tests to enable cellular technology, which in turns enables the cellular modem in the DUT. If an enable operation is already in progress, EnableTechnology() could fail with an 'org.chromium.flimflam.Error.InProgress' error. This is not an issue, and thus shouldn't be considered as an error, in network3g tests, which always poll for the device state until the device is enabled after calling EnableTechnology(). BUG=chromium:385413 TEST=Tested the following: 1. network_3GRecoverFromGobiDesync.gobi2k on mario 2. network_3GRecoverFromGobiDesync.gobi3k on alex, daisy Change-Id: I5a5984eb92eb416db67139be4f4d0fa72259a693 Reviewed-on: https://chromium-review.googlesource.com/204625 Reviewed-by: Thieu Le <thieule@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org>
limflam.py
|
9b7b6e70c20d8ba96772eb7e80f8e7c66985c13b |
28-Feb-2014 |
mukesh agrawal <quiche@chromium.org> |
shill test scripts: make scripts more consistent For some reason, the invocation of connect-service, disconnect-service, and set-service-property was different. connect-serivce wanted the Name property of the Service, while disconnect-service and set-service-propety wanted something else. Change this, so that all three scripts work with a Service Name. Also, set the executable bit on set-service-property. BUG=None TEST=manual (see below) 1. set up ap 2. let shill find it 3. connect-service <wifi-ssid> 4. set-service-property <wifi-ssid> AutoConnect false 5. disconnect-service <wifi-ssid> 6. wait 30 seconds, check that the wifi service is still disconnected Change-Id: I00cae9e2b89cdbc6746500c4d0b5c769dc90970e Reviewed-on: https://chromium-review.googlesource.com/188388 Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: mukesh agrawal <quiche@chromium.org> Tested-by: mukesh agrawal <quiche@chromium.org>
isconnect-service
et-service-property
|
e52f78592199ef4465b5c0a86a6c7e1215b78916 |
30-Dec-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Move test scripts to autotest repository TEST=No dependencies on these scripts from the shill repository. BUG=chromium:328169 CQ-DEPEND=CL:181360 Change-Id: I317cb7abfb6815d0270f3d8243605d666061d220 Reviewed-on: https://chromium-review.googlesource.com/181271 Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
ellular_proxy.py
estination
evice
rofile
hill_context.py
hill_proxy.py
ifi
ifi_proxy.py
imax_proxy.py
|
9ad04009dea0cd4adcee429a8455455866d7fc16 |
20-Dec-2013 |
Thieu Le <thieule@chromium.org> |
test-scripts: Fix ServiceAutoConnectContext Explicitly set AutoConnect property regardless if the new value is the same as the old value. This will force shill to retain the AutoConnect property. Also, force a cellular service into a profile to ensure its settings get persisted. BUG=chromium:266291 TEST=Run network_WiMaxSmoke Change-Id: Ib2a1a44ea07970d4245ef2a739217e5f145276bb Reviewed-on: https://chromium-review.googlesource.com/180963 Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org> Commit-Queue: Thieu Le <thieule@chromium.org> Tested-by: Thieu Le <thieule@chromium.org>
hill_context.py
hill_proxy.py
|
37a3152b12e1364b3b289efd3673a6821557278f |
07-Jan-2014 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Remove ipconfig scripts using deprecated interfaces Unlike flimflam, shill exposes ipconfigs as read only objects associated with a service. While a device continues to expose a list of ipconfig objects, it is read only and only reflects the ipconfig of the currently connected service. Remove all scripts which write ipconfig state. BUG=None TEST=None Change-Id: I0f7a88f5a7e70e1b6034d3978cba5c92929c1a7c Reviewed-on: https://chromium-review.googlesource.com/181710 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
dd-ipconfig
lr-ipconfig
m-ipconfig
et-ipconfig
|
e5821431a119a22f14acc75b4a180fd4564b9c6e |
17-Dec-2013 |
Paul Stewart <pstew@chromium.org> |
shill: ShillProxy: Add IPConfig type BUG=None TEST=manual: Load module in python Change-Id: Ic14aadd73dcf4ffa810c5df8ab4995ddcba1e267 Reviewed-on: https://chromium-review.googlesource.com/180388 Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
hill_proxy.py
|
7a0d0f28e3098e56fe0005ccc5ebec67ab22a60e |
13-Dec-2013 |
Prathmesh Prabhu <pprabhu@chromium.org> |
shill-test-scripts: Add |Scanning| property constant to shill_proxy. BUG=chromium:322747 TEST=None. Change-Id: I3f64611923abea2dfdc52f08a18e2443aecd306c Reviewed-on: https://chromium-review.googlesource.com/179961 Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Prathmesh Prabhu <pprabhu@chromium.org> Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>
hill_proxy.py
|
7a6fdfeb4ebefe1aac4d0b4f6a589336302ff5ee |
21-Nov-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Add functionality to list visible WiFi services BUG=chromium:321334 TEST=A test that utilizes this functionality passes. Change-Id: Ia8e1022db465fbd7a080f149e90ed99595d62a4b Reviewed-on: https://chromium-review.googlesource.com/178611 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
hill_proxy.py
ifi_proxy.py
|
eadf89f62c747f0b4caff74df37e821e419f68e9 |
04-Dec-2013 |
Ben Chan <benchan@chromium.org> |
shill-test: Add a WiMaxProxy class for WiMAX testing. BUG=chromium:323564 TEST=Tested the following script on a DUT with a WiMAX module: import wimax_proxy proxy = wimax_proxy.WiMaxProxy() proxy.set_logging_for_wimax_test() device = proxy.find_wimax_device_object() service = proxy.find_wimax_service_object() Change-Id: Iadfe4c3b6efb469981fd0ffe6434fac0c4dd2278 Reviewed-on: https://chromium-review.googlesource.com/178685 Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org>
imax_proxy.py
|
074cdc7ffe3605147d6da3f5c7a960e53c8e5773 |
22-Nov-2013 |
Ben Chan <benchan@chromium.org> |
shill-test: Migrate backchannel script to use iproute2. backchannel did not parse the output of a new version of ifconfig (CL:173670) properly. This CL migrates the backchannel script to use 'ip' from iproute2, instead of 'ifconfig' and 'route' from net-tools. BUG=chromium:222263 TEST=Tested the following: 1. /usr/local/lib/flimflam/test/backchannel setup eth0 eth_test 2. /usr/local/lib/flimflam/test/backchannel teardown eth0 eth_test 3. Run network_3GSmokeTest on a DUT with a modem. Change-Id: I6db194e3f1b0315747862a7b4ca484a616279d0f Reviewed-on: https://chromium-review.googlesource.com/177646 Tested-by: Ben Chan <benchan@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org>
ackchannel
|
22ab651c17216fb87e03db0e2f20a188d670ec9e |
14-Nov-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Listen for shill state change signals Previously, we waited for transitions via polling, which worked until we become interested in a transitional state. Catch these short lived states by subscribing to updates via DBus. TEST=An autotest that depends on this behavior consistently reconizes a transitional idle state. wifi_matfunc passes with these changes. BUG=chromium:318444 Change-Id: I15387e16a20ae9620aa2321951a6f2658422f7db Reviewed-on: https://chromium-review.googlesource.com/177472 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
hill_proxy.py
|
4bef337b58878a9dcbc5fbce38e052a6052e059e |
20-Nov-2013 |
Christopher Wiley <wiley@chromium.org> |
Revert "shill-test: Listen for shill state change signals" This apparently still isn't airtight, and since it changes how we interact with shill at a low level, it causes problems in other tests, some of which are in the BVT. BUG=chromium:321469 This reverts commit 21cea4dda5214701afc35c651550e73614fe374d. Change-Id: Ia7fcd786d275e702b01a4e80fcfd4d464054d9de Reviewed-on: https://chromium-review.googlesource.com/177396 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
hill_proxy.py
hreaded_dbus_bus.py
|
2949230b6c0c370af13f5d4d10c0751a6c2ce285 |
14-Nov-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Listen for shill state change signals Previously, we waited for transitions via polling, which worked until we become interested in a transitional state. Catch these short lived states by subscribing to updates via DBus. TEST=An autotest that depends on this behavior consistently reconizes a transitional idle state. wifi_matfunc passes with these changes. BUG=chromium:318444 Change-Id: I556734603b857da08fb5b9c26b4cdd7fe085c99c Reviewed-on: https://chromium-review.googlesource.com/177153 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
hill_proxy.py
hreaded_dbus_bus.py
|
3c97a7dd7406c96d19b453ebdd79992fed8794d0 |
12-Nov-2013 |
Ben Chan <benchan@chromium.org> |
shill-test: Remove legacy cellular related scripts. BUG=chromium:318268 TEST=Verify via code search that the scripts to be removed are not being referenced elsewhere. TEST=`emerge-link shill-test-scripts autotest-tests` Change-Id: I588f136198bc1f9a6969faefaf49318ff75cdb4a Reviewed-on: https://chromium-review.googlesource.com/176540 Reviewed-by: Thieu Le <thieule@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org>
ctivate-service
m-activate
m-connect
m-disable
m-disconnect
m-enable
m-factory-reset
m-list-modems
m-mock
m-poll-signal-strength
m-powercycle
m-register
m-reset
m-set-carrier
m-speed-test
m-status
m.sh
in
et-apn
|
db2e522df58410dba514537053ac2758cf51a708 |
08-Nov-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Add configuration to wifi script On the way, add a configure_wifi_service call to WifiProxy. We'll reuse this in WiFi tests to configure WiFi services that will appear later. This call adds some functionality related to setting service GUIDs. TEST=./wifi configure works as expected BUG=chromium:316406 Change-Id: Id22da6eef3160f8f751e345cbec6b6a70aba69b6 Reviewed-on: https://chromium-review.googlesource.com/176459 Commit-Queue: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org>
onfigure-wifi
hill_proxy.py
ifi
ifi_proxy.py
|
009f1c73cb5922aa18753f79298b50d73d60ccc3 |
08-Nov-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Add profile property constants This has the side effect that we can use these constants in the XMLRPC proxy rather than having two sets of constants. TEST=profile script continues to behave as expected. BUG=chromium:316406 Change-Id: Ia86d743258e483df18b394e2d5f41b8fd3b8b37f Reviewed-on: https://chromium-review.googlesource.com/176148 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
rofile
hill_proxy.py
|
dd4f598fa64d0d28e929e0d2d26616fda9035df9 |
22-Oct-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Tolerate service objects disappearing during association There are a couple more places where we fail in unexpected ways when the DBus proxy for a service object disappears from shill during a connection attempt. Catch these exceptions and respond appropriately. TEST=This is a hard to exercise race condition between shill and a test connecting to an AP which may come and go. BUG=chromium:308709 Change-Id: I547179675458317503f2ee3d54e96b89ac22dded Reviewed-on: https://chromium-review.googlesource.com/174093 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
hill_proxy.py
ifi_proxy.py
|
dea940601a27e64db773cd099b29bfddeb66fcba |
30-Sep-2013 |
Wade Guthrie <wdg@chromium.org> |
autotest: Adds 'clear-blacklist' Autotests that configure two BSSes on the same AP can leave one of the APs on the DUT's wpa_supplicant blacklist. This breaks things for subsequent tests. This CL provides a mechanism to ask supplicant to clear its blacklist. BUG=None TEST=Tested by running autotest found in change-id: I7bf3257d5e4bab265273e367d0123f460fb6d6f6 Change-Id: I1274c3fed10e93386ffc49e7a3e0b45c3e98856b Reviewed-on: https://chromium-review.googlesource.com/173160 Reviewed-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Wade Guthrie <wdg@chromium.org> Commit-Queue: Wade Guthrie <wdg@chromium.org> Tested-by: Wade Guthrie <wdg@chromium.org>
ifi_proxy.py
|
e92c5c3e13792e9ae91b6e718716283b75d6f4dd |
06-Aug-2013 |
Jason Abele <jabele@chromium.org> |
shill-test: add device manipulation script BUG=None TEST=./device list ./device get-property mlan0 ./device get-property mlan0 ScanInterval ./device set-property mlan0 ScanInterval 60 Change-Id: I04a34efe35c7b90c59a64fb129445fb004a01096 Signed-off-by: Jason Abele <jabele@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/64790
evice
hill_proxy.py
|
5d2837b8283eaa64381f33bc4e4084c7bce17b3b |
08-Aug-2013 |
Jason Abele <jabele@chromium.org> |
shill_proxy: use ShillProxyError While attempting to raise an error in another shill_proxy CL, noticed that the error.TestFail class was not available in this context. Fix by using the Exception class defined in shill_proxy. BUG=None TEST=None Change-Id: I0affd21eda5497570ab810d91a1995c7e360ddcb Signed-off-by: Jason Abele <jabele@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/65016 Reviewed-by: Christopher Wiley <wiley@chromium.org>
hill_proxy.py
|
8ec1ba99554634539635a5bb0bcd792a57b94209 |
07-Aug-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Fix missing service WiFi test flakes Fix a class of errors that manifest as: Unhandled Fault: <Fault 1: '<class \'dbus.exceptions.DBusException\'>: org.freedesktop.DBus.Error.UnknownObject: Method "GetProperties" with signature "" on interface "org.chromium.flimflam.Service" doesn\'t exist\n'> This happens when we're enumerating services that are being torn down in shill. This can happen when we configure our test AP several different ways in a short time, giving us more opportunities to experience this race. BUG=None TEST=Ran test_that --fast suite:wifi_matfunc and finally saw these errors disappear. Change-Id: If4c3d15922f4d79028d6876b676853e06434c115 Reviewed-on: https://gerrit.chromium.org/gerrit/64990 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
hill_proxy.py
|
0f72b309f6351e7da0b292f18843cbf8936de502 |
31-Jul-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Avoid using Manager.FindMatchingService for legacy support Allow WiFi proxy to work with older shill versions by replacing its call to FindMatchingService with a Python equivalent. TEST=WiFi can connect to APs with R24 shill. Ran tests on ToT ChromeOS that exercise all three changed methods. BUG=chromium:266513 Change-Id: If150efaa6b02341748a6e11321c8b126741a42f2 Reviewed-on: https://gerrit.chromium.org/gerrit/63973 Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
hill_proxy.py
ifi_proxy.py
|
a580e4e2b0eb7d41b1fbb745919f119e7a862f8b |
01-Aug-2013 |
Arman Uguray <armansito@chromium.org> |
cellular_proxy: Added find_cellular_service_object. Added the service equivalent of find_cellular_device_object. BUG=none TEST=Manual. Change-Id: I9998e804caeb48612aa06e6c8fa45eb18b8705b0 Reviewed-on: https://gerrit.chromium.org/gerrit/64264 Commit-Queue: Arman Uguray <armansito@chromium.org> Reviewed-by: Arman Uguray <armansito@chromium.org> Tested-by: Arman Uguray <armansito@chromium.org>
ellular_proxy.py
|
85d5b82605efd1e6c90cb0fcc48cbd3fa8513b66 |
18-Jul-2013 |
Prathmesh Prabhu <pprabhu@chromium.org> |
test-scripts: Add cellular_proxy.py and some constants to shill_proxy.py (1) cellular_proxy.py provides functions and constants over and above shill_proxy.py for cellular tests. (2) Extended shill_proxy.py for tests. BUG=chromium:249149 TEST=None Change-Id: I88555d64b6c7f2b625aed7593b22d994a6ff6f52 Reviewed-on: https://gerrit.chromium.org/gerrit/62932 Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org> Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org> Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
ellular_proxy.py
hill_proxy.py
|
ed179ec5d40b24212be1ced7677037c4fe905692 |
15-Jul-2013 |
Prathmesh Prabhu <pprabhu@chromium.org> |
test-scripts: Deprecate flimflam.py We are moving tests away from flimflam.py to using shill_proxy suite of scripts. Add deprecate comments to flimflam.py to warn users, and to remind ourselves. BUG=chromium:260312 TEST=None. Change-Id: I62f3f6234b46a753e482f7f294c186d7fb2bf618 Reviewed-on: https://gerrit.chromium.org/gerrit/61907 Reviewed-by: Paul Stewart <pstew@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org> Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
limflam.py
|
d7a197b5b8f20900550bed439f967eed0bf613b3 |
10-Jul-2013 |
Wade Guthrie <wdg@chromium.org> |
autotest: Adds wait_for_service_state to ShillProxy. The new autotest framework needs the ability to wait for a service to achieve a state from a list of states. This CL provides such a capability. BUG=chromium:258664 TEST=autotest CQ-DEPEND=If6ea0a4de2a8e90ca30df4904551ebc85a9694c1 Change-Id: Id3f34443d69e8c56e7ca885f3ac6ebe1eeb2ba47 Reviewed-on: https://gerrit.chromium.org/gerrit/61353 Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Wade Guthrie <wdg@chromium.org> Reviewed-by: Wade Guthrie <wdg@chromium.org> Tested-by: Wade Guthrie <wdg@chromium.org>
hill_proxy.py
ifi_proxy.py
|
6c1fca592749fb53b69bca3ae38cf7ffb32949fb |
03-Jul-2013 |
Prathmesh Prabhu <pprabhu@chromium.org> |
Split shill_proxy.py into shill_proxy.py and wifi_proxy.py Move wifi specific functions into a new subclass WifiProxy of ShillProxy. There are corresponding updates to references in autotest. BUG=chromium:257142 TEST=None. Change-Id: I52034fe3c8bbd504413ab63c5369aab024e1d98a Reviewed-on: https://gerrit.chromium.org/gerrit/61127 Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org> Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org> Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
rofile
hill_context.py
hill_proxy.py
ifi
ifi_proxy.py
|
ff27c3660536ce79bd7c9d45c758dcea4ddc3426 |
25-Jun-2013 |
Thieu Le <thieule@chromium.org> |
shill-test-scripts: Increase cellular timeout in flimflam.py. Some operations can take up to 60 seconds. BUG=chromium:243988 TEST=network_3GSmokeTest Change-Id: I56c96e0207c4e4a719b5547d22abbb9bba51cec3 Reviewed-on: https://gerrit.chromium.org/gerrit/59960 Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Thieu Le <thieule@chromium.org> Tested-by: Thieu Le <thieule@chromium.org>
limflam.py
|
25a757e9d93fd3723ca3523c128bfc53901e14bf |
05-Jun-2013 |
Jason Abele <jabele@chromium.org> |
shill-test: generic wifi connect via shill_proxy BUG=None TEST=./wifi connect_with_props 90 CrOS_WPA2_LinksysE3000 \ "Security=802_1x" "EAP.Identity=XXXX" "EAP.UseSystemCAs=False" \ "EAP.EAP=PEAP" "EAP.Password=XXXX" "EAP.InnerEAP=auth=MSCHAPV2" Change-Id: I738e3734ca82cd506c63d6b60c078549f600e804 Signed-off-by: Jason Abele <jabele@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/58571 Reviewed-by: Christopher Wiley <wiley@chromium.org>
ifi
|
6867e2721f085038bbc91b290665e5d1ff1920a3 |
19-Jun-2013 |
Jason Abele <jabele@chromium.org> |
shill-test: normalize whitespace in wifi script BUG=None TEST=ran it Change-Id: Id9a20ee0a282e1e0e81e170d45934a46f86018cc Signed-off-by: Jason Abele <jabele@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/59307 Reviewed-by: Christopher Wiley <wiley@chromium.org>
ifi
|
ce0bb00f38b4dd65f1306b78bc8b4f7e96292073 |
14-Jun-2013 |
Paul Stewart <pstew@chromium.org> |
shill: tests: set-service-property: Fix EAP.UseSystemCAs The capitalization of "EAP.UseSystemCAs" was broken BUG=chromium:249533 TEST=Manual: Set this property on an 802.1x network Change-Id: Idfe5675a35e20b8c7d4f6457c9fec2e7fd0a3ee0 Reviewed-on: https://gerrit.chromium.org/gerrit/58650 Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org>
et-service-property
|
cd89289893e98d68a1eced7eed4a61fab785050e |
13-Jun-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Pass credentials as a dictionary of properties This lets us more easily accomodate the more complicated authentication modes with their various credential keys and values. TEST=Connected to a PSK network successfully via ./wifi BUG=chromium:249096 CQ-DEPEND=CL:58589 Change-Id: I094ea6bd50856b7b011148eda5dbb1484e2625db Reviewed-on: https://gerrit.chromium.org/gerrit/58588 Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
hill_proxy.py
ifi
|
5b6f8718e2d26caa510fd51e90270b8913117d61 |
14-Jun-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Fix ./wifi usage check TEST=./wifi --help works BUG=None Change-Id: I635ec9eb5a3f6034dbb7c0896d5faf90a66c46c5 Reviewed-on: https://gerrit.chromium.org/gerrit/58598 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Jason Abele <jabele@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
ifi
|
a2e983cdbb67084428dee2d82df9c01c6c25a5af |
01-Jun-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Allow WiFi AP mode to be specified This lets us specify that we only want to connect to adhoc BSS's. BUG=chromium:245907 TEST=The test that consumes this passes. Change-Id: Ie1c0ec1ef02cbeac782bb7409782793414747a04 Reviewed-on: https://gerrit.chromium.org/gerrit/57385 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
hill_proxy.py
|
3daa321adbcad71cc1ee65f4321e8b3252e27ceb |
17-May-2013 |
Thieu Le <thieule@chromium.org> |
shill-test-scripts: Handle unknown object error when looking for service BUG=chromium:241375 TEST=Run network_3GSafetyDance ten times Change-Id: I12e6e7503cbe1c76d0b036507db63490d620ea3d Reviewed-on: https://gerrit.chromium.org/gerrit/51534 Reviewed-by: Arman Uguray <armansito@chromium.org> Commit-Queue: Thieu Le <thieule@chromium.org> Tested-by: Thieu Le <thieule@chromium.org>
limflam.py
|
5127b202379c7379c32de868f0877ec5e96e8b8e |
10-May-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Rewrite set-bgscan to use ShillProxy Move functionality from set-bgscan to ShillProxy so that we can use it via a XMLRPC server in autotests. Remove set-bgscan since no test depends on it any more. TEST=Upcoming autotest consumes this successfully. BUG=chromium:230660 CQ-DEPEND=CL:50907 Change-Id: I4491e6ea5015766b16b4815c66af3a0c94307b4d Reviewed-on: https://gerrit.chromium.org/gerrit/50905 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
et-bgscan
hill_proxy.py
|
ad9da22e9740a5525777e1dc82198ec0dfdc350d |
08-May-2013 |
Ben Chan <benchan@chromium.org> |
shill-test: Add shill_context.ServiceAutoConnectContext helper. Add a context manager 'shill_context.ServiceAutoConnectContext' for temporarily overriding the 'AutoConnect' property of a service object. BUG=chromium:238855 TEST=Tested the following: 1. Run pylint on shill_context.py. 2. Test the following code in a Python shell on daisy with a cellular service: from shill_context import ServiceAutoConnectContext from shill_proxy import ShillProxy shill = ShillProxy() get_service = lambda: shill.find_object('Service', {'Type': 'cellular'}) with ServiceAutoConnectContext(get_service, autoconnect=False) as c: print('initial autoconnect: %s' % c.initial_autoconnect) print('autoconnect: %s' % c.autoconnect) with ServiceAutoConnectContext(get_service, autoconnect=True) as c: print('initial autoconnect: %s' % c.initial_autoconnect) print('autoconnect: %s' % c.autoconnect) Change-Id: I3e7d2cfb2d6ce81e5363e3e91e3886a44a9e8190 Reviewed-on: https://gerrit.chromium.org/gerrit/50497 Reviewed-by: Thieu Le <thieule@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org>
hill_context.py
hill_proxy.py
|
72e975803ecd5d5ca0d612de1df5f362743decae |
08-May-2013 |
mukesh agrawal <quiche@chromium.org> |
shill-test: add get_shill_proxy The new method encapsulates the process of retrying until shill is up and running, and pinging shill to make sure it has completed initialization. These additional steps are useful for tests which restart shill. (e.g. network_DefaultProfileCreation, and network_DefaultProfileServices) BUG=chromium:238708 TEST=network_DefaultProfileCreation Change-Id: Id7786d03fd6d770e9b3af361606ac4fdc4d7ef21 Reviewed-on: https://gerrit.chromium.org/gerrit/50481 Commit-Queue: mukesh agrawal <quiche@chromium.org> Reviewed-by: mukesh agrawal <quiche@chromium.org> Tested-by: mukesh agrawal <quiche@chromium.org>
hill_proxy.py
|
ab4fafd595f16d006786843bb993a11a465b520a |
06-May-2013 |
Ben Chan <benchan@chromium.org> |
shill-test: Add helpers for setting log level and scopes in ShillProxy. BUG=chromium:238435 TEST=Tested the following code in a Python interpreter running on daisy. Verify that log level and scopes in shill are set correctly. import shill_proxy shill = shill_proxy.ShillProxy() shill.set_logging(0, []) shill.set_logging(-2, ['device', 'service']) shill.set_logging_for_test('bluetooth') shill.set_logging_for_test('cellular') shill.set_logging_for_test('ethernet') shill.set_logging_for_test('vpn') shill.set_logging_for_test('wifi') shill.set_logging_for_test('wimax') Change-Id: Icfdac9884e158e7869ad823a8480a785ed1f9a1f Reviewed-on: https://gerrit.chromium.org/gerrit/50226 Reviewed-by: Alex Miller <milleral@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org>
hill_proxy.py
|
4eb39eecf46edc98f74dbd78633c3aaeaed5e6d2 |
07-May-2013 |
mukesh agrawal <quiche@chromium.org> |
shill_proxy: add support for matching against ServiceCompleteList Companion to CL:50327, which adds a client-side test for the instantiation of services from the default profile. Because a client-side test can't assume that APs are live OTA, we need the ability to find a service in the complete list of services, rather than the list of visible services. BUG=chromium:237588 TEST=network_DefaultProfileServices.py Change-Id: I618ae3cb82595bf6ad61ed83b894398ab130b775 Reviewed-on: https://gerrit.chromium.org/gerrit/50328 Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: mukesh agrawal <quiche@chromium.org> Tested-by: mukesh agrawal <quiche@chromium.org>
hill_proxy.py
|
21ae57f2150c125eeb5a7b62ff135af23067b405 |
06-May-2013 |
Ben Chan <benchan@chromium.org> |
shill-test: Fix inconsistent indentation in ShillProxy.find_object BUG=None TEST=Run pylint on shill_proxy.py. Change-Id: I33fb68f769537a8734bb08127f26013222c06092 Reviewed-on: https://gerrit.chromium.org/gerrit/50200 Commit-Queue: Ben Chan <benchan@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org>
hill_proxy.py
|
8e1f3827cfb75a0eb0b57836b84a6c4598057c81 |
02-May-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Add configured hotspot params to destination script Add hotspot SSID and BSSID parameters to destination script. This is the most recent DBus API. TEST=Manual. BUG=None. Change-Id: I72bd9a918b57d96ff3eef0b5a03e135bd9f6e90d Reviewed-on: https://gerrit.chromium.org/gerrit/50001 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
estination
|
ee04a6ea676a113b2d4d6d53ad45ab36a26b0cc0 |
30-Apr-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Add hidden SSID functionality to ShillProxy Enhance ShillProxy to configure hidden SSIDs before attempting to discover them. The test for this change is included in the autotest CL depending on this change. TEST=Ran: ./run_remote_tests.sh --remote=chromeos1-shelf1-host3 check_hidden_ssid ./run_remote_tests.sh --remote=chromeos1-shelf1-host3 check11b BUG=chromium:230671 Change-Id: I98012885623be45205b1abd4d6a9f46b2d5e7dfd Reviewed-on: https://gerrit.chromium.org/gerrit/49569 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
hill_proxy.py
|
289095c3b3e7e397e99f5f45fc4f9ee5fc4edba6 |
19-Apr-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Fix bad profile script symbol Make ./profile list work by renaming print_profile_name to print_profile_path. TEST=/usr/local/lib/flimflam/test/profile list works. BUG=None. Change-Id: I7542f46f64874887258b8a069ec35d03d61621fc Reviewed-on: https://gerrit.chromium.org/gerrit/48574 Commit-Queue: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Tan Gao <tgao@chromium.org>
rofile
|
93ffe5bbd9fa3be1448db37e324c1a5634ed1bfc |
16-Apr-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Make wifi connect/disconnect script executable TEST=None BUG=None Change-Id: I765af894df620fadec58f8350d5108902b5a3272 Reviewed-on: https://gerrit.chromium.org/gerrit/48242 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Ashok Nagarajan <asnagarajan@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
ifi
|
d06e3a408912e26795d40ee116076bf18d3f10ca |
09-Apr-2013 |
Paul Stewart <pstew@chromium.org> |
shill_proxy: Fix OBJECT_TYPE_PROPERTY_MAP This should not refer to "self" anymore. BUG=chromium:229542 TEST=python; import shill_proxy; shill_proxy.ShillProxy.OBJECT_TYPE_PROPERTY_MAP Change-Id: I02db1dd0ff705156316865a9a0d73fcec336eb4e Reviewed-on: https://gerrit.chromium.org/gerrit/47682 Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org> Reviewed-by: Tan Gao <tgao@chromium.org>
hill_proxy.py
|
c3a1658c4a0f755eb7d0b26f541e6634ed33556e |
06-Apr-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Add alternative to site_wlan_disconnect Add a method to ShillProxy to perform much the same logic as site_wlan_disconnect did. Provide a proof of concept by adding a user callable script. Combine the disconnect and connect scripts into a single 'wifi' script. Usage looks like: ./wifi connect GoogleGuest ./wifi disconnect GoogleGuest Both operations are blocking. The idea here is to not do anything in tests that developers can't replicate by hand in their own manual debugging. TEST=Connected and disconnected from GoogleGuest and an encrypted network. BUG=chromium:226274 Change-Id: I8cd182e1b6f32d6a714c95ff0d28b21d9574c96c Reviewed-on: https://gerrit.chromium.org/gerrit/47498 Commit-Queue: Christopher Wiley <wiley@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org>
onnect-wifi
hill_proxy.py
ifi
|
7dcf80ea81e97dfd13628d911659bd9547101eae |
05-Apr-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Add destination verification script Add a script to allow developers to test destination verification more easily. TEST=Ran by hand. BUG=chromium:227074 Change-Id: If8e443e0cd2b17440e9e183608488deebba12b27 Reviewed-on: https://gerrit.chromium.org/gerrit/47452 Commit-Queue: Christopher Wiley <wiley@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org>
estination
|
284a614378a3a2e93eeedd233addd6617f3fb13b |
05-Apr-2013 |
Paul Stewart <pstew@chromium.org> |
shill: shill_proxy: Search for an object by attributes Search a named object list within the manager for an object matching the caller's set of properties. BUG=chromium:226140 TEST=Run a new version of network_8021xEapDetection that uses it Change-Id: Id347da09f8ff36b701a3d86da285912e3243fb19 Reviewed-on: https://gerrit.chromium.org/gerrit/47399 Commit-Queue: Paul Stewart <pstew@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
hill_proxy.py
|
4e02ba27cb4d2fb714601f778db3ae076672077d |
02-Apr-2013 |
Darin Petkov <petkov@chromium.org> |
shill: vpn: Remove support for obsolete Service.Provider.Name. Chrome doesn't set this property anymore -- it sets Service.Name instead. BUG=chromium:221577 TEST=unit tests; tested on device by connecting to a new VPN service through the UI as well as through connect-vpn, inspectings logs and profile, checked service name. Change-Id: I4b9d1a0c1e1619a6c1c71232829780099eb4507a Reviewed-on: https://gerrit.chromium.org/gerrit/47121 Tested-by: Darin Petkov <petkov@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Reviewed-by: Darin Petkov <petkov@chromium.org> Commit-Queue: Darin Petkov <petkov@chromium.org>
onnect-vpn
|
e6ecf6ed7d25e4b80728f782f425e353f44f7205 |
29-Mar-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Refactor profile scripts With this change, all test script profile manipulation is done through ShillProxy rather than FlimFlam. The profile commands are moved into one logical place, 'profile' so that: create-profile test push-profile test pop-profile test rm-profile test clean-profiles list-profiles list-entries become: profile create test profile push test profile pop test profile remove test profile clean profile list profile list-entries Also, I'm removing set-profile-property without replacement. It seems that most of our profile properties are either read only or have non-string value types, which breaks the existing set-profile-property. TEST=Ran scripts by hand on DUT. Accompanying CL updates usages in autotest to call modified scripts correctly. BUG=chromium:224989 CQ-DEPEND:CL:46896 Change-Id: I011477cb7442449e62d524b10e90f9bc8f936775 Reviewed-on: https://gerrit.chromium.org/gerrit/46894 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
lean-profiles
reate-profile
elete-entry
ist-entries
ist-profiles
op-profile
rofile
ush-profile
m-profile
et-profile-property
hill_proxy.py
est-profile
|
9400082abe65f117f0aca46329967f3823c769fa |
29-Mar-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Remove swindle from shill-test-scripts We were supposed to have deprecated and removed this a long time ago. Remove it for real, since we've already removed the library it depends on. TEST=None BUG=None Change-Id: Ibc36b7f459e276b107f9733e08ca6cf5e1d95030 Reviewed-on: https://gerrit.chromium.org/gerrit/46922 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
windle.py
|
c4c9d7c48886fbd34b507d44f12c3722864f57e9 |
01-Mar-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Add ShillProxy and update connect-wifi Add a less crufty, updated version of flimflam.py with functionality to connect a WiFi network: shill_proxy.py. Rewrite a script: connect-wifi to use this new proxy to connect to a WiFi service. With these scripts and a logged out Chromebook with a test image, I can now repetitively run (from /usr/local/lib/flimflam/test/): ./create-profile test && ./push-profile test && \ ./connect-wifi GoogleGuest none && \ ./pop-profile && ./rm-profile test This gives me the following output: New profile created at /profile/test Pushed profile /profile/test Attempting to connect service GoogleGuest Attempting to conect to GoogleGuest Discovering... Discovered service: GoogleGuest Connecting... Called connect on service Associating... Associated with service: GoogleGuest Configuring... Configured service: GoogleGuest Connected to WiFi service. Operation succeeded. Discovery time: 0.000166. Association time: 3.668617. Configuration time: 1.018661. BUG=chromium:224449 TEST=As documented above. Change-Id: Id62d3673ee617a0d395efb31da7b548c46cc531e Reviewed-on: https://gerrit.chromium.org/gerrit/46706 Commit-Queue: Christopher Wiley <wiley@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org>
onnect-wifi
hill_proxy.py
|
5bbf93bb7049fa216983763cae3b51e552edd36d |
21-Mar-2013 |
Paul Stewart <pstew@chromium.org> |
shill: l2tpipsec: Provide tunnel-group parameter Provide tunnel group parameter to the VPN manager in order to enable authentication to non-default Cisco tunnel groups. CQ-DEPEND=CL:46145,CL:46153 BUG=chromium:199004 TEST=Manual: Use connect-vpn script with new --tunnel-group parameter and ensure connection runs with the configured tunnel group. Change-Id: I794383c9ff71ef40b32be1aa7aa15964389ff24f Reviewed-on: https://gerrit.chromium.org/gerrit/46154 Commit-Queue: Paul Stewart <pstew@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
onnect-vpn
|
ba7aba2649e019000aa802021b0f61bfae6886c1 |
14-Mar-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Make crypto_util_pb2 compatible with test libprotobuf Fix an import error being raised in test code on running 'import crypto_util_pb2' by compiling the .proto definition with a compiler from the same version of libprotobuf as installed on test devices. This version apparently lacks some introspection features compared to the version I used originally. Verify that importing crypto_util_pb2 works as intended instead of throwing exceptions. TEST=As described above. BUG=chromium-os:39056 Change-Id: I09f36ede5e5115e3497304129300498bf2aae27f Reviewed-on: https://gerrit.chromium.org/gerrit/45446 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
rypto_util_pb2.py
|
c3699cea2dd5087cc6c19e8e1f9dd3e50b17fc81 |
12-Mar-2013 |
Christopher Wiley <wiley@chromium.org> |
shill-test: Add python crypto-util interface to test code Add the python protoc output for shims/protos/crypto_util.proto to test-scripts to facilitate autotest verification of the shim. TEST=None BUG=chromium-os:39056 Change-Id: I97f763bc574c2afd6e104214dc70b49e5e093d10 Reviewed-on: https://gerrit.chromium.org/gerrit/45324 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
rypto_util_pb2.py
|
cf5d6519f71de3a8d1387b2f9b8fbf975491fb69 |
12-Mar-2013 |
Jason Abele <jabele@chromium.org> |
shill-test: add script to list just the active service list-active-service is a helper script to query properties of the currently active services from shill, optionally filtering for specific service types and properties BUG=none TEST=run list-active-service script on wifi connected chromebook localhost ~ # /usr/local/lib/flimflam/test/list-active-service ethernet [ /service/0 ] UIData = CheckPortal = auto [..snip..] localhost ~ # /usr/local/lib/flimflam/test/list-active-service ethernet Connectable Connectable = True localhost ~ # /usr/local/lib/flimflam/test/list-active-service ethernet Connectable Name Connectable = True Name = Ethernet localhost ~ # /usr/local/lib/flimflam/test/list-active-service -h usage: /usr/local/lib/flimflam/test/list-active-service [[service-type [[service-prop1] ... [service-propN]]]] Change-Id: I5723e4d22d7bb8b74743110a6b08d253ccc0513a Signed-off-by: Jason Abele <jabele@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/45157 Reviewed-by: Christopher Wiley <wiley@chromium.org>
ist-active-service
|
1b7f35330acb1471c0b9c0681196264a402cdff0 |
26-Feb-2013 |
Paul Stewart <pstew@chromium.org> |
shill: test-scripts: Add clean-profiles The "clean-profiles" script was added around the same time as we were transitioning the test scripts from flimflam over to shill, and it fell through the cracks in the move. Pull it over. BUG=chromium-os:39252 TEST=Build shill-test-scripts and make sure clean-profiles is installed Change-Id: Id54f8afb2868b4919f0561c5a04ec2b2d22097f8 Reviewed-on: https://gerrit.chromium.org/gerrit/44041 Commit-Queue: Paul Stewart <pstew@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
lean-profiles
|
2f48d9572459c2c90d68e8b017b86eb843fe2a74 |
22-Feb-2013 |
Christopher Wiley <wiley@chromium.org> |
shill: Copy test scripts out of flimflam/test Directly copy scripts from third_party/flimflam/test to platform/shill/test-scripts. This will allow us to make shill changes in parallel with test tooling changes. It also allows us to fully deprecate flimflam/flimflam-test. This change leaves swindle behind, since it has decayed to a point where it makes little sense to bring it over, and no one has used it in many moons anyway. TEST=None. This has no effect until the ebuilds are changed to install the scripts from shill rather than flimflam. Even then, since we're not changing the install path, there shouldn't be any user visible changes. BUG=chromium-os:39146 Change-Id: I6d74cc4b3bba6ca80dbd05c17af8fc3e428b8d5e Reviewed-on: https://gerrit.chromium.org/gerrit/43791 Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
ctivate-service
ctivation-server
dd-ipconfig
ackchannel
heck-rssi
lr-ipconfig
lr-service-property
onfigure-hidden-wifi
onfigure-service
onfigure-wifi
onnect-disconnect
onnect-service
onnect-vpn
onnect-wifi
onnection_manager.js
reate-profile
ebug
ebug-flimflam
elete-entry
isable-device
isconnect-service
nable-device
ake-cromo
ake-gsm-modem
limflam.py
limflam_test.py
et-arp-gateway
et-country
et-portal-list
et-portal-url
et-service
et-state
ist-devices
ist-entries
ist-ipconfigs
ist-profiles
ist-services
m-activate
m-connect
m-disable
m-disconnect
m-enable
m-factory-reset
m-list-modems
m-mock
m-poll-signal-strength
m-powercycle
m-register
m-reset
m-set-carrier
m-speed-test
m-status
m.py
m.sh
obile_activation.html
onitor-flimflam
onitor-services
ayment_failed.html
ayment_succeeded.html
in
op-profile
ush-profile
m-ipconfig
m-profile
m-service
outing.py
ervice-order
et-address
et-apn
et-arp-gateway
et-bgscan
et-country
et-device-property
et-ipconfig
et-mtu
et-portal-list
et-portal-url
et-profile-property
et-service-property
how-introspection
tability
tart-scanning
windle.py
est-compat
est-flimflam
est-manager
est-profile
sage.html
eth
|