Project Number Date
test_Tails_ISO_stable 5136 03 Oct 2024, 12:31

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 37:53.951 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:14.616
Before features/support/hooks.rb:269 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:35.578
And I update APT using apt 13.022
And I install "python3-behave" using apt 22.515
Then the Tails Persistent Storage behave tests pass 3.499
After features/support/hooks.rb:326 0.945
After features/support/hooks.rb:100 0.000
Tags: @product
40.619
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.752
When I log in to a new session without activating the Persistent Storage 20.861
Then Tails is running from USB drive "__internal" 0.524
And persistence is disabled 0.545
But a Tails persistence partition exists on USB drive "__internal" 7.935
After features/support/hooks.rb:326 1.866
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.145
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.976
Then Tails is running from USB drive "__internal" 0.364
When I create a file in the Persistent directory 0.119
And I create a persistent partition with the default settings 22.239
Then the file I created was copied to the Persistent Storage 0.707
When I shutdown Tails and wait for the computer to power off 12.579
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.712
Then persistence for "Persistent" is active 0.373
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 0.897
After features/support/hooks.rb:100 0.009
Tags: @product
57.776
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 10.620
And the system is very low on memory 4.259
When I create a file in the Persistent directory 1.257
When I try to create a persistent partition 23.809
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.161
When I close the Persistent Storage app 2.590
And I free up some memory 1.720
And I create a persistent partition with the default settings 13.108
Then the file I created was copied to the Persistent Storage 0.248
After features/support/hooks.rb:326 1.597
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.532
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.493
Then Tails is running from USB drive "__internal" 0.376
And all tps features are active 1.953
And all persistent directories have safe access rights 2.532
When I disable the first tps feature 5.017
Then all tps features but the first one are active 2.016
And I shutdown Tails and wait for the computer to power off 8.599
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.571
Then all tps features but the first one are active 1.970
After features/support/hooks.rb:326 0.835
After features/support/hooks.rb:100 0.009
Tags: @product
18.773
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.033
Then persistence for "Persistent" is active 0.131
And I create a file in the Persistent directory 0.081
Then the file I created was copied to the Persistent Storage 0.087
When I disable the first tps feature 5.136
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.043
When I enable the first tps feature 3.053
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.055
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.000
Tags: @product
18.216
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.234
Then persistence for "Persistent" is active 0.102
When I create a file in the Persistent directory 0.116
And I disable the first tps feature 5.099
And I delete the data of the Persistent Folder feature 3.611
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:326 1.144
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.386
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.371
And the network is plugged 0.114
And Tor is ready 18.564
And I take note of which tps features are available 0.599
When I write some files expected to persist 1.485
And I shutdown Tails and wait for the computer to power off 8.251
# 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.000
After features/support/hooks.rb:326 0.132
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.705
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.685
And the network is plugged 0.081
And Tor is ready 45.946
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.178
And I shutdown Tails and wait for the computer to power off 8.559
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.527
And I capture all network traffic 0.008
And the network is plugged 0.079
And Tor is ready 20.867
And I switch to the "persistent-con-current" NetworkManager connection 0.419
And the 1st network device has a spoofed MAC address configured 0.122
And no network device leaked the real MAC address 0.229
After features/support/hooks.rb:326 0.661
After features/support/hooks.rb:100 0.043
Tags: @product
59.751
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 12.861
And I enable persistence creation in Tails Greeter 1.175
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.774
Then I create a persistent partition with the default settings using the wizard that was already open 23.939
After features/support/hooks.rb:326 1.554
After features/support/hooks.rb:100 0.000
Tags: @product
4:42.255
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 13.254
When I enable persistence 38.531
Then no persistent Greeter options were restored 14.132
When I set all Greeter options to non-default values 23.326
And I log in to a new session in German (de) after having activated the Persistent Storage 42.703
Then all Greeter options are set to non-default values 0.367
When I cold reboot the computer 7.473
And the computer reboots Tails 57.999
Given I enable persistence 31.795
Then persistent Greeter options were restored 15.008
When I log in to a new session after having activated the Persistent Storage 37.048
Then all Greeter options are set to non-default values 0.615
After features/support/hooks.rb:326 0.784
After features/support/hooks.rb:100 0.009
Tags: @product
3:29.836
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.247
# 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.723
And I shutdown Tails and wait for the computer to power off 12.414
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.072
And I change the passphrase of the Persistent Storage back to the original 27.379
After features/support/hooks.rb:326 2.215
After features/support/hooks.rb:100 0.009
Tags: @product
54.786
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.580
And I log in to a new session without activating the Persistent Storage 20.420
Then persistence is disabled 0.605
But a Tails persistence partition exists on USB drive "__internal" 8.561
And all notifications have disappeared 9.188
When I delete the persistent partition 5.974
Then there is no persistence partition on USB drive "__internal" 0.456
After features/support/hooks.rb:326 0.912
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.682
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.233
When I write some dotfile expected to persist 0.176
And I shutdown Tails and wait for the computer to power off 8.717
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.158
Then the expected persistent dotfile is present in the filesystem 0.396
After features/support/hooks.rb:326 0.759
After features/support/hooks.rb:100 0.009
Tags: @product
1:36.680
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.069
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.096
When I try to enable persistence 0.269
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.568
When I log in to a new session after having activated the Persistent Storage 39.457
And all notifications have disappeared 7.240
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.901
And all tps features are enabled 2.249
And all tps features but the first one are active 1.827
After features/support/hooks.rb:326 1.115
After features/support/hooks.rb:100 0.000
Tags: @product
4:11.637
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 2:57.251
And I enable persistence 35.090
And I log in to a new session after having activated the Persistent Storage 36.725
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.251
And persistence is enabled 0.317
After features/support/hooks.rb:326 1.538
After features/support/hooks.rb:100 0.000
Tags: @product
30.651
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.357
And I enable persistence but something goes wrong during the LUKS header upgrade 20.403
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.890
After features/support/hooks.rb:326 0.936
After features/support/hooks.rb:100 0.000
Tags: @product
41.809
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.492
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.460
When I enable persistence 24.368
Then the filesystem of the Persistent Storage was repaired 0.101
And persistence is successfully enabled 0.386
After features/support/hooks.rb:326 0.999
After features/support/hooks.rb:100 0.000
Tags: @product
25.843
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.200
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.457
When I try to enable persistence 0.388
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.537
When I repair the filesystem of the Persistent Storage 1.269
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.250
And the filesystem of the Persistent Storage was repaired 0.071
When I close the filesystem repair dialog 1.243
Then persistence is successfully enabled 0.422
After features/support/hooks.rb:326 0.844
After features/support/hooks.rb:100 0.000
Tags: @product
1:44.381
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 8.498
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.101
When I try to enable persistence 0.286
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.032
When I repair the filesystem of the Persistent Storage 1.208
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 37.182
And all notifications have disappeared 7.914
# 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.174
When I close the "whisperback" window 1.544
Then the Tor Browser starts 12.754
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.676
After features/support/hooks.rb:326 2.081
After features/support/hooks.rb:100 0.000
Tags: @product
1:39.863
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.060
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 27.681
And Tails detects disk read failures on the boot device 0.535
When I try to enable persistence 0.429
Then the Welcome Screen tells me that my hardware is probably failing 6.320
When I log in to a new session 24.011
And all notifications have disappeared 7.281
Then the Tor Browser starts 21.598
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 2.944
After features/support/hooks.rb:326 0.932
After features/support/hooks.rb:100 0.000