Project Number Date
test_Tails_ISO_devel 3840 28 May 2025, 09:59

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 47:40.761 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:51.588
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:8.652
And I update APT using apt 13.229
And I install "python3-behave" using apt 26.798
Then the Tails Persistent Storage behave tests pass 2.907
After features/support/hooks.rb:330 0.850
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.724
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 26.144
When I log in to a new session without activating the Persistent Storage 27.252
Then Tails is running from USB drive "__internal" 0.777
And persistence is disabled 0.570
But a Tails persistence partition exists on USB drive "__internal" 12.978
After features/support/hooks.rb:330 2.937
After features/support/hooks.rb:100 0.000
Tags: @product
3:45.276
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Given I have started Tails without network from a USB drive without a persistent partition and logged in 16.579
Then Tails is running from USB drive "__internal" 0.527
When I create a file in the Persistent directory 0.187
And I create a persistent partition with the default settings 40.499
Then the file I created was copied to the Persistent Storage 2.625
When I shutdown Tails and wait for the computer to power off 13.744
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.592
Then persistence for "Persistent" is active 0.400
And the file I created in the Persistent directory exists 0.119
After features/support/hooks.rb:330 1.738
After features/support/hooks.rb:100 0.010
Tags: @product
1:29.265
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 23.043
And the system is very low on memory 4.687
When I create a file in the Persistent directory 1.285
When I try to create a persistent partition 37.363
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.674
When I close the Persistent Storage app 2.684
And I free up some memory 4.037
And I create a persistent partition with the default settings 15.176
Then the file I created was copied to the Persistent Storage 0.313
After features/support/hooks.rb:330 2.578
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.071
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 enabled and logged in 27.212
Then Tails is running from USB drive "__internal" 0.505
And all tps features are active 3.082
And all persistent directories have safe access rights 2.748
When I disable the first tps feature 6.377
Then all tps features but the first one are active 2.710
And I shutdown Tails and wait for the computer to power off 15.530
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.699
Then all tps features but the first one are active 3.204
After features/support/hooks.rb:330 1.615
After features/support/hooks.rb:100 0.011
Tags: @product
24.715
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 enabled and logged in 14.340
Then persistence for "Persistent" is active 0.097
And I create a file in the Persistent directory 0.109
Then the file I created was copied to the Persistent Storage 0.178
When I disable the first tps feature 6.416
Then persistence for "Persistent" is not active 0.091
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.237
Then persistence for "Persistent" is active 0.116
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.629
After features/support/hooks.rb:100 0.000
Tags: @product
23.097
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.158
Then persistence for "Persistent" is active 0.219
When I create a file in the Persistent directory 0.292
And I disable the first tps feature 7.488
And I delete the data of the Persistent Folder feature 3.873
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:330 2.838
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.492
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.993
And the network is plugged 0.102
And Tor is ready 20.864
And I take note of which tps features are available 0.774
When I write some files expected to persist 1.769
And I shutdown Tails and wait for the computer to power off 8.637
# 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.349
After features/support/hooks.rb:330 0.127
After features/support/hooks.rb:100 0.000
Tags: @product
3:56.767
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 12.458
And the network is plugged 0.440
And Tor is ready 18.356
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.213
And I shutdown Tails and wait for the computer to power off 17.702
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.455
And I capture all network traffic 0.019
And the network is plugged 0.075
And Tor is ready 50.291
And I switch to the "persistent-con-current" NetworkManager connection 0.461
And the 1st network device has a spoofed MAC address configured 0.128
And no network device leaked the real MAC address 0.164
After features/support/hooks.rb:330 0.683
After features/support/hooks.rb:100 0.058
Tags: @product
1:28.944
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 without a persistent partition and stopped at Tails Greeter's login screen 28.014
And I enable persistence creation in Tails Greeter 1.156
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.432
Then I create a persistent partition with the default settings using the wizard that was already open 35.341
After features/support/hooks.rb:330 3.027
After features/support/hooks.rb:100 0.000
Tags: @product
4:57.018
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 19.354
When I enable persistence 41.199
Then no persistent Greeter options were restored 14.672
When I set all Greeter options to non-default values 27.222
And I log in to a new session in German (de) after having activated the Persistent Storage 55.318
Then all Greeter options are set to non-default values 0.404
When I cold reboot the computer 7.669
And the computer reboots Tails 1:11.678
Given I enable persistence 17.594
Then persistent Greeter options were restored 0.517
When I log in to a new session after having activated the Persistent Storage 40.570
Then all Greeter options are set to non-default values 0.817
After features/support/hooks.rb:330 2.253
After features/support/hooks.rb:100 0.010
Tags: @product
4:1.167
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.365
# 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 41.792
And I shutdown Tails and wait for the computer to power off 13.048
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:22.126
And I change the passphrase of the Persistent Storage back to the original 33.834
After features/support/hooks.rb:330 2.840
After features/support/hooks.rb:100 0.010
Tags: @product
1:0.857
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 10.001
And I log in to a new session without activating the Persistent Storage 23.073
Then persistence is disabled 0.445
But a Tails persistence partition exists on USB drive "__internal" 8.747
And all notifications have disappeared 10.838
When I delete the persistent partition 6.867
Then there is no persistence partition on USB drive "__internal" 0.883
After features/support/hooks.rb:330 1.709
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.531
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.391
When I write some dotfile expected to persist 0.150
And I shutdown Tails and wait for the computer to power off 11.679
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.854
Then the expected persistent dotfile is present in the filesystem 0.454
After features/support/hooks.rb:330 1.172
After features/support/hooks.rb:100 0.014
Tags: @product
1:57.502
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.859
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 1.045
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 41.535
When I log in to a new session after having activated the Persistent Storage 48.758
And all notifications have disappeared 7.542
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.183
And all tps features are enabled 2.371
And all tps features but the first one are active 2.121
After features/support/hooks.rb:330 1.839
After features/support/hooks.rb:100 0.000
Tags: @product
6:44.161
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 5:15.783
And I enable persistence 35.930
And I log in to a new session after having activated the Persistent Storage 48.089
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.520
And persistence is enabled 2.837
After features/support/hooks.rb:330 1.645
After features/support/hooks.rb:100 0.000
Tags: @product
46.449
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 23.823
And I enable persistence but something goes wrong during the LUKS header upgrade 21.792
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.834
After features/support/hooks.rb:330 0.918
After features/support/hooks.rb:100 0.000
Tags: @product
47.680
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 10.573
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.440
When I enable persistence 28.728
Then the filesystem of the Persistent Storage was repaired 0.108
And persistence is successfully enabled 2.829
After features/support/hooks.rb:330 1.718
After features/support/hooks.rb:100 0.000
Tags: @product
52.233
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.298
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.046
When I try to enable persistence 0.453
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.118
When I repair the filesystem of the Persistent Storage 2.735
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.458
And the filesystem of the Persistent Storage was repaired 3.473
When I close the filesystem repair dialog 1.245
Then persistence is successfully enabled 1.403
After features/support/hooks.rb:330 1.723
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.255
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.088
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.109
When I try to enable persistence 0.280
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.544
When I repair the filesystem of the Persistent Storage 1.315
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.069
When I log in to a new session 35.649
And all notifications have disappeared 7.429
# 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.584
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.188
When I close the "whisperback" window 1.369
Then the Tor Browser starts 22.704
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.920
After features/support/hooks.rb:330 1.616
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.960
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.248
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.221
And Tails detects disk read failures on the boot device 0.585
When I try to enable persistence 0.400
Then the Welcome Screen tells me that my hardware is probably failing 19.387
When I log in to a new session 51.426
And all notifications have disappeared 9.808
Then the Tor Browser starts 22.019
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.862
After features/support/hooks.rb:330 1.756
After features/support/hooks.rb:100 0.000