Project Number Date
test_Tails_ISO_stable 5212 23 Oct 2024, 08:56

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 48:20.692 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:36.142
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:53.763
And I update APT using apt 13.918
And I install "python3-behave" using apt 25.914
Then the Tails Persistent Storage behave tests pass 2.545
After features/support/hooks.rb:326 0.703
After features/support/hooks.rb:100 0.000
Tags: @product
46.074
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 11.972
When I log in to a new session without activating the Persistent Storage 26.893
Then Tails is running from USB drive "__internal" 0.510
And persistence is disabled 0.362
But a Tails persistence partition exists on USB drive "__internal" 6.335
After features/support/hooks.rb:326 2.021
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.008
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 16.734
Then Tails is running from USB drive "__internal" 0.378
When I create a file in the Persistent directory 0.188
And I create a persistent partition with the default settings 23.703
Then the file I created was copied to the Persistent Storage 0.601
When I shutdown Tails and wait for the computer to power off 15.005
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.082
Then persistence for "Persistent" is active 1.236
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 1.088
After features/support/hooks.rb:100 0.009
Tags: @product
1:6.051
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 11.920
And the system is very low on memory 10.186
When I create a file in the Persistent directory 1.059
When I try to create a persistent partition 24.869
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.178
When I close the Persistent Storage app 2.597
And I free up some memory 1.735
And I create a persistent partition with the default settings 13.219
Then the file I created was copied to the Persistent Storage 0.283
After features/support/hooks.rb:326 1.357
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.884
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.412
Then Tails is running from USB drive "__internal" 0.396
And all tps features are active 2.463
And all persistent directories have safe access rights 2.431
When I disable the first tps feature 6.271
Then all tps features but the first one are active 2.152
And I shutdown Tails and wait for the computer to power off 10.571
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.993
Then all tps features but the first one are active 3.192
After features/support/hooks.rb:326 0.694
After features/support/hooks.rb:100 0.007
Tags: @product
20.679
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 10.473
Then persistence for "Persistent" is active 0.117
And I create a file in the Persistent directory 0.070
Then the file I created was copied to the Persistent Storage 0.081
When I disable the first tps feature 6.483
Then persistence for "Persistent" is not active 0.069
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.140
Then persistence for "Persistent" is active 0.106
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 0.770
After features/support/hooks.rb:100 0.000
Tags: @product
21.609
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.487
Then persistence for "Persistent" is active 0.115
When I create a file in the Persistent directory 0.095
And I disable the first tps feature 6.530
And I delete the data of the Persistent Folder feature 4.311
Then the file I created does not exist on the Persistent Storage 0.069
After features/support/hooks.rb:326 0.790
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.572
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 10.094
And the network is plugged 0.129
And Tor is ready 22.150
And I take note of which tps features are available 0.661
When I write some files expected to persist 1.466
And I shutdown Tails and wait for the computer to power off 8.685
# 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.384
After features/support/hooks.rb:326 0.099
After features/support/hooks.rb:100 0.000
Tags: @product
3:40.175
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.018
And the network is plugged 0.060
And Tor is ready 20.605
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.197
And I shutdown Tails and wait for the computer to power off 8.867
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.543
And I capture all network traffic 0.007
And the network is plugged 0.084
And Tor is ready 48.155
And I switch to the "persistent-con-current" NetworkManager connection 0.320
And the 1st network device has a spoofed MAC address configured 0.128
And no network device leaked the real MAC address 0.184
After features/support/hooks.rb:326 0.605
After features/support/hooks.rb:100 0.079
Tags: @product
1:0.430
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 13.214
And I enable persistence creation in Tails Greeter 1.115
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.898
Then I create a persistent partition with the default settings using the wizard that was already open 25.202
After features/support/hooks.rb:326 1.379
After features/support/hooks.rb:100 0.000
Tags: @product
5:10.946
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 15.099
When I enable persistence 36.650
Then no persistent Greeter options were restored 14.172
When I set all Greeter options to non-default values 31.260
And I log in to a new session in German (de) after having activated the Persistent Storage 53.418
Then all Greeter options are set to non-default values 0.864
When I cold reboot the computer 7.671
And the computer reboots Tails 1:5.455
Given I enable persistence 33.223
Then persistent Greeter options were restored 14.951
When I log in to a new session after having activated the Persistent Storage 37.760
Then all Greeter options are set to non-default values 0.419
After features/support/hooks.rb:326 1.302
After features/support/hooks.rb:100 0.007
Tags: @product
4:15.272
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.530
# 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 46.991
And I shutdown Tails and wait for the computer to power off 12.454
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:30.233
And I change the passphrase of the Persistent Storage back to the original 35.061
After features/support/hooks.rb:326 1.555
After features/support/hooks.rb:100 0.008
Tags: @product
1:4.960
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.350
And I log in to a new session without activating the Persistent Storage 27.428
Then persistence is disabled 0.293
But a Tails persistence partition exists on USB drive "__internal" 9.037
And all notifications have disappeared 9.457
When I delete the persistent partition 6.870
Then there is no persistence partition on USB drive "__internal" 0.521
After features/support/hooks.rb:326 1.041
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.995
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.156
When I write some dotfile expected to persist 0.090
And I shutdown Tails and wait for the computer to power off 11.064
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.139
Then the expected persistent dotfile is present in the filesystem 0.543
After features/support/hooks.rb:326 0.795
After features/support/hooks.rb:100 0.012
Tags: @product
1:55.856
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.600
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.097
When I try to enable persistence 0.271
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.240
When I log in to a new session after having activated the Persistent Storage 45.342
And all notifications have disappeared 11.672
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.779
And all tps features are enabled 2.989
And all tps features but the first one are active 2.861
After features/support/hooks.rb:326 2.086
After features/support/hooks.rb:100 0.000
Tags: @product
10:32.447
Before features/support/hooks.rb:269 0.008
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:11.227
And I enable persistence 33.642
And I log in to a new session after having activated the Persistent Storage 44.733
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.132
And persistence is enabled 0.711
After features/support/hooks.rb:326 1.411
After features/support/hooks.rb:100 0.000
Tags: @product
52.484
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 30.706
And I enable persistence but something goes wrong during the LUKS header upgrade 20.640
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.136
After features/support/hooks.rb:326 1.173
After features/support/hooks.rb:100 0.000
Tags: @product
54.773
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 11.431
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.767
When I enable persistence 35.816
Then the filesystem of the Persistent Storage was repaired 0.105
And persistence is successfully enabled 0.652
After features/support/hooks.rb:326 1.028
After features/support/hooks.rb:100 0.000
Tags: @product
34.955
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 10.573
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.099
When I try to enable persistence 0.591
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 10.406
When I repair the filesystem of the Persistent Storage 1.402
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.504
And the filesystem of the Persistent Storage was repaired 0.444
When I close the filesystem repair dialog 1.372
Then persistence is successfully enabled 0.560
After features/support/hooks.rb:326 0.966
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:9.345
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.169
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.130
When I try to enable persistence 0.388
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 40.198
When I repair the filesystem of the Persistent Storage 1.350
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.111
When I log in to a new session 44.327
And all notifications have disappeared 11.142
# 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.925
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.679
When I close the "whisperback" window 1.571
Then the Tor Browser starts 16.454
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.895
After features/support/hooks.rb:326 2.872
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:17.027
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.682
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.501
And Tails detects disk read failures on the boot device 1.723
When I try to enable persistence 1.636
Then the Welcome Screen tells me that my hardware is probably failing 6.788
When I log in to a new session 21.080
And all notifications have disappeared 7.612
Then the Tor Browser starts 20.204
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.796
After features/support/hooks.rb:326 1.788
After features/support/hooks.rb:100 0.000