virtualization test needs to be more friendly and less destructive
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 Lane : Approve
- Jeff Marcom (community): Needs Resubmitting
-
Diff: 57 lines (+12/-7)2 files modifiedcheckbox-old/debian/changelog (+8/-2)
checkbox-old/scripts/virtualization (+4/-5)
Changed in checkbox: | |
importance: | Undecided → High |
assignee: | nobody → Jeff Marcom (jeffmarcom) |
Changed in checkbox: | |
status: | New → In Progress |
Changed in checkbox: | |
status: | In Progress → Fix Committed |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |