Project Number Date
test_Tails_ISO_stable 5599 25 Apr 2025, 12:48

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 43:52.463 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.441
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:38.161
And I update APT using apt 14.102
And I install "python3-behave" using apt 24.245
Then the Tails Persistent Storage behave tests pass 2.932
After features/support/hooks.rb:330 1.048
After features/support/hooks.rb:100 0.000
Tags: @product
51.301
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.897
When I log in to a new session without activating the Persistent Storage 25.494
Then Tails is running from USB drive "__internal" 0.461
And persistence is disabled 0.456
But a Tails persistence partition exists on USB drive "__internal" 10.991
After features/support/hooks.rb:330 1.841
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.900
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 11.775
Then Tails is running from USB drive "__internal" 1.076
When I create a file in the Persistent directory 0.262
And I create a persistent partition with the default settings 24.866
Then the file I created was copied to the Persistent Storage 2.641
When I shutdown Tails and wait for the computer to power off 13.366
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.225
Then persistence for "Persistent" is active 0.539
And the file I created in the Persistent directory exists 0.146
After features/support/hooks.rb:330 1.713
After features/support/hooks.rb:100 0.009
Tags: @product
1:3.852
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 11.701
And the system is very low on memory 4.569
When I create a file in the Persistent directory 2.559
When I try to create a persistent partition 24.802
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.845
When I close the Persistent Storage app 2.717
And I free up some memory 3.458
And I create a persistent partition with the default settings 12.929
Then the file I created was copied to the Persistent Storage 0.268
After features/support/hooks.rb:330 2.342
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.050
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.850
Then Tails is running from USB drive "__internal" 0.446
And all tps features are active 2.903
And all persistent directories have safe access rights 2.868
When I disable the first tps feature 7.425
Then all tps features but the first one are active 2.176
And I shutdown Tails and wait for the computer to power off 14.915
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.030
Then all tps features but the first one are active 2.433
After features/support/hooks.rb:330 1.630
After features/support/hooks.rb:100 0.009
Tags: @product
21.097
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.943
Then persistence for "Persistent" is active 0.127
And I create a file in the Persistent directory 0.190
Then the file I created was copied to the Persistent Storage 0.124
When I disable the first tps feature 6.125
Then persistence for "Persistent" is not active 0.099
And the Persistent directory does not exist 0.051
When I enable the first tps feature 3.241
Then persistence for "Persistent" is active 0.097
And the file I created in the Persistent directory exists 0.094
After features/support/hooks.rb:330 1.707
After features/support/hooks.rb:100 0.000
Tags: @product
19.748
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.805
Then persistence for "Persistent" is active 0.225
When I create a file in the Persistent directory 0.075
And I disable the first tps feature 5.879
And I delete the data of the Persistent Folder feature 3.700
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 1.978
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.343
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.651
And the network is plugged 0.075
And Tor is ready 20.652
And I take note of which tps features are available 1.684
When I write some files expected to persist 1.642
And I shutdown Tails and wait for the computer to power off 8.985
# 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" 24.651
After features/support/hooks.rb:330 0.139
After features/support/hooks.rb:100 0.000
Tags: @product
3:47.255
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 9.509
And the network is plugged 0.196
And Tor is ready 20.653
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.221
And I shutdown Tails and wait for the computer to power off 8.699
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.323
And I capture all network traffic 0.006
And the network is plugged 0.079
And Tor is ready 48.897
And I switch to the "persistent-con-current" NetworkManager connection 0.420
And the 1st network device has a spoofed MAC address configured 0.078
And no network device leaked the real MAC address 0.169
After features/support/hooks.rb:330 0.693
After features/support/hooks.rb:100 0.061
Tags: @product
1:1.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 without a persistent partition and stopped at Tails Greeter's login screen 12.569
And I enable persistence creation in Tails Greeter 1.119
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.962
Then I create a persistent partition with the default settings using the wizard that was already open 23.208
After features/support/hooks.rb:330 3.013
After features/support/hooks.rb:100 0.000
Tags: @product
4:36.595
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 12.515
When I enable persistence 37.938
Then no persistent Greeter options were restored 14.478
When I set all Greeter options to non-default values 27.601
And I log in to a new session in German (de) after having activated the Persistent Storage 50.973
Then all Greeter options are set to non-default values 0.556
When I cold reboot the computer 7.590
And the computer reboots Tails 1:4.015
Given I enable persistence 18.573
Then persistent Greeter options were restored 0.573
When I log in to a new session after having activated the Persistent Storage 41.146
Then all Greeter options are set to non-default values 0.632
After features/support/hooks.rb:330 1.969
After features/support/hooks.rb:100 0.020
Tags: @product
4:2.484
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.287
# 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 40.599
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.516
And I change the passphrase of the Persistent Storage back to the original 32.761
After features/support/hooks.rb:330 2.071
After features/support/hooks.rb:100 0.009
Tags: @product
1:0.542
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.172
And I log in to a new session without activating the Persistent Storage 21.223
Then persistence is disabled 0.326
But a Tails persistence partition exists on USB drive "__internal" 7.832
And all notifications have disappeared 11.695
When I delete the persistent partition 8.423
Then there is no persistence partition on USB drive "__internal" 0.868
After features/support/hooks.rb:330 1.829
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.938
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 9.736
When I write some dotfile expected to persist 0.053
And I shutdown Tails and wait for the computer to power off 10.853
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.756
Then the expected persistent dotfile is present in the filesystem 0.538
After features/support/hooks.rb:330 1.736
After features/support/hooks.rb:100 0.009
Tags: @product
1:44.295
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.219
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.086
When I try to enable persistence 0.427
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.733
When I log in to a new session after having activated the Persistent Storage 42.156
And all notifications have disappeared 8.619
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.433
And all tps features are enabled 3.624
And all tps features but the first one are active 3.993
After features/support/hooks.rb:330 1.663
After features/support/hooks.rb:100 0.000
Tags: @product
5:36.738
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 4:8.623
And I enable persistence 32.865
And I log in to a new session after having activated the Persistent Storage 49.810
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.375
And persistence is enabled 3.064
After features/support/hooks.rb:330 1.665
After features/support/hooks.rb:100 0.000
Tags: @product
34.254
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 9.213
And I enable persistence but something goes wrong during the LUKS header upgrade 24.322
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.717
After features/support/hooks.rb:330 0.993
After features/support/hooks.rb:100 0.000
Tags: @product
56.612
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 10.208
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.632
When I enable persistence 34.288
Then the filesystem of the Persistent Storage was repaired 0.127
And persistence is successfully enabled 3.354
After features/support/hooks.rb:330 1.782
After features/support/hooks.rb:100 0.000
Tags: @product
55.185
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.017
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.973
When I try to enable persistence 0.491
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.726
When I repair the filesystem of the Persistent Storage 1.271
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.729
And the filesystem of the Persistent Storage was repaired 4.280
When I close the filesystem repair dialog 1.189
Then persistence is successfully enabled 1.504
After features/support/hooks.rb:330 1.956
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:10.480
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 9.603
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.110
When I try to enable persistence 0.264
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 37.646
When I repair the filesystem of the Persistent Storage 1.761
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.118
When I log in to a new session 43.948
And all notifications have disappeared 13.213
# 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.680
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.958
When I close the "whisperback" window 1.767
Then the Tor Browser starts 19.478
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.927
After features/support/hooks.rb:330 2.791
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:19.480
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 11.598
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.146
And Tails detects disk read failures on the boot device 1.690
When I try to enable persistence 0.914
Then the Welcome Screen tells me that my hardware is probably failing 36.838
When I log in to a new session 49.333
And all notifications have disappeared 7.902
Then the Tor Browser starts 23.998
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.058
After features/support/hooks.rb:330 2.229
After features/support/hooks.rb:100 0.000