Project Number Date
test_Tails_ISO_stable 5618 30 Apr 2025, 15:54

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 49:28.913 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:47.437
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 1:59.243
And I update APT using apt 16.494
And I install "python3-behave" using apt 28.209
Then the Tails Persistent Storage behave tests pass 3.490
After features/support/hooks.rb:330 0.945
After features/support/hooks.rb:100 0.000
Tags: @product
1:22.591
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 35.180
When I log in to a new session without activating the Persistent Storage 30.977
Then Tails is running from USB drive "__internal" 0.990
And persistence is disabled 0.579
But a Tails persistence partition exists on USB drive "__internal" 14.861
After features/support/hooks.rb:330 2.508
After features/support/hooks.rb:100 0.000
Tags: @product
4:5.500
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 34.979
Then Tails is running from USB drive "__internal" 0.373
When I create a file in the Persistent directory 0.135
And I create a persistent partition with the default settings 24.641
Then the file I created was copied to the Persistent Storage 2.079
When I shutdown Tails and wait for the computer to power off 13.746
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:49.054
Then persistence for "Persistent" is active 0.416
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 2.469
After features/support/hooks.rb:100 0.011
Tags: @product
1:14.967
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 without a persistent partition and logged in 21.605
And the system is very low on memory 2.690
When I create a file in the Persistent directory 1.331
When I try to create a persistent partition 21.525
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.766
When I close the Persistent Storage app 3.011
And I free up some memory 2.704
And I create a persistent partition with the default settings 20.900
Then the file I created was copied to the Persistent Storage 0.432
After features/support/hooks.rb:330 1.960
After features/support/hooks.rb:100 0.000
Tags: @product
3:36.345
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 17.982
Then Tails is running from USB drive "__internal" 0.585
And all tps features are active 2.849
And all persistent directories have safe access rights 3.650
When I disable the first tps feature 7.805
Then all tps features but the first one are active 3.862
And I shutdown Tails and wait for the computer to power off 14.129
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:42.109
Then all tps features but the first one are active 3.369
After features/support/hooks.rb:330 1.528
After features/support/hooks.rb:100 0.011
Tags: @product
25.167
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 14.355
Then persistence for "Persistent" is active 0.109
And I create a file in the Persistent directory 0.091
Then the file I created was copied to the Persistent Storage 0.063
When I disable the first tps feature 6.443
Then persistence for "Persistent" is not active 0.112
And the Persistent directory does not exist 0.079
When I enable the first tps feature 3.688
Then persistence for "Persistent" is active 0.097
And the file I created in the Persistent directory exists 0.124
After features/support/hooks.rb:330 1.660
After features/support/hooks.rb:100 0.000
Tags: @product
23.891
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.019
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.064
Then persistence for "Persistent" is active 0.181
When I create a file in the Persistent directory 0.162
And I disable the first tps feature 7.996
And I delete the data of the Persistent Folder feature 4.420
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:330 2.101
After features/support/hooks.rb:100 0.000
Tags: @product
1:17.139
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.019
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.665
And the network is plugged 0.258
And Tor is ready 22.989
And I take note of which tps features are available 0.766
When I write some files expected to persist 1.653
And I shutdown Tails and wait for the computer to power off 13.650
# 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" 27.155
After features/support/hooks.rb:330 0.164
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.967
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.568
And the network is plugged 0.129
And Tor is ready 52.067
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.273
And I shutdown Tails and wait for the computer to power off 11.873
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:51.077
And I capture all network traffic 0.010
And the network is plugged 0.127
And Tor is ready 20.989
And I switch to the "persistent-con-current" NetworkManager connection 0.539
And the 1st network device has a spoofed MAC address configured 0.126
And no network device leaked the real MAC address 0.185
After features/support/hooks.rb:330 1.065
After features/support/hooks.rb:100 0.054
Tags: @product
1:36.279
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.021
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 30.539
And I enable persistence creation in Tails Greeter 1.534
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.140
Then I create a persistent partition with the default settings using the wizard that was already open 39.065
After features/support/hooks.rb:330 3.818
After features/support/hooks.rb:100 0.000
Tags: @product
5:14.540
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 31.558
When I enable persistence 47.072
Then no persistent Greeter options were restored 14.424
When I set all Greeter options to non-default values 27.390
And I log in to a new session in German (de) after having activated the Persistent Storage 47.915
Then all Greeter options are set to non-default values 0.537
When I cold reboot the computer 7.499
And the computer reboots Tails 1:9.191
Given I enable persistence 22.420
Then persistent Greeter options were restored 0.589
When I log in to a new session after having activated the Persistent Storage 45.503
Then all Greeter options are set to non-default values 0.438
After features/support/hooks.rb:330 1.813
After features/support/hooks.rb:100 0.010
Tags: @product
4:28.534
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 11.499
# 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 39.277
And I shutdown Tails and wait for the computer to power off 14.174
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:41.440
And I change the passphrase of the Persistent Storage back to the original 42.142
After features/support/hooks.rb:330 2.709
After features/support/hooks.rb:100 0.013
Tags: @product
1:12.373
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 13.673
And I log in to a new session without activating the Persistent Storage 29.761
Then persistence is disabled 0.379
But a Tails persistence partition exists on USB drive "__internal" 9.331
And all notifications have disappeared 9.819
When I delete the persistent partition 8.364
Then there is no persistence partition on USB drive "__internal" 1.041
After features/support/hooks.rb:330 2.050
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.216
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.027
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.525
When I write some dotfile expected to persist 0.110
And I shutdown Tails and wait for the computer to power off 13.276
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:40.781
Then the expected persistent dotfile is present in the filesystem 0.522
After features/support/hooks.rb:330 2.236
After features/support/hooks.rb:100 0.017
Tags: @product
2:0.610
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 11.757
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.097
When I try to enable persistence 0.285
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 43.046
When I log in to a new session after having activated the Persistent Storage 45.330
And all notifications have disappeared 8.723
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.252
And all tps features are enabled 3.559
And all tps features but the first one are active 2.556
After features/support/hooks.rb:330 2.989
After features/support/hooks.rb:100 0.000
Tags: @product
5:51.238
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 4:14.208
And I enable persistence 47.509
And I log in to a new session after having activated the Persistent Storage 43.220
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.226
And persistence is enabled 4.073
After features/support/hooks.rb:330 3.127
After features/support/hooks.rb:100 0.000
Tags: @product
39.187
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 10.576
And I enable persistence but something goes wrong during the LUKS header upgrade 27.812
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.798
After features/support/hooks.rb:330 2.453
After features/support/hooks.rb:100 0.000
Tags: @product
47.222
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.429
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.369
When I enable persistence 29.628
Then the filesystem of the Persistent Storage was repaired 0.079
And persistence is successfully enabled 2.714
After features/support/hooks.rb:330 1.666
After features/support/hooks.rb:100 0.000
Tags: @product
51.022
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.702
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.404
When I try to enable persistence 1.621
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.863
When I repair the filesystem of the Persistent Storage 1.777
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.088
And the filesystem of the Persistent Storage was repaired 2.920
When I close the filesystem repair dialog 1.253
Then persistence is successfully enabled 1.389
After features/support/hooks.rb:330 1.782
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.427
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 8.707
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.137
When I try to enable persistence 0.278
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.050
When I repair the filesystem of the Persistent Storage 1.336
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.127
When I log in to a new session 42.165
And all notifications have disappeared 8.575
# 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.449
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.170
When I close the "whisperback" window 1.436
Then the Tor Browser starts 22.180
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.812
After features/support/hooks.rb:330 3.167
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.252
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.742
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.198
And Tails detects disk read failures on the boot device 1.533
When I try to enable persistence 0.484
Then the Welcome Screen tells me that my hardware is probably failing 20.893
When I log in to a new session 50.347
And all notifications have disappeared 8.321
Then the Tor Browser starts 22.964
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.767
After features/support/hooks.rb:330 1.986
After features/support/hooks.rb:100 0.000