e6f9e43354f1fb248530ce2beea6cb448cb7fba0 |
|
14-Aug-2015 |
Paul Stewart <pstew@chromium.org> |
VPN server: Ignore failure to stop ipsec The test system may race with the chroot in shutting down the ipsec process. If the test system loses the race "ipsec stop" will fail. We can safely ignore this failure. BUG=chromium:520775 TEST=Run this test Change-Id: I02fbf472fb40cb5e7afe1caf27c1c96402d07a98 Reviewed-on: https://chromium-review.googlesource.com/293632 Reviewed-by: mukesh agrawal <quiche@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
/external/autotest/client/cros/network_chroot.py
|
6adc4bc45def76077f00302ff0afebb3a9552a6b |
|
20-Sep-2014 |
Christopher Wiley <wiley@chromium.org> |
Add support for launching Avahi in network chroot Avahi speaks to the outside world through DBus, and needs some configuration files to be copied from the host. BUG=chromium:412975 TEST=A test consuming these changes continues to work. network_VPN variants continue to pass. Change-Id: I36cc5fa2f078f46c1bfaca3865f3b13cb9a48e2f Reviewed-on: https://chromium-review.googlesource.com/219628 Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/cros/network_chroot.py
|
60dc4d6a6ea7620898027f77f1818f2a8acd72db |
|
31-Jan-2014 |
Paul Stewart <pstew@chromium.org> |
network_chroot: Change devpts to a writable bind mount Instead of manually mounting /dev/pts in in the chroot, use a feature in minijail to change to a writable bind mount. Props to vapier@ for finding this flag. BUG=chromium:331754 TEST=Make sure network_VPNConnect.l2tpipsec_psk succeeds but /etc/mtab does not change. Change-Id: Ife99cb39f14ced21005f783c09e70401e281f99e Reviewed-on: https://chromium-review.googlesource.com/184555 Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org> Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
/external/autotest/client/cros/network_chroot.py
|
436adf9c1b9404697da462e0048ac6d2cf046554 |
|
31-Jan-2014 |
Paul Stewart <pstew@chromium.org> |
network_chroot: Match the root filesystem's flags for /dev/pts /sbin/chromeos_startup has special flags for mounting devpts, which is checked by the platform_FilePerms autotest. Although bind-mounting /dev/pts does not work, we need to mirror the flags used in the root filesystem's /dev/pts, since in some ways this ends up being the same mount point and will modify the root filesystem's "/dev/pts" flags. BUG=chromium:331754 TEST=Make sure network_VPNConnect.l2tpipsec_psk succeeds but /etc/mtab does not change. Change-Id: Idbb0562eb1af4b6f8b34b08a81a1a58862c4386d Reviewed-on: https://chromium-review.googlesource.com/184492 Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
/external/autotest/client/cros/network_chroot.py
|
5f0a57585e4ea85033b7ffcb68177174ecd1e685 |
|
04-Dec-2013 |
Paul Stewart <pstew@chromium.org> |
Close race in opening pid-file in network_chroot The "get_pid_file()" method in network_chroot had a missing_ok parameter which intended to avoid a test failure if the pid file was missing. Unfortunately this was implemented as a "os.path.exists()" test, followed by an open. This opens up a small window where the pid file may disappear between the test and the open attempt. Instead, drop the test and catch "not found" exceptions when we try to open the file. BUG=chromium:325150 TEST=run this test Change-Id: If8afee3d22c620534d8a36ce9a25ffc571ceeac6 Reviewed-on: https://chromium-review.googlesource.com/178732 Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org>
/external/autotest/client/cros/network_chroot.py
|
89003937480a6ca69bfe30c04d7ec198fc7bcf46 |
|
01-Jul-2013 |
Paul Stewart <pstew@chromium.org> |
Add certificate-based L2TPIPSec test Now that TPM code is available, add a certificate-enabled L2TP-IPSec test. Fix a few issues along the way: - Fix a few typos in the control files - Add some fault tolerance to the shutdown process for both PID files and virtual Ethernet interfaces - Make the root of the chroot world readable so non-root users (like the privilege-dropped IPSec daemons) have access to files. - Bump the sleep timer since charon takes even longer to shutdown during certificate authentication. This test not only validates certificate / TPM authentication, but it verifies that the CACertPEM property to L2TPIPSec connections work. BUG=chromium:249363 TEST=Unit tests. Change-Id: I00efed4406e05b08b016a75b86f1fdf1e613d104 Reviewed-on: https://gerrit.chromium.org/gerrit/60684 Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org>
/external/autotest/client/cros/network_chroot.py
|
0174334399baf09670d361acfb2ac84ab951b3b4 |
|
18-Jun-2013 |
Paul Stewart <pstew@chromium.org> |
Add simple OpenVPN connect autotest The current version of this test uses flat files in the service configuration. A follow-on CL will use TPM-based certificate authentication since this is the code path exercised by the UI. BUG=chromium:251483 TEST=This is a test Change-Id: Ie0518ec4af33b733acaf7f4e5fa9e17c8823ac44 Reviewed-on: https://gerrit.chromium.org/gerrit/59123 Commit-Queue: Paul Stewart <pstew@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
/external/autotest/client/cros/network_chroot.py
|
825b19d16d586a0bd48ae3364e3b4da36c300933 |
|
31-May-2013 |
Paul Stewart <pstew@chromium.org> |
Add L2TP/IPSec client test This is a client-only test which verifies function of the L2TP/IPSec client. Since the server it is testing against is itself, this test is best suited for verifying that the connection manager and VPN manager are correctly passing parameters to the underlying VPN client to have it properly connect. BUG=chromium:243147 TEST=This is a test Change-Id: Ifc1280b085ab91379556f69d20fa48a4da2bd0ab Reviewed-on: https://gerrit.chromium.org/gerrit/57270 Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
/external/autotest/client/cros/network_chroot.py
|