[Bug 1453154] Re: please support --show-boot option in snappy runner

Launchpad Bug Tracker 1453154 at bugs.launchpad.net
Wed May 13 18:24:19 UTC 2015


This bug was fixed in the package autopkgtest - 3.14.1

---------------
autopkgtest (3.14.1) unstable; urgency=medium

  * Go back to using the backgrounded reboot command as we had before 3.14.
    Just calling "reboot" is prone to hangs and timeouts in case reboot is too
    fast and shuts down our communication channel.
  * Fix --override-control option in adt-run(1). (LP: #1453495)
  * Fail with an error if --override-control file does not exist.
    (LP: #1453503)
  * ssh-setup/snappy: Add -b/--show-boot option to direct boot and console
    messages to stdout. (LP: #1453154)
  * adt-virt-qemu.1: Document --show-boot option.
  * Add test case for using a @ command line include file for a virt runner.
  * Strip leading and trailing space from argument lines in '@' included
    command line argument files. (LP: #1453498)

 -- Martin Pitt <mpitt at debian.org>  Wed, 13 May 2015 14:45:43 +0200

** Changed in: autopkgtest (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1453154

Title:
  please support --show-boot option in snappy runner

Status in autopkgtest package in Ubuntu:
  Fix Released

Bug description:
  Sometimes it can be really useful to see the output of the boot in a
  snappy test run. Especially for the failover tests etc.

  So it would be nice to have  "-serial stdio" instead of "-serial none" in the snappy runnser:
  """
  diff --git a/ssh-setup/snappy b/ssh-setup/snappy
  index 8f1c5f9..b88afe1 100755
  --- a/ssh-setup/snappy
  +++ b/ssh-setup/snappy
  @@ -138,7 +138,7 @@ open() {
       # start QEMU; redirect its stdout/err to a copy of our stderr to avoid the
       # setup script becoming a zombie at the end
       exec 3>&2
  -    $QEMU_CMD -snapshot -drive file="$IMAGE",if=virtio -redir tcp:$port::22 -monitor none -serial none </dev/null >&3 2>&3 &
  +    $QEMU_CMD -snapshot -drive file="$IMAGE",if=virtio -redir tcp:$port::22 -monitor none -serial stdio </dev/null >&3 2>&3 &
       QEMU_PID=$!
       echo $QEMU_PID > $port_lock_file
       sleep 3
  """

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1453154/+subscriptions



More information about the foundations-bugs mailing list