Project Number Date
test_Tails_ISO_feature-arti 28 14 Apr 2025, 17:15

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 54:17.746 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:36.771
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:42.547
And I update APT using apt 3:25.079
And I install "python3-behave" using apt 26.258
Then the Tails Persistent Storage behave tests pass 2.884
After features/support/hooks.rb:330 0.892
After features/support/hooks.rb:100 0.000
Tags: @product
51.761
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 16.590
When I log in to a new session without activating the Persistent Storage 24.263
Then Tails is running from USB drive "__internal" 0.479
And persistence is disabled 0.347
But a Tails persistence partition exists on USB drive "__internal" 10.080
After features/support/hooks.rb:330 1.820
After features/support/hooks.rb:100 0.000
Tags: @product
3:31.465
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 without a persistent partition and logged in 16.949
Then Tails is running from USB drive "__internal" 0.493
When I create a file in the Persistent directory 0.172
And I create a persistent partition with the default settings 28.981
Then the file I created was copied to the Persistent Storage 2.265
When I shutdown Tails and wait for the computer to power off 13.731
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.441
Then persistence for "Persistent" is active 0.361
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:330 0.784
After features/support/hooks.rb:100 0.030
Tags: @product
1:12.172
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 without a persistent partition and logged in 11.608
And the system is very low on memory 5.062
When I create a file in the Persistent directory 1.012
When I try to create a persistent partition 33.227
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.462
When I close the Persistent Storage app 2.677
And I free up some memory 3.411
And I create a persistent partition with the default settings 14.400
Then the file I created was copied to the Persistent Storage 0.309
After features/support/hooks.rb:330 2.157
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.602
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 14.925
Then Tails is running from USB drive "__internal" 0.716
And all tps features are active 2.545
And all persistent directories have safe access rights 2.862
When I disable the first tps feature 6.946
Then all tps features but the first one are active 2.664
And I shutdown Tails and wait for the computer to power off 15.610
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.231
Then all tps features but the first one are active 3.098
After features/support/hooks.rb:330 1.864
After features/support/hooks.rb:100 0.013
Tags: @product
20.164
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.695
Then persistence for "Persistent" is active 0.100
And I create a file in the Persistent directory 0.088
Then the file I created was copied to the Persistent Storage 0.079
When I disable the first tps feature 5.636
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.066
When I enable the first tps feature 3.254
Then persistence for "Persistent" is active 0.097
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.498
After features/support/hooks.rb:100 0.000
Tags: @product
20.477
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.039
Then persistence for "Persistent" is active 0.209
When I create a file in the Persistent directory 0.075
And I disable the first tps feature 6.059
And I delete the data of the Persistent Folder feature 4.018
Then the file I created does not exist on the Persistent Storage 0.075
After features/support/hooks.rb:330 1.895
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.946
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.672
And the network is plugged 0.093
And Tor is ready 22.298
And I take note of which tps features are available 0.790
When I write some files expected to persist 1.803
And I shutdown Tails and wait for the computer to power off 8.836
# 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.452
After features/support/hooks.rb:330 0.136
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.233
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.945
And the network is plugged 0.097
And Tor is ready 22.684
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.340
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.806
And I capture all network traffic 0.012
And the network is plugged 0.113
And Tor is ready 20.264
And I switch to the "persistent-con-current" NetworkManager connection 0.373
And the 1st network device has a spoofed MAC address configured 0.145
And no network device leaked the real MAC address 0.212
After features/support/hooks.rb:330 0.682
After features/support/hooks.rb:100 0.054
Tags: @product
1:5.566
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 15.060
And I enable persistence creation in Tails Greeter 1.206
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.470
Then I create a persistent partition with the default settings using the wizard that was already open 24.829
After features/support/hooks.rb:330 1.757
After features/support/hooks.rb:100 0.000
Tags: @product
4:56.567
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.171
When I enable persistence 42.999
Then no persistent Greeter options were restored 14.770
When I set all Greeter options to non-default values 27.109
And I log in to a new session in German (de) after having activated the Persistent Storage 1:0.625
Then all Greeter options are set to non-default values 0.877
When I cold reboot the computer 8.208
And the computer reboots Tails 1:6.494
Given I enable persistence 18.713
Then persistent Greeter options were restored 0.590
When I log in to a new session after having activated the Persistent Storage 42.685
Then all Greeter options are set to non-default values 0.321
After features/support/hooks.rb:330 1.944
After features/support/hooks.rb:100 0.008
Tags: @product
4:32.408
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.251
# 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 43.036
And I shutdown Tails and wait for the computer to power off 14.200
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:52.495
And I change the passphrase of the Persistent Storage back to the original 32.424
After features/support/hooks.rb:330 3.650
After features/support/hooks.rb:100 0.009
Tags: @product
1:15.657
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 15.251
And I log in to a new session without activating the Persistent Storage 24.880
Then persistence is disabled 0.394
But a Tails persistence partition exists on USB drive "__internal" 12.424
And all notifications have disappeared 14.309
When I delete the persistent partition 7.427
Then there is no persistence partition on USB drive "__internal" 0.970
After features/support/hooks.rb:330 1.898
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.663
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.093
When I write some dotfile expected to persist 0.076
And I shutdown Tails and wait for the computer to power off 11.489
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.605
Then the expected persistent dotfile is present in the filesystem 0.399
After features/support/hooks.rb:330 0.989
After features/support/hooks.rb:100 0.008
Tags: @product
2:3.659
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 14.513
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 0.270
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 40.113
When I log in to a new session after having activated the Persistent Storage 48.670
And all notifications have disappeared 9.299
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.786
And all tps features are enabled 3.484
And all tps features but the first one are active 2.441
After features/support/hooks.rb:330 5.340
After features/support/hooks.rb:100 0.000
Tags: @product
10:57.645
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9:15.034
And I enable persistence 39.808
And I log in to a new session after having activated the Persistent Storage 55.405
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.623
And persistence is enabled 4.773
After features/support/hooks.rb:330 2.693
After features/support/hooks.rb:100 0.000
Tags: @product
40.050
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 12.444
And I enable persistence but something goes wrong during the LUKS header upgrade 26.185
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.419
After features/support/hooks.rb:330 1.094
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.380
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 12.375
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.360
When I enable persistence 36.213
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 3.340
After features/support/hooks.rb:330 1.866
After features/support/hooks.rb:100 0.000
Tags: @product
57.704
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.710
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.883
When I try to enable persistence 0.513
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.725
When I repair the filesystem of the Persistent Storage 2.788
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.550
And the filesystem of the Persistent Storage was repaired 3.926
When I close the filesystem repair dialog 5.145
Then persistence is successfully enabled 1.460
After features/support/hooks.rb:330 1.628
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.661
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 8.957
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.270
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.073
When I repair the filesystem of the Persistent Storage 1.419
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.138
When I log in to a new session 37.877
And all notifications have disappeared 8.796
# 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.308
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.819
When I close the "whisperback" window 1.505
Then the Tor Browser starts 21.293
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.097
After features/support/hooks.rb:330 2.968
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.187
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 and stopped at Tails Greeter's login screen 10.230
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.824
And Tails detects disk read failures on the boot device 1.642
When I try to enable persistence 0.492
Then the Welcome Screen tells me that my hardware is probably failing 21.244
When I log in to a new session 55.681
And all notifications have disappeared 8.768
Then the Tor Browser starts 22.405
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.897
After features/support/hooks.rb:330 1.858
After features/support/hooks.rb:100 0.000