Project Number Date
test_Tails_ISO_devel 3634 06 Jan 2025, 12:26

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 39:24.304 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:13.541
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.954
And I update APT using apt 14.612
And I install "python3-behave" using apt 22.848
Then the Tails Persistent Storage behave tests pass 3.126
After features/support/hooks.rb:326 0.696
After features/support/hooks.rb:100 0.000
Tags: @product
44.370
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 11.213
When I log in to a new session without activating the Persistent Storage 20.491
Then Tails is running from USB drive "__internal" 0.793
And persistence is disabled 0.431
But a Tails persistence partition exists on USB drive "__internal" 11.438
After features/support/hooks.rb:326 2.111
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.194
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 27.516
Then Tails is running from USB drive "__internal" 0.591
When I create a file in the Persistent directory 0.113
And I create a persistent partition with the default settings 25.737
Then the file I created was copied to the Persistent Storage 0.624
When I shutdown Tails and wait for the computer to power off 12.508
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.726
Then persistence for "Persistent" is active 0.318
And the file I created in the Persistent directory exists 0.057
After features/support/hooks.rb:326 0.685
After features/support/hooks.rb:100 0.008
Tags: @product
49.255
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 9.398
And the system is very low on memory 3.007
When I create a file in the Persistent directory 1.303
When I try to create a persistent partition 18.961
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.173
When I close the Persistent Storage app 2.552
And I free up some memory 1.602
And I create a persistent partition with the default settings 12.010
Then the file I created was copied to the Persistent Storage 0.246
After features/support/hooks.rb:326 1.726
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.326
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.799
Then Tails is running from USB drive "__internal" 0.500
And all tps features are active 2.224
And all persistent directories have safe access rights 2.556
When I disable the first tps feature 6.131
Then all tps features but the first one are active 2.048
And I shutdown Tails and wait for the computer to power off 10.916
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.996
Then all tps features but the first one are active 2.153
After features/support/hooks.rb:326 0.670
After features/support/hooks.rb:100 0.008
Tags: @product
19.011
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.395
Then persistence for "Persistent" is active 0.095
And I create a file in the Persistent directory 0.079
Then the file I created was copied to the Persistent Storage 0.091
When I disable the first tps feature 5.944
Then persistence for "Persistent" is not active 0.066
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.114
Then persistence for "Persistent" is active 0.087
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 0.698
After features/support/hooks.rb:100 0.000
Tags: @product
18.899
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 8.900
Then persistence for "Persistent" is active 0.104
When I create a file in the Persistent directory 0.086
And I disable the first tps feature 6.178
And I delete the data of the Persistent Folder feature 3.572
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:326 0.711
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.772
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.162
And the network is plugged 0.103
And Tor is ready 20.178
And I take note of which tps features are available 0.625
When I write some files expected to persist 1.508
And I shutdown Tails and wait for the computer to power off 11.042
# 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.150
After features/support/hooks.rb:326 0.086
After features/support/hooks.rb:100 0.000
Tags: @product
3:42.032
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 8.951
And the network is plugged 0.083
And Tor is ready 20.927
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.192
And I shutdown Tails and wait for the computer to power off 8.735
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.668
And I capture all network traffic 0.007
And the network is plugged 0.071
And Tor is ready 46.733
And I switch to the "persistent-con-current" NetworkManager connection 0.390
And the 1st network device has a spoofed MAC address configured 0.097
And no network device leaked the real MAC address 0.173
After features/support/hooks.rb:326 0.612
After features/support/hooks.rb:100 0.102
Tags: @product
55.812
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.588
And I enable persistence creation in Tails Greeter 1.102
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.106
Then I create a persistent partition with the default settings using the wizard that was already open 22.014
After features/support/hooks.rb:326 1.631
After features/support/hooks.rb:100 0.000
Tags: @product
4:23.908
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 13.316
When I enable persistence 36.537
Then no persistent Greeter options were restored 14.163
When I set all Greeter options to non-default values 25.914
And I log in to a new session in German (de) after having activated the Persistent Storage 49.051
Then all Greeter options are set to non-default values 0.473
When I cold reboot the computer 7.254
And the computer reboots Tails 1:1.443
Given I enable persistence 17.864
Then persistent Greeter options were restored 0.657
When I log in to a new session after having activated the Persistent Storage 36.578
Then all Greeter options are set to non-default values 0.653
After features/support/hooks.rb:326 1.059
After features/support/hooks.rb:100 0.008
Tags: @product
3:41.562
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.119
# 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 39.819
And I shutdown Tails and wait for the computer to power off 14.459
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.947
And I change the passphrase of the Persistent Storage back to the original 33.217
After features/support/hooks.rb:326 1.719
After features/support/hooks.rb:100 0.007
Tags: @product
1:5.219
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.116
And I log in to a new session without activating the Persistent Storage 22.064
Then persistence is disabled 0.363
But a Tails persistence partition exists on USB drive "__internal" 11.925
And all notifications have disappeared 12.406
When I delete the persistent partition 6.974
Then there is no persistence partition on USB drive "__internal" 0.368
After features/support/hooks.rb:326 0.946
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.869
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.436
When I write some dotfile expected to persist 0.880
And I shutdown Tails and wait for the computer to power off 8.281
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.880
Then the expected persistent dotfile is present in the filesystem 0.391
After features/support/hooks.rb:326 0.633
After features/support/hooks.rb:100 0.015
Tags: @product
1:38.550
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.993
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.095
When I try to enable persistence 0.461
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.863
When I log in to a new session after having activated the Persistent Storage 43.917
And all notifications have disappeared 7.605
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.867
And all tps features are enabled 2.164
And all tps features but the first one are active 2.579
After features/support/hooks.rb:326 1.085
After features/support/hooks.rb:100 0.000
Tags: @product
4:57.341
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 3:29.157
And I enable persistence 39.057
And I log in to a new session after having activated the Persistent Storage 42.097
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.798
And persistence is enabled 4.230
After features/support/hooks.rb:326 0.850
After features/support/hooks.rb:100 0.000
Tags: @product
43.652
Before features/support/hooks.rb:269 0.009
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 13.408
And I enable persistence but something goes wrong during the LUKS header upgrade 29.347
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.896
After features/support/hooks.rb:326 0.701
After features/support/hooks.rb:100 0.000
Tags: @product
46.609
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.414
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.825
When I enable persistence 28.017
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 3.263
After features/support/hooks.rb:326 1.069
After features/support/hooks.rb:100 0.000
Tags: @product
26.105
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.894
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.256
When I try to enable persistence 0.401
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.458
When I repair the filesystem of the Persistent Storage 1.193
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.261
And the filesystem of the Persistent Storage was repaired 0.101
When I close the filesystem repair dialog 1.211
Then persistence is successfully enabled 1.324
After features/support/hooks.rb:326 0.664
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.873
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.309
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.113
When I try to enable persistence 0.451
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.198
When I repair the filesystem of the Persistent Storage 1.274
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.090
When I log in to a new session 38.905
And all notifications have disappeared 7.121
# 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.587
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.272
When I close the "whisperback" window 1.639
Then the Tor Browser starts 18.971
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.936
After features/support/hooks.rb:326 1.383
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:13.393
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 8.766
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.904
And Tails detects disk read failures on the boot device 1.628
When I try to enable persistence 0.439
Then the Welcome Screen tells me that my hardware is probably failing 5.805
When I log in to a new session 21.292
And all notifications have disappeared 8.120
Then the Tor Browser starts 20.672
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.764
After features/support/hooks.rb:326 2.056
After features/support/hooks.rb:100 0.000