Project Number Date
test_Tails_ISO_devel 3815 16 May 2025, 13:13

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.125 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:43.844
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:2.240
And I update APT using apt 14.718
And I install "python3-behave" using apt 22.936
Then the Tails Persistent Storage behave tests pass 3.949
After features/support/hooks.rb:330 1.601
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.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 persistent partition and stopped at Tails Greeter's login screen 32.957
When I log in to a new session without activating the Persistent Storage 25.265
Then Tails is running from USB drive "__internal" 0.809
And persistence is disabled 0.550
But a Tails persistence partition exists on USB drive "__internal" 16.861
After features/support/hooks.rb:330 3.708
After features/support/hooks.rb:100 0.000
Tags: @product
4:17.791
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 1:12.917
Then Tails is running from USB drive "__internal" 0.555
When I create a file in the Persistent directory 0.254
And I create a persistent partition with the default settings 25.794
Then the file I created was copied to the Persistent Storage 2.783
When I shutdown Tails and wait for the computer to power off 13.895
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.232
Then persistence for "Persistent" is active 0.295
And the file I created in the Persistent directory exists 0.062
After features/support/hooks.rb:330 2.001
After features/support/hooks.rb:100 0.010
Tags: @product
1:11.802
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.045
And the system is very low on memory 5.628
When I create a file in the Persistent directory 1.165
When I try to create a persistent partition 27.860
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.365
When I close the Persistent Storage app 2.561
And I free up some memory 4.562
And I create a persistent partition with the default settings 15.168
Then the file I created was copied to the Persistent Storage 0.443
After features/support/hooks.rb:330 2.582
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.383
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 14.237
Then Tails is running from USB drive "__internal" 1.159
And all tps features are active 2.984
And all persistent directories have safe access rights 3.095
When I disable the first tps feature 6.675
Then all tps features but the first one are active 2.279
And I shutdown Tails and wait for the computer to power off 15.329
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.282
Then all tps features but the first one are active 2.337
After features/support/hooks.rb:330 1.325
After features/support/hooks.rb:100 0.008
Tags: @product
23.484
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 13.364
Then persistence for "Persistent" is active 0.122
And I create a file in the Persistent directory 0.077
Then the file I created was copied to the Persistent Storage 0.077
When I disable the first tps feature 6.331
Then persistence for "Persistent" is not active 0.080
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.190
Then persistence for "Persistent" is active 0.096
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:330 1.662
After features/support/hooks.rb:100 0.000
Tags: @product
20.054
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.874
Then persistence for "Persistent" is active 0.187
When I create a file in the Persistent directory 0.081
And I disable the first tps feature 6.264
And I delete the data of the Persistent Folder feature 3.586
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:330 1.853
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.804
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.936
And the network is plugged 0.107
And Tor is ready 22.748
And I take note of which tps features are available 0.659
When I write some files expected to persist 1.657
And I shutdown Tails and wait for the computer to power off 11.121
# 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.573
After features/support/hooks.rb:330 0.184
After features/support/hooks.rb:100 0.000
Tags: @product
3:39.746
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.159
And the network is plugged 0.083
And Tor is ready 18.103
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.253
And I shutdown Tails and wait for the computer to power off 8.756
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.836
And I capture all network traffic 0.006
And the network is plugged 0.085
And Tor is ready 48.829
And I switch to the "persistent-con-current" NetworkManager connection 0.402
And the 1st network device has a spoofed MAC address configured 0.079
And no network device leaked the real MAC address 0.148
After features/support/hooks.rb:330 0.601
After features/support/hooks.rb:100 0.052
Tags: @product
1:1.661
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.455
And I enable persistence creation in Tails Greeter 1.167
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.328
Then I create a persistent partition with the default settings using the wizard that was already open 23.710
After features/support/hooks.rb:330 3.020
After features/support/hooks.rb:100 0.000
Tags: @product
4:49.607
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.773
When I enable persistence 38.837
Then no persistent Greeter options were restored 14.362
When I set all Greeter options to non-default values 28.088
And I log in to a new session in German (de) after having activated the Persistent Storage 49.924
Then all Greeter options are set to non-default values 0.824
When I cold reboot the computer 7.654
And the computer reboots Tails 1:5.948
Given I enable persistence 31.061
Then persistent Greeter options were restored 0.604
When I log in to a new session after having activated the Persistent Storage 38.987
Then all Greeter options are set to non-default values 0.539
After features/support/hooks.rb:330 2.457
After features/support/hooks.rb:100 0.010
Tags: @product
3:46.416
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.174
# 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 36.658
And I shutdown Tails and wait for the computer to power off 15.137
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.867
And I change the passphrase of the Persistent Storage back to the original 32.577
After features/support/hooks.rb:330 3.019
After features/support/hooks.rb:100 0.007
Tags: @product
59.420
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.279
And I log in to a new session without activating the Persistent Storage 20.392
Then persistence is disabled 0.417
But a Tails persistence partition exists on USB drive "__internal" 11.507
And all notifications have disappeared 9.629
When I delete the persistent partition 6.423
Then there is no persistence partition on USB drive "__internal" 0.770
After features/support/hooks.rb:330 1.549
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.654
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.187
When I write some dotfile expected to persist 0.085
And I shutdown Tails and wait for the computer to power off 10.480
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.532
Then the expected persistent dotfile is present in the filesystem 0.368
After features/support/hooks.rb:330 1.489
After features/support/hooks.rb:100 0.009
Tags: @product
1:51.092
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.001
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.125
When I try to enable persistence 0.383
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.650
When I log in to a new session after having activated the Persistent Storage 47.895
And all notifications have disappeared 9.722
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.520
And all tps features are enabled 2.653
And all tps features but the first one are active 2.139
After features/support/hooks.rb:330 1.750
After features/support/hooks.rb:100 0.000
Tags: @product
5:50.904
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:30.256
And I enable persistence 30.394
And I log in to a new session after having activated the Persistent Storage 42.727
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.267
And persistence is enabled 3.258
After features/support/hooks.rb:330 1.525
After features/support/hooks.rb:100 0.000
Tags: @product
34.723
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 10.013
And I enable persistence but something goes wrong during the LUKS header upgrade 23.864
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.846
After features/support/hooks.rb:330 0.787
After features/support/hooks.rb:100 0.000
Tags: @product
47.841
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.966
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.597
When I enable persistence 28.395
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 2.786
After features/support/hooks.rb:330 1.468
After features/support/hooks.rb:100 0.000
Tags: @product
51.207
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.548
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.661
When I try to enable persistence 0.353
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.480
When I repair the filesystem of the Persistent Storage 1.310
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.734
And the filesystem of the Persistent Storage was repaired 4.422
When I close the filesystem repair dialog 1.179
Then persistence is successfully enabled 1.516
After features/support/hooks.rb:330 1.979
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.151
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.083
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.113
When I try to enable persistence 0.404
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.902
When I repair the filesystem of the Persistent Storage 1.572
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.199
When I log in to a new session 46.148
And all notifications have disappeared 10.632
# 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.698
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.666
When I close the "whisperback" window 1.654
Then the Tor Browser starts 21.092
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.981
After features/support/hooks.rb:330 3.211
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.088
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 9.800
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.432
And Tails detects disk read failures on the boot device 0.434
When I try to enable persistence 0.392
Then the Welcome Screen tells me that my hardware is probably failing 18.635
When I log in to a new session 45.620
And all notifications have disappeared 8.921
Then the Tor Browser starts 23.841
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.008
After features/support/hooks.rb:330 3.899
After features/support/hooks.rb:100 0.000