Project Number Date
test_Tails_ISO_20907-fix-shutdown-before-tor-bootstrap 1 16 Nov 2026, 14:28

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 163 0 0 0 0 163 21 0 21 23:56.294 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:2.362
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:22.310
And I update the APT lists using apt 35.491
And I install "python3-behave" using apt 3.547
Then the Tails Persistent Storage behave tests pass 1.012
After features/support/hooks.rb:339 0.845
After features/support/hooks.rb:108 0.000
Tags: @product
29.138
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.921
When I log in to a new session without activating the Persistent Storage 13.640
Then Tails is running from USB drive "__internal" 0.293
And persistence is disabled 0.117
But a Tails persistence partition exists on USB drive "__internal" 6.165
After features/support/hooks.rb:339 0.784
After features/support/hooks.rb:108 0.000
Tags: @product
1:39.670
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 8.663
Then Tails is running from USB drive "__internal" 0.257
When I create a file in the Persistent directory 0.067
And I create a persistent partition with the default settings 19.234
Then the file I created was copied to the Persistent Storage 0.041
When I shutdown Tails and wait for the computer to power off 5.511
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.644
Then persistence for "Persistent" is active 0.190
And the file I created in the Persistent directory exists 0.060
After features/support/hooks.rb:339 0.553
After features/support/hooks.rb:108 0.047
Tags: @product
31.214
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 8.281
And the system is very low on memory 5.855
When I create a file in the Persistent directory 0.236
When I try to create a persistent partition 4.384
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.142
When I close the Persistent Storage app 2.377
And I free up some memory 0.423
And I create a persistent partition with the default settings 9.462
Then the file I created was copied to the Persistent Storage 0.050
After features/support/hooks.rb:339 1.132
After features/support/hooks.rb:108 0.000
Tags: @product
1:50.328
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.548
Then Tails is running from USB drive "__internal" 0.317
And all tps features are active 8.135
And all persistent directories have safe access rights 1.975
When I disable the first tps feature 3.121
Then all tps features but the first one are active 7.874
And I shutdown Tails and wait for the computer to power off 5.354
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.114
Then all tps features but the first one are active 7.886
After features/support/hooks.rb:339 0.850
After features/support/hooks.rb:108 0.041
Tags: @product
13.356
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.767
Then persistence for "Persistent" is active 0.135
And I create a file in the Persistent directory 0.070
Then the file I created was copied to the Persistent Storage 0.049
When I disable the first tps feature 2.623
Then persistence for "Persistent" is not active 0.048
And the Persistent directory does not exist 0.055
When I enable the first tps feature 2.477
Then persistence for "Persistent" is active 0.052
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:339 0.830
After features/support/hooks.rb:108 0.000
Tags: @product
13.795
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.065
Then persistence for "Persistent" is active 0.064
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 2.683
And I delete the data of the Persistent Folder feature 2.856
Then the file I created does not exist on the Persistent Storage 0.051
After features/support/hooks.rb:339 1.163
After features/support/hooks.rb:108 0.000
Tags: @product
47.316
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.051
And the network is plugged 0.034
And Tor is ready 13.265
And I take note of which tps features are available 7.071
When I write some files expected to persist 0.980
And I shutdown Tails and wait for the computer to power off 5.333
# 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? (tails/tails#10330)
Then only the expected files are present on the persistence partition on USB drive "__internal" 12.579
After features/support/hooks.rb:339 0.468
After features/support/hooks.rb:108 0.000
Tags: @product
1:40.418
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.024
And the network is plugged 0.032
And Tor is ready 9.834
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.103
And I shutdown Tails and wait for the computer to power off 5.350
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.713
And I capture all network traffic 0.003
And the network is plugged 0.030
And Tor is ready 10.807
And I switch to the "persistent-con-current" NetworkManager connection 0.318
And the 1st network device has a spoofed MAC address configured 0.055
And no network device leaked the real MAC address 0.145
After features/support/hooks.rb:339 0.782
After features/support/hooks.rb:108 0.065
Tags: @product
40.284
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 8.595
And I enable persistence creation in Tails Greeter 1.163
And I log in to a new session expecting no warning about the Persistent Storage not being activated 12.449
Then I create a persistent partition with the default settings using the wizard that was already open 18.075
After features/support/hooks.rb:339 1.211
After features/support/hooks.rb:108 0.000
Tags: @product
2:55.209
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.072
When I enable persistence 21.781
Then no persistent Greeter options were restored 14.161
When I set all Greeter options to non-default values 38.185
Then the Welcome Screen's language is set to English 0.293
And the Welcome Screen's formats is set to United States 0.297
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.544
When I log in to a new session in German (de) after having activated the Persistent Storage 23.341
Then all Persistent Greeter options are set to non-default values 0.128
When I cold reboot the computer 5.951
And the computer reboots Tails 33.735
Then the Welcome Screen's language is set to English 0.387
And the Welcome Screen's formats is set to United States 0.301
Given I enable persistence 13.954
Then persistent Greeter options were restored 0.078
And the Welcome Screen's formats is set to Belgium 0.287
When I log in to a new session after having activated the Persistent Storage 8.577
Then all Persistent Greeter options are set to non-default values 0.130
After features/support/hooks.rb:339 0.526
After features/support/hooks.rb:108 0.005
Tags: @product
2:8.648
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.443
# 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 27.674
And I shutdown Tails and wait for the computer to power off 5.359
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:6.447
And I change the passphrase of the Persistent Storage back to the original 20.723
After features/support/hooks.rb:339 0.790
After features/support/hooks.rb:108 0.042
Tags: @product
39.159
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.270
And I log in to a new session without activating the Persistent Storage 14.279
Then persistence is disabled 0.121
But a Tails persistence partition exists on USB drive "__internal" 4.920
And all notifications have disappeared 8.758
When I delete the persistent partition 2.564
Then there is no persistence partition on USB drive "__internal" 0.244
After features/support/hooks.rb:339 0.547
After features/support/hooks.rb:108 0.000
Tags: @product
1:20.928
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.183
When I write some dotfile expected to persist 0.067
And I shutdown Tails and wait for the computer to power off 6.566
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.929
Then the expected persistent dotfile is present in the filesystem 0.181
After features/support/hooks.rb:339 0.722
After features/support/hooks.rb:108 0.024
Tags: @product
57.737
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.500
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.069
When I try to enable persistence 1.230
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 13.313
When I log in to a new session after having activated the Persistent Storage 8.647
And all notifications have disappeared 7.983
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.412
And all tps features are enabled 8.752
And all tps features but the first one are active 7.826
After features/support/hooks.rb:339 0.970
After features/support/hooks.rb:108 0.000
Tags: @product
2:42.376
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
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 1:58.542
And I enable persistence 27.023
And I log in to a new session after having activated the Persistent Storage 7.917
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.505
And persistence is enabled 8.387
After features/support/hooks.rb:339 0.938
After features/support/hooks.rb:108 0.000
Tags: @product
30.686
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.007
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 7.666
And I enable persistence but something goes wrong during the LUKS header upgrade 22.529
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.490
After features/support/hooks.rb:339 0.968
After features/support/hooks.rb:108 0.000
Tags: @product
40.346
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.245
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.597
When I enable persistence 13.494
Then the filesystem of the Persistent Storage was repaired 0.062
And persistence is successfully enabled 8.946
After features/support/hooks.rb:339 0.803
After features/support/hooks.rb:108 0.000
Tags: @product
28.502
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.177
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.171
When I try to enable persistence 1.199
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 2.607
When I repair the filesystem of the Persistent Storage 1.283
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.132
And the filesystem of the Persistent Storage was repaired 0.049
When I close the filesystem repair dialog 1.100
Then persistence is successfully enabled 3.780
After features/support/hooks.rb:339 0.676
After features/support/hooks.rb:108 0.000
Tags: @product @doc
41.821
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.207
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.065
When I try to enable persistence 1.146
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 10.905
When I repair the filesystem of the Persistent Storage 1.086
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.049
When I log in to a new session 8.790
And all notifications have disappeared 7.859
# 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.194
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.134
When I close the "whisperback" window 1.254
Then the Tor Browser starts 1.202
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.924
After features/support/hooks.rb:339 0.881
After features/support/hooks.rb:108 0.000
Tags: @product @doc
42.990
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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.221
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.157
And Tails detects disk read failures on the boot device 1.333
When I try to enable persistence 1.295
Then the Welcome Screen tells me that my hardware is probably failing 2.847
When I log in to a new session 8.568
And all notifications have disappeared 8.370
Then the Tor Browser starts 1.296
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.900
After features/support/hooks.rb:339 0.771
After features/support/hooks.rb:108 0.000