Project Number Date
test_Tails_ISO_devel 3881 23 Jun 2025, 13:17

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 41:46.923 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.528
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:43.473
And I update APT using apt 12.678
And I install "python3-behave" using apt 26.728
Then the Tails Persistent Storage behave tests pass 2.647
After features/support/hooks.rb:330 0.864
After features/support/hooks.rb:100 0.000
Tags: @product
49.070
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 12.098
When I log in to a new session without activating the Persistent Storage 24.135
Then Tails is running from USB drive "__internal" 0.973
And persistence is disabled 0.454
But a Tails persistence partition exists on USB drive "__internal" 11.409
After features/support/hooks.rb:330 2.986
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.672
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 13.407
Then Tails is running from USB drive "__internal" 0.361
When I create a file in the Persistent directory 0.121
And I create a persistent partition with the default settings 25.656
Then the file I created was copied to the Persistent Storage 1.915
When I shutdown Tails and wait for the computer to power off 12.765
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.788
Then persistence for "Persistent" is active 0.520
And the file I created in the Persistent directory exists 0.134
After features/support/hooks.rb:330 1.936
After features/support/hooks.rb:100 0.011
Tags: @product
1:13.870
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 12.407
And the system is very low on memory 3.969
When I create a file in the Persistent directory 2.153
When I try to create a persistent partition 33.580
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.379
When I close the Persistent Storage app 2.805
And I free up some memory 3.602
And I create a persistent partition with the default settings 14.232
Then the file I created was copied to the Persistent Storage 0.739
After features/support/hooks.rb:330 2.318
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.815
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 14.005
Then Tails is running from USB drive "__internal" 0.390
And all tps features are active 2.699
And all persistent directories have safe access rights 2.704
When I disable the first tps feature 6.147
Then all tps features but the first one are active 2.638
And I shutdown Tails and wait for the computer to power off 16.059
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.975
Then all tps features but the first one are active 2.193
After features/support/hooks.rb:330 1.391
After features/support/hooks.rb:100 0.131
Tags: @product
21.690
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.162
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.550
Then persistence for "Persistent" is active 0.090
And I create a file in the Persistent directory 0.085
Then the file I created was copied to the Persistent Storage 0.097
When I disable the first tps feature 5.802
Then persistence for "Persistent" is not active 0.137
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.728
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 1.539
After features/support/hooks.rb:100 0.000
Tags: @product
20.482
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 enabled and logged in 9.762
Then persistence for "Persistent" is active 0.074
When I create a file in the Persistent directory 0.098
And I disable the first tps feature 6.032
And I delete the data of the Persistent Folder feature 4.460
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:330 1.582
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.547
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 9.806
And the network is plugged 0.069
And Tor is ready 20.470
And I take note of which tps features are available 0.600
When I write some files expected to persist 1.638
And I shutdown Tails and wait for the computer to power off 9.062
# 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.900
After features/support/hooks.rb:330 0.142
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.945
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.539
And the network is plugged 0.073
And Tor is ready 22.886
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.174
And I shutdown Tails and wait for the computer to power off 8.692
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.789
And I capture all network traffic 0.011
And the network is plugged 0.075
And Tor is ready 20.129
And I switch to the "persistent-con-current" NetworkManager connection 0.343
And the 1st network device has a spoofed MAC address configured 0.096
And no network device leaked the real MAC address 0.132
After features/support/hooks.rb:330 0.616
After features/support/hooks.rb:100 0.047
Tags: @product
1:1.986
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 stopped at Tails Greeter's login screen 15.173
And I enable persistence creation in Tails Greeter 1.136
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.446
Then I create a persistent partition with the default settings using the wizard that was already open 23.229
After features/support/hooks.rb:330 2.788
After features/support/hooks.rb:100 0.000
Tags: @product
4:27.126
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 18.746
When I enable persistence 41.616
Then no persistent Greeter options were restored 14.514
When I set all Greeter options to non-default values 27.576
And I log in to a new session in German (de) after having activated the Persistent Storage 43.811
Then all Greeter options are set to non-default values 0.621
When I cold reboot the computer 8.065
And the computer reboots Tails 1:4.164
Given I enable persistence 19.382
Then persistent Greeter options were restored 0.571
When I log in to a new session after having activated the Persistent Storage 27.347
Then all Greeter options are set to non-default values 0.707
After features/support/hooks.rb:330 1.813
After features/support/hooks.rb:100 0.010
Tags: @product
4:3.154
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 11.196
# 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 35.228
And I shutdown Tails and wait for the computer to power off 15.521
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:24.152
And I change the passphrase of the Persistent Storage back to the original 37.055
After features/support/hooks.rb:330 4.355
After features/support/hooks.rb:100 0.008
Tags: @product
1:14.606
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 23.174
And I log in to a new session without activating the Persistent Storage 22.999
Then persistence is disabled 0.466
But a Tails persistence partition exists on USB drive "__internal" 10.221
And all notifications have disappeared 10.285
When I delete the persistent partition 6.405
Then there is no persistence partition on USB drive "__internal" 1.054
After features/support/hooks.rb:330 1.788
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.172
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.289
When I write some dotfile expected to persist 0.073
And I shutdown Tails and wait for the computer to power off 11.313
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.124
Then the expected persistent dotfile is present in the filesystem 0.370
After features/support/hooks.rb:330 1.250
After features/support/hooks.rb:100 0.045
Tags: @product
1:54.113
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.022
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.469
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.080
When I try to enable persistence 0.255
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.351
When I log in to a new session after having activated the Persistent Storage 52.868
And all notifications have disappeared 9.625
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.238
And all tps features are enabled 3.042
And all tps features but the first one are active 2.180
After features/support/hooks.rb:330 1.608
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.503
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:1.845
And I enable persistence 32.796
And I log in to a new session after having activated the Persistent Storage 52.153
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.232
And persistence is enabled 2.475
After features/support/hooks.rb:330 2.006
After features/support/hooks.rb:100 0.000
Tags: @product
30.380
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 9.647
And I enable persistence but something goes wrong during the LUKS header upgrade 19.761
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.971
After features/support/hooks.rb:330 0.950
After features/support/hooks.rb:100 0.000
Tags: @product
48.240
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.232
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.909
When I enable persistence 29.252
Then the filesystem of the Persistent Storage was repaired 0.080
And persistence is successfully enabled 2.765
After features/support/hooks.rb:330 1.405
After features/support/hooks.rb:100 0.000
Tags: @product
55.508
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.636
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.698
When I try to enable persistence 0.487
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.247
When I repair the filesystem of the Persistent Storage 1.775
Then the Welcome Screen tells me that the filesystem was repaired successfully 2.264
And the filesystem of the Persistent Storage was repaired 4.280
When I close the filesystem repair dialog 1.307
Then persistence is successfully enabled 1.809
After features/support/hooks.rb:330 2.151
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.538
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 8.782
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.204
When I try to enable persistence 0.455
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.793
When I repair the filesystem of the Persistent Storage 1.273
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 32.266
And all notifications have disappeared 8.832
# 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.397
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.805
When I close the "whisperback" window 1.338
Then the Tor Browser starts 18.566
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.748
After features/support/hooks.rb:330 3.116
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.968
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.304
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.461
And Tails detects disk read failures on the boot device 0.610
When I try to enable persistence 0.430
Then the Welcome Screen tells me that my hardware is probably failing 20.290
When I log in to a new session 49.428
And all notifications have disappeared 9.116
Then the Tor Browser starts 25.265
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.060
After features/support/hooks.rb:330 3.957
After features/support/hooks.rb:100 0.000