Project Number Date
test_Tails_ISO_devel 3698 17 Feb 2025, 17:34

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 42:59.811 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.489
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:42.082
And I update APT using apt 12.731
And I install "python3-behave" using apt 23.519
Then the Tails Persistent Storage behave tests pass 3.156
After features/support/hooks.rb:326 0.811
After features/support/hooks.rb:100 0.000
Tags: @product
49.555
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.741
When I log in to a new session without activating the Persistent Storage 24.714
Then Tails is running from USB drive "__internal" 0.583
And persistence is disabled 0.480
But a Tails persistence partition exists on USB drive "__internal" 12.034
After features/support/hooks.rb:326 1.348
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.877
Before features/support/hooks.rb:269 0.032
Given I have started Tails without network from a USB drive without a persistent partition and logged in 18.629
Then Tails is running from USB drive "__internal" 0.596
When I create a file in the Persistent directory 0.154
And I create a persistent partition with the default settings 21.227
Then the file I created was copied to the Persistent Storage 0.687
When I shutdown Tails and wait for the computer to power off 12.898
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.038
Then persistence for "Persistent" is active 0.567
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 0.648
After features/support/hooks.rb:100 0.012
Tags: @product
1:3.310
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.103
And the system is very low on memory 3.446
When I create a file in the Persistent directory 1.455
When I try to create a persistent partition 28.225
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.418
When I close the Persistent Storage app 2.544
And I free up some memory 1.531
And I create a persistent partition with the default settings 14.348
Then the file I created was copied to the Persistent Storage 0.236
After features/support/hooks.rb:326 1.392
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.072
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 17.854
Then Tails is running from USB drive "__internal" 0.579
And all tps features are active 2.251
And all persistent directories have safe access rights 2.654
When I disable the first tps feature 7.772
Then all tps features but the first one are active 2.290
And I shutdown Tails and wait for the computer to power off 12.918
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.244
Then all tps features but the first one are active 2.507
After features/support/hooks.rb:326 0.651
After features/support/hooks.rb:100 0.009
Tags: @product
30.917
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 19.015
Then persistence for "Persistent" is active 0.118
And I create a file in the Persistent directory 0.075
Then the file I created was copied to the Persistent Storage 0.077
When I disable the first tps feature 7.094
Then persistence for "Persistent" is not active 0.136
And the Persistent directory does not exist 0.062
When I enable the first tps feature 4.175
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 0.916
After features/support/hooks.rb:100 0.000
Tags: @product
21.675
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.487
Then persistence for "Persistent" is active 0.073
When I create a file in the Persistent directory 0.077
And I disable the first tps feature 7.193
And I delete the data of the Persistent Folder feature 4.786
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:326 0.859
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.754
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.207
And the network is plugged 0.070
And Tor is ready 22.304
And I take note of which tps features are available 0.630
When I write some files expected to persist 1.588
And I shutdown Tails and wait for the computer to power off 8.894
# 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" 25.059
After features/support/hooks.rb:326 0.118
After features/support/hooks.rb:100 0.000
Tags: @product
3:46.768
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.665
And the network is plugged 0.087
And Tor is ready 49.427
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.208
And I shutdown Tails and wait for the computer to power off 6.983
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.151
And I capture all network traffic 0.005
And the network is plugged 0.065
And Tor is ready 21.476
And I switch to the "persistent-con-current" NetworkManager connection 0.406
And the 1st network device has a spoofed MAC address configured 0.124
And no network device leaked the real MAC address 0.165
After features/support/hooks.rb:326 0.623
After features/support/hooks.rb:100 0.087
Tags: @product
1:2.094
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 15.859
And I enable persistence creation in Tails Greeter 1.424
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.560
Then I create a persistent partition with the default settings using the wizard that was already open 23.249
After features/support/hooks.rb:326 1.881
After features/support/hooks.rb:100 0.000
Tags: @product
4:34.855
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.558
When I enable persistence 37.765
Then no persistent Greeter options were restored 14.108
When I set all Greeter options to non-default values 24.859
And I log in to a new session in German (de) after having activated the Persistent Storage 51.962
Then all Greeter options are set to non-default values 2.541
When I cold reboot the computer 7.612
And the computer reboots Tails 1:4.618
Given I enable persistence 19.047
Then persistent Greeter options were restored 0.476
When I log in to a new session after having activated the Persistent Storage 39.913
Then all Greeter options are set to non-default values 0.390
After features/support/hooks.rb:326 1.256
After features/support/hooks.rb:100 0.038
Tags: @product
3:45.841
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 10.853
# 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 34.095
And I shutdown Tails and wait for the computer to power off 12.769
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.705
And I change the passphrase of the Persistent Storage back to the original 40.418
After features/support/hooks.rb:326 1.772
After features/support/hooks.rb:100 0.018
Tags: @product
58.236
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 10.226
And I log in to a new session without activating the Persistent Storage 21.373
Then persistence is disabled 0.233
But a Tails persistence partition exists on USB drive "__internal" 10.302
And all notifications have disappeared 9.456
When I delete the persistent partition 6.200
Then there is no persistence partition on USB drive "__internal" 0.443
After features/support/hooks.rb:326 0.886
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.973
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.608
When I write some dotfile expected to persist 0.070
And I shutdown Tails and wait for the computer to power off 12.856
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.026
Then the expected persistent dotfile is present in the filesystem 0.411
After features/support/hooks.rb:326 0.702
After features/support/hooks.rb:100 0.008
Tags: @product
1:39.953
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.464
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.072
When I try to enable persistence 0.290
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.433
When I log in to a new session after having activated the Persistent Storage 42.096
And all notifications have disappeared 8.132
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.463
And all tps features are enabled 2.429
And all tps features but the first one are active 2.571
After features/support/hooks.rb:326 1.297
After features/support/hooks.rb:100 0.000
Tags: @product
6:38.832
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 5:10.139
And I enable persistence 33.104
And I log in to a new session after having activated the Persistent Storage 49.300
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.531
And persistence is enabled 4.757
After features/support/hooks.rb:326 1.213
After features/support/hooks.rb:100 0.000
Tags: @product
30.669
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 8.634
And I enable persistence but something goes wrong during the LUKS header upgrade 21.240
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.794
After features/support/hooks.rb:326 0.772
After features/support/hooks.rb:100 0.000
Tags: @product
44.816
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.280
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.598
When I enable persistence 27.075
Then the filesystem of the Persistent Storage was repaired 0.091
And persistence is successfully enabled 2.771
After features/support/hooks.rb:326 2.099
After features/support/hooks.rb:100 0.000
Tags: @product
46.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 8.809
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.706
When I try to enable persistence 0.448
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.048
When I repair the filesystem of the Persistent Storage 1.317
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.720
And the filesystem of the Persistent Storage was repaired 1.199
When I close the filesystem repair dialog 1.616
Then persistence is successfully enabled 1.457
After features/support/hooks.rb:326 1.182
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.296
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.394
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.136
When I try to enable persistence 0.272
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.438
When I repair the filesystem of the Persistent Storage 1.239
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.255
When I log in to a new session 43.153
And all notifications have disappeared 8.355
# 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.424
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.197
When I close the "whisperback" window 1.562
Then the Tor Browser starts 20.991
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.874
After features/support/hooks.rb:326 2.032
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.494
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.155
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.819
And Tails detects disk read failures on the boot device 0.393
When I try to enable persistence 0.455
Then the Welcome Screen tells me that my hardware is probably failing 17.947
When I log in to a new session 47.522
And all notifications have disappeared 8.139
Then the Tor Browser starts 17.200
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.859
After features/support/hooks.rb:326 1.427
After features/support/hooks.rb:100 0.000