Project Number Date
test_Tails_ISO_stable 5604 28 Apr 2025, 20:36

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 45:4.354 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.784
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:39.107
And I update APT using apt 13.787
And I install "python3-behave" using apt 26.509
Then the Tails Persistent Storage behave tests pass 2.379
After features/support/hooks.rb:330 0.657
After features/support/hooks.rb:100 0.000
Tags: @product
46.576
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.152
When I log in to a new session without activating the Persistent Storage 23.154
Then Tails is running from USB drive "__internal" 0.702
And persistence is disabled 0.390
But a Tails persistence partition exists on USB drive "__internal" 11.176
After features/support/hooks.rb:330 2.066
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.063
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 24.396
Then Tails is running from USB drive "__internal" 0.432
When I create a file in the Persistent directory 0.163
And I create a persistent partition with the default settings 22.392
Then the file I created was copied to the Persistent Storage 2.299
When I shutdown Tails and wait for the computer to power off 10.869
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.897
Then persistence for "Persistent" is active 0.547
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:330 2.169
After features/support/hooks.rb:100 0.010
Tags: @product
1:2.221
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 without a persistent partition and logged in 13.209
And the system is very low on memory 4.935
When I create a file in the Persistent directory 0.565
When I try to create a persistent partition 23.010
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.243
When I close the Persistent Storage app 2.702
And I free up some memory 3.230
And I create a persistent partition with the default settings 14.049
Then the file I created was copied to the Persistent Storage 0.274
After features/support/hooks.rb:330 2.851
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.004
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 14.675
Then Tails is running from USB drive "__internal" 0.608
And all tps features are active 2.976
And all persistent directories have safe access rights 2.828
When I disable the first tps feature 6.327
Then all tps features but the first one are active 2.371
And I shutdown Tails and wait for the computer to power off 19.904
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.940
Then all tps features but the first one are active 4.372
After features/support/hooks.rb:330 1.879
After features/support/hooks.rb:100 0.015
Tags: @product
22.899
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 12.529
Then persistence for "Persistent" is active 0.227
And I create a file in the Persistent directory 0.164
Then the file I created was copied to the Persistent Storage 0.122
When I disable the first tps feature 6.365
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.198
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 1.561
After features/support/hooks.rb:100 0.000
Tags: @product
21.332
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.050
Then persistence for "Persistent" is active 0.098
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 6.164
And I delete the data of the Persistent Folder feature 3.882
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:330 1.545
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.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.827
And the network is plugged 0.080
And Tor is ready 23.446
And I take note of which tps features are available 0.648
When I write some files expected to persist 1.636
And I shutdown Tails and wait for the computer to power off 8.732
# 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.242
After features/support/hooks.rb:330 0.156
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.288
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.701
And the network is plugged 0.116
And Tor is ready 21.271
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.238
And I shutdown Tails and wait for the computer to power off 8.573
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.376
And I capture all network traffic 0.031
And the network is plugged 0.139
And Tor is ready 20.142
And I switch to the "persistent-con-current" NetworkManager connection 0.389
And the 1st network device has a spoofed MAC address configured 0.138
And no network device leaked the real MAC address 0.170
After features/support/hooks.rb:330 0.623
After features/support/hooks.rb:100 0.053
Tags: @product
1:11.504
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 16.448
And I enable persistence creation in Tails Greeter 1.229
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.365
Then I create a persistent partition with the default settings using the wizard that was already open 26.460
After features/support/hooks.rb:330 3.176
After features/support/hooks.rb:100 0.000
Tags: @product
5:0.657
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.528
When I enable persistence 38.944
Then no persistent Greeter options were restored 14.903
When I set all Greeter options to non-default values 33.647
And I log in to a new session in German (de) after having activated the Persistent Storage 55.912
Then all Greeter options are set to non-default values 0.691
When I cold reboot the computer 7.349
And the computer reboots Tails 1:10.926
Given I enable persistence 21.035
Then persistent Greeter options were restored 0.508
When I log in to a new session after having activated the Persistent Storage 42.969
Then all Greeter options are set to non-default values 0.241
After features/support/hooks.rb:330 1.672
After features/support/hooks.rb:100 0.008
Tags: @product
4:6.967
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.375
# 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 38.502
And I shutdown Tails and wait for the computer to power off 15.391
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:32.943
And I change the passphrase of the Persistent Storage back to the original 28.754
After features/support/hooks.rb:330 2.539
After features/support/hooks.rb:100 0.007
Tags: @product
53.995
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 9.668
And I log in to a new session without activating the Persistent Storage 20.618
Then persistence is disabled 0.362
But a Tails persistence partition exists on USB drive "__internal" 6.177
And all notifications have disappeared 9.576
When I delete the persistent partition 6.537
Then there is no persistence partition on USB drive "__internal" 1.055
After features/support/hooks.rb:330 1.285
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.712
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.436
When I write some dotfile expected to persist 0.072
And I shutdown Tails and wait for the computer to power off 10.914
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.794
Then the expected persistent dotfile is present in the filesystem 0.493
After features/support/hooks.rb:330 1.686
After features/support/hooks.rb:100 0.007
Tags: @product
1:48.478
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.817
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.082
When I try to enable persistence 0.302
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.306
When I log in to a new session after having activated the Persistent Storage 44.542
And all notifications have disappeared 9.749
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.339
And all tps features are enabled 3.399
And all tps features but the first one are active 3.936
After features/support/hooks.rb:330 1.930
After features/support/hooks.rb:100 0.000
Tags: @product
6:18.193
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 4:49.675
And I enable persistence 37.384
And I log in to a new session after having activated the Persistent Storage 46.344
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.711
And persistence is enabled 3.078
After features/support/hooks.rb:330 2.014
After features/support/hooks.rb:100 0.000
Tags: @product
32.443
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.362
And I enable persistence but something goes wrong during the LUKS header upgrade 22.293
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.787
After features/support/hooks.rb:330 0.811
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.175
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 9.634
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.144
When I enable persistence 41.352
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 2.952
After features/support/hooks.rb:330 2.009
After features/support/hooks.rb:100 0.000
Tags: @product
57.995
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.872
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.487
When I try to enable persistence 0.428
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.469
When I repair the filesystem of the Persistent Storage 5.033
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.307
And the filesystem of the Persistent Storage was repaired 4.551
When I close the filesystem repair dialog 1.262
Then persistence is successfully enabled 1.583
After features/support/hooks.rb:330 1.759
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.160
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.960
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.297
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.011
When I repair the filesystem of the Persistent Storage 1.202
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 38.416
And all notifications have disappeared 8.846
# 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" 1.042
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.900
When I close the "whisperback" window 1.391
Then the Tor Browser starts 22.711
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.185
After features/support/hooks.rb:330 2.884
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:18.284
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.700
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 16.929
And Tails detects disk read failures on the boot device 2.454
When I try to enable persistence 0.416
Then the Welcome Screen tells me that my hardware is probably failing 26.465
When I log in to a new session 54.628
And all notifications have disappeared 10.375
Then the Tor Browser starts 16.526
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.787
After features/support/hooks.rb:330 1.730
After features/support/hooks.rb:100 0.000