ec2 instance does not shut down after test failures

Bug #617598 reported by Māris Fogels
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Māris Fogels

Bug Description

EC2 instances started by 'ec2 land' are not shutting down after the test suite has finished.

The server does send the final email. The server does correctly exit the 'make check' step.

Here is the tail of the test log from a server that shut down successfully after a test suite failure: http://paste.ubuntu.com/477624/

See this thread on the launchpad-dev mailing list for more information: https://lists.launchpad.net/launchpad-dev/msg04262.html

Related branches

Revision history for this message
Māris Fogels (mars) wrote :

You can't run two shutdown calls at the same time.

The remote.py script in ec2 test call 'sudo shutdown -P now' when the test suite has finished. However, we already put a shutdown in place as an earlier 8-hour failsafe. The failsafe shutdown blocks the end-of-suite shutdown from happening. Thus the server stays alive for the full test run.

Evidence:

ec2test@domU-12-31-39-0E-62-61:~$ sudo shutdown -P now
shutdown: Another shutdown is already running
ec2test@domU-12-31-39-0E-62-61:~$

To solve this I can cancel the existing shutdown with 'shutdown -c', then call it again with '-P now'.

Māris Fogels (mars)
Changed in launchpad-foundations:
status: Triaged → In Progress
Māris Fogels (mars)
Changed in launchpad-foundations:
status: In Progress → 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.