Project Number Date
test_Tails_ISO_devel 3633 05 Jan 2025, 12:23

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 157 0 0 0 0 157 21 0 21 38:24.439 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.536
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:46.871
And I update APT using apt 13.358
And I install "python3-behave" using apt 25.307
Then the Tails Persistent Storage behave tests pass 1.999
After features/support/hooks.rb:326 0.630
After features/support/hooks.rb:100 0.000
Tags: @product
41.557
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.804
When I log in to a new session without activating the Persistent Storage 22.278
Then Tails is running from USB drive "__internal" 0.473
And persistence is disabled 0.394
But a Tails persistence partition exists on USB drive "__internal" 6.607
After features/support/hooks.rb:326 1.679
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.485
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.670
Then Tails is running from USB drive "__internal" 0.435
When I create a file in the Persistent directory 0.263
And I create a persistent partition with the default settings 21.906
Then the file I created was copied to the Persistent Storage 0.577
When I shutdown Tails and wait for the computer to power off 12.900
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.354
Then persistence for "Persistent" is active 0.294
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 0.620
After features/support/hooks.rb:100 0.009
Tags: @product
1:1.557
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.313
And the system is very low on memory 4.022
When I create a file in the Persistent directory 1.239
When I try to create a persistent partition 27.790
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.222
When I close the Persistent Storage app 2.827
And I free up some memory 1.716
And I create a persistent partition with the default settings 13.200
Then the file I created was copied to the Persistent Storage 0.224
After features/support/hooks.rb:326 1.469
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.547
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.856
Then Tails is running from USB drive "__internal" 0.503
And all tps features are active 2.106
And all persistent directories have safe access rights 2.473
When I disable the first tps feature 5.749
Then all tps features but the first one are active 2.099
And I shutdown Tails and wait for the computer to power off 10.660
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.949
Then all tps features but the first one are active 2.148
After features/support/hooks.rb:326 0.826
After features/support/hooks.rb:100 0.007
Tags: @product
21.274
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.536
Then persistence for "Persistent" is active 0.080
And I create a file in the Persistent directory 0.084
Then the file I created was copied to the Persistent Storage 0.605
When I disable the first tps feature 5.730
Then persistence for "Persistent" is not active 0.137
And the Persistent directory does not exist 0.078
When I enable the first tps feature 3.860
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:326 0.890
After features/support/hooks.rb:100 0.000
Tags: @product
21.976
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.075
Then persistence for "Persistent" is active 0.919
When I create a file in the Persistent directory 0.090
And I disable the first tps feature 5.592
And I delete the data of the Persistent Folder feature 5.226
Then the file I created does not exist on the Persistent Storage 0.071
After features/support/hooks.rb:326 0.966
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.288
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.045
And the network is plugged 0.101
And Tor is ready 21.471
And I take note of which tps features are available 0.590
When I write some files expected to persist 1.438
And I shutdown Tails and wait for the computer to power off 8.581
# XXX: The next step succeeds (and the --debug output confirms that it's actually looking for the files) but will fail in a subsequent scenario restoring the same snapshot. This exactly what we want, but why does it work? What is guestfs's behaviour when qcow2 internal snapshots are involved?
Then only the expected files are present on the persistence partition on USB drive "__internal" 24.058
After features/support/hooks.rb:326 0.105
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.724
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.688
And the network is plugged 0.077
And Tor is ready 20.956
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.201
And I shutdown Tails and wait for the computer to power off 8.694
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.043
And I capture all network traffic 0.008
And the network is plugged 0.079
And Tor is ready 19.309
And I switch to the "persistent-con-current" NetworkManager connection 0.418
And the 1st network device has a spoofed MAC address configured 0.095
And no network device leaked the real MAC address 0.151
After features/support/hooks.rb:326 0.918
After features/support/hooks.rb:100 0.073
Tags: @product
53.503
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.063
And I enable persistence creation in Tails Greeter 1.133
And I log in to a new session expecting no warning about the Persistent Storage not being activated 18.492
Then I create a persistent partition with the default settings using the wizard that was already open 21.814
After features/support/hooks.rb:326 1.544
After features/support/hooks.rb:100 0.000
Tags: @product
4:29.343
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.342
When I enable persistence 40.735
Then no persistent Greeter options were restored 14.314
When I set all Greeter options to non-default values 23.960
And I log in to a new session in German (de) after having activated the Persistent Storage 50.161
Then all Greeter options are set to non-default values 0.762
When I cold reboot the computer 7.463
And the computer reboots Tails 1:1.006
Given I enable persistence 17.165
Then persistent Greeter options were restored 0.534
When I log in to a new session after having activated the Persistent Storage 40.531
Then all Greeter options are set to non-default values 0.364
After features/support/hooks.rb:326 1.249
After features/support/hooks.rb:100 0.009
Tags: @product
3:41.865
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.219
# Note that if anything fails after the passphrase was changed and
# before it's changed back below, subsequent scenarios might fail
# because the Persistent Storage doesn't have the expected passphrase.
When I change the passphrase of the Persistent Storage 34.692
And I shutdown Tails and wait for the computer to power off 14.404
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:2.660
And I change the passphrase of the Persistent Storage back to the original 39.886
After features/support/hooks.rb:326 2.176
After features/support/hooks.rb:100 0.009
Tags: @product
57.534
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.430
And I log in to a new session without activating the Persistent Storage 19.302
Then persistence is disabled 0.174
But a Tails persistence partition exists on USB drive "__internal" 10.461
And all notifications have disappeared 10.255
When I delete the persistent partition 5.387
Then there is no persistence partition on USB drive "__internal" 0.523
After features/support/hooks.rb:326 0.770
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.481
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.110
When I write some dotfile expected to persist 0.092
And I shutdown Tails and wait for the computer to power off 8.737
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.235
Then the expected persistent dotfile is present in the filesystem 0.305
After features/support/hooks.rb:326 0.663
After features/support/hooks.rb:100 0.009
Tags: @product
1:36.498
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.358
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.343
When I try to enable persistence 0.271
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.720
When I log in to a new session after having activated the Persistent Storage 41.319
And all notifications have disappeared 9.309
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.492
And all tps features are enabled 2.566
And all tps features but the first one are active 2.115
After features/support/hooks.rb:326 0.901
After features/support/hooks.rb:100 0.000
Tags: @product
4:48.112
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:23.528
And I enable persistence 34.867
And I log in to a new session after having activated the Persistent Storage 44.653
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.853
And persistence is enabled 3.209
After features/support/hooks.rb:326 0.948
After features/support/hooks.rb:100 0.000
Tags: @product
30.886
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.892
And I enable persistence but something goes wrong during the LUKS header upgrade 21.116
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.877
After features/support/hooks.rb:326 0.759
After features/support/hooks.rb:100 0.000
Tags: @product
46.562
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.346
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.313
When I enable persistence 29.180
Then the filesystem of the Persistent Storage was repaired 0.093
And persistence is successfully enabled 2.628
After features/support/hooks.rb:326 0.884
After features/support/hooks.rb:100 0.000
Tags: @product
26.020
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.583
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.515
When I try to enable persistence 0.487
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.187
When I repair the filesystem of the Persistent Storage 1.239
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.284
And the filesystem of the Persistent Storage was repaired 0.091
When I close the filesystem repair dialog 1.239
Then persistence is successfully enabled 1.390
After features/support/hooks.rb:326 0.804
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:45.196
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.593
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.275
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.105
When I repair the filesystem of the Persistent Storage 1.326
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 36.657
And all notifications have disappeared 7.817
# Now both WhisperBack and Tor Browser has started at the same
# time, so we do not know which window is focused. The steps about
# Tor Browser care about that, but the ones about WhisperBack do
# not, so we first deal with WhisperBack and then kill it to
# ensure that Tor Browser is focused.
Then WhisperBack is prefilled for fsck with summary: "Failed to repair the file system of your Persistent Storage" 1.482
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.140
When I close the "whisperback" window 1.907
Then the Tor Browser starts 16.904
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.798
After features/support/hooks.rb:326 1.564
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:9.485
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.360
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.894
And Tails detects disk read failures on the boot device 0.517
When I try to enable persistence 0.402
Then the Welcome Screen tells me that my hardware is probably failing 5.563
When I log in to a new session 20.934
And all notifications have disappeared 8.049
Then the Tor Browser starts 18.032
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.732
After features/support/hooks.rb:326 1.521
After features/support/hooks.rb:100 0.000