* [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc @ 2008-06-23 14:12 Subrata Modak 2008-06-24 12:42 ` Vivek Goyal 0 siblings, 1 reply; 9+ messages in thread From: Subrata Modak @ 2008-06-23 14:12 UTC (permalink / raw) To: ltp-list Cc: poornima.nayak, sachinp, Mike Frysinger, iranna.ankad, Cai Qian, kexec, Masatake YAMATO, maknayak, risrajak, hbabu, Patrick Kirsch, vgoyal, Jeff Burke, inddurai, risrajak Hi, Cai has proposed to work on the above LTP-KDUMP test cases enrichment/enhancements. Please let us know about your views on the same. We encourage people to review his proposal and the corresponding upcoming test cases. I am going to put this soon on the LTP-KDUMP plan document. http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kdump/doc/TEST_PLAN.txt, Regards-- Subrata .................................. Here is my first draft plan of Kexec/Kdump tests enhancement sorted by priorities. I would like to add them as many as possible. == filtered vmcore utilities == - in different compressed levels, verify the vmcore with the correct layout. - verify it in flat file or ELF formats from a network host. == analyse vmcore utilities == - GDB - crash with better error detecting. - crash to analyse Hypervisor and Dom0 Kernel. == test scripts == - timestamp information for crash was triggered, vmcore was generated, and vmcore was verified. - aim to 100% automation, and reduce manual setup. - tidy up scripts. == crash scenarios == - SDINT switch for ia64 if possible. - Hypervisor crash for Virtualization. - crashes on full- and para-virt guests. == fix bugs in existing tests == - printk LKDTM module can hang the second Kernel. == kdump configurations and init script == - capture vmcore after init runs. - rpm pre- and post-scripts - kdump_pre and kdump_post directives == increase coverages for new kexec/kdump development efforts == - new reserved region syntax in Kernel. CaiQian _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc 2008-06-23 14:12 [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc Subrata Modak @ 2008-06-24 12:42 ` Vivek Goyal 2008-06-25 3:46 ` Cai Qian 0 siblings, 1 reply; 9+ messages in thread From: Vivek Goyal @ 2008-06-24 12:42 UTC (permalink / raw) To: Subrata Modak Cc: poornima.nayak, ltp-list, Mike Frysinger, iranna.ankad, Cai Qian, kexec, Masatake YAMATO, maknayak, risrajak, hbabu, sachinp, Patrick Kirsch, Jeff Burke, inddurai, risrajak On Mon, Jun 23, 2008 at 07:42:50PM +0530, Subrata Modak wrote: > Hi, > > Cai has proposed to work on the above LTP-KDUMP test cases > enrichment/enhancements. Please let us know about your views on the > same. We encourage people to review his proposal and the corresponding > upcoming test cases. I am going to put this soon on the LTP-KDUMP plan > document. > > http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kdump/doc/TEST_PLAN.txt, > Hi Subrata/Cai, That's a very good idea. We need to increase kdump test coverage and automate the whole thing. > .................................. > > Here is my first draft plan of Kexec/Kdump tests enhancement sorted by > priorities. I would like to add them as many as possible. > > == filtered vmcore utilities == > - in different compressed levels, verify the vmcore with the correct > layout. > - verify it in flat file or ELF formats from a network host. > > == analyse vmcore utilities == > - GDB > - crash with better error detecting. > - crash to analyse Hypervisor and Dom0 Kernel. > > == test scripts == > - timestamp information for crash was triggered, vmcore was generated, > and vmcore was verified. > - aim to 100% automation, and reduce manual setup. > - tidy up scripts. > > == crash scenarios == > - SDINT switch for ia64 if possible. > - Hypervisor crash for Virtualization. > - crashes on full- and para-virt guests. > > == fix bugs in existing tests == > - printk LKDTM module can hang the second Kernel. > > == kdump configurations and init script == > - capture vmcore after init runs. > - rpm pre- and post-scripts > - kdump_pre and kdump_post directives > Can we boost the priority of this item. Making sure all the kdump config options are working as stated. This is the interface a kdump user first sees and if it does not work, then it leaves a very bad impression. > == increase coverages for new kexec/kdump development efforts == > - new reserved region syntax in Kernel. Another important thing we need to focus on is driver testing. Drivers can fail to initialize in second kernel and kdump will fail. Can we do something so that we can do following. - Collect the machine statistics on which kdump was tested and send the reports to a common place. Especially capture the storage/network driver data which can be probably be available through LTP site. - Also capture how much memory was reserved on what architecture and whether it worked or not. This will help us verify for sure that how much memory to reserve for second kernel on various architectures. Thanks Vivek _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc 2008-06-24 12:42 ` Vivek Goyal @ 2008-06-25 3:46 ` Cai Qian 2008-07-23 23:41 ` Subrata Modak 0 siblings, 1 reply; 9+ messages in thread From: Cai Qian @ 2008-06-25 3:46 UTC (permalink / raw) To: ltp-list Cc: poornima.nayak, sachinp, vapier, iranna.ankad, qcai, kexec, yamato, maknayak, risrajak, hbabu, pkirsch, risrajak, jburke, subrata, inddurai, vgoyal Hi, From: Vivek Goyal <vgoyal@redhat.com> Subject: Re: [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc Date: Tue, 24 Jun 2008 08:42:43 -0400 > On Mon, Jun 23, 2008 at 07:42:50PM +0530, Subrata Modak wrote: > > Hi, > > > > Cai has proposed to work on the above LTP-KDUMP test cases > > enrichment/enhancements. Please let us know about your views on the > > same. We encourage people to review his proposal and the corresponding > > upcoming test cases. I am going to put this soon on the LTP-KDUMP plan > > document. > > > > http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kdump/doc/TEST_PLAN.txt, > > > > Hi Subrata/Cai, > > That's a very good idea. We need to increase kdump test coverage and > automate the whole thing. > > > .................................. > > > > Here is my first draft plan of Kexec/Kdump tests enhancement sorted by > > priorities. I would like to add them as many as possible. > > > > == filtered vmcore utilities == > > - in different compressed levels, verify the vmcore with the correct > > layout. > > - verify it in flat file or ELF formats from a network host. > > > > == analyse vmcore utilities == > > - GDB > > - crash with better error detecting. > > - crash to analyse Hypervisor and Dom0 Kernel. > > > > == test scripts == > > - timestamp information for crash was triggered, vmcore was generated, > > and vmcore was verified. > > - aim to 100% automation, and reduce manual setup. > > - tidy up scripts. > > > > == crash scenarios == > > - SDINT switch for ia64 if possible. > > - Hypervisor crash for Virtualization. > > - crashes on full- and para-virt guests. > > > > == fix bugs in existing tests == > > - printk LKDTM module can hang the second Kernel. > > > > == kdump configurations and init script == > > - capture vmcore after init runs. > > - rpm pre- and post-scripts > > - kdump_pre and kdump_post directives > > > > Can we boost the priority of this item. Making sure all the > kdump config options are working as stated. This is the interface > a kdump user first sees and if it does not work, then it leaves a very > bad impression. Yes. Initally, I put this item to a relative low priority, partly because kdump config options and init scripts are tend to be distro-specific, so it won't be easy to write portable tests for different distros. In addition, lots of config options are not easy to be tested automately, like raw disk target, vfat disk target, and network target etc, as testers have to setup those name manually. But, you are right, those are high priority tests for kexec/kdump in distro release, we tested most of those options manually for RHEL anyway and we had some automated tests of it, which I'll try to submit to LTP as many as possible. For those manual tests, I'll also try to find some ways to automate them. For example, for different dump targets, it is possible to verify the generated initrd file as expected. > > > == increase coverages for new kexec/kdump development efforts == > > - new reserved region syntax in Kernel. > > Another important thing we need to focus on is driver testing. Drivers > can fail to initialize in second kernel and kdump will fail. Can we do > something so that we can do following. > That isn't something I have not thought of. For RHEL release testing, we will have a workflow to run those tests on any storage/network drivers, and it will report back testing results and driver matrix. However, this workflow is very distro-specific, and depends on the test farm it is using, so it does not make any sense to put it here. > - Collect the machine statistics on which kdump was tested and send > the reports to a common place. Especially capture the storage/network > driver data which can be probably be available through LTP site. > That sounds like a good idea to me. > - Also capture how much memory was reserved on what architecture and > whether it worked or not. This will help us verify for sure that how > much memory to reserve for second kernel on various architectures. > This is something could be done. I'll have a look at it. Thanks, CaiQian > Thanks > Vivek _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc 2008-06-25 3:46 ` Cai Qian @ 2008-07-23 23:41 ` Subrata Modak 2008-08-11 13:32 ` [LTP] " Subrata Modak 0 siblings, 1 reply; 9+ messages in thread From: Subrata Modak @ 2008-07-23 23:41 UTC (permalink / raw) To: Cai Qian Cc: poornima.nayak, ltp-list, vapier, iranna.ankad, kexec, yamato, maknayak, risrajak, hbabu, sachinp, pkirsch, risrajak, jburke, inddurai, vgoyal Hi Cai, Some patches in Bits and Pieces regarding this nearby ? Regards-- Subrata > > Yes. Initally, I put this item to a relative low priority, partly > because kdump config options and init scripts are tend to be > distro-specific, so it won't be easy to write portable tests for > different distros. In addition, lots of config options are not easy to > be tested automately, like raw disk target, vfat disk target, and > network target etc, as testers have to setup those name manually. But, > you are right, those are high priority tests for kexec/kdump in distro > release, we tested most of those options manually for RHEL anyway and we > had some automated tests of it, which I'll try to submit to LTP as many > as possible. For those manual tests, I'll also try to find some ways to > automate them. For example, for different dump targets, it is possible > to verify the generated initrd file as expected. > > > > > > == increase coverages for new kexec/kdump development efforts == > > > - new reserved region syntax in Kernel. > > > > Another important thing we need to focus on is driver testing. Drivers > > can fail to initialize in second kernel and kdump will fail. Can we do > > something so that we can do following. > > > > That isn't something I have not thought of. For RHEL release testing, we > will have a workflow to run those tests on any storage/network drivers, > and it will report back testing results and driver matrix. However, this > workflow is very distro-specific, and depends on the test farm it is > using, so it does not make any sense to put it here. > > > - Collect the machine statistics on which kdump was tested and send > > the reports to a common place. Especially capture the storage/network > > driver data which can be probably be available through LTP site. > > > > That sounds like a good idea to me. > > > - Also capture how much memory was reserved on what architecture and > > whether it worked or not. This will help us verify for sure that how > > much memory to reserve for second kernel on various architectures. > > > > This is something could be done. I'll have a look at it. > > Thanks, > CaiQian > > > Thanks > > Vivek _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [LTP] [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc 2008-07-23 23:41 ` Subrata Modak @ 2008-08-11 13:32 ` Subrata Modak 2008-08-12 2:16 ` Cai Qian 0 siblings, 1 reply; 9+ messages in thread From: Subrata Modak @ 2008-08-11 13:32 UTC (permalink / raw) To: Cai Qian Cc: poornima.nayak, ltp-list, vapier, iranna.ankad, kexec, maknayak, risrajak, hbabu, sachinp, jburke, inddurai, vgoyal Cai, Any headway in this front ? Regards-- Subrata On Thu, 2008-07-24 at 05:11 +0530, Subrata Modak wrote: > Hi Cai, > > Some patches in Bits and Pieces regarding this nearby ? > > Regards-- > Subrata > > > > > Yes. Initally, I put this item to a relative low priority, partly > > because kdump config options and init scripts are tend to be > > distro-specific, so it won't be easy to write portable tests for > > different distros. In addition, lots of config options are not easy to > > be tested automately, like raw disk target, vfat disk target, and > > network target etc, as testers have to setup those name manually. But, > > you are right, those are high priority tests for kexec/kdump in distro > > release, we tested most of those options manually for RHEL anyway and we > > had some automated tests of it, which I'll try to submit to LTP as many > > as possible. For those manual tests, I'll also try to find some ways to > > automate them. For example, for different dump targets, it is possible > > to verify the generated initrd file as expected. > > > > > > > > > == increase coverages for new kexec/kdump development efforts == > > > > - new reserved region syntax in Kernel. > > > > > > Another important thing we need to focus on is driver testing. Drivers > > > can fail to initialize in second kernel and kdump will fail. Can we do > > > something so that we can do following. > > > > > > > That isn't something I have not thought of. For RHEL release testing, we > > will have a workflow to run those tests on any storage/network drivers, > > and it will report back testing results and driver matrix. However, this > > workflow is very distro-specific, and depends on the test farm it is > > using, so it does not make any sense to put it here. > > > > > - Collect the machine statistics on which kdump was tested and send > > > the reports to a common place. Especially capture the storage/network > > > driver data which can be probably be available through LTP site. > > > > > > > That sounds like a good idea to me. > > > > > - Also capture how much memory was reserved on what architecture and > > > whether it worked or not. This will help us verify for sure that how > > > much memory to reserve for second kernel on various architectures. > > > > > > > This is something could be done. I'll have a look at it. > > > > Thanks, > > CaiQian > > > > > Thanks > > > Vivek > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ltp-list mailing list > Ltp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ltp-list _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [LTP] [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc 2008-08-11 13:32 ` [LTP] " Subrata Modak @ 2008-08-12 2:16 ` Cai Qian 2008-08-12 6:13 ` Subrata Modak 0 siblings, 1 reply; 9+ messages in thread From: Cai Qian @ 2008-08-12 2:16 UTC (permalink / raw) To: subrata Cc: poornima.nayak, ltp-list, vapier, iranna.ankad, qcai, kexec, maknayak, risrajak, hbabu, sachinp, jburke, inddurai, vgoyal Hi Subrata, From: Subrata Modak <subrata@linux.vnet.ibm.com> Subject: Re: [LTP] [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc Date: Mon, 11 Aug 2008 19:02:47 +0530 > Cai, > > Any headway in this front ? > I have all test cases finished, but I am working on implementing a suitable harness to run those tests. CaiQian > Regards-- > Subrata > > On Thu, 2008-07-24 at 05:11 +0530, Subrata Modak wrote: > > Hi Cai, > > > > Some patches in Bits and Pieces regarding this nearby ? > > > > Regards-- > > Subrata > > > > > > > > Yes. Initally, I put this item to a relative low priority, partly > > > because kdump config options and init scripts are tend to be > > > distro-specific, so it won't be easy to write portable tests for > > > different distros. In addition, lots of config options are not easy to > > > be tested automately, like raw disk target, vfat disk target, and > > > network target etc, as testers have to setup those name manually. But, > > > you are right, those are high priority tests for kexec/kdump in distro > > > release, we tested most of those options manually for RHEL anyway and we > > > had some automated tests of it, which I'll try to submit to LTP as many > > > as possible. For those manual tests, I'll also try to find some ways to > > > automate them. For example, for different dump targets, it is possible > > > to verify the generated initrd file as expected. > > > > > > > > > > > > == increase coverages for new kexec/kdump development efforts == > > > > > - new reserved region syntax in Kernel. > > > > > > > > Another important thing we need to focus on is driver testing. Drivers > > > > can fail to initialize in second kernel and kdump will fail. Can we do > > > > something so that we can do following. > > > > > > > > > > That isn't something I have not thought of. For RHEL release testing, we > > > will have a workflow to run those tests on any storage/network drivers, > > > and it will report back testing results and driver matrix. However, this > > > workflow is very distro-specific, and depends on the test farm it is > > > using, so it does not make any sense to put it here. > > > > > > > - Collect the machine statistics on which kdump was tested and send > > > > the reports to a common place. Especially capture the storage/network > > > > driver data which can be probably be available through LTP site. > > > > > > > > > > That sounds like a good idea to me. > > > > > > > - Also capture how much memory was reserved on what architecture and > > > > whether it worked or not. This will help us verify for sure that how > > > > much memory to reserve for second kernel on various architectures. > > > > > > > > > > This is something could be done. I'll have a look at it. > > > > > > Thanks, > > > CaiQian > > > > > > > Thanks > > > > Vivek > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > > Build the coolest Linux based applications with Moblin SDK & win great prizes > > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Ltp-list mailing list > > Ltp-list@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/ltp-list > _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [LTP] [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc 2008-08-12 2:16 ` Cai Qian @ 2008-08-12 6:13 ` Subrata Modak 2008-08-12 8:48 ` Cai Qian 0 siblings, 1 reply; 9+ messages in thread From: Subrata Modak @ 2008-08-12 6:13 UTC (permalink / raw) To: Cai Qian Cc: poornima.nayak, ltp-list, vapier, iranna.ankad, kexec, maknayak, risrajak, hbabu, sachinp, jburke, inddurai, vgoyal On Tue, 2008-08-12 at 10:16 +0800, Cai Qian wrote: > Hi Subrata, > > From: Subrata Modak <subrata@linux.vnet.ibm.com> > Subject: Re: [LTP] [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc > Date: Mon, 11 Aug 2008 19:02:47 +0530 > > > Cai, > > > > Any headway in this front ? > > > > I have all test cases finished, but I am working on implementing a > suitable harness to run those tests. Thanks Cai. Happy to know that you are done with all the test cases, and only the integration part is pending. I am little bit confused when you say that you are working on implementing a suitable harness to run those tests. Does that mean that the way the present LTP-Kdump tests are run is not suitable to accommodate the enhancements/additions that you are doing to the LTP-Kdump ? I do not mind in having a nice harness within LTP for executing the LTP-Kdump tests, but i would hope that the new harness should also include the existing LTP-Kdump tests, so that you use the same (new harness) to tests everything in LTP-Kdump. Let me know what you think for the same. Regards-- Subrata > > CaiQian > > > Regards-- > > Subrata > > > > On Thu, 2008-07-24 at 05:11 +0530, Subrata Modak wrote: > > > Hi Cai, > > > > > > Some patches in Bits and Pieces regarding this nearby ? > > > > > > Regards-- > > > Subrata > > > > > > > > > > > Yes. Initally, I put this item to a relative low priority, partly > > > > because kdump config options and init scripts are tend to be > > > > distro-specific, so it won't be easy to write portable tests for > > > > different distros. In addition, lots of config options are not easy to > > > > be tested automately, like raw disk target, vfat disk target, and > > > > network target etc, as testers have to setup those name manually. But, > > > > you are right, those are high priority tests for kexec/kdump in distro > > > > release, we tested most of those options manually for RHEL anyway and we > > > > had some automated tests of it, which I'll try to submit to LTP as many > > > > as possible. For those manual tests, I'll also try to find some ways to > > > > automate them. For example, for different dump targets, it is possible > > > > to verify the generated initrd file as expected. > > > > > > > > > > > > > > > == increase coverages for new kexec/kdump development efforts == > > > > > > - new reserved region syntax in Kernel. > > > > > > > > > > Another important thing we need to focus on is driver testing. Drivers > > > > > can fail to initialize in second kernel and kdump will fail. Can we do > > > > > something so that we can do following. > > > > > > > > > > > > > That isn't something I have not thought of. For RHEL release testing, we > > > > will have a workflow to run those tests on any storage/network drivers, > > > > and it will report back testing results and driver matrix. However, this > > > > workflow is very distro-specific, and depends on the test farm it is > > > > using, so it does not make any sense to put it here. > > > > > > > > > - Collect the machine statistics on which kdump was tested and send > > > > > the reports to a common place. Especially capture the storage/network > > > > > driver data which can be probably be available through LTP site. > > > > > > > > > > > > > That sounds like a good idea to me. > > > > > > > > > - Also capture how much memory was reserved on what architecture and > > > > > whether it worked or not. This will help us verify for sure that how > > > > > much memory to reserve for second kernel on various architectures. > > > > > > > > > > > > > This is something could be done. I'll have a look at it. > > > > > > > > Thanks, > > > > CaiQian > > > > > > > > > Thanks > > > > > Vivek > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > > > Build the coolest Linux based applications with Moblin SDK & win great prizes > > > Grand prize is a trip for two to an Open Source event anywhere in the world > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > _______________________________________________ > > > Ltp-list mailing list > > > Ltp-list@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/ltp-list > > _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [LTP] [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc 2008-08-12 6:13 ` Subrata Modak @ 2008-08-12 8:48 ` Cai Qian 2008-08-13 6:02 ` Subrata Modak 0 siblings, 1 reply; 9+ messages in thread From: Cai Qian @ 2008-08-12 8:48 UTC (permalink / raw) To: subrata Cc: poornima.nayak, ltp-list, vapier, iranna.ankad, qcai, kexec, maknayak, risrajak, hbabu, sachinp, jburke, inddurai, vgoyal Hi Subrata, From: Subrata Modak <subrata@linux.vnet.ibm.com> Subject: Re: [LTP] [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc Date: Tue, 12 Aug 2008 11:43:02 +0530 > On Tue, 2008-08-12 at 10:16 +0800, Cai Qian wrote: > > Hi Subrata, > > > > From: Subrata Modak <subrata@linux.vnet.ibm.com> > > Subject: Re: [LTP] [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc > > Date: Mon, 11 Aug 2008 19:02:47 +0530 > > > > > Cai, > > > > > > Any headway in this front ? > > > > > > > I have all test cases finished, but I am working on implementing a > > suitable harness to run those tests. > > Thanks Cai. Happy to know that you are done with all the test cases, and > only the integration part is pending. I am little bit confused when you > say that you are working on implementing a suitable harness to run those > tests. Does that mean that the way the present LTP-Kdump tests are run > is not suitable to accommodate the enhancements/additions that you are > doing to the LTP-Kdump ? > What I have already done is to create several basic building blocks for testing of Kdump. For example, setup-bare-metal, config-ext3, crash-sysrq-c, crash-lkdtm, analyse-crash etc. You probably could guess what they are doing from their names. Then, we could combine those building blocks to create test cases, which should give us more freedom and flexibility to test things. I am going to include some pre-defined test cases into LTP as well. I might propose new tests as LTP-kdump-ng. > I do not mind in having a nice harness within LTP for executing the > LTP-Kdump tests, but i would hope that the new harness should also > include the existing LTP-Kdump tests, so that you use the same (new > harness) to tests everything in LTP-Kdump. Let me know what you think > for the same. > The problem that I am trying to figure it out is that we need a suitable harness to schedule those tests and report results. For example, there is a test case is like the following, setup-bare-metal config-ext3:uuid crash-sysrq-c analyse-crash The first and the third steps requires to reboot the machine, so we need a harness could resume execution of tests after reboot. I am thinking of using cron job as in existing LTP-kdump tests, or a tests injector running as a daemon, or something else. New tests should incorporate all existing tests and coverage of Kdump in LTP. CaiQian > Regards-- > Subrata > > > > > CaiQian > > > > > Regards-- > > > Subrata > > > > > > On Thu, 2008-07-24 at 05:11 +0530, Subrata Modak wrote: > > > > Hi Cai, > > > > > > > > Some patches in Bits and Pieces regarding this nearby ? > > > > > > > > Regards-- > > > > Subrata > > > > > > > > > > > > > > Yes. Initally, I put this item to a relative low priority, partly > > > > > because kdump config options and init scripts are tend to be > > > > > distro-specific, so it won't be easy to write portable tests for > > > > > different distros. In addition, lots of config options are not easy to > > > > > be tested automately, like raw disk target, vfat disk target, and > > > > > network target etc, as testers have to setup those name manually. But, > > > > > you are right, those are high priority tests for kexec/kdump in distro > > > > > release, we tested most of those options manually for RHEL anyway and we > > > > > had some automated tests of it, which I'll try to submit to LTP as many > > > > > as possible. For those manual tests, I'll also try to find some ways to > > > > > automate them. For example, for different dump targets, it is possible > > > > > to verify the generated initrd file as expected. > > > > > > > > > > > > > > > > > > == increase coverages for new kexec/kdump development efforts == > > > > > > > - new reserved region syntax in Kernel. > > > > > > > > > > > > Another important thing we need to focus on is driver testing. Drivers > > > > > > can fail to initialize in second kernel and kdump will fail. Can we do > > > > > > something so that we can do following. > > > > > > > > > > > > > > > > That isn't something I have not thought of. For RHEL release testing, we > > > > > will have a workflow to run those tests on any storage/network drivers, > > > > > and it will report back testing results and driver matrix. However, this > > > > > workflow is very distro-specific, and depends on the test farm it is > > > > > using, so it does not make any sense to put it here. > > > > > > > > > > > - Collect the machine statistics on which kdump was tested and send > > > > > > the reports to a common place. Especially capture the storage/network > > > > > > driver data which can be probably be available through LTP site. > > > > > > > > > > > > > > > > That sounds like a good idea to me. > > > > > > > > > > > - Also capture how much memory was reserved on what architecture and > > > > > > whether it worked or not. This will help us verify for sure that how > > > > > > much memory to reserve for second kernel on various architectures. > > > > > > > > > > > > > > > > This is something could be done. I'll have a look at it. > > > > > > > > > > Thanks, > > > > > CaiQian > > > > > > > > > > > Thanks > > > > > > Vivek > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > > > > Build the coolest Linux based applications with Moblin SDK & win great prizes > > > > Grand prize is a trip for two to an Open Source event anywhere in the world > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > _______________________________________________ > > > > Ltp-list mailing list > > > > Ltp-list@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/ltp-list > > > > _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [LTP] [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc 2008-08-12 8:48 ` Cai Qian @ 2008-08-13 6:02 ` Subrata Modak 0 siblings, 0 replies; 9+ messages in thread From: Subrata Modak @ 2008-08-13 6:02 UTC (permalink / raw) To: Cai Qian Cc: poornima.nayak, ltp-list, vapier, iranna.ankad, kexec, maknayak, risrajak, hbabu, sachinp, jburke, inddurai, vgoyal Hi Cai, Thanks very much for explaining everything. Regards-- Subrata On Tue, 2008-08-12 at 16:48 +0800, Cai Qian wrote: > Hi Subrata, > > From: Subrata Modak <subrata@linux.vnet.ibm.com> > Subject: Re: [LTP] [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc > Date: Tue, 12 Aug 2008 11:43:02 +0530 > > > On Tue, 2008-08-12 at 10:16 +0800, Cai Qian wrote: > > > Hi Subrata, > > > > > > From: Subrata Modak <subrata@linux.vnet.ibm.com> > > > Subject: Re: [LTP] [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc > > > Date: Mon, 11 Aug 2008 19:02:47 +0530 > > > > > > > Cai, > > > > > > > > Any headway in this front ? > > > > > > > > > > I have all test cases finished, but I am working on implementing a > > > suitable harness to run those tests. > > > > Thanks Cai. Happy to know that you are done with all the test cases, and > > only the integration part is pending. I am little bit confused when you > > say that you are working on implementing a suitable harness to run those > > tests. Does that mean that the way the present LTP-Kdump tests are run > > is not suitable to accommodate the enhancements/additions that you are > > doing to the LTP-Kdump ? > > > > What I have already done is to create several basic building blocks for > testing of Kdump. For example, setup-bare-metal, config-ext3, > crash-sysrq-c, crash-lkdtm, analyse-crash etc. You probably could guess > what they are doing from their names. Then, we could combine those > building blocks to create test cases, which should give us more freedom > and flexibility to test things. I am going to include some pre-defined > test cases into LTP as well. I might propose new tests as LTP-kdump-ng. > > > I do not mind in having a nice harness within LTP for executing the > > LTP-Kdump tests, but i would hope that the new harness should also > > include the existing LTP-Kdump tests, so that you use the same (new > > harness) to tests everything in LTP-Kdump. Let me know what you think > > for the same. > > > > The problem that I am trying to figure it out is that we need a suitable > harness to schedule those tests and report results. For example, there > is a test case is like the following, > > setup-bare-metal > config-ext3:uuid > crash-sysrq-c > analyse-crash > > The first and the third steps requires to reboot the machine, so we need > a harness could resume execution of tests after reboot. I am thinking of > using cron job as in existing LTP-kdump tests, or a tests injector > running as a daemon, or something else. > > New tests should incorporate all existing tests and coverage of Kdump in > LTP. > > CaiQian > > > Regards-- > > Subrata > > > > > > > > CaiQian > > > > > > > Regards-- > > > > Subrata > > > > > > > > On Thu, 2008-07-24 at 05:11 +0530, Subrata Modak wrote: > > > > > Hi Cai, > > > > > > > > > > Some patches in Bits and Pieces regarding this nearby ? > > > > > > > > > > Regards-- > > > > > Subrata > > > > > > > > > > > > > > > > > Yes. Initally, I put this item to a relative low priority, partly > > > > > > because kdump config options and init scripts are tend to be > > > > > > distro-specific, so it won't be easy to write portable tests for > > > > > > different distros. In addition, lots of config options are not easy to > > > > > > be tested automately, like raw disk target, vfat disk target, and > > > > > > network target etc, as testers have to setup those name manually. But, > > > > > > you are right, those are high priority tests for kexec/kdump in distro > > > > > > release, we tested most of those options manually for RHEL anyway and we > > > > > > had some automated tests of it, which I'll try to submit to LTP as many > > > > > > as possible. For those manual tests, I'll also try to find some ways to > > > > > > automate them. For example, for different dump targets, it is possible > > > > > > to verify the generated initrd file as expected. > > > > > > > > > > > > > > > > > > > > > == increase coverages for new kexec/kdump development efforts == > > > > > > > > - new reserved region syntax in Kernel. > > > > > > > > > > > > > > Another important thing we need to focus on is driver testing. Drivers > > > > > > > can fail to initialize in second kernel and kdump will fail. Can we do > > > > > > > something so that we can do following. > > > > > > > > > > > > > > > > > > > That isn't something I have not thought of. For RHEL release testing, we > > > > > > will have a workflow to run those tests on any storage/network drivers, > > > > > > and it will report back testing results and driver matrix. However, this > > > > > > workflow is very distro-specific, and depends on the test farm it is > > > > > > using, so it does not make any sense to put it here. > > > > > > > > > > > > > - Collect the machine statistics on which kdump was tested and send > > > > > > > the reports to a common place. Especially capture the storage/network > > > > > > > driver data which can be probably be available through LTP site. > > > > > > > > > > > > > > > > > > > That sounds like a good idea to me. > > > > > > > > > > > > > - Also capture how much memory was reserved on what architecture and > > > > > > > whether it worked or not. This will help us verify for sure that how > > > > > > > much memory to reserve for second kernel on various architectures. > > > > > > > > > > > > > > > > > > > This is something could be done. I'll have a look at it. > > > > > > > > > > > > Thanks, > > > > > > CaiQian > > > > > > > > > > > > > Thanks > > > > > > > Vivek > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > > > > > Build the coolest Linux based applications with Moblin SDK & win great prizes > > > > > Grand prize is a trip for two to an Open Source event anywhere in the world > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > _______________________________________________ > > > > > Ltp-list mailing list > > > > > Ltp-list@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/ltp-list > > > > > > _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-08-13 6:09 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-06-23 14:12 [RFC] [KDUMP] [PROPOSED WORK] kdump on Xen hypervisor and guests, more tests for utilities, like makedumpfile, mkdumprd, kexec etc Subrata Modak 2008-06-24 12:42 ` Vivek Goyal 2008-06-25 3:46 ` Cai Qian 2008-07-23 23:41 ` Subrata Modak 2008-08-11 13:32 ` [LTP] " Subrata Modak 2008-08-12 2:16 ` Cai Qian 2008-08-12 6:13 ` Subrata Modak 2008-08-12 8:48 ` Cai Qian 2008-08-13 6:02 ` Subrata Modak
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.