Testdrive 3.14 doesn't work with Virtualbox in Natty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TestDrive |
Invalid
|
Undecided
|
Unassigned | ||
testdrive (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The documentation is pretty limited but suggests testdrive will work with either KVM or Virtualbox. I have Virtualbox installed and working well.
I'm on Natty 11.04 with current updates. I installed testdrive (3.14-0ubuntu1~
sudo add-apt-repository ppa:testdrive/ppa
sudo apt-get update
sudo apt-get install testdrive
sudo apt-get install testdrive-cli
$ testdrive
INFO: version passed: False
INFO: config passed: None
INFO: Trying config in /etc/testdriverc
INFO: Using configuration in /etc/testdriverc
INFO: Trying config in /path/to/
INFO: Trying config in /path/to/
INFO: Using KVM for virtual machine hosting...
INFO: Obtaining Ubuntu ISO list from rsync:/
INFO: Retrieving the Ubuntu ISO list from cache...
Welcome to Testdrive!
1. Ubuntu Desktop (oneiric-i386)
2. Ubuntu Alternate (oneiric-i386)
3. Ubuntu DVD (oneiric-i386)
4. Ubuntu Server (oneiric-i386)
5. Other (prompt for ISO URL)
Select an image to testdrive [1]: 1
INFO: Syncing the specified ISO...
rsync:
receiving incremental file list
oneiric-
730116096 100% 1.51MB/s 0:07:40 (xfer#1, to-check=0/1)
sent 48 bytes received 730361311 bytes 1575752.66 bytes/sec
total size is 730116096 speedup is 1.00
INFO: Validating Virtualization Method....
sh: kvm-ok: not found
INFO: Setting up Virtual Machine...
Creating disk image [/path/
sh: kvm-img: not found
Command failed
`kvm-img create -f qcow2 /path/to/
INFO: Launching Virtual Machine...
Running the Virtual Machine...
kvm -m 1024 -smp 2 -cdrom /path/to/
/bin/sh: kvm: not found
INFO: Cleaning up disk image [/path/
INFO: You may wish to clean up the cache directory...
/
Changed in testdrive (Ubuntu): | |
status: | New → Invalid |
should have mentioned /etc/testdriverc is not created / does not exist.
also doesnt seem to create
~/.cache/testdrive or ~/.testdriverc/