Bug #10390
The 'I shutdown Tails and wait for the computer to power off' step is racey
Start date:
2015-10-19
Due date:
% Done:
100%
Description
Look at this:
Then /^Tails eventually restarts$/ do
nr_gibs_of_ram = (detected_ram_in_MiB.to_f/(2**10)).ceil
@screen.wait('TailsBootSplash.png', nr_gibs_of_ram*5*60)
end
Given /^I shutdown Tails and wait for the computer to power off$/ do
$vm.execute("poweroff")
step 'Tails eventually shuts down'
end
i.e. we call the remote shell while we are shutting down Tails.
Instead of asking Tails via the remote shell how much ram it has, let’s ask libvirt how much virtual RAM the machine has.
Subtasks
History
#1 Updated by intrigeri 2015-12-05 14:00:10
That’s been fixed on feature/jessie, no?
#2 Updated by anonym 2015-12-16 14:05:59
- Target version changed from Tails_1.8 to Tails_2.0
#3 Updated by intrigeri 2016-01-09 17:45:45
- Status changed from Confirmed to Fix committed
- Assignee deleted (
anonym) - % Done changed from 0 to 100
Looks like commit:d450e5abb5620870f4d042e489a335948ba50b31 fixes it, indeed.
#4 Updated by anonym 2016-01-27 13:31:47
- Status changed from Fix committed to Resolved