Project Number Date
test_Tails_ISO_stable 5559 08 Apr 2025, 12:43

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 40:19.831 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:16.192
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.597
And I update APT using apt 1:12.436
And I install "python3-behave" using apt 23.194
Then the Tails Persistent Storage behave tests pass 2.963
After features/support/hooks.rb:330 1.421
After features/support/hooks.rb:100 0.000
Tags: @product
42.179
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.229
When I log in to a new session without activating the Persistent Storage 23.396
Then Tails is running from USB drive "__internal" 0.679
And persistence is disabled 0.371
But a Tails persistence partition exists on USB drive "__internal" 6.501
After features/support/hooks.rb:330 1.950
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.906
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.219
Then Tails is running from USB drive "__internal" 0.537
When I create a file in the Persistent directory 0.127
And I create a persistent partition with the default settings 22.561
Then the file I created was copied to the Persistent Storage 2.287
When I shutdown Tails and wait for the computer to power off 10.584
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.166
Then persistence for "Persistent" is active 0.352
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:330 1.679
After features/support/hooks.rb:100 0.007
Tags: @product
58.032
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.613
And the system is very low on memory 3.242
When I create a file in the Persistent directory 0.872
When I try to create a persistent partition 22.892
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.138
When I close the Persistent Storage app 2.557
And I free up some memory 3.335
And I create a persistent partition with the default settings 13.114
Then the file I created was copied to the Persistent Storage 0.265
After features/support/hooks.rb:330 1.510
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.199
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.757
Then Tails is running from USB drive "__internal" 0.543
And all tps features are active 2.408
And all persistent directories have safe access rights 2.487
When I disable the first tps feature 5.992
Then all tps features but the first one are active 2.077
And I shutdown Tails and wait for the computer to power off 10.935
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.936
Then all tps features but the first one are active 2.060
After features/support/hooks.rb:330 1.438
After features/support/hooks.rb:100 0.023
Tags: @product
21.111
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.786
Then persistence for "Persistent" is active 0.771
And I create a file in the Persistent directory 0.101
Then the file I created was copied to the Persistent Storage 0.105
When I disable the first tps feature 6.315
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.052
When I enable the first tps feature 3.739
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.095
After features/support/hooks.rb:330 1.574
After features/support/hooks.rb:100 0.000
Tags: @product
20.706
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.411
Then persistence for "Persistent" is active 0.302
When I create a file in the Persistent directory 0.146
And I disable the first tps feature 6.381
And I delete the data of the Persistent Folder feature 4.415
Then the file I created does not exist on the Persistent Storage 0.048
After features/support/hooks.rb:330 1.621
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.019
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.314
And the network is plugged 0.094
And Tor is ready 22.961
And I take note of which tps features are available 0.683
When I write some files expected to persist 1.445
And I shutdown Tails and wait for the computer to power off 8.686
# 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" 23.834
After features/support/hooks.rb:330 0.115
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.444
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.677
And the network is plugged 0.090
And Tor is ready 21.449
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.193
And I shutdown Tails and wait for the computer to power off 8.489
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.119
And I capture all network traffic 0.006
And the network is plugged 0.070
And Tor is ready 18.715
And I switch to the "persistent-con-current" NetworkManager connection 0.318
And the 1st network device has a spoofed MAC address configured 0.114
And no network device leaked the real MAC address 0.198
After features/support/hooks.rb:330 0.912
After features/support/hooks.rb:100 0.045
Tags: @product
56.932
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 11.957
And I enable persistence creation in Tails Greeter 1.291
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.583
Then I create a persistent partition with the default settings using the wizard that was already open 23.100
After features/support/hooks.rb:330 2.144
After features/support/hooks.rb:100 0.000
Tags: @product
4:13.192
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.107
When I enable persistence 35.940
Then no persistent Greeter options were restored 14.283
When I set all Greeter options to non-default values 24.017
And I log in to a new session in German (de) after having activated the Persistent Storage 48.408
Then all Greeter options are set to non-default values 1.053
When I cold reboot the computer 7.404
And the computer reboots Tails 59.512
Given I enable persistence 18.771
Then persistent Greeter options were restored 0.483
When I log in to a new session after having activated the Persistent Storage 31.955
Then all Greeter options are set to non-default values 0.255
After features/support/hooks.rb:330 1.836
After features/support/hooks.rb:100 0.028
Tags: @product
3:49.844
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.913
# 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 37.175
And I shutdown Tails and wait for the computer to power off 14.916
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:16.038
And I change the passphrase of the Persistent Storage back to the original 31.799
After features/support/hooks.rb:330 2.657
After features/support/hooks.rb:100 0.060
Tags: @product
52.611
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.546
And I log in to a new session without activating the Persistent Storage 20.143
Then persistence is disabled 0.260
But a Tails persistence partition exists on USB drive "__internal" 6.038
And all notifications have disappeared 8.593
When I delete the persistent partition 7.091
Then there is no persistence partition on USB drive "__internal" 0.938
After features/support/hooks.rb:330 1.377
After features/support/hooks.rb:100 0.000
Tags: @product
2:22.234
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.022
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.588
When I write some dotfile expected to persist 0.060
And I shutdown Tails and wait for the computer to power off 8.533
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.687
Then the expected persistent dotfile is present in the filesystem 0.364
After features/support/hooks.rb:330 1.192
After features/support/hooks.rb:100 0.008
Tags: @product
1:40.599
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.933
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.255
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.110
When I log in to a new session after having activated the Persistent Storage 49.046
And all notifications have disappeared 8.026
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.790
And all tps features are enabled 2.418
And all tps features but the first one are active 1.924
After features/support/hooks.rb:330 1.623
After features/support/hooks.rb:100 0.000
Tags: @product
4:50.623
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
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:28.099
And I enable persistence 29.711
And I log in to a new session after having activated the Persistent Storage 48.461
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.449
And persistence is enabled 2.901
After features/support/hooks.rb:330 1.614
After features/support/hooks.rb:100 0.000
Tags: @product
31.947
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
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.709
And I enable persistence but something goes wrong during the LUKS header upgrade 22.494
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.743
After features/support/hooks.rb:330 0.732
After features/support/hooks.rb:100 0.000
Tags: @product
48.454
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.640
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.420
When I enable persistence 31.835
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 2.470
After features/support/hooks.rb:330 1.367
After features/support/hooks.rb:100 0.000
Tags: @product
47.350
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.444
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.446
When I try to enable persistence 0.406
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.904
When I repair the filesystem of the Persistent Storage 1.288
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.929
And the filesystem of the Persistent Storage was repaired 3.265
When I close the filesystem repair dialog 1.252
Then persistence is successfully enabled 1.410
After features/support/hooks.rb:330 1.716
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.196
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.515
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.118
When I try to enable persistence 0.257
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.233
When I repair the filesystem of the Persistent Storage 1.984
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 37.509
And all notifications have disappeared 7.821
# 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" 0.540
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.345
When I close the "whisperback" window 1.455
Then the Tor Browser starts 21.475
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.861
After features/support/hooks.rb:330 2.058
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.051
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.026
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.815
And Tails detects disk read failures on the boot device 1.584
When I try to enable persistence 0.389
Then the Welcome Screen tells me that my hardware is probably failing 17.024
When I log in to a new session 50.322
And all notifications have disappeared 7.609
Then the Tor Browser starts 20.483
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.795
After features/support/hooks.rb:330 1.685
After features/support/hooks.rb:100 0.000