Project Number Date
test_Tails_ISO_devel 3741 17 Mar 2025, 13:27

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 46:21.113 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:59.100
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:43.624
And I update APT using apt 1:45.643
And I install "python3-behave" using apt 26.179
Then the Tails Persistent Storage behave tests pass 3.652
After features/support/hooks.rb:330 0.694
After features/support/hooks.rb:100 0.000
Tags: @product
49.984
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 13.380
When I log in to a new session without activating the Persistent Storage 27.140
Then Tails is running from USB drive "__internal" 0.515
And persistence is disabled 0.416
But a Tails persistence partition exists on USB drive "__internal" 8.531
After features/support/hooks.rb:330 1.802
After features/support/hooks.rb:100 0.000
Tags: @product
3:37.473
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 14.313
Then Tails is running from USB drive "__internal" 2.758
When I create a file in the Persistent directory 0.196
And I create a persistent partition with the default settings 25.683
Then the file I created was copied to the Persistent Storage 0.575
When I shutdown Tails and wait for the computer to power off 16.836
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:36.368
Then persistence for "Persistent" is active 0.641
And the file I created in the Persistent directory exists 0.099
After features/support/hooks.rb:330 1.949
After features/support/hooks.rb:100 0.012
Tags: @product
1:12.729
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.293
And the system is very low on memory 5.253
When I create a file in the Persistent directory 1.235
When I try to create a persistent partition 32.886
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.405
When I close the Persistent Storage app 2.864
And I free up some memory 1.979
And I create a persistent partition with the default settings 16.214
Then the file I created was copied to the Persistent Storage 0.597
After features/support/hooks.rb:330 2.315
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.279
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 13.435
Then Tails is running from USB drive "__internal" 0.736
And all tps features are active 2.551
And all persistent directories have safe access rights 3.040
When I disable the first tps feature 6.864
Then all tps features but the first one are active 2.721
And I shutdown Tails and wait for the computer to power off 13.506
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.020
Then all tps features but the first one are active 2.401
After features/support/hooks.rb:330 1.968
After features/support/hooks.rb:100 0.020
Tags: @product
20.414
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 10.102
Then persistence for "Persistent" is active 0.180
And I create a file in the Persistent directory 0.152
Then the file I created was copied to the Persistent Storage 0.112
When I disable the first tps feature 6.263
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.051
When I enable the first tps feature 3.284
Then persistence for "Persistent" is active 0.103
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:330 1.536
After features/support/hooks.rb:100 0.000
Tags: @product
20.439
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.455
Then persistence for "Persistent" is active 0.139
When I create a file in the Persistent directory 0.097
And I disable the first tps feature 6.750
And I delete the data of the Persistent Folder feature 3.891
Then the file I created does not exist on the Persistent Storage 0.105
After features/support/hooks.rb:330 1.835
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.249
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.543
And the network is plugged 0.302
And Tor is ready 26.281
And I take note of which tps features are available 0.728
When I write some files expected to persist 1.841
And I shutdown Tails and wait for the computer to power off 9.030
# 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.520
After features/support/hooks.rb:330 0.118
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.805
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 10.010
And the network is plugged 0.087
And Tor is ready 21.664
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.233
And I shutdown Tails and wait for the computer to power off 9.035
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.409
And I capture all network traffic 0.008
And the network is plugged 0.090
And Tor is ready 20.593
And I switch to the "persistent-con-current" NetworkManager connection 0.385
And the 1st network device has a spoofed MAC address configured 0.093
And no network device leaked the real MAC address 0.193
After features/support/hooks.rb:330 0.751
After features/support/hooks.rb:100 0.061
Tags: @product
1:6.476
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 14.480
And I enable persistence creation in Tails Greeter 1.120
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.525
Then I create a persistent partition with the default settings using the wizard that was already open 24.349
After features/support/hooks.rb:330 2.180
After features/support/hooks.rb:100 0.000
Tags: @product
4:43.283
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.312
When I enable persistence 44.518
Then no persistent Greeter options were restored 14.765
When I set all Greeter options to non-default values 26.236
And I log in to a new session in German (de) after having activated the Persistent Storage 55.528
Then all Greeter options are set to non-default values 0.669
When I cold reboot the computer 7.818
And the computer reboots Tails 1:5.059
Given I enable persistence 18.436
Then persistent Greeter options were restored 0.526
When I log in to a new session after having activated the Persistent Storage 37.057
Then all Greeter options are set to non-default values 0.354
After features/support/hooks.rb:330 1.976
After features/support/hooks.rb:100 0.009
Tags: @product
4:8.447
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.248
# 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 38.332
And I shutdown Tails and wait for the computer to power off 12.641
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:24.318
And I change the passphrase of the Persistent Storage back to the original 42.906
After features/support/hooks.rb:330 1.586
After features/support/hooks.rb:100 0.009
Tags: @product
57.234
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 10.702
And I log in to a new session without activating the Persistent Storage 22.615
Then persistence is disabled 0.271
But a Tails persistence partition exists on USB drive "__internal" 7.153
And all notifications have disappeared 9.807
When I delete the persistent partition 6.283
Then there is no persistence partition on USB drive "__internal" 0.400
After features/support/hooks.rb:330 1.637
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.301
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.104
When I write some dotfile expected to persist 0.081
And I shutdown Tails and wait for the computer to power off 11.006
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.652
Then the expected persistent dotfile is present in the filesystem 0.457
After features/support/hooks.rb:330 1.147
After features/support/hooks.rb:100 0.009
Tags: @product
1:52.437
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.160
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.082
When I try to enable persistence 0.317
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 42.407
When I log in to a new session after having activated the Persistent Storage 41.970
And all notifications have disappeared 9.279
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.015
And all tps features are enabled 2.918
And all tps features but the first one are active 2.284
After features/support/hooks.rb:330 2.366
After features/support/hooks.rb:100 0.000
Tags: @product
6:0.073
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 4:17.669
And I enable persistence 46.807
And I log in to a new session after having activated the Persistent Storage 50.879
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.560
And persistence is enabled 3.156
After features/support/hooks.rb:330 2.713
After features/support/hooks.rb:100 0.000
Tags: @product
48.490
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 22.546
And I enable persistence but something goes wrong during the LUKS header upgrade 25.043
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.900
After features/support/hooks.rb:330 0.768
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.413
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.521
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.907
When I enable persistence 45.699
Then the filesystem of the Persistent Storage was repaired 0.110
And persistence is successfully enabled 3.175
After features/support/hooks.rb:330 2.457
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.084
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.390
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.910
When I try to enable persistence 0.541
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.766
When I repair the filesystem of the Persistent Storage 1.897
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.177
And the filesystem of the Persistent Storage was repaired 1.568
When I close the filesystem repair dialog 1.243
Then persistence is successfully enabled 1.589
After features/support/hooks.rb:330 3.032
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.227
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.009
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.115
When I try to enable persistence 0.325
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.434
When I repair the filesystem of the Persistent Storage 1.260
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.078
When I log in to a new session 40.666
And all notifications have disappeared 12.527
# 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.481
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.899
When I close the "whisperback" window 1.693
Then the Tor Browser starts 18.779
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.955
After features/support/hooks.rb:330 2.524
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.166
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.695
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.175
And Tails detects disk read failures on the boot device 1.606
When I try to enable persistence 0.464
Then the Welcome Screen tells me that my hardware is probably failing 21.213
When I log in to a new session 50.614
And all notifications have disappeared 8.906
Then the Tor Browser starts 22.575
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.915
After features/support/hooks.rb:330 2.428
After features/support/hooks.rb:100 0.000