Project Number Date
test_Tails_ISO_devel 3841 28 May 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 42:41.905 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:50.772
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:8.531
And I update APT using apt 13.277
And I install "python3-behave" using apt 26.278
Then the Tails Persistent Storage behave tests pass 2.684
After features/support/hooks.rb:330 1.251
After features/support/hooks.rb:100 0.000
Tags: @product
59.497
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 18.615
When I log in to a new session without activating the Persistent Storage 27.611
Then Tails is running from USB drive "__internal" 0.778
And persistence is disabled 0.502
But a Tails persistence partition exists on USB drive "__internal" 11.989
After features/support/hooks.rb:330 1.778
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.147
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 12.491
Then Tails is running from USB drive "__internal" 0.997
When I create a file in the Persistent directory 0.185
And I create a persistent partition with the default settings 21.757
Then the file I created was copied to the Persistent Storage 2.670
When I shutdown Tails and wait for the computer to power off 15.355
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.027
Then persistence for "Persistent" is active 0.582
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:330 1.922
After features/support/hooks.rb:100 0.009
Tags: @product
1:12.142
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.034
And the system is very low on memory 6.039
When I create a file in the Persistent directory 1.659
When I try to create a persistent partition 34.042
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.370
When I close the Persistent Storage app 2.651
And I free up some memory 3.717
And I create a persistent partition with the default settings 12.312
Then the file I created was copied to the Persistent Storage 0.313
After features/support/hooks.rb:330 2.500
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.546
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.561
Then Tails is running from USB drive "__internal" 0.652
And all tps features are active 2.927
And all persistent directories have safe access rights 2.898
When I disable the first tps feature 5.890
Then all tps features but the first one are active 2.517
And I shutdown Tails and wait for the computer to power off 15.878
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.104
Then all tps features but the first one are active 2.115
After features/support/hooks.rb:330 1.369
After features/support/hooks.rb:100 0.016
Tags: @product
21.964
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 11.084
Then persistence for "Persistent" is active 0.142
And I create a file in the Persistent directory 0.117
Then the file I created was copied to the Persistent Storage 0.155
When I disable the first tps feature 6.936
Then persistence for "Persistent" is not active 0.092
And the Persistent directory does not exist 0.076
When I enable the first tps feature 3.164
Then persistence for "Persistent" is active 0.105
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:330 1.358
After features/support/hooks.rb:100 0.000
Tags: @product
20.147
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.734
Then persistence for "Persistent" is active 0.322
When I create a file in the Persistent directory 0.170
And I disable the first tps feature 6.233
And I delete the data of the Persistent Folder feature 3.620
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:330 2.192
After features/support/hooks.rb:100 0.000
Tags: @product
1:35.139
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.496
And the network is plugged 0.071
And Tor is ready 48.954
And I take note of which tps features are available 0.577
When I write some files expected to persist 1.438
And I shutdown Tails and wait for the computer to power off 9.079
# 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.520
After features/support/hooks.rb:330 0.137
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.737
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.471
And the network is plugged 0.126
And Tor is ready 18.466
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.265
And I shutdown Tails and wait for the computer to power off 9.277
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.356
And I capture all network traffic 0.008
And the network is plugged 0.076
And Tor is ready 17.975
And I switch to the "persistent-con-current" NetworkManager connection 0.448
And the 1st network device has a spoofed MAC address configured 0.112
And no network device leaked the real MAC address 0.153
After features/support/hooks.rb:330 0.809
After features/support/hooks.rb:100 0.040
Tags: @product
1:1.659
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 without a persistent partition and stopped at Tails Greeter's login screen 14.697
And I enable persistence creation in Tails Greeter 1.139
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.819
Then I create a persistent partition with the default settings using the wizard that was already open 25.003
After features/support/hooks.rb:330 2.653
After features/support/hooks.rb:100 0.000
Tags: @product
4:51.149
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 12.419
When I enable persistence 58.615
Then no persistent Greeter options were restored 14.715
When I set all Greeter options to non-default values 26.141
And I log in to a new session in German (de) after having activated the Persistent Storage 46.005
Then all Greeter options are set to non-default values 0.510
When I cold reboot the computer 7.397
And the computer reboots Tails 1:5.759
Given I enable persistence 16.842
Then persistent Greeter options were restored 0.572
When I log in to a new session after having activated the Persistent Storage 41.559
Then all Greeter options are set to non-default values 0.610
After features/support/hooks.rb:330 1.742
After features/support/hooks.rb:100 0.023
Tags: @product
3:50.407
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.587
# 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 33.566
And I shutdown Tails and wait for the computer to power off 13.066
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:17.129
And I change the passphrase of the Persistent Storage back to the original 36.057
After features/support/hooks.rb:330 4.013
After features/support/hooks.rb:100 0.011
Tags: @product
59.678
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 10.083
And I log in to a new session without activating the Persistent Storage 22.612
Then persistence is disabled 0.413
But a Tails persistence partition exists on USB drive "__internal" 9.411
And all notifications have disappeared 9.624
When I delete the persistent partition 6.581
Then there is no persistence partition on USB drive "__internal" 0.951
After features/support/hooks.rb:330 1.280
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.614
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.840
When I write some dotfile expected to persist 0.241
And I shutdown Tails and wait for the computer to power off 10.655
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.400
Then the expected persistent dotfile is present in the filesystem 0.476
After features/support/hooks.rb:330 1.297
After features/support/hooks.rb:100 0.010
Tags: @product
1:40.434
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.239
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 0.295
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.241
When I log in to a new session after having activated the Persistent Storage 39.093
And all notifications have disappeared 7.966
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.330
And all tps features are enabled 3.177
And all tps features but the first one are active 2.013
After features/support/hooks.rb:330 1.635
After features/support/hooks.rb:100 0.000
Tags: @product
4:49.393
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:21.670
And I enable persistence 33.618
And I log in to a new session after having activated the Persistent Storage 49.511
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.776
And persistence is enabled 2.816
After features/support/hooks.rb:330 1.696
After features/support/hooks.rb:100 0.000
Tags: @product
33.665
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.204
And I enable persistence but something goes wrong during the LUKS header upgrade 23.614
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.846
After features/support/hooks.rb:330 0.733
After features/support/hooks.rb:100 0.000
Tags: @product
46.801
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.328
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.324
When I enable persistence 28.961
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 3.091
After features/support/hooks.rb:330 1.544
After features/support/hooks.rb:100 0.000
Tags: @product
46.657
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.363
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.459
When I try to enable persistence 0.449
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.359
When I repair the filesystem of the Persistent Storage 1.518
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.905
And the filesystem of the Persistent Storage was repaired 2.890
When I close the filesystem repair dialog 1.240
Then persistence is successfully enabled 1.470
After features/support/hooks.rb:330 1.715
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.897
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.281
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.155
When I try to enable persistence 0.348
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.113
When I repair the filesystem of the Persistent Storage 1.278
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.090
When I log in to a new session 42.302
And all notifications have disappeared 10.197
# 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.431
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.678
When I close the "whisperback" window 1.957
Then the Tor Browser starts 21.123
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.939
After features/support/hooks.rb:330 2.543
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.451
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.931
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.812
And Tails detects disk read failures on the boot device 0.503
When I try to enable persistence 0.493
Then the Welcome Screen tells me that my hardware is probably failing 23.460
When I log in to a new session 45.086
And all notifications have disappeared 8.294
Then the Tor Browser starts 23.941
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.928
After features/support/hooks.rb:330 2.952
After features/support/hooks.rb:100 0.000