Project Number Date
test_Tails_ISO_devel 3699 18 Feb 2025, 13:03

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 43:41.476 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:50.105
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:7.767
And I update APT using apt 13.715
And I install "python3-behave" using apt 25.761
Then the Tails Persistent Storage behave tests pass 2.861
After features/support/hooks.rb:326 0.877
After features/support/hooks.rb:100 0.000
Tags: @product
46.500
Before features/support/hooks.rb:269 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 14.682
When I log in to a new session without activating the Persistent Storage 23.687
Then Tails is running from USB drive "__internal" 0.522
And persistence is disabled 0.322
But a Tails persistence partition exists on USB drive "__internal" 7.286
After features/support/hooks.rb:326 0.914
After features/support/hooks.rb:100 0.000
Tags: @product
3:35.301
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 29.594
Then Tails is running from USB drive "__internal" 0.608
When I create a file in the Persistent directory 0.135
And I create a persistent partition with the default settings 27.705
Then the file I created was copied to the Persistent Storage 0.602
When I shutdown Tails and wait for the computer to power off 16.375
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.818
Then persistence for "Persistent" is active 0.385
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 1.014
After features/support/hooks.rb:100 0.011
Tags: @product
1:2.531
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.587
And the system is very low on memory 3.825
When I create a file in the Persistent directory 1.432
When I try to create a persistent partition 27.814
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.400
When I close the Persistent Storage app 2.684
And I free up some memory 1.308
And I create a persistent partition with the default settings 14.203
Then the file I created was copied to the Persistent Storage 0.273
After features/support/hooks.rb:326 1.543
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.178
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.874
Then Tails is running from USB drive "__internal" 0.817
And all tps features are active 2.573
And all persistent directories have safe access rights 2.939
When I disable the first tps feature 6.067
Then all tps features but the first one are active 2.424
And I shutdown Tails and wait for the computer to power off 13.130
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.005
Then all tps features but the first one are active 2.345
After features/support/hooks.rb:326 0.604
After features/support/hooks.rb:100 0.011
Tags: @product
20.545
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.932
Then persistence for "Persistent" is active 0.129
And I create a file in the Persistent directory 0.436
Then the file I created was copied to the Persistent Storage 0.079
When I disable the first tps feature 5.581
Then persistence for "Persistent" is not active 0.086
And the Persistent directory does not exist 0.068
When I enable the first tps feature 3.079
Then persistence for "Persistent" is active 0.077
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 0.850
After features/support/hooks.rb:100 0.000
Tags: @product
20.708
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.033
Then persistence for "Persistent" is active 0.451
When I create a file in the Persistent directory 0.080
And I disable the first tps feature 6.160
And I delete the data of the Persistent Folder feature 3.936
Then the file I created does not exist on the Persistent Storage 0.045
After features/support/hooks.rb:326 0.824
After features/support/hooks.rb:100 0.000
Tags: @product
1:37.742
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.863
And the network is plugged 0.088
And Tor is ready 48.622
And I take note of which tps features are available 0.661
When I write some files expected to persist 1.571
And I shutdown Tails and wait for the computer to power off 10.964
# 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.971
After features/support/hooks.rb:326 0.148
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.305
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.313
And the network is plugged 0.082
And Tor is ready 21.088
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.210
And I shutdown Tails and wait for the computer to power off 11.364
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.556
And I capture all network traffic 0.009
And the network is plugged 0.103
And Tor is ready 23.960
And I switch to the "persistent-con-current" NetworkManager connection 0.404
And the 1st network device has a spoofed MAC address configured 0.083
And no network device leaked the real MAC address 0.129
After features/support/hooks.rb:326 0.831
After features/support/hooks.rb:100 0.051
Tags: @product
1:4.404
Before features/support/hooks.rb:269 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 17.489
And I enable persistence creation in Tails Greeter 1.577
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.130
Then I create a persistent partition with the default settings using the wizard that was already open 24.207
After features/support/hooks.rb:326 1.587
After features/support/hooks.rb:100 0.000
Tags: @product
4:56.053
Before features/support/hooks.rb:269 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 12.276
When I enable persistence 49.194
Then no persistent Greeter options were restored 14.241
When I set all Greeter options to non-default values 28.402
And I log in to a new session in German (de) after having activated the Persistent Storage 57.038
Then all Greeter options are set to non-default values 0.815
When I cold reboot the computer 9.985
And the computer reboots Tails 1:2.151
Given I enable persistence 20.354
Then persistent Greeter options were restored 0.607
When I log in to a new session after having activated the Persistent Storage 40.519
Then all Greeter options are set to non-default values 0.464
After features/support/hooks.rb:326 0.934
After features/support/hooks.rb:100 0.014
Tags: @product
3:53.890
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.227
# 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.885
And I shutdown Tails and wait for the computer to power off 14.925
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.459
And I change the passphrase of the Persistent Storage back to the original 37.393
After features/support/hooks.rb:326 1.729
After features/support/hooks.rb:100 0.012
Tags: @product
58.962
Before features/support/hooks.rb:269 0.017
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.069
And I log in to a new session without activating the Persistent Storage 20.591
Then persistence is disabled 0.625
But a Tails persistence partition exists on USB drive "__internal" 7.840
And all notifications have disappeared 11.762
When I delete the persistent partition 7.618
Then there is no persistence partition on USB drive "__internal" 0.453
After features/support/hooks.rb:326 0.830
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.164
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.292
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 10.499
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.850
Then the expected persistent dotfile is present in the filesystem 0.442
After features/support/hooks.rb:326 0.748
After features/support/hooks.rb:100 0.013
Tags: @product
1:41.545
Before features/support/hooks.rb:269 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.529
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.108
When I try to enable persistence 0.269
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.073
When I log in to a new session after having activated the Persistent Storage 38.149
And all notifications have disappeared 9.305
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.233
And all tps features are enabled 2.717
And all tps features but the first one are active 2.159
After features/support/hooks.rb:326 1.139
After features/support/hooks.rb:100 0.000
Tags: @product
5:42.164
Before features/support/hooks.rb:269 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 4:13.142
And I enable persistence 35.533
And I log in to a new session after having activated the Persistent Storage 48.943
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.724
And persistence is enabled 2.821
After features/support/hooks.rb:326 1.045
After features/support/hooks.rb:100 0.000
Tags: @product
29.411
Before features/support/hooks.rb:269 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 8.847
And I enable persistence but something goes wrong during the LUKS header upgrade 19.769
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.793
After features/support/hooks.rb:326 1.025
After features/support/hooks.rb:100 0.000
Tags: @product
47.751
Before features/support/hooks.rb:269 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.927
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.345
When I enable persistence 29.342
Then the filesystem of the Persistent Storage was repaired 0.099
And persistence is successfully enabled 3.036
After features/support/hooks.rb:326 1.108
After features/support/hooks.rb:100 0.000
Tags: @product
46.570
Before features/support/hooks.rb:269 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.991
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.050
When I try to enable persistence 0.401
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.174
When I repair the filesystem of the Persistent Storage 1.243
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.242
And the filesystem of the Persistent Storage was repaired 2.763
When I close the filesystem repair dialog 1.232
Then persistence is successfully enabled 1.469
After features/support/hooks.rb:326 1.006
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.371
Before features/support/hooks.rb:269 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.745
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.114
When I try to enable persistence 0.271
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.911
When I repair the filesystem of the Persistent Storage 1.243
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.880
When I log in to a new session 39.021
And all notifications have disappeared 8.022
# 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.674
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.242
When I close the "whisperback" window 1.713
Then the Tor Browser starts 20.730
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.800
After features/support/hooks.rb:326 2.327
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.265
Before features/support/hooks.rb:269 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.053
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.699
And Tails detects disk read failures on the boot device 1.633
When I try to enable persistence 0.430
Then the Welcome Screen tells me that my hardware is probably failing 23.041
When I log in to a new session 36.978
And all notifications have disappeared 7.475
Then the Tor Browser starts 21.161
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.791
After features/support/hooks.rb:326 1.982
After features/support/hooks.rb:100 0.000