summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-08test-job-done.sh: Fix log linksKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-08fixup! get-test-job: Query for subtests, and write per-subtest lockfilesKent Overstreet
2022-07-08fixup! get-test-job: Query for subtests, and write per-subtest lockfilesKent Overstreet
2022-07-08fixup! get-test-job: Query for subtests, and write per-subtest lockfilesKent Overstreet
2022-07-08fixup! Rework ktest -> test interfaceKent Overstreet
2022-07-08fixup! get-test-job: Query for subtests, and write per-subtest lockfilesKent Overstreet
2022-07-07fixup! Rework ktest -> test interfaceKent Overstreet
2022-07-07get-test-job: Query for subtests, and write per-subtest lockfilesKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com
2022-07-07get-test-job.sh: tweak loopingKent Overstreet
We now get the latest version of the script on every loop iteration Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07qemu-wrapper: Default timeout now applies per-subtestKent Overstreet
Previously, a default timeout would apply to _all_ subtests. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07Rework ktest -> test interfaceKent Overstreet
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>
2022-07-07Restart VM if necessary until tests are completeKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07qemu-wrapper is now responsible for writing test statusKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07tests/bcachefs: Another test timeout fixKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07Always pass -t option to mountKent Overstreet
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>
2022-07-07Ignore errors from pkillKent Overstreet
If we have no child processes an error is expected Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07qemu-wrapper now records test durationKent Overstreet
This will be more reliable than relying on tests running inside the VM. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07qemu-wrapper: Print out test name correctly on test timeoutKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07Include test duration in per-commit reportKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07tests/bcachefs/: bump up test timeoutsKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07Print error when tests die because command erroredKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07Add filtering to test status reportKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07ci: Fix commit message in per-commit reportKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07ci: MonkeypatchingKent Overstreet
This merges in patches from the ci-monkeypatch branch before running tests - right now we're using this for 9p fixes and a patch for debugging failures to mount the root fs. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-04fixup! Add fstests wrappers for more filesystemsKent Overstreet
2022-07-04fixup! New CI systemKent Overstreet
2022-07-04Add fstests wrappers for more filesystemsKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-04fixup! New CI systemKent Overstreet
2022-07-04config-timeout no longer requiredKent Overstreet
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>
2022-07-04ci/test-job-done.sh: New git log code in bashKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-04ci/test-job-done.sh: Check for commits with no test resultsKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-04New CI systemKent Overstreet
Todo: documentation Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-04Create subdirectories for individual test artifactsKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-01get-test-jobKent Overstreet
New tool for getting a test job and creating a lockfile. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-01bcachefs/single_device.ktest: Bump up timeout on copygc_tortureKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-01qemu-wrapper: Print timeout on test timeoutKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-01Tests can now specify architecture with config-archKent Overstreet
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>
2022-07-01tests/bcachefs/nas_apps.ktest: fix kernel configKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-01Ensure tests are marked as not runKent Overstreet
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>
2022-06-30Really fix nfs.ktest this timeKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-30qemu-wrapper: include newline in timeout messageKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-30fix bcachefs/nfs.ktestKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-30qemu-wrapper: Handle tests with / in their nameKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-29Run depmod in build-test-kernelKent Overstreet
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>
2022-06-29Fix permissions on xfs.ktestKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-27qemu-wrapper: Print test name when failing due to timeoutKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-27More test fixupsKent Overstreet
- longer timeout for tiering_buffered, drop_alloc - migrate_fom_fs now works for xfs and ext4 (not btrfs) Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-26Minor improvementsKent Overstreet
- 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>
2022-06-26perf.ktest: Add missing umountKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-26More tests have watchdogs nowKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>