Project Number Date
test_Tails_ISO_stable 5208 21 Oct 2024, 17:36

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 41:38.604 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.008
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:41.339
And I update APT using apt 15.098
And I install "python3-behave" using apt 25.586
Then the Tails Persistent Storage behave tests pass 2.983
After features/support/hooks.rb:326 0.657
After features/support/hooks.rb:100 0.000
Tags: @product
47.203
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 12.713
When I log in to a new session without activating the Persistent Storage 21.722
Then Tails is running from USB drive "__internal" 0.755
And persistence is disabled 0.348
But a Tails persistence partition exists on USB drive "__internal" 11.663
After features/support/hooks.rb:326 4.836
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.779
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 12.860
Then Tails is running from USB drive "__internal" 0.603
When I create a file in the Persistent directory 0.174
And I create a persistent partition with the default settings 26.581
Then the file I created was copied to the Persistent Storage 0.558
When I shutdown Tails and wait for the computer to power off 15.434
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.045
Then persistence for "Persistent" is active 0.436
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:326 1.284
After features/support/hooks.rb:100 0.027
Tags: @product
58.829
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.941
And the system is very low on memory 4.748
When I create a file in the Persistent directory 0.913
When I try to create a persistent partition 22.973
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.144
When I close the Persistent Storage app 2.802
And I free up some memory 1.571
And I create a persistent partition with the default settings 12.495
Then the file I created was copied to the Persistent Storage 0.238
After features/support/hooks.rb:326 1.516
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.980
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.810
Then Tails is running from USB drive "__internal" 0.487
And all tps features are active 2.561
And all persistent directories have safe access rights 2.897
When I disable the first tps feature 6.113
Then all tps features but the first one are active 2.191
And I shutdown Tails and wait for the computer to power off 17.509
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.775
Then all tps features but the first one are active 2.632
After features/support/hooks.rb:326 0.726
After features/support/hooks.rb:100 0.018
Tags: @product
18.684
Before features/support/hooks.rb:269 0.014
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.538
Then persistence for "Persistent" is active 0.089
And I create a file in the Persistent directory 0.083
Then the file I created was copied to the Persistent Storage 0.095
When I disable the first tps feature 5.494
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.063
When I enable the first tps feature 3.079
Then persistence for "Persistent" is active 0.087
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 0.919
After features/support/hooks.rb:100 0.000
Tags: @product
19.887
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.790
Then persistence for "Persistent" is active 0.093
When I create a file in the Persistent directory 0.099
And I disable the first tps feature 5.948
And I delete the data of the Persistent Folder feature 3.896
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:326 0.996
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.540
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.424
And the network is plugged 0.073
And Tor is ready 17.594
And I take note of which tps features are available 1.214
When I write some files expected to persist 1.576
And I shutdown Tails and wait for the computer to power off 8.824
# 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.831
After features/support/hooks.rb:326 0.127
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.520
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.480
And the network is plugged 0.078
And Tor is ready 19.728
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.276
And I shutdown Tails and wait for the computer to power off 8.484
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.536
And I capture all network traffic 0.006
And the network is plugged 0.076
And Tor is ready 19.231
And I switch to the "persistent-con-current" NetworkManager connection 0.362
And the 1st network device has a spoofed MAC address configured 0.108
And no network device leaked the real MAC address 0.149
After features/support/hooks.rb:326 0.660
After features/support/hooks.rb:100 0.042
Tags: @product
1:17.065
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 29.562
And I enable persistence creation in Tails Greeter 1.233
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.149
Then I create a persistent partition with the default settings using the wizard that was already open 23.120
After features/support/hooks.rb:326 1.725
After features/support/hooks.rb:100 0.000
Tags: @product
5:11.990
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 12.626
When I enable persistence 41.962
Then no persistent Greeter options were restored 14.800
When I set all Greeter options to non-default values 25.580
And I log in to a new session in German (de) after having activated the Persistent Storage 47.331
Then all Greeter options are set to non-default values 0.527
When I cold reboot the computer 7.652
And the computer reboots Tails 1:13.299
Given I enable persistence 32.933
Then persistent Greeter options were restored 14.689
When I log in to a new session after having activated the Persistent Storage 40.097
Then all Greeter options are set to non-default values 0.488
After features/support/hooks.rb:326 0.920
After features/support/hooks.rb:100 0.011
Tags: @product
3:38.031
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.892
# 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 36.103
And I shutdown Tails and wait for the computer to power off 12.595
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:5.892
And I change the passphrase of the Persistent Storage back to the original 32.546
After features/support/hooks.rb:326 2.963
After features/support/hooks.rb:100 0.008
Tags: @product
1:19.892
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 20.940
And I log in to a new session without activating the Persistent Storage 33.196
Then persistence is disabled 0.437
But a Tails persistence partition exists on USB drive "__internal" 9.781
And all notifications have disappeared 8.645
When I delete the persistent partition 6.455
Then there is no persistence partition on USB drive "__internal" 0.436
After features/support/hooks.rb:326 0.891
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.689
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.896
When I write some dotfile expected to persist 0.136
And I shutdown Tails and wait for the computer to power off 12.919
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.330
Then the expected persistent dotfile is present in the filesystem 0.406
After features/support/hooks.rb:326 0.794
After features/support/hooks.rb:100 0.008
Tags: @product
1:42.233
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 10.964
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.086
When I try to enable persistence 0.285
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.525
When I log in to a new session after having activated the Persistent Storage 40.095
And all notifications have disappeared 8.319
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.070
And all tps features are enabled 2.570
And all tps features but the first one are active 2.314
After features/support/hooks.rb:326 1.445
After features/support/hooks.rb:100 0.000
Tags: @product
5:24.244
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:56.098
And I enable persistence 35.175
And I log in to a new session after having activated the Persistent Storage 51.369
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.446
And persistence is enabled 0.154
After features/support/hooks.rb:326 1.158
After features/support/hooks.rb:100 0.000
Tags: @product
44.772
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 24.221
And I enable persistence but something goes wrong during the LUKS header upgrade 19.676
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.874
After features/support/hooks.rb:326 0.745
After features/support/hooks.rb:100 0.000
Tags: @product
44.564
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.784
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.918
When I enable persistence 29.383
Then the filesystem of the Persistent Storage was repaired 0.115
And persistence is successfully enabled 0.362
After features/support/hooks.rb:326 1.148
After features/support/hooks.rb:100 0.000
Tags: @product
25.326
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.801
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.371
When I try to enable persistence 0.466
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.440
When I repair the filesystem of the Persistent Storage 1.276
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.193
And the filesystem of the Persistent Storage was repaired 0.076
When I close the filesystem repair dialog 1.250
Then persistence is successfully enabled 0.449
After features/support/hooks.rb:326 0.899
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.196
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 8.881
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.167
When I try to enable persistence 0.282
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.964
When I repair the filesystem of the Persistent Storage 1.218
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.884
When I log in to a new session 39.500
And all notifications have disappeared 8.520
# 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.571
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.227
When I close the "whisperback" window 1.510
Then the Tor Browser starts 16.665
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.802
After features/support/hooks.rb:326 1.811
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.163
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.253
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.469
And Tails detects disk read failures on the boot device 1.794
When I try to enable persistence 0.477
Then the Welcome Screen tells me that my hardware is probably failing 7.004
When I log in to a new session 19.694
And all notifications have disappeared 8.871
Then the Tor Browser starts 20.868
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.728
After features/support/hooks.rb:326 1.390
After features/support/hooks.rb:100 0.000