1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 11:55:55 +03:00
Commit Graph

10300 Commits

Author SHA1 Message Date
Petr Rockai
bd0806e1f5 test: Fix failures due to undefined abs_top_builddir. 2015-02-05 13:47:21 +01:00
Petr Rockai
c6f9c46223 test: Avoid running 'dmsetup remove' with no devices. 2015-02-05 13:47:21 +01:00
Petr Rockai
ad0267b2ad test: Fix 100%FREE RAID tests since test device sizes changed slightly. 2015-02-05 13:47:20 +01:00
Petr Rockai
c82c69bb56 test: Update brick-shelltest (configurable timeout, better banner, exit code). 2015-02-05 13:47:20 +01:00
Petr Rockai
b6884f8a87 NIX: Mark builds with failed tests as such. 2015-02-05 13:47:20 +01:00
Petr Rockai
8b80e949ea test: Do not rely on dev/mapper/* nodes in pvmove-restart.sh. 2015-02-05 13:47:20 +01:00
Petr Rockai
d04c7ca0b6 test: Fix implementation of check targets with new flavour system. 2015-02-05 13:47:20 +01:00
Petr Rockai
68f7b422c1 NIX: Update path to /xchg (was /tmp/xchg with older nixpkgs). 2015-02-05 13:47:20 +01:00
Petr Rockai
f1d273a0b0 NIX: Do not fail aggregation when a sub-job fails to produce output. 2015-02-05 13:47:20 +01:00
Petr Rockai
93d8455faa NIX: Run each test flavour as a separate derivation. 2015-02-05 13:47:20 +01:00
Petr Rockai
003bf24723 NIX: Add --kmsg to lvm2-testsuite invocations. 2015-02-05 13:47:20 +01:00
Petr Rockai
7ed8fc8f7d test: Update brick-shelltest.h. 2015-02-05 13:47:20 +01:00
Petr Rockai
f9df76f8b3 NIX: Keep the udev log out of tmpfs. 2015-02-05 13:47:20 +01:00
Petr Rockai
e2dbf44116 NIX: Some kernels need ide/ata modules (i.e. no builtin ata). 2015-02-05 13:47:20 +01:00
Petr Rockai
eaa9f35540 NIX: Use IDE drive emulation instead of virtio. 2015-02-05 13:47:20 +01:00
Petr Rockai
c2aa918c53 libdaemon: Use select to yield CPU on a blocked read or write. 2015-02-05 13:47:20 +01:00
Petr Rockai
19bb62e2ec test: Update brick-shelltest, adding timestamps to logs. 2015-02-05 13:47:20 +01:00
Petr Rockai
f9dfc5f8a4 NIX: Use the new --heartbeat option on lvm2-testsuite. 2015-02-05 13:47:19 +01:00
Petr Rockai
8646b50aa9 test: Package up the test runner in a reusable C++ "brick". 2015-02-05 13:47:19 +01:00
Petr Rockai
f28407943f NIX: Pass --fatal-timeouts to the testsuite. 2015-02-05 13:47:19 +01:00
Petr Rockai
eec99ffa8c test: Implement --fatal-timeouts to allow a timely VM restart. 2015-02-05 13:47:19 +01:00
Petr Rockai
34e818042e test: Make the runner's heartbeat more reliable. 2015-02-05 13:47:19 +01:00
Petr Rockai
f0d314bd6d test: Disable lvmetad logging in lvconvert-{mirror,raid}*. 2015-02-05 13:47:19 +01:00
Petr Rockai
fa2e84caa8 NIX: Re-work VM monitoring. 2015-02-05 13:47:19 +01:00
Petr Rockai
f96c310eea NIX: Add Fedora 20 jobs. 2015-02-05 13:47:19 +01:00
Petr Rockai
0abad40f41 NIX: Existence of results list no longer indicates that the suite has finished. 2015-02-05 13:47:19 +01:00
Petr Rockai
e3ac180ab3 NIX: Drop -h from rpm invocations as it messes up logs. 2015-02-05 13:47:19 +01:00
Petr Rockai
6380869f27 NIX: Use nixpkgs kernel for building, distro kernel for testing. 2015-02-05 13:47:19 +01:00
Petr Rockai
2b6f9152cc NIX: Adapt to the append-based test journal. 2015-02-05 13:47:19 +01:00
Petr Rockai
285db7a240 NIX: Implement a smarter VM monitoring loop. 2015-02-05 13:47:19 +01:00
Petr Rockai
dcf5182a96 NIX: Use --batch mode for running the testsuite. 2015-02-05 13:47:19 +01:00
Petr Rockai
4b5ae31404 NIX: Refactor around the new test runner.
- The RPM build and the tests are now executed in separate VMs.
- Run the testsuite by using the new lvm2-testsuite RPM.
- The VM running the tests is restarted from the outside if it hangs, and the
  runner keeps a journal to avoid running a bad test ad infinitum.
- TODO: lcov reports and more intelligent VM rebooting (track the journal)
2015-02-05 13:47:19 +01:00
Petr Rockai
d5537e7d6b spec: Add an (optional) lvm2-testsuite subpackage. 2015-02-05 13:47:18 +01:00
Petr Rockai
d488f03229 test: Implement --only option to runner. 2015-02-05 13:47:18 +01:00
Petr Rockai
a8eb702093 test: Fix loading of an append-mode journal. 2015-02-05 13:47:18 +01:00
Petr Rockai
d74c147223 test: Add a missing copyright/licence notice to journal.h. 2015-02-05 13:47:18 +01:00
Petr Rockai
10c992e861 test: Fix a precedence bug in the runner. 2015-02-05 13:47:18 +01:00
Petr Rockai
b3caba849d test: Use append for journal maintenance instead of rename. 2015-02-05 13:47:18 +01:00
Petr Rockai
23b5a006d4 test: Implement specialised --batch output style w/ rusage stats. 2015-02-05 13:47:18 +01:00
Petr Rockai
a665b90623 test: Add time/rusage formatting to the runner. 2015-02-05 13:47:18 +01:00
Petr Rockai
3fbea6029d test: Print a heartbeat file (every 20s) in the runner. 2015-02-05 13:47:18 +01:00
Petr Rockai
e8cc9254e0 test: Avoid sleeps in the runner monitoring loop. 2015-02-05 13:47:18 +01:00
Petr Rockai
48275c7836 test: Run in /tmp if LVM_TEST_DIR is unset. 2015-02-05 13:47:18 +01:00
Petr Rockai
246fecee27 test: Rename the --quiet option to --batch. 2015-02-05 13:47:18 +01:00
Petr Rockai
feb2c7bc47 test: Targets and sources can't have the same name if builddir == srcdir. 2015-02-05 13:47:18 +01:00
Petr Rockai
2bc76bcdab test: Run the testcases chdir'd into --testdir. 2015-02-05 13:47:18 +01:00
Petr Rockai
efb3e7ca00 test: Improve IO handling in the runner. 2015-02-05 13:47:18 +01:00
Petr Rockai
8c8fb67fc2 test: Improve tracking of silence (stuck testcases) in the runner. 2015-02-05 13:47:18 +01:00
Petr Rockai
dc1d157878 test: Make the runner's journal more reliable. 2015-02-05 13:47:17 +01:00
Petr Rockai
d27833ba7c test: Implement flavours in the runner. 2015-02-05 13:47:17 +01:00