Project Number Date
test_Tails_ISO_feature-arti 31 16 Dec 2024, 16:36

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:6.960 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:22.232
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.642
And I update APT using apt 13.806
And I install "python3-behave" using apt 25.958
Then the Tails Persistent Storage behave tests pass 2.825
After features/support/hooks.rb:326 2.078
After features/support/hooks.rb:100 0.000
Tags: @product
47.651
Before features/support/hooks.rb:269 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 15.244
When I log in to a new session without activating the Persistent Storage 24.320
Then Tails is running from USB drive "__internal" 0.543
And persistence is disabled 0.333
But a Tails persistence partition exists on USB drive "__internal" 7.210
After features/support/hooks.rb:326 1.503
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.040
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.170
Then Tails is running from USB drive "__internal" 0.363
When I create a file in the Persistent directory 0.245
And I create a persistent partition with the default settings 35.837
Then the file I created was copied to the Persistent Storage 0.771
When I shutdown Tails and wait for the computer to power off 13.826
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.056
Then persistence for "Persistent" is active 0.664
And the file I created in the Persistent directory exists 0.104
After features/support/hooks.rb:326 0.782
After features/support/hooks.rb:100 0.008
Tags: @product
1:7.085
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.352
And the system is very low on memory 6.158
When I create a file in the Persistent directory 0.978
When I try to create a persistent partition 26.301
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.162
When I close the Persistent Storage app 2.751
And I free up some memory 1.658
And I create a persistent partition with the default settings 13.501
Then the file I created was copied to the Persistent Storage 0.220
After features/support/hooks.rb:326 1.466
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.539
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 11.854
Then Tails is running from USB drive "__internal" 0.481
And all tps features are active 2.437
And all persistent directories have safe access rights 2.808
When I disable the first tps feature 6.049
Then all tps features but the first one are active 2.110
And I shutdown Tails and wait for the computer to power off 11.290
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.265
Then all tps features but the first one are active 2.240
After features/support/hooks.rb:326 0.669
After features/support/hooks.rb:100 0.007
Tags: @product
19.462
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.652
Then persistence for "Persistent" is active 0.090
And I create a file in the Persistent directory 0.083
Then the file I created was copied to the Persistent Storage 0.078
When I disable the first tps feature 6.001
Then persistence for "Persistent" is not active 0.089
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.250
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 0.826
After features/support/hooks.rb:100 0.000
Tags: @product
19.590
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 9.670
Then persistence for "Persistent" is active 0.143
When I create a file in the Persistent directory 0.110
And I disable the first tps feature 5.822
And I delete the data of the Persistent Folder feature 3.777
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:326 0.899
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.163
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.372
And the network is plugged 0.098
And Tor is ready 19.993
And I take note of which tps features are available 0.641
When I write some files expected to persist 1.561
And I shutdown Tails and wait for the computer to power off 8.876
# 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.618
After features/support/hooks.rb:326 0.105
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.395
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.938
And the network is plugged 0.076
And Tor is ready 21.337
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.916
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.479
And I capture all network traffic 0.014
And the network is plugged 0.084
And Tor is ready 20.573
And I switch to the "persistent-con-current" NetworkManager connection 0.439
And the 1st network device has a spoofed MAC address configured 0.089
And no network device leaked the real MAC address 0.206
After features/support/hooks.rb:326 0.621
After features/support/hooks.rb:100 0.054
Tags: @product
59.218
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.816
And I enable persistence creation in Tails Greeter 1.168
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.469
Then I create a persistent partition with the default settings using the wizard that was already open 23.764
After features/support/hooks.rb:326 1.861
After features/support/hooks.rb:100 0.000
Tags: @product
4:39.179
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.145
When I enable persistence 40.591
Then no persistent Greeter options were restored 14.511
When I set all Greeter options to non-default values 26.598
And I log in to a new session in German (de) after having activated the Persistent Storage 53.616
Then all Greeter options are set to non-default values 0.409
When I cold reboot the computer 7.672
And the computer reboots Tails 1:1.680
Given I enable persistence 18.407
Then persistent Greeter options were restored 0.578
When I log in to a new session after having activated the Persistent Storage 40.611
Then all Greeter options are set to non-default values 0.355
After features/support/hooks.rb:326 0.981
After features/support/hooks.rb:100 0.011
Tags: @product
3:36.716
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 10.017
# 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 34.238
And I shutdown Tails and wait for the computer to power off 12.957
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.018
And I change the passphrase of the Persistent Storage back to the original 32.484
After features/support/hooks.rb:326 2.019
After features/support/hooks.rb:100 0.011
Tags: @product
1:3.423
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 10.924
And I log in to a new session without activating the Persistent Storage 22.876
Then persistence is disabled 0.390
But a Tails persistence partition exists on USB drive "__internal" 10.203
And all notifications have disappeared 12.147
When I delete the persistent partition 6.373
Then there is no persistence partition on USB drive "__internal" 0.508
After features/support/hooks.rb:326 1.118
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.901
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 10.642
When I write some dotfile expected to persist 0.094
And I shutdown Tails and wait for the computer to power off 8.986
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.526
Then the expected persistent dotfile is present in the filesystem 0.650
After features/support/hooks.rb:326 0.821
After features/support/hooks.rb:100 0.011
Tags: @product
1:46.645
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.001
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.105
When I try to enable persistence 0.389
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.280
When I log in to a new session after having activated the Persistent Storage 47.573
And all notifications have disappeared 8.468
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.771
And all tps features are enabled 2.674
And all tps features but the first one are active 2.380
After features/support/hooks.rb:326 1.535
After features/support/hooks.rb:100 0.000
Tags: @product
7:39.059
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 5:56.254
And I enable persistence 47.935
And I log in to a new session after having activated the Persistent Storage 48.085
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.870
And persistence is enabled 2.913
After features/support/hooks.rb:326 0.976
After features/support/hooks.rb:100 0.000
Tags: @product
34.015
Before features/support/hooks.rb:269 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.712
And I enable persistence but something goes wrong during the LUKS header upgrade 23.516
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.786
After features/support/hooks.rb:326 0.796
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.589
Before features/support/hooks.rb:269 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.185
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 26.620
When I enable persistence 32.615
Then the filesystem of the Persistent Storage was repaired 0.093
And persistence is successfully enabled 3.073
After features/support/hooks.rb:326 1.017
After features/support/hooks.rb:100 0.000
Tags: @product
30.093
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.223
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.623
When I try to enable persistence 1.474
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.985
When I repair the filesystem of the Persistent Storage 1.261
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.322
And the filesystem of the Persistent Storage was repaired 0.385
When I close the filesystem repair dialog 1.278
Then persistence is successfully enabled 1.538
After features/support/hooks.rb:326 0.906
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:41.239
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.928
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.300
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.332
When I repair the filesystem of the Persistent Storage 1.276
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.087
When I log in to a new session 34.654
And all notifications have disappeared 7.798
# 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.643
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.189
When I close the "whisperback" window 1.406
Then the Tor Browser starts 14.778
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.737
After features/support/hooks.rb:326 1.536
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:17.717
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.022
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.064
And Tails detects disk read failures on the boot device 1.544
When I try to enable persistence 1.444
Then the Welcome Screen tells me that my hardware is probably failing 7.126
When I log in to a new session 20.730
And all notifications have disappeared 6.860
Then the Tor Browser starts 23.945
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.978
After features/support/hooks.rb:326 1.486
After features/support/hooks.rb:100 0.000