device-mapper-test-suite
device-mapper-test-suite copied to clipboard
Test suite for device mapper targets
test_fio_origin_randwrite_iod_N(FIOTests): ArgumentError: incomplete format specifier; use %% (double %) instead /root/device-mapper-test-suite/lib/dmtest/blktrace.rb:215:in `sprintf' /root/device-mapper-test-suite/lib/dmtest/blktrace.rb:215:in `block in show_distribution' /root/device-mapper-test-suite/lib/dmtest/blktrace.rb:212:in `map' /root/device-mapper-test-suite/lib/dmtest/blktrace.rb:212:in `show_distribution' /root/device-mapper-test-suite/lib/dmtest/blktrace.rb:240:in `blktrace_cpu_io_distribution' /root/device-mapper-test-suite/lib/dmtest/tests/snapshot/fio_tests.rb:129:in `fio_origin_trace' /root/device-mapper-test-suite/lib/dmtest/tests/snapshot/fio_tests.rb:108:in `call' /root/device-mapper-test-suite/lib/dmtest/tests/snapshot/fio_tests.rb:108:in `block in do_benchmark'...
A lot of tests fail due to `Errno::ENOENT: No such file or directory @ rb_sysopen - /sys/block//queue/discard_granularity` when dev is a partition instead of a disk, so we should first...
SMQComparisonTests -> fio_sub_volume Error:test_fio_sub_volume(SMQComparisonTests): NoMethodError: undefined method `wait_for_all_clean' for # /usr/local/rvm/gems/ruby-2.5.3/gems/rspec-expectations-2.14.5/lib/rspec/matchers/method_missing.rb:9:in `method_missing' /root/device-mapper-test-suite/lib/dmtest/tests/cache/smq_tests.rb:120:in `block (3 levels) in ' /root/device-mapper-test-suite/lib/dmtest/tests/cache/fio_subvolume_scenario.rb:40:in `block (2 levels) in fio_sub_volume_scenario' /root/device-mapper-test-suite/lib/dmtest/ensure_elapsed.rb:13:in `ensure_elapsed_time' /root/device-mapper-test-suite/lib/dmtest/device-mapper/lexical_operators.rb:15:in `block in with_dev'...
FIOTests -> fio_on_fast FIOTests -> fio_on_slow Error:test_fio_on_fast(FIOTests): ArgumentError: wrong number of arguments (given 2, expected 3) /root/device-mapper-test-suite/lib/dmtest/tests/cache/fio_tests.rb:85:in `run_fio'
Error:test_parallel_io_to_shared_thins(SnapshotTests): ProcessControl::ExitError: command failed: blockdev --getsz [#, @active_table=#, @active_table=#]>>, 0]>]>>, #, @active_table=#, @active_table=#]>>, 1]>]>>, #, @active_table=#, @active_table=#]>>, 2]>]>>, #, @active_table=#, @active_table=#]>>, 3]>]>>, #, @active_table=#, @active_table=#]>>, 4]>]>>, #, @active_table=#, @active_table=#]>>, 5]>]>>]...
Error:test_validate_cache(WriteCacheBenchmarks): NoMethodError: undefined method `wait_until_clean' for # /root/device-mapper-test-suite/lib/dmtest/tests/writecache/benchmarks.rb:55:in `block (3 levels) in ' /root/device-mapper-test-suite/lib/dmtest/ensure_elapsed.rb:13:in `ensure_elapsed_time' /root/device-mapper-test-suite/lib/dmtest/writecache-stack.rb:71:in `block in activate_top_level' /root/device-mapper-test-suite/lib/dmtest/ensure_elapsed.rb:13:in `ensure_elapsed_time' /root/device-mapper-test-suite/lib/dmtest/device-mapper/lexical_operators.rb:15:in `block in with_dev' /root/device-mapper-test-suite/lib/dmtest/prelude.rb:6:in `bracket' /root/device-mapper-test-suite/lib/dmtest/device-mapper/lexical_operators.rb:13:in `with_dev' /root/device-mapper-test-suite/lib/dmtest/writecache-stack.rb:69:in...
Hello, I'm running master branch. When I run task BurstyWriteTests in cache suite, it fails. Take a look at one of the log smallfile_cache_mq_1.log: ``` D, [2020-05-29T09:54:31.981131 #26449] DEBUG --...
dmtest should create ~/.dmtest/log and ~/.dmtest/reports directories automatically, it can be pretty confusing for new users. ``` $ dmtest run --suite thin-provisioning -t BasicTests Loaded suite thin-provisioning BasicTests dd_benchmark...PASS ext4_weirdness...PASS...
Document says "A metadata dev of 1G, and data dev of 4G is sufficient.", but it doesn't work with a 1G meta dev (/dev/loop0) and a 4G data dev (/dev/loop1):...
``` $ git show --summary commit b0b8aeb66aaa44f09b76035077e14969769519e0 (HEAD -> master, origin/master, origin/HEAD) Author: Joe Thornber Date: Mon Oct 7 14:14:21 2019 +0100 [cache/tools_tests] cache_writeback doesn't work if you update the...