virtualization test needs to be more friendly and less destructive

Bug #1192979 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
High
Jeff Marcom

Bug Description

Currently, when you run the kvm test, it runs the virtualization test and does what it needs to do, but when it fails, it makes debugging difficult.

Yes, you can pass it the --debug option to get more data on console. However, the two issues I've run into that makes debugging issues difficult are:

When running manually to debug failures:

1: Creates a dir in /tmp with all the logs. However that dir is chmod 700, so ONLY root can see anything into it. it should be set to 744 instead so normal users can at least get into the dir and view the logs.

2: deletes the entire test dir on completion. That can probably be OK, however, this also deletes the virt_debug log.

So it needs to somehow preserve the virt_debug log.

Also, on a minor note, the virt_debug log also shows this:
W: kvm binary is deprecated, please use qemu-system-x86_64 instead

Related branches

Jeff Marcom (jeffmarcom)
Changed in checkbox:
importance: Undecided → High
assignee: nobody → Jeff Marcom (jeffmarcom)
Jeff Marcom (jeffmarcom)
Changed in checkbox:
status: New → In Progress
Jeff Marcom (jeffmarcom)
Changed in checkbox:
status: In Progress → Fix Committed
Changed in checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.