Project Number Date
test_Tails_ISO_feature-arti 16 01 Dec 2024, 16:32

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:19.421 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.765
Before features/support/hooks.rb:269 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:40.471
And I update APT using apt 14.078
And I install "python3-behave" using apt 28.208
Then the Tails Persistent Storage behave tests pass 3.006
After features/support/hooks.rb:326 0.733
After features/support/hooks.rb:100 0.000
Tags: @product
58.748
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 23.045
When I log in to a new session without activating the Persistent Storage 24.114
Then Tails is running from USB drive "__internal" 0.685
And persistence is disabled 0.503
But a Tails persistence partition exists on USB drive "__internal" 10.399
After features/support/hooks.rb:326 1.670
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.010
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 11.742
Then Tails is running from USB drive "__internal" 0.682
When I create a file in the Persistent directory 0.152
And I create a persistent partition with the default settings 26.023
Then the file I created was copied to the Persistent Storage 0.804
When I shutdown Tails and wait for the computer to power off 15.084
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.119
Then persistence for "Persistent" is active 0.333
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 1.074
After features/support/hooks.rb:100 0.011
Tags: @product
1:0.350
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 11.295
And the system is very low on memory 6.174
When I create a file in the Persistent directory 1.128
When I try to create a persistent partition 22.763
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.163
When I close the Persistent Storage app 2.590
And I free up some memory 1.296
And I create a persistent partition with the default settings 14.719
Then the file I created was copied to the Persistent Storage 0.218
After features/support/hooks.rb:326 1.224
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.596
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 14.483
Then Tails is running from USB drive "__internal" 0.408
And all tps features are active 2.654
And all persistent directories have safe access rights 2.802
When I disable the first tps feature 5.423
Then all tps features but the first one are active 2.453
And I shutdown Tails and wait for the computer to power off 10.992
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.992
Then all tps features but the first one are active 2.385
After features/support/hooks.rb:326 0.902
After features/support/hooks.rb:100 0.016
Tags: @product
19.633
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.075
Then persistence for "Persistent" is active 0.291
And I create a file in the Persistent directory 0.085
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 5.468
Then persistence for "Persistent" is not active 0.121
And the Persistent directory does not exist 0.070
When I enable the first tps feature 3.290
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:326 1.013
After features/support/hooks.rb:100 0.000
Tags: @product
19.901
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.665
Then persistence for "Persistent" is active 0.306
When I create a file in the Persistent directory 0.080
And I disable the first tps feature 5.848
And I delete the data of the Persistent Folder feature 3.887
Then the file I created does not exist on the Persistent Storage 0.112
After features/support/hooks.rb:326 0.868
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.356
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.538
And the network is plugged 0.496
And Tor is ready 23.499
And I take note of which tps features are available 0.663
When I write some files expected to persist 1.778
And I shutdown Tails and wait for the computer to power off 8.643
# 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.735
After features/support/hooks.rb:326 0.125
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.928
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.377
And the network is plugged 0.087
And Tor is ready 19.131
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.219
And I shutdown Tails and wait for the computer to power off 8.538
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.594
And I capture all network traffic 0.008
And the network is plugged 0.113
And Tor is ready 20.016
And I switch to the "persistent-con-current" NetworkManager connection 0.484
And the 1st network device has a spoofed MAC address configured 0.126
And no network device leaked the real MAC address 0.229
After features/support/hooks.rb:326 0.678
After features/support/hooks.rb:100 0.053
Tags: @product
1:2.306
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.638
And I enable persistence creation in Tails Greeter 1.194
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.940
Then I create a persistent partition with the default settings using the wizard that was already open 25.532
After features/support/hooks.rb:326 1.722
After features/support/hooks.rb:100 0.000
Tags: @product
4:59.355
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.025
When I enable persistence 51.188
Then no persistent Greeter options were restored 15.014
When I set all Greeter options to non-default values 27.147
And I log in to a new session in German (de) after having activated the Persistent Storage 56.977
Then all Greeter options are set to non-default values 0.965
When I cold reboot the computer 7.749
And the computer reboots Tails 1:3.429
Given I enable persistence 20.566
Then persistent Greeter options were restored 0.574
When I log in to a new session after having activated the Persistent Storage 41.345
Then all Greeter options are set to non-default values 0.369
After features/support/hooks.rb:326 1.673
After features/support/hooks.rb:100 0.011
Tags: @product
3:37.873
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.456
# 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 31.950
And I shutdown Tails and wait for the computer to power off 12.971
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:13.502
And I change the passphrase of the Persistent Storage back to the original 28.992
After features/support/hooks.rb:326 2.876
After features/support/hooks.rb:100 0.012
Tags: @product
1:10.722
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.632
And I log in to a new session without activating the Persistent Storage 23.418
Then persistence is disabled 0.501
But a Tails persistence partition exists on USB drive "__internal" 13.159
And all notifications have disappeared 12.259
When I delete the persistent partition 6.241
Then there is no persistence partition on USB drive "__internal" 0.509
After features/support/hooks.rb:326 1.207
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.872
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.367
When I write some dotfile expected to persist 0.096
And I shutdown Tails and wait for the computer to power off 9.246
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.769
Then the expected persistent dotfile is present in the filesystem 0.392
After features/support/hooks.rb:326 1.057
After features/support/hooks.rb:100 0.010
Tags: @product
1:49.268
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.550
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.098
When I try to enable persistence 0.298
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.204
When I log in to a new session after having activated the Persistent Storage 48.574
And all notifications have disappeared 7.867
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.153
And all tps features are enabled 2.355
And all tps features but the first one are active 2.165
After features/support/hooks.rb:326 0.923
After features/support/hooks.rb:100 0.000
Tags: @product
5:51.487
Before features/support/hooks.rb:269 0.004
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.290
And I enable persistence 45.829
And I log in to a new session after having activated the Persistent Storage 47.433
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.123
And persistence is enabled 2.809
After features/support/hooks.rb:326 0.881
After features/support/hooks.rb:100 0.000
Tags: @product
46.929
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 25.116
And I enable persistence but something goes wrong during the LUKS header upgrade 20.957
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.854
After features/support/hooks.rb:326 0.765
After features/support/hooks.rb:100 0.000
Tags: @product
50.655
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 10.482
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.877
When I enable persistence 30.289
Then the filesystem of the Persistent Storage was repaired 0.091
And persistence is successfully enabled 2.915
After features/support/hooks.rb:326 1.290
After features/support/hooks.rb:100 0.000
Tags: @product
28.883
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.778
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.576
When I try to enable persistence 0.418
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.727
When I repair the filesystem of the Persistent Storage 1.208
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.261
And the filesystem of the Persistent Storage was repaired 0.072
When I close the filesystem repair dialog 1.264
Then persistence is successfully enabled 1.575
After features/support/hooks.rb:326 0.837
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.253
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 10.419
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.106
When I try to enable persistence 0.272
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.351
When I repair the filesystem of the Persistent Storage 1.264
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 38.491
And all notifications have disappeared 10.306
# 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.440
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.679
When I close the "whisperback" window 1.551
Then the Tor Browser starts 19.344
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.941
After features/support/hooks.rb:326 2.593
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:24.523
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.151
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.551
And Tails detects disk read failures on the boot device 1.655
When I try to enable persistence 0.494
Then the Welcome Screen tells me that my hardware is probably failing 6.671
When I log in to a new session 21.680
And all notifications have disappeared 7.609
Then the Tor Browser starts 26.823
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.885
After features/support/hooks.rb:326 3.595
After features/support/hooks.rb:100 0.000