Project Number Date
test_Tails_ISO_devel 3696 17 Feb 2025, 13:06

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 45:38.905 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:29.111
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:41.872
And I update APT using apt 13.885
And I install "python3-behave" using apt 29.900
Then the Tails Persistent Storage behave tests pass 3.452
After features/support/hooks.rb:326 3.348
After features/support/hooks.rb:100 0.000
Tags: @product
47.807
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.048
When I log in to a new session without activating the Persistent Storage 25.209
Then Tails is running from USB drive "__internal" 0.570
And persistence is disabled 0.393
But a Tails persistence partition exists on USB drive "__internal" 7.584
After features/support/hooks.rb:326 0.919
After features/support/hooks.rb:100 0.000
Tags: @product
3:45.058
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 16.208
Then Tails is running from USB drive "__internal" 1.692
When I create a file in the Persistent directory 0.260
And I create a persistent partition with the default settings 28.139
Then the file I created was copied to the Persistent Storage 0.578
When I shutdown Tails and wait for the computer to power off 13.238
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:43.956
Then persistence for "Persistent" is active 0.916
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.009
Tags: @product
1:7.767
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 12.619
And the system is very low on memory 4.387
When I create a file in the Persistent directory 2.010
When I try to create a persistent partition 27.865
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.200
When I close the Persistent Storage app 2.812
And I free up some memory 1.653
And I create a persistent partition with the default settings 15.972
Then the file I created was copied to the Persistent Storage 0.246
After features/support/hooks.rb:326 1.336
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.249
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 13.452
Then Tails is running from USB drive "__internal" 0.686
And all tps features are active 3.288
And all persistent directories have safe access rights 2.889
When I disable the first tps feature 6.471
Then all tps features but the first one are active 2.451
And I shutdown Tails and wait for the computer to power off 13.384
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.383
Then all tps features but the first one are active 4.243
After features/support/hooks.rb:326 1.219
After features/support/hooks.rb:100 0.009
Tags: @product
22.534
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 11.262
Then persistence for "Persistent" is active 0.122
And I create a file in the Persistent directory 0.145
Then the file I created was copied to the Persistent Storage 0.114
When I disable the first tps feature 6.263
Then persistence for "Persistent" is not active 0.084
And the Persistent directory does not exist 0.072
When I enable the first tps feature 4.274
Then persistence for "Persistent" is active 0.105
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.000
Tags: @product
21.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 11.188
Then persistence for "Persistent" is active 0.081
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 6.338
And I delete the data of the Persistent Folder feature 3.775
Then the file I created does not exist on the Persistent Storage 0.050
After features/support/hooks.rb:326 1.444
After features/support/hooks.rb:100 0.000
Tags: @product
1:23.744
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 25.046
And the network is plugged 0.108
And Tor is ready 20.258
And I take note of which tps features are available 0.613
When I write some files expected to persist 1.614
And I shutdown Tails and wait for the computer to power off 10.980
# 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" 25.123
After features/support/hooks.rb:326 0.119
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.205
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.492
And the network is plugged 0.082
And Tor is ready 20.071
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.239
And I shutdown Tails and wait for the computer to power off 8.447
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.488
And I capture all network traffic 0.023
And the network is plugged 0.082
And Tor is ready 20.635
And I switch to the "persistent-con-current" NetworkManager connection 0.401
And the 1st network device has a spoofed MAC address configured 0.099
And no network device leaked the real MAC address 0.140
After features/support/hooks.rb:326 0.760
After features/support/hooks.rb:100 0.045
Tags: @product
1:4.441
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 17.183
And I enable persistence creation in Tails Greeter 1.196
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.712
Then I create a persistent partition with the default settings using the wizard that was already open 24.348
After features/support/hooks.rb:326 1.490
After features/support/hooks.rb:100 0.000
Tags: @product
4:50.211
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 16.747
When I enable persistence 40.727
Then no persistent Greeter options were restored 14.169
When I set all Greeter options to non-default values 25.673
And I log in to a new session in German (de) after having activated the Persistent Storage 53.049
Then all Greeter options are set to non-default values 0.610
When I cold reboot the computer 7.879
And the computer reboots Tails 1:10.854
Given I enable persistence 20.486
Then persistent Greeter options were restored 0.611
When I log in to a new session after having activated the Persistent Storage 38.982
Then all Greeter options are set to non-default values 0.419
After features/support/hooks.rb:326 1.109
After features/support/hooks.rb:100 0.010
Tags: @product
3:53.188
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.940
# 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.885
And I shutdown Tails and wait for the computer to power off 12.842
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:23.082
And I change the passphrase of the Persistent Storage back to the original 31.437
After features/support/hooks.rb:326 3.121
After features/support/hooks.rb:100 0.011
Tags: @product
54.771
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.011
And I log in to a new session without activating the Persistent Storage 20.549
Then persistence is disabled 0.266
But a Tails persistence partition exists on USB drive "__internal" 7.173
And all notifications have disappeared 8.695
When I delete the persistent partition 6.548
Then there is no persistence partition on USB drive "__internal" 0.528
After features/support/hooks.rb:326 0.928
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.215
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.329
When I write some dotfile expected to persist 0.074
And I shutdown Tails and wait for the computer to power off 9.079
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.388
Then the expected persistent dotfile is present in the filesystem 0.342
After features/support/hooks.rb:326 1.435
After features/support/hooks.rb:100 0.010
Tags: @product
1:55.679
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 10.359
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.111
When I try to enable persistence 0.296
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.598
When I log in to a new session after having activated the Persistent Storage 49.542
And all notifications have disappeared 10.306
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.529
And all tps features are enabled 2.729
And all tps features but the first one are active 2.204
After features/support/hooks.rb:326 1.257
After features/support/hooks.rb:100 0.000
Tags: @product
6:41.608
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 5:8.637
And I enable persistence 41.054
And I log in to a new session after having activated the Persistent Storage 45.714
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.051
And persistence is enabled 3.151
After features/support/hooks.rb:326 1.159
After features/support/hooks.rb:100 0.000
Tags: @product
34.411
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 9.319
And I enable persistence but something goes wrong during the LUKS header upgrade 24.275
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.816
After features/support/hooks.rb:326 0.771
After features/support/hooks.rb:100 0.000
Tags: @product
54.414
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.735
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.510
When I enable persistence 35.197
Then the filesystem of the Persistent Storage was repaired 0.111
And persistence is successfully enabled 3.859
After features/support/hooks.rb:326 0.953
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.416
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.161
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.963
When I try to enable persistence 0.578
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.965
When I repair the filesystem of the Persistent Storage 1.352
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.963
And the filesystem of the Persistent Storage was repaired 2.800
When I close the filesystem repair dialog 1.476
Then persistence is successfully enabled 2.155
After features/support/hooks.rb:326 3.635
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.070
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.740
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.318
When I try to enable persistence 0.363
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.330
When I repair the filesystem of the Persistent Storage 1.274
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.910
When I log in to a new session 37.894
And all notifications have disappeared 8.976
# 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.987
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.516
When I close the "whisperback" window 1.409
Then the Tor Browser starts 21.496
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.850
After features/support/hooks.rb:326 3.209
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:5.483
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.745
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.407
And Tails detects disk read failures on the boot device 1.999
When I try to enable persistence 0.554
Then the Welcome Screen tells me that my hardware is probably failing 24.843
When I log in to a new session 46.803
And all notifications have disappeared 9.436
Then the Tor Browser starts 22.772
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.920
After features/support/hooks.rb:326 1.381
After features/support/hooks.rb:100 0.000