Project Number Date
test_Tails_ISO_stable 5362 31 Dec 2024, 12:20

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 38:24.318 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:11.894
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:32.687
And I update APT using apt 13.888
And I install "python3-behave" using apt 22.608
Then the Tails Persistent Storage behave tests pass 2.710
After features/support/hooks.rb:326 0.575
After features/support/hooks.rb:100 0.000
Tags: @product
47.055
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 12.325
When I log in to a new session without activating the Persistent Storage 23.434
Then Tails is running from USB drive "__internal" 0.691
And persistence is disabled 0.433
But a Tails persistence partition exists on USB drive "__internal" 10.170
After features/support/hooks.rb:326 1.503
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.775
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 14.391
Then Tails is running from USB drive "__internal" 0.408
When I create a file in the Persistent directory 0.124
And I create a persistent partition with the default settings 21.170
Then the file I created was copied to the Persistent Storage 0.503
When I shutdown Tails and wait for the computer to power off 12.813
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.806
Then persistence for "Persistent" is active 0.497
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:326 0.942
After features/support/hooks.rb:100 0.008
Tags: @product
1:0.791
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 11.135
And the system is very low on memory 5.111
When I create a file in the Persistent directory 1.099
When I try to create a persistent partition 24.938
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.366
When I close the Persistent Storage app 2.701
And I free up some memory 1.785
And I create a persistent partition with the default settings 13.389
Then the file I created was copied to the Persistent Storage 0.262
After features/support/hooks.rb:326 1.353
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.781
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 10.727
Then Tails is running from USB drive "__internal" 0.405
And all tps features are active 2.271
And all persistent directories have safe access rights 2.547
When I disable the first tps feature 5.126
Then all tps features but the first one are active 2.183
And I shutdown Tails and wait for the computer to power off 10.632
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.785
Then all tps features but the first one are active 2.100
After features/support/hooks.rb:326 0.860
After features/support/hooks.rb:100 0.010
Tags: @product
18.551
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.822
Then persistence for "Persistent" is active 0.100
And I create a file in the Persistent directory 0.073
Then the file I created was copied to the Persistent Storage 0.076
When I disable the first tps feature 5.085
Then persistence for "Persistent" is not active 0.088
And the Persistent directory does not exist 0.053
When I enable the first tps feature 3.103
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 1.042
After features/support/hooks.rb:100 0.000
Tags: @product
18.729
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.806
Then persistence for "Persistent" is active 0.075
When I create a file in the Persistent directory 0.078
And I disable the first tps feature 5.076
And I delete the data of the Persistent Folder feature 3.635
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:326 1.316
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.696
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.904
And the network is plugged 0.085
And Tor is ready 18.754
And I take note of which tps features are available 0.686
When I write some files expected to persist 1.469
And I shutdown Tails and wait for the computer to power off 10.569
# 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.226
After features/support/hooks.rb:326 0.135
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.400
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.447
And the network is plugged 0.092
And Tor is ready 16.074
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.195
And I shutdown Tails and wait for the computer to power off 8.606
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.139
And I capture all network traffic 0.006
And the network is plugged 0.073
And Tor is ready 20.098
And I switch to the "persistent-con-current" NetworkManager connection 0.447
And the 1st network device has a spoofed MAC address configured 0.077
And no network device leaked the real MAC address 0.140
After features/support/hooks.rb:326 0.678
After features/support/hooks.rb:100 0.092
Tags: @product
58.366
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 13.753
And I enable persistence creation in Tails Greeter 1.301
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.442
Then I create a persistent partition with the default settings using the wizard that was already open 21.870
After features/support/hooks.rb:326 1.935
After features/support/hooks.rb:100 0.000
Tags: @product
4:24.121
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 13.100
When I enable persistence 36.016
Then no persistent Greeter options were restored 13.708
When I set all Greeter options to non-default values 24.072
And I log in to a new session in German (de) after having activated the Persistent Storage 51.755
Then all Greeter options are set to non-default values 0.437
When I cold reboot the computer 7.526
And the computer reboots Tails 1:1.421
Given I enable persistence 16.448
Then persistent Greeter options were restored 0.542
When I log in to a new session after having activated the Persistent Storage 38.554
Then all Greeter options are set to non-default values 0.536
After features/support/hooks.rb:326 1.330
After features/support/hooks.rb:100 0.007
Tags: @product
3:35.761
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.875
# 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 35.077
And I shutdown Tails and wait for the computer to power off 12.370
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:5.329
And I change the passphrase of the Persistent Storage back to the original 33.108
After features/support/hooks.rb:326 1.848
After features/support/hooks.rb:100 0.007
Tags: @product
54.230
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.823
And I log in to a new session without activating the Persistent Storage 22.085
Then persistence is disabled 0.187
But a Tails persistence partition exists on USB drive "__internal" 6.378
And all notifications have disappeared 8.720
When I delete the persistent partition 6.440
Then there is no persistence partition on USB drive "__internal" 0.594
After features/support/hooks.rb:326 0.878
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.682
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.289
When I write some dotfile expected to persist 0.054
And I shutdown Tails and wait for the computer to power off 14.793
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.078
Then the expected persistent dotfile is present in the filesystem 0.466
After features/support/hooks.rb:326 0.633
After features/support/hooks.rb:100 0.009
Tags: @product
1:48.445
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 8.942
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.268
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.512
When I log in to a new session after having activated the Persistent Storage 49.174
And all notifications have disappeared 7.841
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.797
And all tps features are enabled 3.770
And all tps features but the first one are active 2.060
After features/support/hooks.rb:326 1.060
After features/support/hooks.rb:100 0.000
Tags: @product
4:58.490
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 3:32.200
And I enable persistence 33.768
And I log in to a new session after having activated the Persistent Storage 48.332
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.404
And persistence is enabled 2.784
After features/support/hooks.rb:326 0.872
After features/support/hooks.rb:100 0.000
Tags: @product
28.978
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 8.838
And I enable persistence but something goes wrong during the LUKS header upgrade 19.077
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.062
After features/support/hooks.rb:326 0.872
After features/support/hooks.rb:100 0.000
Tags: @product
48.075
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 9.087
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.592
When I enable persistence 30.461
Then the filesystem of the Persistent Storage was repaired 0.099
And persistence is successfully enabled 2.835
After features/support/hooks.rb:326 0.990
After features/support/hooks.rb:100 0.000
Tags: @product
25.530
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 8.626
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.967
When I try to enable persistence 0.397
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.127
When I repair the filesystem of the Persistent Storage 1.238
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.244
And the filesystem of the Persistent Storage was repaired 0.070
When I close the filesystem repair dialog 1.211
Then persistence is successfully enabled 1.644
After features/support/hooks.rb:326 0.808
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.330
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.383
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.140
When I try to enable persistence 0.261
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.546
When I repair the filesystem of the Persistent Storage 1.485
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.260
When I log in to a new session 39.028
And all notifications have disappeared 8.876
# 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.893
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.561
When I close the "whisperback" window 1.507
Then the Tor Browser starts 18.629
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.754
After features/support/hooks.rb:326 2.335
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:9.626
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 8.744
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.456
And Tails detects disk read failures on the boot device 1.616
When I try to enable persistence 0.398
Then the Welcome Screen tells me that my hardware is probably failing 5.170
When I log in to a new session 20.311
And all notifications have disappeared 6.356
Then the Tor Browser starts 20.707
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.863
After features/support/hooks.rb:326 1.135
After features/support/hooks.rb:100 0.000