Martin Pitt
10b923ee62
debian/tests/boot-smoke: Stop running in containers again
...
Too unreliable on Ubuntu s390x right now.
2016-07-01 14:13:20 +02:00
Martin Pitt
44612a1416
Directly run test/networkd-test.py in autopkgtest
...
Sync test/networkd-test.py with current upstream master, and remove our debian/tests/networkd copy.
2016-06-30 16:06:50 +02:00
Martin Pitt
40dfecc86b
debian/tests/boot-smoke: Run in containers as well
2016-06-29 15:22:52 +02:00
Martin Pitt
5600722fc0
debian/tests/control: Update copied qemu-systemd-x86 test dependency
2016-06-29 15:22:52 +02:00
Martin Pitt
3f51ce753e
debian/tests/upstream: Do not run the QEMU tests on i386
...
Nested QEMU on i386 causes testbed hangs on Ubuntu's cloud infrastructure,
which is the only place where these actually run.
2016-06-23 10:43:21 +02:00
Martin Pitt
8d5de5725d
upstream autopkgtest: Limit QEMU test dependencies to x86
...
The upstream tests currently only support i386 and amd64 in QEMU, and we do not
want to run for foreign architectures, so there is
no point installing qemu-system-x86 on non-x86.
2016-06-21 23:49:56 +02:00
Martin Pitt
106f40ff93
Add "upstream" autopkgtest
...
This runs the test/TEST* upstream integration tests in QEMU and nspawn.
We need to modify test-functions a bit: We don't want to run this against a
built source tree (which we don't even have for a distro test run), but against
the installed packages.
Skip TEST-06-SELINUX for now as this does not work in Ubuntu (even after
install policycoreutils): The test expects a /usr/libexec/selinux/hll/pp file
which does not exist.
2016-06-21 13:06:21 +02:00
Martin Pitt
7c0561f033
boot-and-services autopkgtest: Add missing xserver-xorg and lightdm-greeter test dependencies
...
So that lightdm can start. (See LP #1581106 )
2016-05-25 09:03:14 +02:00
Martin Pitt
75a9f425b7
Remove "bootchart" autopkgtest
...
This upstream version does not ship bootchart any more. It will be packaged separately.
2016-05-22 22:53:54 +02:00
Martin Pitt
6cb6c65f4f
Drop cmdline-upstart-boot autopkgtest
...
It was still needed up to Ubuntu 16.04 LTS, but upstart-sysv is not supported
any more in Debian and Ubuntu now.
Also, should upstart-sysv ever come back, this test should be moved into the
upstart package.
2016-05-12 21:17:59 +02:00
Martin Pitt
4a5b0df050
debian/tests/boot-smoke: Configure dummy X.org driver
...
(like in the boot-and-services test). This should avoid lightdm randomly fail.
LP: #1571673
2016-04-20 09:00:34 +02:00
Martin Pitt
148044d692
Add "udev" autopkgtest for running the upstream test/udev-test.pl
2016-04-06 10:19:50 +02:00
Martin Pitt
ea3fde415d
debian/tests/control: Fix wrong empty line
...
Typo from commit 98771fa4dc .
2016-02-27 12:33:06 +01:00
Martin Pitt
98771fa4dc
debian/tests/bootchart: Don't run for upstream tests
...
bootchart now got removed from master, so move its autopkgtest below the
"NOUPSTREAM" section in debian/tests/control to speed up upstream tests.
Also drop the $TEST_UPSTREAM check from the autopkgtest as that's redundant
now.
2016-02-25 17:57:38 +01:00
Martin Pitt
4f1bf9f6b4
Speed up autopkgtests
...
debian/tests/control: Rearrange tests and avoid removing test dependencies to
minimize testbed resets. This considerably speeds up running the autopkgtests.
Wrap test dependencies.
2016-02-10 12:37:23 +01:00
Martin Pitt
d3729a6d7b
debian/tests/control: Reorder tests
...
Add a comment which ones should not be run for an upstream build: In
particular, systemd-fsckd relies on a downstream patch, and
cmdline-upstart-boot is not relevant for testing upstream.
2016-02-10 09:55:06 +01:00
Martin Pitt
52e789f06e
Drop debian/tests/ifupdown-hotplug
...
The units moved into ifupdown, so the test should go there too.
See <https://bugs.debian.org/814312 >.
2016-02-10 09:19:33 +01:00
Martin Pitt
9b6e890efc
Add "storage" autopkgtest
...
Initially this covers some basic use cases with LUKS cryptsetup devices.
2015-11-30 07:48:49 +01:00
Martin Pitt
9fce4e831d
debian/tests/control: Restrict boot-smoke test to isolation-machine
...
It does not currently work well in LXC.
2015-11-17 07:19:29 +01:00
Martin Pitt
349caad6b4
debian/tests/boot-and-services: Add test case for systemd-coredump
2015-11-13 10:01:30 +01:00
Martin Pitt
a33bb77882
boot-and-services autopkgtest: Add systemd-container test dependency
...
Required for the nspawn tests.
2015-08-25 09:37:05 +02:00
Martin Pitt
33d0fb4c42
Drop "display-managers" autopkgtest
...
This is obsolete with dropped default-display-manager-generator.
2015-08-25 09:36:19 +02:00
Martin Pitt
961dd059d2
Add "networkd" autopkgtest
...
This covers basic DHCP on IPv4 and IPv4+6 on a veth device for now.
2015-07-13 13:28:26 +02:00
Michael Biebl
3eabc6e726
Stop building the Python 3 bindings
...
They were split into a separate source package upstream and are now
built from src:python-systemd. See
http://lists.freedesktop.org/archives/systemd-devel/2015-July/033443.html
We keep a Build-Depends on python3 which is required to build the
documentation.
2015-07-08 17:21:51 +02:00
Martin Pitt
a0b8043597
systemd-fsckd autopkgtest: Stop using/asserting on lightdm
...
Just check that default.target is active. lightdm is prone to fail in test
environments, and fiddling with it in two other autopkgtests is sufficient.
2015-07-01 12:05:57 +02:00
Martin Pitt
aa27188d1f
boot-and-services, display-managers autopkgtests: Install and configure dummy X.org driver
...
So that these work in headless machines/VMs.
2015-07-01 10:22:36 +02:00
Martin Pitt
3df4853d9d
Add ifupdown-hotplug autopkgtest
...
This reproduces #787263 .
2015-06-01 07:54:50 +02:00
Martin Pitt
f8c4a52736
systemd-fsckd autopkgtest: Add missing plymouth test dependency
2015-05-12 10:04:57 +02:00
Martin Pitt
b2e4025da3
logind autopkgtest: Add test for suspending on lid switch close
...
This reproduces LP #1444166 (lid switch not working in the first few minutes
after boot).
2015-04-18 16:57:51 +01:00
Didier Roche
1a678b29e7
display-managers autopkgtest: Avoid lightdm failure
...
Use ExecStart=sleep instead of the actual lightdm binary, to avoid errors from
lightdm startup.
Drop the now unnecessary "needs-recommends" to speed up the test.
2015-04-10 11:07:23 +02:00
Martin Pitt
5e2192a05a
boot-and-services autopkgtest: Add missing python3 test dependency
2015-03-28 12:09:51 +01:00
Didier Roche
23241ac43a
Add autopkgtests for systemd-fsckd
...
They are mostly testing the robustness of the various daemons:
- starting with or without plymouth
- surviving kill of fsck, systemd-fsckd, systemd-fsck, plymouth
It will be possible to extend it later on with Control+C tests on plymouth
and eventually checking the protocol output.
LP: #1427312
2015-03-03 15:13:49 +01:00
Martin Pitt
38a66b5f41
boot-and-services and display-manager autopkgtest: Add systemd-sysv as proper test dependency
...
This avoids having to explicitly apt-get installing it. This works now also
under Ubuntu 15.04.
2015-02-25 08:19:10 +01:00
Martin Pitt
a174d7a7f6
Downgrade requirement for some autopkgtests from machine to container isolation
...
timedated, hostnamed, localed-locale, and logind autopkgtests are still flaky
in a container, but that's at least partially to bugs in autopkgtest itself.
There is no reason why they should not work in a container.
2015-02-24 16:08:32 +01:00
Martin Pitt
f65f513a40
Add "bootchart" autopkgtest
...
This spots regressions like in LP #1423867
2015-02-24 15:16:36 +01:00
Martin Pitt
b188f774d0
Add missing python3 test dependency to cmdline-upstart-boot and display-managers autopkgtests
2015-02-23 07:46:30 +01:00
Martin Pitt
60089bfd1e
debian/tests/localed-locale: Set up locale and keyboard default files on a minimal unconfigured testbed
2015-02-23 07:33:22 +01:00
Martin Pitt
75f8479087
Add "boot-smoke" autopkgtest: Test 20 successful reboots in a row
...
Also check that there are no connection timeouts or stalled jobs.
This reproduces the regression in LP: #1423811
2015-02-22 18:33:58 +01:00
Martin Pitt
d227128f77
Add unit-config autopkgtest
...
This checks systemd unit/sysv init enabling and disabling via systemctl. This
also reproduces #777613 .
2015-02-11 10:00:59 +01:00
Martin Pitt
f5f8f321cd
Add autopkgtest for one-time boot with upstart when systemd-sysv is installed
...
This test only works under Ubuntu which has a split out upstart-bin package,
and will be skipped under Debian.
2015-01-13 11:16:52 +01:00
Martin Pitt
9f72005978
build-login autopkgtest: Build against libsystemd, not libsystemd-login any more
2014-12-17 09:51:33 +01:00
Martin Pitt
0d5a26bdc2
build-logind autopkgtest: Re-enforce that sd_login_monitor_new() succeeds
...
Restrict this test to isolation-container, as this will likely fail in schroots.
Reproduces LP #1400203
2014-12-17 09:23:25 +01:00
Didier Roche
e3fe7c22e9
Add display managers autopkg tests
2014-12-10 09:21:40 +02:00
Martin Pitt
99fa4f227e
boot-and-services autopkgtest: Test AppArmor confined units
...
Test case for LP #1396270
2014-11-28 10:52:32 +01:00
Martin Pitt
91b71fcbba
Add nspawn test to boot-and-services autopkgtest
2014-11-20 09:37:59 +01:00
Martin Pitt
af3428ce4d
Add boot-and-services autopkgtest
...
Check booting with systemd-sysv and that the most crucial services behave as
expected.
2014-11-19 13:28:06 +01:00
Martin Pitt
eb5ba93831
Add simple autopkgtest for python3-systemd
2014-08-04 08:44:49 +02:00
Martin Pitt
3f3b71a903
Clean up libsystemd-login-dev autopkgtest
...
Rename "api" autopkgtest to "build-login", and stop requiring that
sd_login_monitor_new() succeeds. It doesn't in many environments like schroot
or after upgrades from < 204, and the main point of the test is to check that
libsystemd-login-dev has correct contents and dependencies. Drop
"isolation-machine" requirement.
2014-07-21 15:29:56 +02:00
Martin Pitt
3e589263a1
Add autopkgtests
...
This covers smoke-testing logind, hostnamed, timedated, localed, and a
compile/link/run test against libsystemd-login-dev.
2014-04-26 20:53:53 +02:00