Project Number Date
test_Tails_ISO_stable 5515 14 Mar 2025, 13:11

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:38.780 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:50.061
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:38.626
And I update APT using apt 1:14.326
And I install "python3-behave" using apt 53.421
Then the Tails Persistent Storage behave tests pass 3.686
After features/support/hooks.rb:330 1.315
After features/support/hooks.rb:100 0.000
Tags: @product
44.545
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 13.623
When I log in to a new session without activating the Persistent Storage 23.584
Then Tails is running from USB drive "__internal" 0.429
And persistence is disabled 0.319
But a Tails persistence partition exists on USB drive "__internal" 6.589
After features/support/hooks.rb:330 1.829
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.565
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.965
Then Tails is running from USB drive "__internal" 0.379
When I create a file in the Persistent directory 0.131
And I create a persistent partition with the default settings 26.623
Then the file I created was copied to the Persistent Storage 0.748
When I shutdown Tails and wait for the computer to power off 14.573
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.733
Then persistence for "Persistent" is active 0.323
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:330 2.020
After features/support/hooks.rb:100 0.011
Tags: @product
1:8.963
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 24.019
And the system is very low on memory 3.511
When I create a file in the Persistent directory 0.822
When I try to create a persistent partition 23.857
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.183
When I close the Persistent Storage app 2.530
And I free up some memory 0.982
And I create a persistent partition with the default settings 12.837
Then the file I created was copied to the Persistent Storage 0.219
After features/support/hooks.rb:330 2.065
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.386
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.691
Then Tails is running from USB drive "__internal" 0.974
And all tps features are active 2.913
And all persistent directories have safe access rights 2.699
When I disable the first tps feature 7.606
Then all tps features but the first one are active 2.573
And I shutdown Tails and wait for the computer to power off 13.508
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.269
Then all tps features but the first one are active 3.149
After features/support/hooks.rb:330 1.671
After features/support/hooks.rb:100 0.013
Tags: @product
25.405
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 14.055
Then persistence for "Persistent" is active 0.279
And I create a file in the Persistent directory 0.167
Then the file I created was copied to the Persistent Storage 0.168
When I disable the first tps feature 7.145
Then persistence for "Persistent" is not active 0.082
And the Persistent directory does not exist 0.056
When I enable the first tps feature 3.214
Then persistence for "Persistent" is active 0.091
And the file I created in the Persistent directory exists 0.145
After features/support/hooks.rb:330 1.459
After features/support/hooks.rb:100 0.000
Tags: @product
22.714
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.412
Then persistence for "Persistent" is active 0.088
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 6.324
And I delete the data of the Persistent Folder feature 4.735
Then the file I created does not exist on the Persistent Storage 0.074
After features/support/hooks.rb:330 1.774
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.084
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.314
And the network is plugged 0.106
And Tor is ready 24.818
And I take note of which tps features are available 0.662
When I write some files expected to persist 1.703
And I shutdown Tails and wait for the computer to power off 8.851
# 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.628
After features/support/hooks.rb:330 0.121
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.926
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.122
And the network is plugged 0.101
And Tor is ready 22.505
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.207
And I shutdown Tails and wait for the computer to power off 8.744
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.540
And I capture all network traffic 0.007
And the network is plugged 0.074
And Tor is ready 16.899
And I switch to the "persistent-con-current" NetworkManager connection 0.492
And the 1st network device has a spoofed MAC address configured 0.088
And no network device leaked the real MAC address 0.141
After features/support/hooks.rb:330 0.704
After features/support/hooks.rb:100 0.059
Tags: @product
1:5.267
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 without a persistent partition and stopped at Tails Greeter's login screen 15.960
And I enable persistence creation in Tails Greeter 1.148
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.555
Then I create a persistent partition with the default settings using the wizard that was already open 23.602
After features/support/hooks.rb:330 1.894
After features/support/hooks.rb:100 0.000
Tags: @product
4:52.257
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.390
When I enable persistence 40.255
Then no persistent Greeter options were restored 14.527
When I set all Greeter options to non-default values 26.456
And I log in to a new session in German (de) after having activated the Persistent Storage 50.912
Then all Greeter options are set to non-default values 1.454
When I cold reboot the computer 7.876
And the computer reboots Tails 1:12.004
Given I enable persistence 17.929
Then persistent Greeter options were restored 0.608
When I log in to a new session after having activated the Persistent Storage 47.282
Then all Greeter options are set to non-default values 0.557
After features/support/hooks.rb:330 1.161
After features/support/hooks.rb:100 0.015
Tags: @product
4:0.424
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.665
# 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 45.466
And I shutdown Tails and wait for the computer to power off 12.644
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:15.099
And I change the passphrase of the Persistent Storage back to the original 35.547
After features/support/hooks.rb:330 2.083
After features/support/hooks.rb:100 0.055
Tags: @product
1:1.330
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.359
And I log in to a new session without activating the Persistent Storage 23.584
Then persistence is disabled 0.261
But a Tails persistence partition exists on USB drive "__internal" 6.690
And all notifications have disappeared 12.110
When I delete the persistent partition 7.865
Then there is no persistence partition on USB drive "__internal" 0.457
After features/support/hooks.rb:330 1.721
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.016
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.851
When I write some dotfile expected to persist 0.059
And I shutdown Tails and wait for the computer to power off 10.949
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.772
Then the expected persistent dotfile is present in the filesystem 0.382
After features/support/hooks.rb:330 1.232
After features/support/hooks.rb:100 0.011
Tags: @product
1:38.557
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.548
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.100
When I try to enable persistence 0.293
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.250
When I log in to a new session after having activated the Persistent Storage 33.163
And all notifications have disappeared 8.764
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.283
And all tps features are enabled 2.614
And all tps features but the first one are active 2.540
After features/support/hooks.rb:330 1.819
After features/support/hooks.rb:100 0.000
Tags: @product
5:48.194
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:17.919
And I enable persistence 36.349
And I log in to a new session after having activated the Persistent Storage 47.063
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.954
And persistence is enabled 3.908
After features/support/hooks.rb:330 1.869
After features/support/hooks.rb:100 0.000
Tags: @product
39.855
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.886
And I enable persistence but something goes wrong during the LUKS header upgrade 29.100
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.868
After features/support/hooks.rb:330 0.819
After features/support/hooks.rb:100 0.000
Tags: @product
48.744
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.314
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.113
When I enable persistence 30.382
Then the filesystem of the Persistent Storage was repaired 0.169
And persistence is successfully enabled 2.764
After features/support/hooks.rb:330 3.562
After features/support/hooks.rb:100 0.000
Tags: @product
52.805
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.199
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.491
When I try to enable persistence 0.495
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.337
When I repair the filesystem of the Persistent Storage 5.218
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.020
And the filesystem of the Persistent Storage was repaired 1.993
When I close the filesystem repair dialog 1.294
Then persistence is successfully enabled 1.754
After features/support/hooks.rb:330 2.152
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.828
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.679
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.120
When I try to enable persistence 0.319
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.951
When I repair the filesystem of the Persistent Storage 5.177
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.092
When I log in to a new session 31.626
And all notifications have disappeared 7.895
# 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.621
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.270
When I close the "whisperback" window 1.439
Then the Tor Browser starts 22.818
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.814
After features/support/hooks.rb:330 4.610
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.845
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.228
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.757
And Tails detects disk read failures on the boot device 1.662
When I try to enable persistence 0.499
Then the Welcome Screen tells me that my hardware is probably failing 21.427
When I log in to a new session 42.726
And all notifications have disappeared 9.607
Then the Tor Browser starts 24.082
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.854
After features/support/hooks.rb:330 2.337
After features/support/hooks.rb:100 0.000