Project Number Date
test_Tails_ISO_feature-arti 81 04 Jun 2025, 20:44

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 44:0.219 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:1.090
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:47.995
And I update APT using apt 42.628
And I install "python3-behave" using apt 26.742
Then the Tails Persistent Storage behave tests pass 3.724
After features/support/hooks.rb:330 1.000
After features/support/hooks.rb:100 0.000
Tags: @product
53.824
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 17.362
When I log in to a new session without activating the Persistent Storage 26.776
Then Tails is running from USB drive "__internal" 0.450
And persistence is disabled 0.507
But a Tails persistence partition exists on USB drive "__internal" 8.727
After features/support/hooks.rb:330 1.446
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.186
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 without a persistent partition and logged in 15.337
Then Tails is running from USB drive "__internal" 0.628
When I create a file in the Persistent directory 0.176
And I create a persistent partition with the default settings 27.698
Then the file I created was copied to the Persistent Storage 2.179
When I shutdown Tails and wait for the computer to power off 13.720
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.815
Then persistence for "Persistent" is active 0.533
And the file I created in the Persistent directory exists 0.097
After features/support/hooks.rb:330 2.023
After features/support/hooks.rb:100 0.010
Tags: @product
1:14.410
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 without a persistent partition and logged in 14.023
And the system is very low on memory 4.162
When I create a file in the Persistent directory 1.576
When I try to create a persistent partition 31.908
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.611
When I close the Persistent Storage app 2.731
And I free up some memory 3.343
And I create a persistent partition with the default settings 15.772
Then the file I created was copied to the Persistent Storage 0.282
After features/support/hooks.rb:330 2.631
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.371
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 15.001
Then Tails is running from USB drive "__internal" 0.756
And all tps features are active 2.788
And all persistent directories have safe access rights 2.950
When I disable the first tps feature 6.744
Then all tps features but the first one are active 2.251
And I shutdown Tails and wait for the computer to power off 16.590
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.040
Then all tps features but the first one are active 2.246
After features/support/hooks.rb:330 1.465
After features/support/hooks.rb:100 0.011
Tags: @product
24.082
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 13.107
Then persistence for "Persistent" is active 0.374
And I create a file in the Persistent directory 0.145
Then the file I created was copied to the Persistent Storage 0.136
When I disable the first tps feature 6.563
Then persistence for "Persistent" is not active 0.081
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.473
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:330 1.519
After features/support/hooks.rb:100 0.000
Tags: @product
23.716
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 12.335
Then persistence for "Persistent" is active 0.428
When I create a file in the Persistent directory 0.094
And I disable the first tps feature 6.401
And I delete the data of the Persistent Folder feature 4.348
Then the file I created does not exist on the Persistent Storage 0.108
After features/support/hooks.rb:330 1.659
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.635
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 10.372
And the network is plugged 0.373
And Tor is ready 21.340
And I take note of which tps features are available 0.669
When I write some files expected to persist 1.618
And I shutdown Tails and wait for the computer to power off 8.905
# 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.355
After features/support/hooks.rb:330 0.119
After features/support/hooks.rb:100 0.000
Tags: @product
3:35.402
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.679
And the network is plugged 0.100
And Tor is ready 48.680
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.237
And I shutdown Tails and wait for the computer to power off 8.573
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.994
And I capture all network traffic 0.015
And the network is plugged 0.113
And Tor is ready 18.220
And I switch to the "persistent-con-current" NetworkManager connection 0.416
And the 1st network device has a spoofed MAC address configured 0.113
And no network device leaked the real MAC address 0.256
After features/support/hooks.rb:330 0.969
After features/support/hooks.rb:100 0.051
Tags: @product
1:5.328
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 without a persistent partition and stopped at Tails Greeter's login screen 14.520
And I enable persistence creation in Tails Greeter 1.266
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.688
Then I create a persistent partition with the default settings using the wizard that was already open 25.852
After features/support/hooks.rb:330 3.696
After features/support/hooks.rb:100 0.000
Tags: @product
4:54.973
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 14.512
When I enable persistence 41.277
Then no persistent Greeter options were restored 15.276
When I set all Greeter options to non-default values 25.963
And I log in to a new session in German (de) after having activated the Persistent Storage 48.196
Then all Greeter options are set to non-default values 0.394
When I cold reboot the computer 8.127
And the computer reboots Tails 1:16.556
Given I enable persistence 19.099
Then persistent Greeter options were restored 0.571
When I log in to a new session after having activated the Persistent Storage 44.692
Then all Greeter options are set to non-default values 0.304
After features/support/hooks.rb:330 1.964
After features/support/hooks.rb:100 0.010
Tags: @product
4:4.224
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.640
# 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 36.529
And I shutdown Tails and wait for the computer to power off 15.318
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:23.896
And I change the passphrase of the Persistent Storage back to the original 36.839
After features/support/hooks.rb:330 3.674
After features/support/hooks.rb:100 0.011
Tags: @product
1:2.726
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 10.470
And I log in to a new session without activating the Persistent Storage 21.654
Then persistence is disabled 0.539
But a Tails persistence partition exists on USB drive "__internal" 11.110
And all notifications have disappeared 11.145
When I delete the persistent partition 6.729
Then there is no persistence partition on USB drive "__internal" 1.077
After features/support/hooks.rb:330 1.648
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.487
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 10.752
When I write some dotfile expected to persist 0.317
And I shutdown Tails and wait for the computer to power off 11.296
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.626
Then the expected persistent dotfile is present in the filesystem 0.494
After features/support/hooks.rb:330 1.330
After features/support/hooks.rb:100 0.012
Tags: @product
1:52.635
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.980
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.110
When I try to enable persistence 0.280
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.970
When I log in to a new session after having activated the Persistent Storage 49.379
And all notifications have disappeared 8.055
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.397
And all tps features are enabled 3.397
And all tps features but the first one are active 2.064
After features/support/hooks.rb:330 1.723
After features/support/hooks.rb:100 0.000
Tags: @product
4:57.037
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:26.831
And I enable persistence 41.367
And I log in to a new session after having activated the Persistent Storage 43.941
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.091
And persistence is enabled 2.805
After features/support/hooks.rb:330 1.561
After features/support/hooks.rb:100 0.000
Tags: @product
30.040
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.039
And I enable persistence but something goes wrong during the LUKS header upgrade 20.243
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.758
After features/support/hooks.rb:330 0.888
After features/support/hooks.rb:100 0.000
Tags: @product
47.860
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.528
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.167
When I enable persistence 28.276
Then the filesystem of the Persistent Storage was repaired 0.111
And persistence is successfully enabled 2.777
After features/support/hooks.rb:330 1.551
After features/support/hooks.rb:100 0.000
Tags: @product
52.157
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.215
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.822
When I try to enable persistence 0.850
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.179
When I repair the filesystem of the Persistent Storage 1.295
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.382
And the filesystem of the Persistent Storage was repaired 4.542
When I close the filesystem repair dialog 1.286
Then persistence is successfully enabled 1.582
After features/support/hooks.rb:330 2.291
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.891
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.020
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.218
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.132
When I try to enable persistence 0.263
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.075
When I repair the filesystem of the Persistent Storage 2.104
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.087
When I log in to a new session 40.294
And all notifications have disappeared 12.432
# 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.492
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.777
When I close the "whisperback" window 1.738
Then the Tor Browser starts 19.240
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.032
After features/support/hooks.rb:330 4.043
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.132
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 8.937
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.693
And Tails detects disk read failures on the boot device 1.542
When I try to enable persistence 0.427
Then the Welcome Screen tells me that my hardware is probably failing 21.220
When I log in to a new session 53.273
And all notifications have disappeared 9.278
Then the Tor Browser starts 24.726
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.033
After features/support/hooks.rb:330 1.773
After features/support/hooks.rb:100 0.000