Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 583840 Details for
Bug 820972
v7 kdump test should restart kdump service every time
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
kdump test patch to restart kdump every test run.
kdump.patch (text/plain), 1.43 KB, created by
Greg Nichols
on 2012-05-11 13:13:04 UTC
(
hide
)
Description:
kdump test patch to restart kdump every test run.
Filename:
MIME Type:
Creator:
Greg Nichols
Created:
2012-05-11 13:13:04 UTC
Size:
1.43 KB
patch
obsolete
>Index: kdump.py >=================================================================== >--- kdump.py (revision 1223) >+++ kdump.py (working copy) >@@ -187,14 +187,15 @@ > > if restart: > print "restarting kdump with new configuration..." >- try: >- Command("service kdump stop").echo() >- Command("service kdump start").echo() >- except V7CommandException, exception: >- print "Error: kdump restart failed" >- print exception >- exception.command.printErrors() >- verified = False >+ # restart it every time >+ try: >+ Command("service kdump stop").echo() >+ Command("service kdump start").echo() >+ except V7CommandException, exception: >+ print "Error: kdump restart failed" >+ print exception >+ exception.command.printErrors() >+ verified = False > > > print "Checking kdump service" >@@ -214,6 +215,9 @@ > # configure kdump to use makedumpfile -d 31 > try: > configFile = ConfigFile(self.kdumpConfigPath) >+ print "kdump configuration:" >+ configFile.dump() >+ print "\n" > coreCollector = configFile.getParameter("core_collector") > net = configFile.getParameter("net") > linkDelay = configFile.getParameter("link_delay")
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 820972
: 583840