Project Number Date
test_Tails_ISO_stable 5435 31 Jan 2025, 12:37

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:54.637 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.207
Before features/support/hooks.rb:269 0.010
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:36.877
And I update APT using apt 14.254
And I install "python3-behave" using apt 25.630
Then the Tails Persistent Storage behave tests pass 2.444
After features/support/hooks.rb:326 1.705
After features/support/hooks.rb:100 0.000
Tags: @product
43.347
Before features/support/hooks.rb:269 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 12.960
When I log in to a new session without activating the Persistent Storage 21.764
Then Tails is running from USB drive "__internal" 0.535
And persistence is disabled 0.321
But a Tails persistence partition exists on USB drive "__internal" 7.766
After features/support/hooks.rb:326 1.012
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.789
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 17.627
Then Tails is running from USB drive "__internal" 0.670
When I create a file in the Persistent directory 0.133
And I create a persistent partition with the default settings 24.228
Then the file I created was copied to the Persistent Storage 0.475
When I shutdown Tails and wait for the computer to power off 13.052
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.822
Then persistence for "Persistent" is active 0.690
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:326 0.805
After features/support/hooks.rb:100 0.008
Tags: @product
1:8.437
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.602
And the system is very low on memory 4.479
When I create a file in the Persistent directory 1.588
When I try to create a persistent partition 33.061
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.493
When I close the Persistent Storage app 2.512
And I free up some memory 2.143
And I create a persistent partition with the default settings 13.338
Then the file I created was copied to the Persistent Storage 0.217
After features/support/hooks.rb:326 1.561
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.514
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 12.211
Then Tails is running from USB drive "__internal" 0.586
And all tps features are active 2.297
And all persistent directories have safe access rights 2.818
When I disable the first tps feature 5.375
Then all tps features but the first one are active 2.458
And I shutdown Tails and wait for the computer to power off 14.756
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.829
Then all tps features but the first one are active 2.178
After features/support/hooks.rb:326 0.868
After features/support/hooks.rb:100 0.008
Tags: @product
20.203
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.487
Then persistence for "Persistent" is active 0.105
And I create a file in the Persistent directory 0.220
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 5.962
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.097
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:326 0.804
After features/support/hooks.rb:100 0.000
Tags: @product
19.184
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 9.442
Then persistence for "Persistent" is active 0.281
When I create a file in the Persistent directory 0.077
And I disable the first tps feature 5.737
And I delete the data of the Persistent Folder feature 3.588
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:326 0.896
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.141
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 9.842
And the network is plugged 0.113
And Tor is ready 22.106
And I take note of which tps features are available 0.583
When I write some files expected to persist 1.591
And I shutdown Tails and wait for the computer to power off 8.921
# 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.982
After features/support/hooks.rb:326 0.139
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.842
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.010
And the network is plugged 0.085
And Tor is ready 20.080
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.229
And I shutdown Tails and wait for the computer to power off 8.285
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.355
And I capture all network traffic 0.007
And the network is plugged 0.120
And Tor is ready 16.993
And I switch to the "persistent-con-current" NetworkManager connection 0.467
And the 1st network device has a spoofed MAC address configured 0.085
And no network device leaked the real MAC address 0.121
After features/support/hooks.rb:326 0.581
After features/support/hooks.rb:100 0.078
Tags: @product
56.075
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.869
And I enable persistence creation in Tails Greeter 1.190
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.762
Then I create a persistent partition with the default settings using the wizard that was already open 22.253
After features/support/hooks.rb:326 1.565
After features/support/hooks.rb:100 0.000
Tags: @product
4:33.918
Before features/support/hooks.rb:269 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 11.509
When I enable persistence 37.425
Then no persistent Greeter options were restored 14.417
When I set all Greeter options to non-default values 25.520
And I log in to a new session in German (de) after having activated the Persistent Storage 50.650
Then all Greeter options are set to non-default values 0.549
When I cold reboot the computer 7.253
And the computer reboots Tails 1:11.131
Given I enable persistence 17.179
Then persistent Greeter options were restored 0.545
When I log in to a new session after having activated the Persistent Storage 37.300
Then all Greeter options are set to non-default values 0.435
After features/support/hooks.rb:326 1.593
After features/support/hooks.rb:100 0.009
Tags: @product
3:46.947
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 9.887
# 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.033
And I shutdown Tails and wait for the computer to power off 14.671
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.704
And I change the passphrase of the Persistent Storage back to the original 38.651
After features/support/hooks.rb:326 2.027
After features/support/hooks.rb:100 0.007
Tags: @product
52.643
Before features/support/hooks.rb:269 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.702
And I log in to a new session without activating the Persistent Storage 21.041
Then persistence is disabled 0.283
But a Tails persistence partition exists on USB drive "__internal" 6.059
And all notifications have disappeared 6.501
When I delete the persistent partition 8.215
Then there is no persistence partition on USB drive "__internal" 0.839
After features/support/hooks.rb:326 0.780
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.010
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 9.774
When I write some dotfile expected to persist 0.067
And I shutdown Tails and wait for the computer to power off 10.704
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.921
Then the expected persistent dotfile is present in the filesystem 0.542
After features/support/hooks.rb:326 1.080
After features/support/hooks.rb:100 0.026
Tags: @product
1:42.003
Before features/support/hooks.rb:269 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.131
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.112
When I try to enable persistence 0.412
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.410
When I log in to a new session after having activated the Persistent Storage 43.595
And all notifications have disappeared 8.965
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.490
And all tps features are enabled 2.723
And all tps features but the first one are active 2.161
After features/support/hooks.rb:326 1.133
After features/support/hooks.rb:100 0.000
Tags: @product
5:13.580
Before features/support/hooks.rb:269 0.006
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:50.994
And I enable persistence 32.785
And I log in to a new session after having activated the Persistent Storage 43.837
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.194
And persistence is enabled 2.768
After features/support/hooks.rb:326 1.319
After features/support/hooks.rb:100 0.000
Tags: @product
28.950
Before features/support/hooks.rb:269 0.006
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.918
And I enable persistence but something goes wrong during the LUKS header upgrade 19.156
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.876
After features/support/hooks.rb:326 0.717
After features/support/hooks.rb:100 0.000
Tags: @product
47.974
Before features/support/hooks.rb:269 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.707
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.519
When I enable persistence 28.730
Then the filesystem of the Persistent Storage was repaired 0.128
And persistence is successfully enabled 2.888
After features/support/hooks.rb:326 0.885
After features/support/hooks.rb:100 0.000
Tags: @product
47.351
Before features/support/hooks.rb:269 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.159
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.206
When I try to enable persistence 0.383
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.141
When I repair the filesystem of the Persistent Storage 5.064
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.373
And the filesystem of the Persistent Storage was repaired 1.120
When I close the filesystem repair dialog 1.358
Then persistence is successfully enabled 1.544
After features/support/hooks.rb:326 0.926
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.046
Before features/support/hooks.rb:269 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.964
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.100
When I try to enable persistence 0.379
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.996
When I repair the filesystem of the Persistent Storage 1.197
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.131
When I log in to a new session 39.745
And all notifications have disappeared 8.629
# 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.146
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.699
When I close the "whisperback" window 1.754
Then the Tor Browser starts 17.439
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:326 1.761
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.467
Before features/support/hooks.rb:269 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.034
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.005
And Tails detects disk read failures on the boot device 1.710
When I try to enable persistence 0.429
Then the Welcome Screen tells me that my hardware is probably failing 19.480
When I log in to a new session 50.977
And all notifications have disappeared 9.087
Then the Tor Browser starts 17.913
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.828
After features/support/hooks.rb:326 1.957
After features/support/hooks.rb:100 0.000