Skip to content

Test suite fails to enable persistence in "Persistent browser bookmarks"

  #11585
  @fragile
  Scenario: Persistent browser bookmarks                                                                          # features/torified_browsing.feature:155
    Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in # features/step_definitions/snapshots.rb:172
    And all persistence presets are enabled                                                                       # features/step_definitions/usb.rb:365
    And all persistent filesystems have safe access rights                                                        # features/step_definitions/usb.rb:470
    And all persistence configuration files have safe access rights                                               # features/step_definitions/usb.rb:481
    And all persistent directories have safe access rights                                                        # features/step_definitions/usb.rb:500
    When I start the Tor Browser in offline mode                                                                  # features/step_definitions/common_steps.rb:376
    And I add a bookmark to eff.org in the Tor Browser                                                            # features/step_definitions/common_steps.rb:418
    And I warm reboot the computer                                                                                # features/step_definitions/common_steps.rb:554
    And the computer reboots Tails                                                                                # features/step_definitions/common_steps.rb:259
    And I enable persistence                                                                                      # features/step_definitions/usb.rb:352
      FindFailed: can not find TailsGreeterPersistencePassphrase.png in S(0)[0,0 1024x768]
        Line 2171, in file Region.java
       (RuntimeError)
      features/torified_browsing.feature:165:in `And I enable persistence'

I see 4 chars already in the persistence passphrase field which explains the resulting behavior. Never seen that outside of the test suite. Seen that on feature/stretch and #5630 (closed). Interestingly, I’ve never seen this happen in other scenarios that use persistence, which might help identify the root cause :)

Related issues

Original created by @intrigeri on 12461 (Redmine)

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