xref: /aosp_15_r20/external/ltp/testcases/kdump/doc/TEST_PLAN.txt (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard WorkerFollowing is the Tentative plan for improving LTP-KDUMP Test-cases:
2*49cdfc7eSAndroid Build Coastguard Worker
3*49cdfc7eSAndroid Build Coastguard Worker===========================================================================================================
4*49cdfc7eSAndroid Build Coastguard Worker||S.NO||                 ACTIVITY                                               ||  TENTATIVE-TIME       ||
5*49cdfc7eSAndroid Build Coastguard Worker===========================================================================================================
6*49cdfc7eSAndroid Build Coastguard Worker|| 1  ||      Enhance result analysis code of Link Delay                        ||   JAN 2008            ||
7*49cdfc7eSAndroid Build Coastguard Worker||    ||        and dump filtering                                              ||                       ||
8*49cdfc7eSAndroid Build Coastguard Worker|| 2  ||      Develop failure recovery code for failures which                  ||   JAN 2008            ||
9*49cdfc7eSAndroid Build Coastguard Worker||    ||	could be identified and fixed                                   ||                       ||
10*49cdfc7eSAndroid Build Coastguard Worker|| 3  ||      Enhance ltp kdump to support kdump testing                        ||   DEC 2007            ||
11*49cdfc7eSAndroid Build Coastguard Worker||    ||        on open suse and fedora                                         ||                       ||
12*49cdfc7eSAndroid Build Coastguard Worker===========================================================================================================
13*49cdfc7eSAndroid Build Coastguard Worker
14*49cdfc7eSAndroid Build Coastguard WorkerProposed upcoming work from Cai Qian <[email protected]>:
15*49cdfc7eSAndroid Build Coastguard Worker
16*49cdfc7eSAndroid Build Coastguard WorkerHere is my first draft plan of Kexec/Kdump tests enhancement sorted by
17*49cdfc7eSAndroid Build Coastguard Workerpriorities. I would like to add them as many as possible.
18*49cdfc7eSAndroid Build Coastguard Worker
19*49cdfc7eSAndroid Build Coastguard Worker== filtered vmcore utilities ==
20*49cdfc7eSAndroid Build Coastguard Worker- in different compressed levels, verify the vmcore with the correct
21*49cdfc7eSAndroid Build Coastguard Worker  layout.
22*49cdfc7eSAndroid Build Coastguard Worker- verify it in flat file or ELF formats from a network host.
23*49cdfc7eSAndroid Build Coastguard Worker
24*49cdfc7eSAndroid Build Coastguard Worker== analyse vmcore utilities ==
25*49cdfc7eSAndroid Build Coastguard Worker- GDB
26*49cdfc7eSAndroid Build Coastguard Worker- crash with better error detecting.
27*49cdfc7eSAndroid Build Coastguard Worker- crash to analyse Hypervisor and Dom0 Kernel.
28*49cdfc7eSAndroid Build Coastguard Worker
29*49cdfc7eSAndroid Build Coastguard Worker== test scripts ==
30*49cdfc7eSAndroid Build Coastguard Worker- timestamp information for crash was triggered, vmcore was generated,
31*49cdfc7eSAndroid Build Coastguard Worker  and vmcore was verified.
32*49cdfc7eSAndroid Build Coastguard Worker- aim to 100% automation, and reduce manual setup.
33*49cdfc7eSAndroid Build Coastguard Worker- tidy up scripts.
34*49cdfc7eSAndroid Build Coastguard Worker
35*49cdfc7eSAndroid Build Coastguard Worker== crash scenarios ==
36*49cdfc7eSAndroid Build Coastguard Worker- SDINT switch for ia64 if possible.
37*49cdfc7eSAndroid Build Coastguard Worker- Hypervisor crash for Virtualization.
38*49cdfc7eSAndroid Build Coastguard Worker- crashes on full- and para-virt guests.
39*49cdfc7eSAndroid Build Coastguard Worker
40*49cdfc7eSAndroid Build Coastguard Worker== fix bugs in existing tests ==
41*49cdfc7eSAndroid Build Coastguard Worker- printk LKDTM module can hang the second Kernel.
42*49cdfc7eSAndroid Build Coastguard Worker
43*49cdfc7eSAndroid Build Coastguard Worker== kdump configurations and init script ==
44*49cdfc7eSAndroid Build Coastguard Worker- capture vmcore after init runs.
45*49cdfc7eSAndroid Build Coastguard Worker- rpm pre- and post-scripts
46*49cdfc7eSAndroid Build Coastguard Worker- kdump_pre and kdump_post directives
47*49cdfc7eSAndroid Build Coastguard Worker
48*49cdfc7eSAndroid Build Coastguard Worker== increase coverages for new kexec/kdump development efforts ==
49*49cdfc7eSAndroid Build Coastguard Worker- new reserved region syntax in Kernel.
50