Project Number Date
test_Tails_ISO_stable 5508 11 Mar 2025, 19:31

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 44:13.637 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.412
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:41.309
And I update APT using apt 13.383
And I install "python3-behave" using apt 25.827
Then the Tails Persistent Storage behave tests pass 2.892
After features/support/hooks.rb:330 0.623
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.218
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 24.376
When I log in to a new session without activating the Persistent Storage 28.286
Then Tails is running from USB drive "__internal" 0.737
And persistence is disabled 0.477
But a Tails persistence partition exists on USB drive "__internal" 10.339
After features/support/hooks.rb:330 1.673
After features/support/hooks.rb:100 0.000
Tags: @product
4:4.513
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 53.782
Then Tails is running from USB drive "__internal" 0.466
When I create a file in the Persistent directory 0.125
And I create a persistent partition with the default settings 24.957
Then the file I created was copied to the Persistent Storage 0.543
When I shutdown Tails and wait for the computer to power off 13.143
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:31.047
Then persistence for "Persistent" is active 0.369
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:330 1.775
After features/support/hooks.rb:100 0.007
Tags: @product
1:15.765
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.201
And the system is very low on memory 5.958
When I create a file in the Persistent directory 3.254
When I try to create a persistent partition 29.296
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.483
When I close the Persistent Storage app 4.091
And I free up some memory 2.245
And I create a persistent partition with the default settings 15.291
Then the file I created was copied to the Persistent Storage 1.943
After features/support/hooks.rb:330 2.570
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.757
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.410
Then Tails is running from USB drive "__internal" 0.488
And all tps features are active 2.659
And all persistent directories have safe access rights 2.737
When I disable the first tps feature 6.535
Then all tps features but the first one are active 2.339
And I shutdown Tails and wait for the computer to power off 13.565
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.520
Then all tps features but the first one are active 2.500
After features/support/hooks.rb:330 0.990
After features/support/hooks.rb:100 0.008
Tags: @product
25.563
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.168
Then persistence for "Persistent" is active 0.094
And I create a file in the Persistent directory 0.200
Then the file I created was copied to the Persistent Storage 0.096
When I disable the first tps feature 9.413
Then persistence for "Persistent" is not active 0.098
And the Persistent directory does not exist 0.101
When I enable the first tps feature 3.217
Then persistence for "Persistent" is active 0.093
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:330 1.409
After features/support/hooks.rb:100 0.000
Tags: @product
20.792
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.100
Then persistence for "Persistent" is active 0.320
When I create a file in the Persistent directory 0.094
And I disable the first tps feature 5.919
And I delete the data of the Persistent Folder feature 4.296
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:330 1.569
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.749
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.886
And the network is plugged 0.089
And Tor is ready 20.738
And I take note of which tps features are available 0.930
When I write some files expected to persist 1.841
And I shutdown Tails and wait for the computer to power off 9.408
# 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" 26.854
After features/support/hooks.rb:330 0.166
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.751
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 11.980
And the network is plugged 0.187
And Tor is ready 19.530
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.235
And I shutdown Tails and wait for the computer to power off 9.126
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.334
And I capture all network traffic 0.004
And the network is plugged 0.083
And Tor is ready 22.601
And I switch to the "persistent-con-current" NetworkManager connection 0.396
And the 1st network device has a spoofed MAC address configured 0.114
And no network device leaked the real MAC address 0.153
After features/support/hooks.rb:330 0.668
After features/support/hooks.rb:100 0.055
Tags: @product
1:3.949
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 13.776
And I enable persistence creation in Tails Greeter 1.393
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.812
Then I create a persistent partition with the default settings using the wizard that was already open 26.966
After features/support/hooks.rb:330 2.595
After features/support/hooks.rb:100 0.000
Tags: @product
4:37.981
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 13.391
When I enable persistence 47.172
Then no persistent Greeter options were restored 14.561
When I set all Greeter options to non-default values 25.497
And I log in to a new session in German (de) after having activated the Persistent Storage 43.170
Then all Greeter options are set to non-default values 0.585
When I cold reboot the computer 7.571
And the computer reboots Tails 1:4.814
Given I enable persistence 19.681
Then persistent Greeter options were restored 0.579
When I log in to a new session after having activated the Persistent Storage 40.447
Then all Greeter options are set to non-default values 0.509
After features/support/hooks.rb:330 1.487
After features/support/hooks.rb:100 0.007
Tags: @product
4:7.086
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 25.646
# 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 31.299
And I shutdown Tails and wait for the computer to power off 13.120
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:16.374
And I change the passphrase of the Persistent Storage back to the original 40.645
After features/support/hooks.rb:330 1.661
After features/support/hooks.rb:100 0.012
Tags: @product
57.892
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 9.716
And I log in to a new session without activating the Persistent Storage 20.526
Then persistence is disabled 0.387
But a Tails persistence partition exists on USB drive "__internal" 10.509
And all notifications have disappeared 9.959
When I delete the persistent partition 6.237
Then there is no persistence partition on USB drive "__internal" 0.555
After features/support/hooks.rb:330 1.728
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.726
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.591
When I write some dotfile expected to persist 0.077
And I shutdown Tails and wait for the computer to power off 11.084
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.504
Then the expected persistent dotfile is present in the filesystem 0.467
After features/support/hooks.rb:330 1.356
After features/support/hooks.rb:100 0.008
Tags: @product
1:44.715
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.128
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.105
When I try to enable persistence 0.289
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.234
When I log in to a new session after having activated the Persistent Storage 46.185
And all notifications have disappeared 9.795
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.277
And all tps features are enabled 2.519
And all tps features but the first one are active 2.178
After features/support/hooks.rb:330 1.876
After features/support/hooks.rb:100 0.000
Tags: @product
5:33.761
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 4:2.316
And I enable persistence 36.481
And I log in to a new session after having activated the Persistent Storage 48.671
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.966
And persistence is enabled 4.325
After features/support/hooks.rb:330 1.836
After features/support/hooks.rb:100 0.000
Tags: @product
32.732
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 9.016
And I enable persistence but something goes wrong during the LUKS header upgrade 22.918
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.796
After features/support/hooks.rb:330 0.831
After features/support/hooks.rb:100 0.000
Tags: @product
48.040
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.261
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.806
When I enable persistence 30.271
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 2.612
After features/support/hooks.rb:330 1.515
After features/support/hooks.rb:100 0.000
Tags: @product
51.418
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.662
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.272
When I try to enable persistence 0.476
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.047
When I repair the filesystem of the Persistent Storage 1.363
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.483
And the filesystem of the Persistent Storage was repaired 1.770
When I close the filesystem repair dialog 1.585
Then persistence is successfully enabled 1.757
After features/support/hooks.rb:330 2.532
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.806
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.985
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.149
When I try to enable persistence 0.302
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.788
When I repair the filesystem of the Persistent Storage 1.349
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 44.349
And all notifications have disappeared 10.789
# 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.686
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.399
When I close the "whisperback" window 1.588
Then the Tor Browser starts 19.355
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.988
After features/support/hooks.rb:330 2.107
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:5.002
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.221
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.266
And Tails detects disk read failures on the boot device 1.548
When I try to enable persistence 0.412
Then the Welcome Screen tells me that my hardware is probably failing 18.468
When I log in to a new session 53.574
And all notifications have disappeared 9.380
Then the Tor Browser starts 23.122
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.007
After features/support/hooks.rb:330 2.019
After features/support/hooks.rb:100 0.000