Skip to content

fillram sometimes doesn't complete

On Tails 1.4~rc1:

  Scenario: Anti-test: no memory erasure on a modern computer             # features/erase_memory.feature:7
    Given a computer                                                      # features/step_definitions/common_steps.rb:66
    And the computer is a modern 64-bit system                            # features/step_definitions/erase_memory.rb:1
    And the computer has 8 GiB of RAM                                     # features/step_definitions/common_steps.rb:71
    And I set Tails to boot with options "debug=wipemem"                  # features/step_definitions/common_steps.rb:134
    And I start Tails from DVD with network unplugged and I login         # features/step_definitions/common_steps.rb:147
    Then the PAE kernel is running                                        # features/step_definitions/erase_memory.rb:24
    And at least 8 GiB of RAM was detected                                # features/step_definitions/erase_memory.rb:44
      Detected 8003 MiB of RAM
    And process "memlockd" is running                                     # features/step_definitions/common_steps.rb:450
    And process "udev-watchdog" is running                                # features/step_definitions/common_steps.rb:450
Memory fill progress:  89%


    When I fill the guest's memory with a known pattern without verifying # features/step_definitions/erase_memory.rb:77
      fillram didn't complete, probably the VM crashed (Timeout::Error)
      ./features/support/helpers/misc_helpers.rb:66:in `rescue in try_for'
      ./features/support/helpers/misc_helpers.rb:24:in `try_for'
      ./features/step_definitions/erase_memory.rb:117:in `/^I fill the guest's memory with a known pattern(| without verifying)$/'
      features/erase_memory.feature:17:in `When I fill the guest's memory with a known pattern without verifying'
    And I reboot without wiping the memory                                # features/step_definitions/erase_memory.rb:156
    Then I find many patterns in the guest's memory                       # features/step_definitions/erase_memory.rb:147

Feature Branch: test/9329-fillram-crashes

Attachments

  • erase_memory-2015-05-03T10_08_27-04_00

Parent Task: #8539 (closed)

Original created by @intrigeri on 9329 (Redmine)

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