Project Number Date
test_Tails_ISO_stable 5521 18 Mar 2025, 17: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 49:2.841 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:48.055
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 2:0.034
And I update APT using apt 3:48.516
And I install "python3-behave" using apt 56.795
Then the Tails Persistent Storage behave tests pass 2.709
After features/support/hooks.rb:330 0.858
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.208
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 29.365
When I log in to a new session without activating the Persistent Storage 23.674
Then Tails is running from USB drive "__internal" 1.759
And persistence is disabled 0.423
But a Tails persistence partition exists on USB drive "__internal" 8.985
After features/support/hooks.rb:330 1.562
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.640
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 13.020
Then Tails is running from USB drive "__internal" 0.430
When I create a file in the Persistent directory 0.186
And I create a persistent partition with the default settings 29.119
Then the file I created was copied to the Persistent Storage 0.645
When I shutdown Tails and wait for the computer to power off 13.279
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.978
Then persistence for "Persistent" is active 0.852
And the file I created in the Persistent directory exists 0.126
After features/support/hooks.rb:330 1.921
After features/support/hooks.rb:100 0.007
Tags: @product
1:14.365
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.015
And the system is very low on memory 5.442
When I create a file in the Persistent directory 0.884
When I try to create a persistent partition 35.880
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.380
When I close the Persistent Storage app 2.825
And I free up some memory 1.958
And I create a persistent partition with the default settings 15.755
Then the file I created was copied to the Persistent Storage 0.223
After features/support/hooks.rb:330 2.242
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.570
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 enabled and logged in 13.612
Then Tails is running from USB drive "__internal" 0.682
And all tps features are active 2.855
And all persistent directories have safe access rights 2.835
When I disable the first tps feature 8.094
Then all tps features but the first one are active 6.136
And I shutdown Tails and wait for the computer to power off 13.370
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.168
Then all tps features but the first one are active 2.815
After features/support/hooks.rb:330 1.178
After features/support/hooks.rb:100 0.015
Tags: @product
21.454
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 enabled and logged in 11.583
Then persistence for "Persistent" is active 0.160
And I create a file in the Persistent directory 0.101
Then the file I created was copied to the Persistent Storage 0.081
When I disable the first tps feature 6.021
Then persistence for "Persistent" is not active 0.087
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.189
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:330 1.510
After features/support/hooks.rb:100 0.000
Tags: @product
19.940
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 9.920
Then persistence for "Persistent" is active 0.141
When I create a file in the Persistent directory 0.208
And I disable the first tps feature 5.913
And I delete the data of the Persistent Folder feature 3.678
Then the file I created does not exist on the Persistent Storage 0.078
After features/support/hooks.rb:330 1.538
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.069
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 9.399
And the network is plugged 0.087
And Tor is ready 21.396
And I take note of which tps features are available 0.729
When I write some files expected to persist 1.754
And I shutdown Tails and wait for the computer to power off 11.128
# 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" 27.572
After features/support/hooks.rb:330 0.180
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.026
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 enabled and logged in 10.387
And the network is plugged 0.102
And Tor is ready 20.006
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.288
And I shutdown Tails and wait for the computer to power off 9.364
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.159
And I capture all network traffic 0.016
And the network is plugged 0.077
And Tor is ready 19.903
And I switch to the "persistent-con-current" NetworkManager connection 0.421
And the 1st network device has a spoofed MAC address configured 0.079
And no network device leaked the real MAC address 0.218
After features/support/hooks.rb:330 0.621
After features/support/hooks.rb:100 0.040
Tags: @product
1:5.956
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 stopped at Tails Greeter's login screen 19.032
And I enable persistence creation in Tails Greeter 1.139
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.907
Then I create a persistent partition with the default settings using the wizard that was already open 23.876
After features/support/hooks.rb:330 2.175
After features/support/hooks.rb:100 0.000
Tags: @product
4:37.326
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 12.091
When I enable persistence 38.377
Then no persistent Greeter options were restored 14.316
When I set all Greeter options to non-default values 29.363
And I log in to a new session in German (de) after having activated the Persistent Storage 46.472
Then all Greeter options are set to non-default values 0.493
When I cold reboot the computer 10.002
And the computer reboots Tails 1:1.420
Given I enable persistence 20.296
Then persistent Greeter options were restored 0.548
When I log in to a new session after having activated the Persistent Storage 43.416
Then all Greeter options are set to non-default values 0.526
After features/support/hooks.rb:330 1.873
After features/support/hooks.rb:100 0.007
Tags: @product
3:49.692
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.579
# 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.574
And I shutdown Tails and wait for the computer to power off 13.211
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.471
And I change the passphrase of the Persistent Storage back to the original 40.854
After features/support/hooks.rb:330 1.868
After features/support/hooks.rb:100 0.009
Tags: @product
59.032
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 11.140
And I log in to a new session without activating the Persistent Storage 22.984
Then persistence is disabled 0.372
But a Tails persistence partition exists on USB drive "__internal" 9.117
And all notifications have disappeared 8.982
When I delete the persistent partition 5.980
Then there is no persistence partition on USB drive "__internal" 0.455
After features/support/hooks.rb:330 1.554
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.352
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 9.974
When I write some dotfile expected to persist 0.122
And I shutdown Tails and wait for the computer to power off 13.263
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.594
Then the expected persistent dotfile is present in the filesystem 0.397
After features/support/hooks.rb:330 2.467
After features/support/hooks.rb:100 0.043
Tags: @product
1:53.947
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 and stopped at Tails Greeter's login screen 10.977
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.094
When I try to enable persistence 0.410
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.392
When I log in to a new session after having activated the Persistent Storage 44.618
And all notifications have disappeared 10.504
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.275
And all tps features are enabled 2.402
And all tps features but the first one are active 2.270
After features/support/hooks.rb:330 1.798
After features/support/hooks.rb:100 0.000
Tags: @product
6:55.982
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 5:30.605
And I enable persistence 39.963
And I log in to a new session after having activated the Persistent Storage 39.583
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.144
And persistence is enabled 3.684
After features/support/hooks.rb:330 2.206
After features/support/hooks.rb:100 0.000
Tags: @product
31.258
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.282
And I enable persistence but something goes wrong during the LUKS header upgrade 21.095
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.880
After features/support/hooks.rb:330 0.864
After features/support/hooks.rb:100 0.000
Tags: @product
51.347
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.041
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" 7.302
When I enable persistence 31.418
Then the filesystem of the Persistent Storage was repaired 0.127
And persistence is successfully enabled 2.815
After features/support/hooks.rb:330 1.755
After features/support/hooks.rb:100 0.000
Tags: @product
49.702
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 and stopped at Tails Greeter's login screen 9.068
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.486
When I try to enable persistence 0.439
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.515
When I repair the filesystem of the Persistent Storage 1.298
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.502
And the filesystem of the Persistent Storage was repaired 2.107
When I close the filesystem repair dialog 1.617
Then persistence is successfully enabled 1.666
After features/support/hooks.rb:330 1.835
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.449
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.612
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.189
When I try to enable persistence 0.591
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.179
When I repair the filesystem of the Persistent Storage 1.274
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.084
When I log in to a new session 40.386
And all notifications have disappeared 8.339
# 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.617
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.182
When I close the "whisperback" window 1.624
Then the Tor Browser starts 21.454
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.912
After features/support/hooks.rb:330 2.333
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.460
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.424
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.483
And Tails detects disk read failures on the boot device 1.644
When I try to enable persistence 0.441
Then the Welcome Screen tells me that my hardware is probably failing 21.343
When I log in to a new session 49.011
And all notifications have disappeared 10.026
Then the Tor Browser starts 22.180
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.904
After features/support/hooks.rb:330 4.004
After features/support/hooks.rb:100 0.000