8bb165038d60d59084c1fafee171948244f0f86a |
|
22-Mar-2017 |
Stéphane Graber <stgraber@ubuntu.com> |
tests: Kill containers (don't wait for shutdown)
We waste a lot of time waiting for Ubuntu containers to cleanly stop
right before we destroy them anyway.
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> |
569c5fe10365bb93d8773a7bd390353bcaafd3c5 |
|
03-Jan-2017 |
Christian Brauner <christian.brauner@ubuntu.com> |
tests: skip unpriv tests on broken overlay module
This mainly affects Trusty. The 3.13 kernel has a broken overlay module which
does not handle symlinks correctly. This is a problem for containers that use
an overlay based rootfs since safe_mount() uses /proc/<pid>/fd/<fd-number> in
its calls to mount().
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> |
3a5495cf2f6c1806f5a91d699448b15b510f146e |
|
17-Nov-2016 |
Po-Hsu Lin <po-hsu.lin@canonical.com> |
Update Ubuntu release name: add zesty and remove wily
Add zesty to KNOWN_RELEASES
Remove EOL wily from KNOWN_RELEASES
Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com> |
01c05c821093dc854def146d4bab62885d8eb664 |
|
26-Oct-2016 |
Po-Hsu Lin <po-hsu.lin@canonical.com> |
tests: fix image download for s390x
Make release selection more flexible.
Update the KNOWN_RELEAES list, add yakkety and remove vivid.
Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com> |
177f793ae07431b2db86b5fa1b63cd59f9a66319 |
|
08-Mar-2016 |
Serge Hallyn <serge.hallyn@ubuntu.com> |
tests: set clone_children if need be
Lxc only sets it on /lxc, not on /.
It's conceivable that we should really re-set this to the original
value, to prevent making later tests not fail when they should. I
didn't do that.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
a17d94a593b0ca096690d70a25cf3d434fbbc813 |
|
03-Mar-2016 |
Serge Hallyn <serge.hallyn@ubuntu.com> |
lxc-test-unpriv: try to start the container a second time
We have nothing else testing this, and it was a real regression in lp
bug 1552355.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
d0a6bd39400a6d14cfec94ad647f3af1bda1e321 |
|
24-Feb-2016 |
Christian Brauner <christian.brauner@mailbox.org> |
configure.ac: add --enable-deprecated flag
- lxc-clone and lxc-start-ephemeral are marked deprecated. We add a
--enable-deprecated flag to configure.ac allowing us to enable these
deprecated executables
- update tests to use lxc-copy instead of lxc-clone
Signed-off-by: Christian Brauner <christian.brauner@mailbox.org> |
e2ef635e682cef87b234d27e0b41923db857efa3 |
|
09-Oct-2014 |
Serge Hallyn <serge.hallyn@ubuntu.com> |
lxc-test-unpriv: test for different cgroups per subsystem
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
9a64d3cf9fae39337943174fd7d680a62bade2fa |
|
08-Oct-2014 |
Serge Hallyn <serge.hallyn@ubuntu.com> |
lxc-test-unpriv: don't clear out /etc/lxc/lxc-usernet
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
42e5c9878f0d20b3e9682ef441afed2f0228b298 |
|
23-Sep-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
Fix the unprivileged tests cgroup management
To cover all the cases we have around, we need to:
- Attempt to use cgm if present (preferred)
- Attempt to use cgmanager directly over dbus otherwise
- Fallback to cgroupfs
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
57221f67feb3b7ef23bba9a34a21640ce792ee09 |
|
25-Aug-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
tests: Copy the download cache when available [v2]
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
3ad30ff74fcf8c00389c114ecc265be7b6764048 |
|
16-Aug-2014 |
Serge Hallyn <serge.hallyn@ubuntu.com> |
lxc-test-unpriv: test lxc-clone -s
This would have caught a regression in Ubuntu's 3.16 kernel.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
79d88b03ed31a729bc0f4a0f8a8be506d25fd470 |
|
17-Jul-2014 |
Serge Hallyn <serge.hallyn@ubuntu.com> |
lxc-test-{unpriv,usernic.in}: make sure to chgrp as well
These tests are failing on new kernels because the container root is
not privileged over the directories, since privilege no requires
the group being mapped into the container.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
c26adb82536952e27b05d237049b938d697e8ed9 |
|
09-Jul-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
tests: Clarify error message and fix return codes
Reported-by: Michael J. Evans
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> |
6ebc0504770a4b3ec32fdde9507a35aed90f5a43 |
|
14-Jun-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
tests: Don't fail when HOME isn't defined
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
ef4deb7f20dea12dd4225bbcc4ab471d0454289d |
|
21-May-2014 |
Serge Hallyn <serge.hallyn@ubuntu.com> |
unpriv tests: also move caller into unbound cgroups
Otherwise the name=systemd cgroup isn't changed to one which
the lxc-unpriv user can write to, causing the test to fail.
This allows lxc-test-unpriv and lxc-test-usernic to pass when run in an
unprivileged container with cgmanager.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
198a3f10d2e9d28a3713abd8e63e02524240dbf6 |
|
01-Apr-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
tests: Also propagate the https proxy
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
0cd97e965832182d8d619236faf696a71a26d6c3 |
|
14-Mar-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
tests: Don't hardcode the cgroup list
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
3f458ed00479be6001b4e137b63b76c27fe7d8fd |
|
13-Mar-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
tests: Support cgmanager
When cgmanager is around, use dbus-send to setup the cgroups, this
allows the tests to work in a container without cgroupfs access.
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
fd2b7320e3562450111b5adaabcb7f6b9c8d9d13 |
|
12-Feb-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
tests: Don't hardcode architecture
If on Ubuntu, then match the host's own architecture, this should allow
for our tests to pass on the armhf CI environment.
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
061ba5d071e4c2b4bfe76c84875bc29cc5334c27 |
|
12-Feb-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
Add --with-runtime-path to configure
This allows older distros to override /run with whatever their own path
is, mostly useful for old RedHat and possibly Android.
Reported-by: Robert Vogelgesang <vogel@users.sourceforge.net>
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
e6ccd90bb2b693cf3a77f2d50648b98d3400f5c3 |
|
06-Feb-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
tests: Pass http_proxy through sudo environment
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> |
7059802cf0653d94236a78793a407cf02ff378a9 |
|
24-Jan-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
tests: Fix cleanup in lxc-test-unpriv
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
73d3e0903c728d5fdc4591c5d7cd157004461230 |
|
24-Jan-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
tests: Update lxc-test-unpriv
Update lxc-test-unpriv to be a bit simpler and more reliable.
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
d08363afbb40a7a8f579fe1ce60e40ffeaee5959 |
|
13-Jan-2014 |
Serge Hallyn <serge.hallyn@ubuntu.com> |
introduce lxc-unpriv test
It simply creates a test user and tries to create and start
a container as that user. Tries to lxc-attach to that
container to test network connectivity.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |