Project Number Date
test_Tails_ISO_devel 3735 12 Mar 2025, 15:09

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 39:42.278 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.085
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:33.787
And I update APT using apt 13.661
And I install "python3-behave" using apt 26.079
Then the Tails Persistent Storage behave tests pass 2.556
After features/support/hooks.rb:330 0.636
After features/support/hooks.rb:100 0.000
Tags: @product
40.139
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 11.042
When I log in to a new session without activating the Persistent Storage 21.857
Then Tails is running from USB drive "__internal" 0.391
And persistence is disabled 0.367
But a Tails persistence partition exists on USB drive "__internal" 6.480
After features/support/hooks.rb:330 1.634
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.600
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.239
Then Tails is running from USB drive "__internal" 0.441
When I create a file in the Persistent directory 0.143
And I create a persistent partition with the default settings 22.999
Then the file I created was copied to the Persistent Storage 0.607
When I shutdown Tails and wait for the computer to power off 12.615
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.110
Then persistence for "Persistent" is active 0.368
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 1.492
After features/support/hooks.rb:100 0.010
Tags: @product
1:10.253
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.126
And the system is very low on memory 3.301
When I create a file in the Persistent directory 1.421
When I try to create a persistent partition 34.521
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.823
When I close the Persistent Storage app 2.773
And I free up some memory 1.095
And I create a persistent partition with the default settings 14.923
Then the file I created was copied to the Persistent Storage 0.266
After features/support/hooks.rb:330 2.266
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.825
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.698
Then Tails is running from USB drive "__internal" 0.867
And all tps features are active 2.214
And all persistent directories have safe access rights 2.409
When I disable the first tps feature 6.121
Then all tps features but the first one are active 1.954
And I shutdown Tails and wait for the computer to power off 15.048
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.539
Then all tps features but the first one are active 1.970
After features/support/hooks.rb:330 1.183
After features/support/hooks.rb:100 0.008
Tags: @product
20.741
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.636
Then persistence for "Persistent" is active 0.168
And I create a file in the Persistent directory 0.121
Then the file I created was copied to the Persistent Storage 0.113
When I disable the first tps feature 6.103
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.058
When I enable the first tps feature 3.322
Then persistence for "Persistent" is active 0.067
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.425
After features/support/hooks.rb:100 0.000
Tags: @product
21.251
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.058
Then persistence for "Persistent" is active 0.360
When I create a file in the Persistent directory 0.109
And I disable the first tps feature 6.457
And I delete the data of the Persistent Folder feature 4.208
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:330 1.505
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.226
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.069
And the network is plugged 0.079
And Tor is ready 21.165
And I take note of which tps features are available 0.683
When I write some files expected to persist 1.460
And I shutdown Tails and wait for the computer to power off 8.390
# 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.378
After features/support/hooks.rb:330 0.133
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.338
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.101
And the network is plugged 0.074
And Tor is ready 18.164
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.199
And I shutdown Tails and wait for the computer to power off 8.552
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.439
And I capture all network traffic 0.008
And the network is plugged 0.069
And Tor is ready 20.110
And I switch to the "persistent-con-current" NetworkManager connection 0.386
And the 1st network device has a spoofed MAC address configured 0.088
And no network device leaked the real MAC address 0.142
After features/support/hooks.rb:330 0.585
After features/support/hooks.rb:100 0.058
Tags: @product
54.131
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 11.868
And I enable persistence creation in Tails Greeter 1.133
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.422
Then I create a persistent partition with the default settings using the wizard that was already open 21.706
After features/support/hooks.rb:330 2.197
After features/support/hooks.rb:100 0.000
Tags: @product
4:18.449
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 11.938
When I enable persistence 38.472
Then no persistent Greeter options were restored 14.122
When I set all Greeter options to non-default values 26.863
And I log in to a new session in German (de) after having activated the Persistent Storage 43.396
Then all Greeter options are set to non-default values 0.797
When I cold reboot the computer 7.537
And the computer reboots Tails 58.738
Given I enable persistence 18.241
Then persistent Greeter options were restored 0.507
When I log in to a new session after having activated the Persistent Storage 37.424
Then all Greeter options are set to non-default values 0.408
After features/support/hooks.rb:330 1.756
After features/support/hooks.rb:100 0.009
Tags: @product
4:2.694
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 25.693
# 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 44.541
And I shutdown Tails and wait for the computer to power off 12.512
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.900
And I change the passphrase of the Persistent Storage back to the original 33.046
After features/support/hooks.rb:330 1.980
After features/support/hooks.rb:100 0.009
Tags: @product
53.816
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.959
And I log in to a new session without activating the Persistent Storage 19.768
Then persistence is disabled 0.394
But a Tails persistence partition exists on USB drive "__internal" 8.823
And all notifications have disappeared 8.673
When I delete the persistent partition 5.524
Then there is no persistence partition on USB drive "__internal" 0.672
After features/support/hooks.rb:330 1.544
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.754
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.953
When I write some dotfile expected to persist 0.318
And I shutdown Tails and wait for the computer to power off 8.569
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.509
Then the expected persistent dotfile is present in the filesystem 0.402
After features/support/hooks.rb:330 1.164
After features/support/hooks.rb:100 0.020
Tags: @product
1:36.378
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.241
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.074
When I try to enable persistence 0.259
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.647
When I log in to a new session after having activated the Persistent Storage 41.993
And all notifications have disappeared 8.900
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.892
And all tps features are enabled 2.327
And all tps features but the first one are active 2.042
After features/support/hooks.rb:330 1.739
After features/support/hooks.rb:100 0.000
Tags: @product
5:2.742
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 3:40.618
And I enable persistence 33.867
And I log in to a new session after having activated the Persistent Storage 44.138
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.586
And persistence is enabled 2.531
After features/support/hooks.rb:330 1.649
After features/support/hooks.rb:100 0.000
Tags: @product
34.940
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.607
And I enable persistence but something goes wrong during the LUKS header upgrade 24.547
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.784
After features/support/hooks.rb:330 0.742
After features/support/hooks.rb:100 0.000
Tags: @product
43.803
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.035
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.972
When I enable persistence 27.126
Then the filesystem of the Persistent Storage was repaired 0.097
And persistence is successfully enabled 2.571
After features/support/hooks.rb:330 1.546
After features/support/hooks.rb:100 0.000
Tags: @product
47.314
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.959
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.873
When I try to enable persistence 0.392
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.407
When I repair the filesystem of the Persistent Storage 1.312
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.271
And the filesystem of the Persistent Storage was repaired 1.174
When I close the filesystem repair dialog 1.244
Then persistence is successfully enabled 1.678
After features/support/hooks.rb:330 2.162
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:41.892
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.345
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.099
When I try to enable persistence 0.287
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.395
When I repair the filesystem of the Persistent Storage 1.266
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.102
When I log in to a new session 34.452
And all notifications have disappeared 9.385
# 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.636
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.590
When I close the "whisperback" window 1.647
Then the Tor Browser starts 16.761
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.922
After features/support/hooks.rb:330 2.028
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:42.896
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.172
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.947
And Tails detects disk read failures on the boot device 1.615
When I try to enable persistence 0.470
Then the Welcome Screen tells me that my hardware is probably failing 23.864
When I log in to a new session 37.211
And all notifications have disappeared 7.488
Then the Tor Browser starts 15.742
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.385
After features/support/hooks.rb:330 1.678
After features/support/hooks.rb:100 0.000