Project Number Date
test_Tails_ISO_devel 3817 17 May 2025, 13:04

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:24.789 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:30.967
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 1:49.447
And I update APT using apt 13.620
And I install "python3-behave" using apt 23.215
Then the Tails Persistent Storage behave tests pass 4.684
After features/support/hooks.rb:330 0.895
After features/support/hooks.rb:100 0.000
Tags: @product
51.768
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 14.910
When I log in to a new session without activating the Persistent Storage 25.403
Then Tails is running from USB drive "__internal" 1.560
And persistence is disabled 0.527
But a Tails persistence partition exists on USB drive "__internal" 9.366
After features/support/hooks.rb:330 1.537
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.729
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 15.574
Then Tails is running from USB drive "__internal" 0.543
When I create a file in the Persistent directory 0.246
And I create a persistent partition with the default settings 24.957
Then the file I created was copied to the Persistent Storage 2.585
When I shutdown Tails and wait for the computer to power off 15.052
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.332
Then persistence for "Persistent" is active 0.323
And the file I created in the Persistent directory exists 0.114
After features/support/hooks.rb:330 1.912
After features/support/hooks.rb:100 0.009
Tags: @product
1:7.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 without a persistent partition and logged in 11.181
And the system is very low on memory 4.602
When I create a file in the Persistent directory 1.675
When I try to create a persistent partition 29.217
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.687
When I close the Persistent Storage app 2.785
And I free up some memory 4.024
And I create a persistent partition with the default settings 12.845
Then the file I created was copied to the Persistent Storage 0.393
After features/support/hooks.rb:330 2.299
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.544
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 12.363
Then Tails is running from USB drive "__internal" 0.596
And all tps features are active 2.227
And all persistent directories have safe access rights 2.823
When I disable the first tps feature 5.614
Then all tps features but the first one are active 2.183
And I shutdown Tails and wait for the computer to power off 15.278
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.932
Then all tps features but the first one are active 2.523
After features/support/hooks.rb:330 1.042
After features/support/hooks.rb:100 0.010
Tags: @product
19.359
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.928
Then persistence for "Persistent" is active 0.205
And I create a file in the Persistent directory 0.138
Then the file I created was copied to the Persistent Storage 0.063
When I disable the first tps feature 5.643
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.048
When I enable the first tps feature 3.109
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 1.444
After features/support/hooks.rb:100 0.000
Tags: @product
20.282
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.029
Then persistence for "Persistent" is active 0.132
When I create a file in the Persistent directory 0.139
And I disable the first tps feature 6.292
And I delete the data of the Persistent Folder feature 3.603
Then the file I created does not exist on the Persistent Storage 0.084
After features/support/hooks.rb:330 1.516
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.277
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 9.275
And the network is plugged 0.066
And Tor is ready 23.455
And I take note of which tps features are available 0.628
When I write some files expected to persist 1.538
And I shutdown Tails and wait for the computer to power off 8.520
# 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.792
After features/support/hooks.rb:330 0.180
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.441
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.256
And the network is plugged 0.124
And Tor is ready 19.112
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.276
And I shutdown Tails and wait for the computer to power off 8.647
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.994
And I capture all network traffic 0.006
And the network is plugged 0.104
And Tor is ready 20.217
And I switch to the "persistent-con-current" NetworkManager connection 0.458
And the 1st network device has a spoofed MAC address configured 0.100
And no network device leaked the real MAC address 0.143
After features/support/hooks.rb:330 8.043
After features/support/hooks.rb:100 0.087
Tags: @product
1:30.155
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 without a persistent partition and stopped at Tails Greeter's login screen 34.995
And I enable persistence creation in Tails Greeter 1.109
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.441
Then I create a persistent partition with the default settings using the wizard that was already open 30.608
After features/support/hooks.rb:330 3.495
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.198
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 11.908
When I enable persistence 35.290
Then no persistent Greeter options were restored 14.542
When I set all Greeter options to non-default values 32.039
And I log in to a new session in German (de) after having activated the Persistent Storage 43.367
Then all Greeter options are set to non-default values 0.814
When I cold reboot the computer 7.326
And the computer reboots Tails 1:9.678
Given I enable persistence 18.404
Then persistent Greeter options were restored 0.599
When I log in to a new session after having activated the Persistent Storage 31.801
Then all Greeter options are set to non-default values 0.425
After features/support/hooks.rb:330 1.909
After features/support/hooks.rb:100 0.009
Tags: @product
3:56.562
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.112
# 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 32.436
And I shutdown Tails and wait for the computer to power off 15.372
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.616
And I change the passphrase of the Persistent Storage back to the original 39.024
After features/support/hooks.rb:330 3.422
After features/support/hooks.rb:100 0.010
Tags: @product
1:10.223
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 19.950
And I log in to a new session without activating the Persistent Storage 20.698
Then persistence is disabled 0.415
But a Tails persistence partition exists on USB drive "__internal" 11.932
And all notifications have disappeared 10.161
When I delete the persistent partition 6.096
Then there is no persistence partition on USB drive "__internal" 0.967
After features/support/hooks.rb:330 1.480
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.044
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.896
When I write some dotfile expected to persist 0.145
And I shutdown Tails and wait for the computer to power off 10.665
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.871
Then the expected persistent dotfile is present in the filesystem 0.466
After features/support/hooks.rb:330 1.722
After features/support/hooks.rb:100 0.009
Tags: @product
1:40.204
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.584
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 0.412
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.652
When I log in to a new session after having activated the Persistent Storage 41.731
And all notifications have disappeared 8.698
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.115
And all tps features are enabled 2.655
And all tps features but the first one are active 2.275
After features/support/hooks.rb:330 2.198
After features/support/hooks.rb:100 0.000
Tags: @product
4:56.109
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:37.136
And I enable persistence 32.675
And I log in to a new session after having activated the Persistent Storage 40.578
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.459
And persistence is enabled 3.259
After features/support/hooks.rb:330 2.171
After features/support/hooks.rb:100 0.000
Tags: @product
32.103
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.400
And I enable persistence but something goes wrong during the LUKS header upgrade 21.999
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.703
After features/support/hooks.rb:330 0.921
After features/support/hooks.rb:100 0.000
Tags: @product
48.369
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.245
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.476
When I enable persistence 28.943
Then the filesystem of the Persistent Storage was repaired 0.080
And persistence is successfully enabled 2.624
After features/support/hooks.rb:330 2.770
After features/support/hooks.rb:100 0.000
Tags: @product
49.898
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 8.924
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.016
When I try to enable persistence 0.479
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 20.446
When I repair the filesystem of the Persistent Storage 5.074
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.050
And the filesystem of the Persistent Storage was repaired 2.274
When I close the filesystem repair dialog 1.272
Then persistence is successfully enabled 1.359
After features/support/hooks.rb:330 1.514
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.419
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 10.064
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.098
When I try to enable persistence 0.433
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.098
When I repair the filesystem of the Persistent Storage 1.255
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.157
When I log in to a new session 36.458
And all notifications have disappeared 9.877
# 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.852
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.711
When I close the "whisperback" window 1.621
Then the Tor Browser starts 18.875
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 1.505
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.714
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.205
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.393
And Tails detects disk read failures on the boot device 1.594
When I try to enable persistence 1.553
Then the Welcome Screen tells me that my hardware is probably failing 27.702
When I log in to a new session 45.237
And all notifications have disappeared 8.604
Then the Tor Browser starts 22.543
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.879
After features/support/hooks.rb:330 1.855
After features/support/hooks.rb:100 0.000