Petr Rockai
17575403d4
test: Disable lvmetad debug log on another bunch of tests.
2015-02-05 13:51:06 +01:00
Petr Rockai
1f727f3f3d
test: Call $VALGRIND directly in lvm-wrapper.
2015-02-05 13:51:06 +01:00
Petr Rockai
3af008d405
NIX: Add valgrind-devel to the build environment.
2015-02-05 13:51:04 +01:00
Petr Rockai
2a8dc7fb53
memlock: Do not check memory balance if RUNNING_ON_VALGRIND.
2015-02-05 13:50:34 +01:00
Petr Rockai
d571eab3b2
configure: Look for valgrind.h independently of VALGRIND_POOLS.
2015-02-05 13:50:34 +01:00
Petr Rockai
5d833fd458
test: Add support for running LVM commands in tests through strace.
2015-02-05 13:50:34 +01:00
Petr Rockai
a6d006d9db
test: Make lvm-wrapper available in the installed testsuite, too.
2015-02-05 13:50:33 +01:00
Petr Rockai
41c2e07a8d
NIX: Install valgrind, gdb and strace in the test environment.
2015-02-05 13:50:23 +01:00
Petr Rockai
e4d5e22c91
NIX: Make timeout and test envvars configurable via --arg.
2015-02-05 13:47:21 +01:00
Petr Rockai
c2b7642d4d
test: Fix prepare_scsi_debug_dev.
2015-02-05 13:47:21 +01:00
Petr Rockai
580370bea3
test: Avoid passing -c to flock.
2015-02-05 13:47:21 +01:00
Petr Rockai
7a0aa25c28
test: Re-try with loopback if a backing device is too small.
2015-02-05 13:47:21 +01:00
Petr Rockai
f3cc6576ee
NIX: Detect that the VM booted up more directly.
2015-02-05 13:47:21 +01:00
Petr Rockai
734a183c56
NIX: Avoid a spurious failure when all tests pass.
2015-02-05 13:47:21 +01:00
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