Testdrive 3.14 doesn't work with Virtualbox in Natty

Bug #841390 reported by mike stewart
6
This bug affects 1 person
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~ppa4) as follows:

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/home/.testdriverc
INFO: Trying config in /path/to/home/.config/testdrive/testdriverc
INFO: Using KVM for virtual machine hosting...
INFO: Obtaining Ubuntu ISO list from rsync://cdimage.ubuntu.com/cdimage...
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://cdimage.ubuntu.com/cdimage/daily-live/current/oneiric-desktop-i386.iso

receiving incremental file list
oneiric-desktop-i386.iso
   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/to/home/.cache/testdrive/img/testdrive-disk-NAETWx.img]...
sh: kvm-img: not found
Command failed
    `kvm-img create -f qcow2 /path/to/home/.cache/testdrive/img/testdrive-disk-NAETWx.img 6G`
INFO: Launching Virtual Machine...
Running the Virtual Machine...
 kvm -m 1024 -smp 2 -cdrom /path/to/home/.cache/testdrive/iso/ubuntu_oneiric-desktop-i386.iso -drive file=/path/to/home/.cache/testdrive/img/testdrive-disk-NAETWx.img,if=virtio,cache=writeback,index=0,boot=on -usb -usbdevice tablet -net nic,model=virtio -net user -soundhw es1370 -vga cirrus
/bin/sh: kvm: not found
INFO: Cleaning up disk image [/path/to/home/.cache/testdrive/img/testdrive-disk-NAETWx.img]...
INFO: You may wish to clean up the cache directory...
      /path/to/home/.cache/testdrive/iso and /path/to/home/.cache/testdrive/img

Revision history for this message
mike stewart (mdrmike) wrote :

should have mentioned /etc/testdriverc is not created / does not exist.

also doesnt seem to create

~/.cache/testdrive or ~/.testdriverc/

Changed in testdrive (Ubuntu):
status: New → Invalid
Revision history for this message
Jackson Doak (noskcaj) wrote :

Natty is no longer supported and no one has confirmed this bug

Changed in testdrive:
status: New → Invalid
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.