Project Number Date
test_Tails_ISO_stable 5124 28 Sep 2024, 12:17

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:40.227 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:20.920
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:35.699
And I update APT using apt 16.070
And I install "python3-behave" using apt 26.220
Then the Tails Persistent Storage behave tests pass 2.929
After features/support/hooks.rb:326 1.826
After features/support/hooks.rb:100 0.000
Tags: @product
41.498
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 13.150
When I log in to a new session without activating the Persistent Storage 20.629
Then Tails is running from USB drive "__internal" 0.564
And persistence is disabled 0.249
But a Tails persistence partition exists on USB drive "__internal" 6.904
After features/support/hooks.rb:326 1.138
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.992
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.973
Then Tails is running from USB drive "__internal" 0.386
When I create a file in the Persistent directory 0.156
And I create a persistent partition with the default settings 23.337
Then the file I created was copied to the Persistent Storage 0.677
When I shutdown Tails and wait for the computer to power off 12.649
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.476
Then persistence for "Persistent" is active 0.277
And the file I created in the Persistent directory exists 0.057
After features/support/hooks.rb:326 0.871
After features/support/hooks.rb:100 0.010
Tags: @product
1:2.630
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.816
And the system is very low on memory 5.329
When I create a file in the Persistent directory 1.853
When I try to create a persistent partition 26.541
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.748
When I close the Persistent Storage app 2.533
And I free up some memory 1.573
And I create a persistent partition with the default settings 12.457
Then the file I created was copied to the Persistent Storage 0.776
After features/support/hooks.rb:326 1.265
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.782
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 13.477
Then Tails is running from USB drive "__internal" 0.432
And all tps features are active 2.257
And all persistent directories have safe access rights 2.667
When I disable the first tps feature 5.056
Then all tps features but the first one are active 2.211
And I shutdown Tails and wait for the computer to power off 10.980
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.280
Then all tps features but the first one are active 2.418
After features/support/hooks.rb:326 0.990
After features/support/hooks.rb:100 0.021
Tags: @product
19.380
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.355
Then persistence for "Persistent" is active 0.163
And I create a file in the Persistent directory 0.108
Then the file I created was copied to the Persistent Storage 0.070
When I disable the first tps feature 5.381
Then persistence for "Persistent" is not active 0.066
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.039
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:326 0.986
After features/support/hooks.rb:100 0.000
Tags: @product
18.550
Before features/support/hooks.rb:269 0.033
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.362
Then persistence for "Persistent" is active 0.162
When I create a file in the Persistent directory 0.054
And I disable the first tps feature 5.390
And I delete the data of the Persistent Folder feature 3.537
Then the file I created does not exist on the Persistent Storage 0.043
After features/support/hooks.rb:326 1.054
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.835
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.358
And the network is plugged 0.084
And Tor is ready 19.708
And I take note of which tps features are available 0.587
When I write some files expected to persist 1.460
And I shutdown Tails and wait for the computer to power off 8.522
# 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.113
After features/support/hooks.rb:326 0.107
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.503
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.523
And the network is plugged 0.091
And Tor is ready 21.178
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.203
And I shutdown Tails and wait for the computer to power off 8.641
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.590
And I capture all network traffic 0.006
And the network is plugged 0.080
And Tor is ready 18.534
And I switch to the "persistent-con-current" NetworkManager connection 0.328
And the 1st network device has a spoofed MAC address configured 0.086
And no network device leaked the real MAC address 0.238
After features/support/hooks.rb:326 0.632
After features/support/hooks.rb:100 0.072
Tags: @product
1:27.084
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 40.210
And I enable persistence creation in Tails Greeter 1.139
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.717
Then I create a persistent partition with the default settings using the wizard that was already open 23.016
After features/support/hooks.rb:326 2.546
After features/support/hooks.rb:100 0.000
Tags: @product
5:36.425
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 49.905
When I enable persistence 34.899
Then no persistent Greeter options were restored 14.333
When I set all Greeter options to non-default values 25.706
And I log in to a new session in German (de) after having activated the Persistent Storage 55.940
Then all Greeter options are set to non-default values 0.408
When I cold reboot the computer 7.420
And the computer reboots Tails 1:1.029
Given I enable persistence 32.357
Then persistent Greeter options were restored 14.907
When I log in to a new session after having activated the Persistent Storage 39.062
Then all Greeter options are set to non-default values 0.455
After features/support/hooks.rb:326 1.073
After features/support/hooks.rb:100 0.010
Tags: @product
3:30.118
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.623
# 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 33.818
And I shutdown Tails and wait for the computer to power off 12.703
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:3.419
And I change the passphrase of the Persistent Storage back to the original 30.554
After features/support/hooks.rb:326 1.834
After features/support/hooks.rb:100 0.008
Tags: @product
1:0.254
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.508
And I log in to a new session without activating the Persistent Storage 21.032
Then persistence is disabled 0.332
But a Tails persistence partition exists on USB drive "__internal" 11.046
And all notifications have disappeared 10.566
When I delete the persistent partition 5.252
Then there is no persistence partition on USB drive "__internal" 0.514
After features/support/hooks.rb:326 1.132
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.730
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.649
When I write some dotfile expected to persist 0.173
And I shutdown Tails and wait for the computer to power off 8.799
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.670
Then the expected persistent dotfile is present in the filesystem 0.436
After features/support/hooks.rb:326 0.650
After features/support/hooks.rb:100 0.006
Tags: @product
1:57.003
Before features/support/hooks.rb:269 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.765
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.090
When I try to enable persistence 0.276
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 45.914
When I log in to a new session after having activated the Persistent Storage 44.799
And all notifications have disappeared 8.933
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.772
And all tps features are enabled 2.365
And all tps features but the first one are active 2.083
After features/support/hooks.rb:326 1.130
After features/support/hooks.rb:100 0.000
Tags: @product
5:7.345
Before features/support/hooks.rb:269 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:36.696
And I enable persistence 39.898
And I log in to a new session after having activated the Persistent Storage 47.669
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.925
And persistence is enabled 0.155
After features/support/hooks.rb:326 1.332
After features/support/hooks.rb:100 0.000
Tags: @product
28.983
Before features/support/hooks.rb:269 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 9.482
And I enable persistence but something goes wrong during the LUKS header upgrade 18.766
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.734
After features/support/hooks.rb:326 0.912
After features/support/hooks.rb:100 0.000
Tags: @product
43.857
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.434
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.599
When I enable persistence 28.336
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 0.401
After features/support/hooks.rb:326 1.467
After features/support/hooks.rb:100 0.000
Tags: @product
27.096
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.105
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.714
When I try to enable persistence 0.432
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.401
When I repair the filesystem of the Persistent Storage 1.328
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.393
And the filesystem of the Persistent Storage was repaired 0.061
When I close the filesystem repair dialog 1.269
Then persistence is successfully enabled 0.388
After features/support/hooks.rb:326 0.925
After features/support/hooks.rb:100 0.000
Tags: @product
1:58.324
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 9.151
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.091
When I try to enable persistence 0.346
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 37.902
When I repair the filesystem of the Persistent Storage 2.312
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.092
When I log in to a new session 42.588
And all notifications have disappeared 8.944
# 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.938
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.445
When I close the "whisperback" window 1.601
Then the Tor Browser starts 13.394
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.514
After features/support/hooks.rb:326 1.669
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.907
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.063
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.350
And Tails detects disk read failures on the boot device 0.578
When I try to enable persistence 0.405
Then the Welcome Screen tells me that my hardware is probably failing 5.356
When I log in to a new session 21.061
And all notifications have disappeared 7.334
Then the Tor Browser starts 19.153
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.605
After features/support/hooks.rb:326 1.970
After features/support/hooks.rb:100 0.000