[Bug 1445819] Re: provide command for preparing for reboot (only)
Launchpad Bug Tracker
1445819 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/1445819
Title:
provide command for preparing for reboot (only)
Status in autopkgtest package in Ubuntu:
Fix Released
Bug description:
For some use cases like testing kexec or system-image upgrades we need
a way to tell apport to prepare for a reboot, but the test itself
should/needs to do the actual reboot. The interface for this should be
/tmp/autopkgtest-reboot-prepare <mark>
similar to "/tmp/autopkgtest-reboot <mark>".
I'm not sure how to implement that yet, though.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1445819/+subscriptions
More information about the foundations-bugs
mailing list