Allow to preserve powerd-cli on cleanup (ssh virt-server)

Bug #1441023 reported by Federico Gimenez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autopkgtest (Ubuntu)
Fix Released
Wishlist
Martin Pitt

Bug Description

Currently powerd-cli gets killed in the cleanup action of ssh-setup/adb. For some tests (power meter related) the daemon should be running after finishing so that the screen doesn't turn off.

Given the great flexibility of adt-run an alternative script which doesn't pkill powerd-cli on cleanup can be used, but it would be very useful if we can specify somehow that powerd-cli should be preserved without having to fork the default adb script.

Thanks!

Martin Pitt (pitti)
Changed in autopkgtest (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Martin Pitt (pitti) wrote :

Added in http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=a9a380f

With this you can now run

   adt-run ... --- ssh -s ssh-setup/adb -- --keep-screen-active

Changed in autopkgtest (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
status: Triaged → Fix Committed
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package autopkgtest - 3.13

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

  * ssh-setup/adb: Add --keep-screen-active option to keep
   "powerd-cli display" running after the tests. Use with caution!
   (LP: #1441023)
  * adt-buildvm-ubuntu-cloud: Add --post-command for running a shell command
    after setup for additional customization.
  * ssh-setup/adb: Quote tr arguments.
  * click tests: Look into app/tests/autopilot/ for tests as well if no
    explicit path is given. This is the default location of the Ubuntu cmake
    templates.

 -- Martin Pitt <email address hidden> Wed, 22 Apr 2015 11:50:18 +0100

Changed in autopkgtest (Ubuntu):
status: Fix Committed → Fix Released
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.