Project Number Date
test_Tails_ISO_feature-arti 9 24 Nov 2024, 16:19

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 42:58.898 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.008
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 1:41.091
And I update APT using apt 13.313
And I install "python3-behave" using apt 25.688
Then the Tails Persistent Storage behave tests pass 2.915
After features/support/hooks.rb:326 0.671
After features/support/hooks.rb:100 0.000
Tags: @product
47.756
Before features/support/hooks.rb:269 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 12.745
When I log in to a new session without activating the Persistent Storage 25.147
Then Tails is running from USB drive "__internal" 0.566
And persistence is disabled 0.437
But a Tails persistence partition exists on USB drive "__internal" 8.859
After features/support/hooks.rb:326 1.273
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.752
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.678
Then Tails is running from USB drive "__internal" 0.442
When I create a file in the Persistent directory 0.144
And I create a persistent partition with the default settings 24.798
Then the file I created was copied to the Persistent Storage 0.586
When I shutdown Tails and wait for the computer to power off 13.141
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.462
Then persistence for "Persistent" is active 0.409
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:326 1.212
After features/support/hooks.rb:100 0.009
Tags: @product
54.970
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.881
And the system is very low on memory 4.078
When I create a file in the Persistent directory 1.334
When I try to create a persistent partition 20.209
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.281
When I close the Persistent Storage app 3.018
And I free up some memory 1.492
And I create a persistent partition with the default settings 13.123
Then the file I created was copied to the Persistent Storage 0.549
After features/support/hooks.rb:326 0.972
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.650
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.598
Then Tails is running from USB drive "__internal" 0.456
And all tps features are active 3.367
And all persistent directories have safe access rights 2.556
When I disable the first tps feature 7.023
Then all tps features but the first one are active 2.251
And I shutdown Tails and wait for the computer to power off 10.489
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.560
Then all tps features but the first one are active 2.346
After features/support/hooks.rb:326 0.818
After features/support/hooks.rb:100 0.010
Tags: @product
20.924
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 9.376
Then persistence for "Persistent" is active 0.093
And I create a file in the Persistent directory 0.078
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 6.910
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.065
When I enable the first tps feature 4.053
Then persistence for "Persistent" is active 0.090
And the file I created in the Persistent directory exists 0.106
After features/support/hooks.rb:326 1.253
After features/support/hooks.rb:100 0.000
Tags: @product
24.003
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.570
Then persistence for "Persistent" is active 1.263
When I create a file in the Persistent directory 0.096
And I disable the first tps feature 7.259
And I delete the data of the Persistent Folder feature 4.753
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:326 0.976
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.453
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.214
And the network is plugged 0.104
And Tor is ready 24.233
And I take note of which tps features are available 0.701
When I write some files expected to persist 1.672
And I shutdown Tails and wait for the computer to power off 8.949
# 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.577
After features/support/hooks.rb:326 0.166
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.405
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.019
And the network is plugged 0.107
And Tor is ready 22.369
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.237
And I shutdown Tails and wait for the computer to power off 8.457
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.928
And I capture all network traffic 0.008
And the network is plugged 0.100
And Tor is ready 19.262
And I switch to the "persistent-con-current" NetworkManager connection 0.486
And the 1st network device has a spoofed MAC address configured 0.166
And no network device leaked the real MAC address 0.259
After features/support/hooks.rb:326 0.630
After features/support/hooks.rb:100 0.049
Tags: @product
1:27.844
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 30.603
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 26.633
Then I create a persistent partition with the default settings using the wizard that was already open 29.474
After features/support/hooks.rb:326 2.181
After features/support/hooks.rb:100 0.000
Tags: @product
4:55.584
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 14.437
When I enable persistence 52.556
Then no persistent Greeter options were restored 14.574
When I set all Greeter options to non-default values 27.541
And I log in to a new session in German (de) after having activated the Persistent Storage 56.602
Then all Greeter options are set to non-default values 0.492
When I cold reboot the computer 9.853
And the computer reboots Tails 1:2.040
Given I enable persistence 19.096
Then persistent Greeter options were restored 0.586
When I log in to a new session after having activated the Persistent Storage 37.091
Then all Greeter options are set to non-default values 0.711
After features/support/hooks.rb:326 1.654
After features/support/hooks.rb:100 0.018
Tags: @product
4:15.006
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.539
# 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 42.381
And I shutdown Tails and wait for the computer to power off 13.007
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:28.267
And I change the passphrase of the Persistent Storage back to the original 39.809
After features/support/hooks.rb:326 2.167
After features/support/hooks.rb:100 0.011
Tags: @product
1:8.182
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 11.136
And I log in to a new session without activating the Persistent Storage 25.789
Then persistence is disabled 0.303
But a Tails persistence partition exists on USB drive "__internal" 12.162
And all notifications have disappeared 11.604
When I delete the persistent partition 6.726
Then there is no persistence partition on USB drive "__internal" 0.460
After features/support/hooks.rb:326 1.022
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.846
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.041
When I write some dotfile expected to persist 0.086
And I shutdown Tails and wait for the computer to power off 8.545
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.277
Then the expected persistent dotfile is present in the filesystem 0.896
After features/support/hooks.rb:326 0.712
After features/support/hooks.rb:100 0.013
Tags: @product
1:40.723
Before features/support/hooks.rb:269 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.314
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.098
When I try to enable persistence 0.310
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.339
When I log in to a new session after having activated the Persistent Storage 37.912
And all notifications have disappeared 8.265
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.370
And all tps features are enabled 2.668
And all tps features but the first one are active 2.445
After features/support/hooks.rb:326 1.278
After features/support/hooks.rb:100 0.000
Tags: @product
5:38.005
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:11.493
And I enable persistence 33.428
And I log in to a new session after having activated the Persistent Storage 48.056
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.096
And persistence is enabled 2.930
After features/support/hooks.rb:326 0.961
After features/support/hooks.rb:100 0.000
Tags: @product
32.282
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 11.011
And I enable persistence but something goes wrong during the LUKS header upgrade 20.193
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.077
After features/support/hooks.rb:326 1.482
After features/support/hooks.rb:100 0.000
Tags: @product
59.360
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 9.638
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.627
When I enable persistence 37.975
Then the filesystem of the Persistent Storage was repaired 0.126
And persistence is successfully enabled 2.992
After features/support/hooks.rb:326 2.080
After features/support/hooks.rb:100 0.000
Tags: @product
28.874
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 9.121
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.963
When I try to enable persistence 0.448
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.572
When I repair the filesystem of the Persistent Storage 1.354
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.279
And the filesystem of the Persistent Storage was repaired 0.078
When I close the filesystem repair dialog 1.281
Then persistence is successfully enabled 1.773
After features/support/hooks.rb:326 0.882
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.324
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 10.522
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.242
When I try to enable persistence 0.301
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 37.340
When I repair the filesystem of the Persistent Storage 1.300
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.091
When I log in to a new session 35.735
And all notifications have disappeared 9.024
# 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" 1.688
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.220
When I close the "whisperback" window 1.452
Then the Tor Browser starts 15.597
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.807
After features/support/hooks.rb:326 1.462
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:25.937
Before features/support/hooks.rb:269 0.016
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.235
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.908
And Tails detects disk read failures on the boot device 1.731
When I try to enable persistence 0.511
Then the Welcome Screen tells me that my hardware is probably failing 10.031
When I log in to a new session 22.357
And all notifications have disappeared 8.194
Then the Tor Browser starts 22.131
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.836
After features/support/hooks.rb:326 1.559
After features/support/hooks.rb:100 0.000