Project Number Date
test_Tails_ISO_stable 5503 08 Mar 2025, 12:43

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 46:20.854 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:50.480
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:36.674
And I update APT using apt 2:14.935
And I install "python3-behave" using apt 1:55.825
Then the Tails Persistent Storage behave tests pass 3.045
After features/support/hooks.rb:330 0.763
After features/support/hooks.rb:100 0.000
Tags: @product
51.003
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 16.427
When I log in to a new session without activating the Persistent Storage 22.252
Then Tails is running from USB drive "__internal" 0.679
And persistence is disabled 0.484
But a Tails persistence partition exists on USB drive "__internal" 11.159
After features/support/hooks.rb:330 1.540
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.226
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.043
Then Tails is running from USB drive "__internal" 0.488
When I create a file in the Persistent directory 0.186
And I create a persistent partition with the default settings 21.865
Then the file I created was copied to the Persistent Storage 0.690
When I shutdown Tails and wait for the computer to power off 14.948
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.440
Then persistence for "Persistent" is active 0.480
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:330 1.884
After features/support/hooks.rb:100 0.011
Tags: @product
1:6.628
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.164
And the system is very low on memory 3.827
When I create a file in the Persistent directory 1.021
When I try to create a persistent partition 29.350
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.980
When I close the Persistent Storage app 2.939
And I free up some memory 1.461
And I create a persistent partition with the default settings 13.604
Then the file I created was copied to the Persistent Storage 0.279
After features/support/hooks.rb:330 2.250
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.916
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 18.723
Then Tails is running from USB drive "__internal" 0.637
And all tps features are active 2.475
And all persistent directories have safe access rights 2.843
When I disable the first tps feature 7.790
Then all tps features but the first one are active 2.312
And I shutdown Tails and wait for the computer to power off 16.060
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.358
Then all tps features but the first one are active 2.715
After features/support/hooks.rb:330 1.490
After features/support/hooks.rb:100 0.012
Tags: @product
24.080
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.639
Then persistence for "Persistent" is active 0.393
And I create a file in the Persistent directory 0.132
Then the file I created was copied to the Persistent Storage 0.142
When I disable the first tps feature 6.622
Then persistence for "Persistent" is not active 0.097
And the Persistent directory does not exist 0.070
When I enable the first tps feature 3.420
Then persistence for "Persistent" is active 0.283
And the file I created in the Persistent directory exists 0.278
After features/support/hooks.rb:330 1.593
After features/support/hooks.rb:100 0.000
Tags: @product
21.948
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.845
Then persistence for "Persistent" is active 0.107
When I create a file in the Persistent directory 0.075
And I disable the first tps feature 6.941
And I delete the data of the Persistent Folder feature 3.927
Then the file I created does not exist on the Persistent Storage 0.050
After features/support/hooks.rb:330 1.379
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.147
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.843
And the network is plugged 0.191
And Tor is ready 22.706
And I take note of which tps features are available 0.761
When I write some files expected to persist 1.696
And I shutdown Tails and wait for the computer to power off 11.846
# 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" 26.101
After features/support/hooks.rb:330 0.137
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.466
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.081
And the network is plugged 0.077
And Tor is ready 22.615
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.196
And I shutdown Tails and wait for the computer to power off 9.125
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.116
And I capture all network traffic 0.006
And the network is plugged 0.075
And Tor is ready 21.415
And I switch to the "persistent-con-current" NetworkManager connection 0.475
And the 1st network device has a spoofed MAC address configured 0.114
And no network device leaked the real MAC address 0.167
After features/support/hooks.rb:330 0.681
After features/support/hooks.rb:100 0.058
Tags: @product
1:1.144
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 14.483
And I enable persistence creation in Tails Greeter 1.125
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.033
Then I create a persistent partition with the default settings using the wizard that was already open 25.501
After features/support/hooks.rb:330 2.442
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.026
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.053
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.064
When I enable persistence 38.180
Then no persistent Greeter options were restored 14.471
When I set all Greeter options to non-default values 25.950
And I log in to a new session in German (de) after having activated the Persistent Storage 47.090
Then all Greeter options are set to non-default values 0.365
When I cold reboot the computer 7.784
And the computer reboots Tails 1:3.842
Given I enable persistence 18.658
Then persistent Greeter options were restored 0.576
When I log in to a new session after having activated the Persistent Storage 39.573
Then all Greeter options are set to non-default values 0.468
After features/support/hooks.rb:330 1.666
After features/support/hooks.rb:100 0.011
Tags: @product
4:10.514
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.208
# 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 42.578
And I shutdown Tails and wait for the computer to power off 12.988
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:17.024
And I change the passphrase of the Persistent Storage back to the original 46.714
After features/support/hooks.rb:330 1.508
After features/support/hooks.rb:100 0.010
Tags: @product
59.027
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.071
And I log in to a new session without activating the Persistent Storage 23.999
Then persistence is disabled 0.394
But a Tails persistence partition exists on USB drive "__internal" 7.339
And all notifications have disappeared 9.733
When I delete the persistent partition 6.993
Then there is no persistence partition on USB drive "__internal" 0.495
After features/support/hooks.rb:330 1.438
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.094
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.817
When I write some dotfile expected to persist 0.069
And I shutdown Tails and wait for the computer to power off 8.749
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.934
Then the expected persistent dotfile is present in the filesystem 0.523
After features/support/hooks.rb:330 0.940
After features/support/hooks.rb:100 0.010
Tags: @product
1:42.397
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.529
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.102
When I try to enable persistence 0.297
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.906
When I log in to a new session after having activated the Persistent Storage 42.927
And all notifications have disappeared 9.001
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.793
And all tps features are enabled 2.681
And all tps features but the first one are active 2.158
After features/support/hooks.rb:330 1.998
After features/support/hooks.rb:100 0.000
Tags: @product
5:17.223
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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:44.459
And I enable persistence 35.685
And I log in to a new session after having activated the Persistent Storage 49.365
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.495
And persistence is enabled 3.218
After features/support/hooks.rb:330 1.874
After features/support/hooks.rb:100 0.000
Tags: @product
29.371
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 9.491
And I enable persistence but something goes wrong during the LUKS header upgrade 19.092
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.786
After features/support/hooks.rb:330 0.773
After features/support/hooks.rb:100 0.000
Tags: @product
54.467
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.246
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.379
When I enable persistence 30.610
Then the filesystem of the Persistent Storage was repaired 0.109
And persistence is successfully enabled 4.121
After features/support/hooks.rb:330 2.382
After features/support/hooks.rb:100 0.000
Tags: @product
1:17.768
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 24.601
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.897
When I try to enable persistence 1.536
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.507
When I repair the filesystem of the Persistent Storage 5.165
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.458
And the filesystem of the Persistent Storage was repaired 1.591
When I close the filesystem repair dialog 1.290
Then persistence is successfully enabled 1.717
After features/support/hooks.rb:330 2.885
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.268
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.019
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.110
When I try to enable persistence 0.279
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.489
When I repair the filesystem of the Persistent Storage 1.302
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.084
When I log in to a new session 35.919
And all notifications have disappeared 9.234
# 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" 1.055
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.689
When I close the "whisperback" window 1.600
Then the Tor Browser starts 20.569
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.914
After features/support/hooks.rb:330 2.688
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.651
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.438
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.674
And Tails detects disk read failures on the boot device 1.582
When I try to enable persistence 0.438
Then the Welcome Screen tells me that my hardware is probably failing 22.237
When I log in to a new session 45.912
And all notifications have disappeared 8.093
Then the Tor Browser starts 24.392
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.883
After features/support/hooks.rb:330 2.972
After features/support/hooks.rb:100 0.000