Zdenek Kabelac
c7851b9c34
tests: longer delay between table reloads
...
It looks like there is some kernel bug/limitation
that may cause invalid table load processing:
dmsetup load LVMTEST-LV1
device-mapper: reload ioctl on LVMTEST-LV1 failed: Invalid argument
md/raid:mdX: reshape_position too early for auto-recovery - aborting.
md: pers->run() failed ...
device-mapper: table: 253:38: raid: Failed to run raid array (-EINVAL)
device-mapper: ioctl: error adding target to table
However ATM there is not much we can do then make delays bigger.
TODO: fixing md core...
2023-10-20 00:21:13 +02:00
Zdenek Kabelac
9a33388c1a
tests: race on md raid still being hit on 5.12-rc6
...
Still hits the race in initialization:
kernel BUG at drivers/md/raid5.c:7549!
invalid opcode: 0000 [#1 ] SMP PTI
CPU: 0 PID: 525149 Comm: dmsetup Tainted: G OEi
--------- --- 5.12.0-0.rc6.184.fc35.x86_64 #1
Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2007
RIP: 0010:raid5_run+0x40b/0x4b0 [raid456]
Code: 00 8b 83 3c 01 00 00 39 83 bc 00 00 00 0f 85 ac 00 00 00
48 c7 44 24 08 00 00 00 00 8b bb 30 01 00 00 85 ff 0f 84
88 fd ff ff <0f> 0b 48 8b 43 48 48 c7 c6 40 93 92 c0 48
c7 c7 70 2c 93 c0 48 85
Call Trace:
md_run+0x4d6/0xbc0
? super_validate+0x2e1/0x4b0 [dm_raid]
raid_ctr+0x133e/0x281b [dm_raid]
dm_table_add_target+0x167/0x330
table_load+0x103/0x350
ctl_ioctl+0x1b4/0x430
? dev_suspend+0x2c0/0x2c0
dm_ctl_ioctl+0xa/0x10
__x64_sys_ioctl+0x82/0xb0
do_syscall_64+0x33/0x40
entry_SYSCALL_64_after_hwframe+0x44/0xae
2021-04-12 12:04:50 +02:00
Zdenek Kabelac
396d93937d
tests: enable for 5.12+ kernels
...
Should not longer kill kernel.
2021-04-12 10:47:06 +02:00
Zdenek Kabelac
14a3c34983
tests: increase required version
...
Seems like version 1.13.2 remains crashing kernel - so increase
the required version for this reshaping test.
2021-03-23 14:39:13 +01:00
Zdenek Kabelac
bee8027cfa
tests: skip only portion of test
...
Seems this kernel bug is taking more time to get it fixed,
so skipping only failing portion of test and ending with WARNING.
2021-03-22 22:36:37 +01:00
Zdenek Kabelac
db37905d7f
tests: no further fixes likely to be expected
...
Skip tests for these kernels.
2021-03-17 00:59:50 +01:00
Marian Csontos
d4293b579d
tests: Skip test killing kernel
...
Fix the pattern and for now skip all RHEL-8.4 kernels
Bug 1916891
2021-03-10 16:31:04 +01:00
Marian Csontos
3cba071254
tests: Skip test killing kernel
...
Bug 1916891
2021-02-17 13:28:56 +01:00
Zdenek Kabelac
6e8a32e4fd
tests: avoid killing test machines with kernel bug
...
Bug 1916891 still applies:
https://bugzilla.redhat.com/show_bug.cgi?id=1916891
2021-02-01 15:02:38 +01:00
Zdenek Kabelac
18a60c6340
tests: protect this test for another kernel
...
Thisi 3.10.0-862 kernel also dies with this test.
2020-09-14 00:15:14 +02:00
Zdenek Kabelac
17dbb24f7c
tests: change skip to die for upstream crash
...
So the failing test is not lost from sight.
2020-09-12 13:24:03 +02:00
Zdenek Kabelac
49d2b27a68
tests: adding "" around DM_DEV_DIR
2020-09-10 23:55:03 +02:00
Zdenek Kabelac
9a06700017
tests: skip this test for current 5.8 5.9 kernels
...
Kernel is hitting not yet fixed kernel bug.
Skip the test to avoid killing testing machine.
2020-09-01 23:40:24 +02:00
Zdenek Kabelac
496c368528
tests: reduce amount of written date
...
Since we reduced created LV to 4M - dd also just 4M.
2019-11-15 12:37:44 +01:00
Zdenek Kabelac
50b50039d9
tests: reduce space requirements
...
Test well runs on smaller test machines.
2019-10-31 15:31:30 +01:00
David Teigland
1022b88a66
tests: change mkfs usage in lvconvert raid tests
...
The "echo y | mkfs" was failing at times from echo y.
Remove echo y and replace with wipefs -a prior to mkfs.
2019-05-23 11:45:26 -05:00
Zdenek Kabelac
e940293c33
tests: reduce memory footprint
2018-11-29 23:10:09 +01:00
Heinz Mauelshagen
61600f8fa7
test: comment fixes
...
Fix comments in
test/shell/lvconvert-raid-reshape-stripes-load-fail.sh
test/shell/lvconvert-raid-reshape-stripes-load-reload.sh
test/shell/lvconvert-raid-reshape-stripes-load.sh
2018-08-31 15:09:55 +02:00
David Teigland
885eb2024f
tests: enable non-working tests with lvmlockd
...
Those that are failing for reasons other than lvmlockd
restrictions.
2018-05-31 16:18:53 -05:00
Marian Csontos
eae54b67d8
test: Skip tests which require too much RAM
...
- Tests for RAID reshape under load require too much RAM
2018-03-13 13:42:45 +01:00
Heinz Mauelshagen
584ff361df
test: fix trap adding proper teardown to previous, new raid tests
...
Also remove superfluous variable.
2017-12-13 14:41:23 +01:00
Heinz Mauelshagen
86fa0333ff
test: new raid tests
...
Add three new raid tests with io load and table
reloads during reshape for target 1.13.2.
Add a raid0 to raid10 conversion test.
Also add more signals to trap in lvconvert-raid-reshape-load.sh.
2017-12-13 13:30:53 +01:00