re-tool against (perhaps) uvtool

Bug #1261416 reported by Serge Hallyn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
auto-upgrade-testing (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Hi,

the vm-builder package may be pulled from the archive in trusty due to be un-maintained.

If possible, please switch to either downloading official ubuntu cloud images (which can be fetched using simple-streams and can then be pre-seeded with ssh keys), or using uvtool to set up images.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Here is a debdiff which at least shows how to go about making
this work with uvtool. It brings me up to the following point
which I do not believe to be related to this conversion.

I won't be able to work on this again until February; it would
be great if the dependence on vmbuilder could be removed before
that.

=====================================================
serge@sergelap:~/packaging/vmbuilder/auto-upgrade-testing/auto-upgrade-testing-0.167~ppa3/share/profiles$ sudo /u
sr/bin/auto-install-tester -p server
error: failed to get domain 'auto-upgrade-tester'
error: Domain not found: no domain with matching name 'auto-upgrade-tester'

Missing 'auto-upgrade-tester' base image, need to build it now
Warning: this CLI is experimental and may change.
libvirt: Storage Driver error : Storage volume not found: no storage vol with matching key /home/serge/x.img
libvirt: Storage Driver error : Storage volume not found: no storage vol with matching key /home/serge/Downloads/
en_windows_7_ultimate_n_with_sp1_x64_dvd_u_677543.iso
libvirt: Storage Driver error : Storage volume not found: no storage vol with matching key z.img
libvirt: Storage Driver error : Storage volume not found: no storage vol with matching key trusty-mini-amd64.iso
Warning: this CLI is experimental and may change.
Warning: this CLI is experimental and may change.
Warning: wait for boot-finished not yet implemented.
bootstrap()
already running
Traceback (most recent call last):
  File "/usr/bin/auto-install-tester", line 75, in <module>
    backend.bootstrap()
  File "/usr/lib/python3/dist-packages/AutoUpgradeTester/UpgradeTestBackendQemu.py", line 215, in bootstrap
    self._copyToImage(etc_hosts.name, "/etc/hosts")
  File "/usr/lib/python3/dist-packages/AutoUpgradeTester/UpgradeTestBackendSSH.py", line 64, in _copyToImage
    ret = subprocess.call(cmd)
  File "/usr/lib/python3.3/subprocess.py", line 523, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.3/subprocess.py", line 817, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.3/subprocess.py", line 1379, in _execute_child
    restore_signals, start_new_session, preexec_fn)
TypeError: Can't convert 'int' object to str implicitly
Domain auto-upgrade-tester destroyed

qemu stopped
=====================================================

Changed in auto-upgrade-testing (Ubuntu):
status: New → Confirmed
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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