Age | Commit message (Collapse) | Author |
|
++ for catching more errors
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Our exit handler was returning failure, and causing the whole script to
return failure, when we didn't have a temp dir.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Debian is doing the sane thing now
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
These are needed by tests/prelude.sh run_tests
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
- hook functionality doesn't work anymore since we're not directly
sourcing tests, replace it with something simpler
- fix ktest_storage_bus
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com
|
|
Previously, a default timeout would apply to _all_ subtests.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
This is the start of making .ktest tests programs that are executed
directly, instead of having them sourced and invoked by ktest.
- Kill require-lib
- list_tests, run_test, run_tests are now normal library functions,
instead of using code injection
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Mount occasionally returns and error while actually succeeding if we
don't specify the filesystem type.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
If we have no child processes an error is expected
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
This will be more reliable than relying on tests running inside the VM.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Instead, if it's not specified there's a default 10 minute timeout - now
that we can specify per-test timeouts the global timeout isn't as
important.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
New tool for getting a test job and creating a lockfile.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
This will overide -a, if also specified on the command line. This also
updates bcachefs/32bit.ktest, which can now boot with the correct root
image.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
If we fail to run tests for any reason, we want to mark them as not run:
this patch creates per-test logfiles immediately after parsing the test
and marks them as not run, ensuring they're marked correctly no matter
what kind of error we get.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Running depmod is one of the slower parts of launching a VM - moving it
to build-test-kernel will help with that.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
- kernel config updates
- build with make -k, for better error messages
- use nproc command for nr of cpus
- add require-qemu-append
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
This will help stuck tests timeout quicker
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
SA_RESTART + SIGALRM is janky
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
This reworks watchdogs in the qemu-wrapper, so that now we correctly
print TEST FAILED in each logfile when a test times out.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Log files are now based on the name of the test being run, and
individual tests in a .ktest file now have their own log files
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
We changed the paths to the sockets for connecting to qemu, not all uses
got updated.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
It was just a duplicate of $ktest_out
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
This is for nixos, and works everywhere.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Now, everything that ktest produces goes under ktest-out, and we have
only one input path and one output path to (potentially) specify on the
commandline - the kernel source tree, and the ktest-out directory.
The kernel build directory and kernel binary directory now go under
ktest-out.
Also deleted a bunch of old unused options.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|