Project Number Date
test_Tails_ISO_devel 3755 26 Mar 2025, 16: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 43:51.667 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:17.466
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:35.112
And I update APT using apt 2:13.586
And I install "python3-behave" using apt 26.503
Then the Tails Persistent Storage behave tests pass 2.263
After features/support/hooks.rb:330 0.780
After features/support/hooks.rb:100 0.000
Tags: @product
51.071
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.676
When I log in to a new session without activating the Persistent Storage 24.750
Then Tails is running from USB drive "__internal" 1.006
And persistence is disabled 0.538
But a Tails persistence partition exists on USB drive "__internal" 13.098
After features/support/hooks.rb:330 1.667
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.400
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.976
Then Tails is running from USB drive "__internal" 0.449
When I create a file in the Persistent directory 0.141
And I create a persistent partition with the default settings 24.243
Then the file I created was copied to the Persistent Storage 2.543
When I shutdown Tails and wait for the computer to power off 12.771
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.773
Then persistence for "Persistent" is active 0.434
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:330 2.053
After features/support/hooks.rb:100 0.009
Tags: @product
1:8.834
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 11.369
And the system is very low on memory 3.234
When I create a file in the Persistent directory 1.279
When I try to create a persistent partition 29.630
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.657
When I close the Persistent Storage app 2.761
And I free up some memory 3.957
And I create a persistent partition with the default settings 15.659
Then the file I created was copied to the Persistent Storage 0.283
After features/support/hooks.rb:330 1.860
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.208
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 13.650
Then Tails is running from USB drive "__internal" 0.468
And all tps features are active 2.232
And all persistent directories have safe access rights 2.669
When I disable the first tps feature 6.723
Then all tps features but the first one are active 2.388
And I shutdown Tails and wait for the computer to power off 17.975
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.029
Then all tps features but the first one are active 2.070
After features/support/hooks.rb:330 1.336
After features/support/hooks.rb:100 0.011
Tags: @product
20.336
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.821
Then persistence for "Persistent" is active 0.143
And I create a file in the Persistent directory 0.115
Then the file I created was copied to the Persistent Storage 0.136
When I disable the first tps feature 5.730
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.107
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.221
After features/support/hooks.rb:100 0.000
Tags: @product
19.461
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.084
Then persistence for "Persistent" is active 0.156
When I create a file in the Persistent directory 0.100
And I disable the first tps feature 6.324
And I delete the data of the Persistent Folder feature 3.724
Then the file I created does not exist on the Persistent Storage 0.072
After features/support/hooks.rb:330 1.339
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.589
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.918
And the network is plugged 0.071
And Tor is ready 22.658
And I take note of which tps features are available 0.589
When I write some files expected to persist 1.590
And I shutdown Tails and wait for the computer to power off 9.215
# 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.544
After features/support/hooks.rb:330 0.156
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.354
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.459
And the network is plugged 0.089
And Tor is ready 19.970
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.226
And I shutdown Tails and wait for the computer to power off 8.766
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.732
And I capture all network traffic 0.011
And the network is plugged 0.093
And Tor is ready 21.444
And I switch to the "persistent-con-current" NetworkManager connection 0.355
And the 1st network device has a spoofed MAC address configured 0.074
And no network device leaked the real MAC address 0.130
After features/support/hooks.rb:330 0.600
After features/support/hooks.rb:100 0.060
Tags: @product
1:2.857
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 14.230
And I enable persistence creation in Tails Greeter 1.532
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.552
Then I create a persistent partition with the default settings using the wizard that was already open 23.542
After features/support/hooks.rb:330 2.649
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.630
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 12.580
When I enable persistence 41.069
Then no persistent Greeter options were restored 18.743
When I set all Greeter options to non-default values 25.532
And I log in to a new session in German (de) after having activated the Persistent Storage 54.740
Then all Greeter options are set to non-default values 0.565
When I cold reboot the computer 10.052
And the computer reboots Tails 1:3.058
Given I enable persistence 16.542
Then persistent Greeter options were restored 0.471
When I log in to a new session after having activated the Persistent Storage 37.958
Then all Greeter options are set to non-default values 0.313
After features/support/hooks.rb:330 1.149
After features/support/hooks.rb:100 0.011
Tags: @product
4:6.147
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.745
# 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 42.991
And I shutdown Tails and wait for the computer to power off 15.414
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:23.378
And I change the passphrase of the Persistent Storage back to the original 33.616
After features/support/hooks.rb:330 3.480
After features/support/hooks.rb:100 0.009
Tags: @product
57.455
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.671
And I log in to a new session without activating the Persistent Storage 21.062
Then persistence is disabled 0.373
But a Tails persistence partition exists on USB drive "__internal" 10.132
And all notifications have disappeared 9.332
When I delete the persistent partition 6.001
Then there is no persistence partition on USB drive "__internal" 0.882
After features/support/hooks.rb:330 1.018
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.465
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.867
When I write some dotfile expected to persist 0.074
And I shutdown Tails and wait for the computer to power off 8.582
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.458
Then the expected persistent dotfile is present in the filesystem 0.482
After features/support/hooks.rb:330 1.200
After features/support/hooks.rb:100 0.007
Tags: @product
1:40.585
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 8.837
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.090
When I try to enable persistence 0.296
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.809
When I log in to a new session after having activated the Persistent Storage 47.822
And all notifications have disappeared 8.052
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.441
And all tps features are enabled 2.352
And all tps features but the first one are active 1.881
After features/support/hooks.rb:330 1.243
After features/support/hooks.rb:100 0.000
Tags: @product
4:24.205
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 3:0.774
And I enable persistence 30.266
And I log in to a new session after having activated the Persistent Storage 47.487
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.594
And persistence is enabled 3.082
After features/support/hooks.rb:330 1.565
After features/support/hooks.rb:100 0.000
Tags: @product
32.345
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 8.851
And I enable persistence but something goes wrong during the LUKS header upgrade 22.456
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.037
After features/support/hooks.rb:330 0.719
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.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 10.858
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.744
When I enable persistence 41.896
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 2.817
After features/support/hooks.rb:330 1.439
After features/support/hooks.rb:100 0.000
Tags: @product
53.949
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 9.329
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.763
When I try to enable persistence 0.462
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.161
When I repair the filesystem of the Persistent Storage 1.272
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.132
And the filesystem of the Persistent Storage was repaired 2.927
When I close the filesystem repair dialog 1.287
Then persistence is successfully enabled 1.612
After features/support/hooks.rb:330 1.335
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.057
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.744
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.147
When I try to enable persistence 0.274
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.864
When I repair the filesystem of the Persistent Storage 1.351
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 46.732
And all notifications have disappeared 10.530
# 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.395
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.685
When I close the "whisperback" window 1.525
Then the Tor Browser starts 17.733
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.990
After features/support/hooks.rb:330 4.347
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:13.830
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.628
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 15.546
And Tails detects disk read failures on the boot device 0.520
When I try to enable persistence 0.423
Then the Welcome Screen tells me that my hardware is probably failing 21.015
When I log in to a new session 54.153
And all notifications have disappeared 9.877
Then the Tor Browser starts 21.656
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.008
After features/support/hooks.rb:330 1.916
After features/support/hooks.rb:100 0.000