Skip to content

Spurious reboot breaks test suite which cannot connect to the remote shell

After we deal with the boot menu the kernel starts booting, but then suddenly we reboot. This second time we don’t add the magic kernel commandline options, so the remote shell is not running when we reach the Greeter.

  Scenario: VirtualBox guest modules are available                # features/virtualization.feature:4
    Given a computer                                              # features/step_definitions/common_steps.rb:122
    And the computer is an old pentium without the PAE extension  # features/step_definitions/erase_memory.rb:29
[log] CLICK on (1024,384)
[log] TYPE " autotest_never_use_this_option blacklist=psmouse 
"
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
calling as root: echo 'hello?'
    And I start Tails from DVD with network unplugged and I login # features/step_definitions/common_steps.rb:196
      Remote shell seems to be down
      Last ignored exception was: Errno::ECONNRESET: Connection reset by peer @ io_fillbuf - fd:37  (Timeout::Error)
      ./features/support/helpers/misc_helpers.rb:83:in `rescue in try_for'
      ./features/support/helpers/misc_helpers.rb:33:in `try_for'
      ./features/support/helpers/exec_helper.rb:16:in `wait_until_remote_shell_is_up'
      ./features/support/helpers/vm_helper.rb:485:in `wait_until_remote_shell_is_up'
      ./features/step_definitions/common_steps.rb:345:in `/^the computer (re)?boots Tails$/'
      ./features/step_definitions/common_steps.rb:204:in `/^I start Tails( from DVD)?( with network unplugged)?( and I login)?$/'
      features/virtualization.feature:7:in `And I start Tails from DVD with network unplugged and I login'
    When Tails has booted a 32-bit kernel                         # features/step_definitions/checks.rb:99
    Then the VirtualBox guest modules are available               # features/step_definitions/checks.rb:126
      Scenario failed at time 02:55:57

Attachments

Parent Task: #10288

Related issues

Original created by @intrigeri on 12041 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information