[Bug 1449413] Re: adt-run should log its command line invocation

Launchpad Bug Tracker 1449413 at bugs.launchpad.net
Wed May 6 05:55:37 UTC 2015


This bug was fixed in the package autopkgtest - 3.14

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

  Improvements:
  * adt-virt-ssh: Add --reboot option to indicate that testbed can be
    rebooted. This is useful when running without a setup script (which can
    already declare capabilities).
  * Simplify reboot implementation: Just call "reboot" as root in the testbed
    to trigger rebooting, and replace the former hook_reboot() in adt-virt-*
    with hook_wait_reboot() which merely waits for the testbed to go down and
    come back up. This also replaces the "reboot" command for ssh setup
    scripts to "wait-reboot" and in most cases it is not needed to implement
    this at all (except for the "adb" script).
  * Add /tmp/autopkgtest-reboot-prepare script for testbeds which support
    rebooting. This saves the current state but leaves the actual reboot to
    the test itself. This is useful if rebooting should happen with unusual
    means (e. g. kexec) or as part of testing something else (like a system
    upgrade). (LP: #1445819)
  * Log complete command line invocation, for easier local reproduction,
    comparison of log files, and clarifying which options were used.
    (LP: #1449413)

  Bug fixes:
  * Update Vcs-Git: field for anonscm.debian.org.
  * Drop obsolete XS-Testsuite: control field.
  * adt-setup-vm: Fix script error if $ADT_SETUP_VM_POST_COMMAND is not set.
  * README.click-tests.rst: Describe x-source manifest entry.
  * Mark test dependencies as manually installed, so that they don't go away
    if a test calls "apt-get autoremove".
  * Set DEBIAN_FRONTEND=noninteractive for tests. This avoids stderr messages
    about "unable to open stdin" and similar when tests call apt-get install.

 -- Martin Pitt <mpitt at debian.org>  Tue, 05 May 2015 10:14:23 +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/1449413

Title:
  adt-run should log its command line invocation

Status in autopkgtest package in Ubuntu:
  Fix Released

Bug description:
  I've been using adt-run with various options and missing the command-
  line invocation in the 'results/log' makes it harder to
  analyse/compare different runs.

  It already does log its version number which is nice and should be
  kept ;)

  Additional brownie points if the logged command line is copy/pastable
  but quoted arguments may make that tricky (so no big deal).

  There may also be some security concerns about credentials in the adt-
  virt-XXX parameters but I care less about that part.

  With all those disclaimers, the specific case that led me to file this
  bug was to track which run did use '-U' and which one didn't ;)

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



More information about the foundations-bugs mailing list