Project Number Date
test_Tails_ISO_stable 5409 21 Jan 2025, 18:24

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 50:23.986 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:29.973
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:47.372
And I update APT using apt 13.770
And I install "python3-behave" using apt 25.553
Then the Tails Persistent Storage behave tests pass 3.278
After features/support/hooks.rb:326 1.846
After features/support/hooks.rb:100 0.000
Tags: @product
58.720
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 23.214
When I log in to a new session without activating the Persistent Storage 23.058
Then Tails is running from USB drive "__internal" 0.709
And persistence is disabled 0.366
But a Tails persistence partition exists on USB drive "__internal" 11.371
After features/support/hooks.rb:326 3.141
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.341
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.443
Then Tails is running from USB drive "__internal" 0.939
When I create a file in the Persistent directory 0.214
And I create a persistent partition with the default settings 29.099
Then the file I created was copied to the Persistent Storage 0.789
When I shutdown Tails and wait for the computer to power off 14.072
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.349
Then persistence for "Persistent" is active 0.362
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 1.015
After features/support/hooks.rb:100 0.008
Tags: @product
1:16.958
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.821
And the system is very low on memory 5.911
When I create a file in the Persistent directory 0.791
When I try to create a persistent partition 25.869
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.371
When I close the Persistent Storage app 2.661
And I free up some memory 1.654
And I create a persistent partition with the default settings 24.504
Then the file I created was copied to the Persistent Storage 0.372
After features/support/hooks.rb:326 1.695
After features/support/hooks.rb:100 0.000
Tags: @product
3:38.018
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 21.364
Then Tails is running from USB drive "__internal" 0.661
And all tps features are active 3.166
And all persistent directories have safe access rights 2.606
When I disable the first tps feature 7.369
Then all tps features but the first one are active 8.808
And I shutdown Tails and wait for the computer to power off 15.079
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.363
Then all tps features but the first one are active 4.598
After features/support/hooks.rb:326 1.366
After features/support/hooks.rb:100 0.013
Tags: @product
23.547
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.721
Then persistence for "Persistent" is active 0.116
And I create a file in the Persistent directory 0.374
Then the file I created was copied to the Persistent Storage 0.108
When I disable the first tps feature 7.385
Then persistence for "Persistent" is not active 0.095
And the Persistent directory does not exist 0.075
When I enable the first tps feature 3.461
Then persistence for "Persistent" is active 0.104
And the file I created in the Persistent directory exists 0.104
After features/support/hooks.rb:326 1.399
After features/support/hooks.rb:100 0.000
Tags: @product
25.468
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 12.281
Then persistence for "Persistent" is active 0.416
When I create a file in the Persistent directory 0.160
And I disable the first tps feature 7.493
And I delete the data of the Persistent Folder feature 5.054
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:326 1.367
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.556
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.475
And the network is plugged 0.115
And Tor is ready 24.030
And I take note of which tps features are available 0.878
When I write some files expected to persist 2.063
And I shutdown Tails and wait for the computer to power off 9.108
# 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" 26.886
After features/support/hooks.rb:326 0.147
After features/support/hooks.rb:100 0.000
Tags: @product
3:31.601
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.239
And the network is plugged 0.116
And Tor is ready 18.536
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.251
And I shutdown Tails and wait for the computer to power off 8.676
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.123
And I capture all network traffic 0.010
And the network is plugged 0.122
And Tor is ready 26.680
And I switch to the "persistent-con-current" NetworkManager connection 0.455
And the 1st network device has a spoofed MAC address configured 0.118
And no network device leaked the real MAC address 0.270
After features/support/hooks.rb:326 0.812
After features/support/hooks.rb:100 0.069
Tags: @product
1:24.978
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 33.380
And I enable persistence creation in Tails Greeter 1.211
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.843
Then I create a persistent partition with the default settings using the wizard that was already open 25.542
After features/support/hooks.rb:326 1.348
After features/support/hooks.rb:100 0.000
Tags: @product
5:26.156
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 23.641
When I enable persistence 1:18.873
Then no persistent Greeter options were restored 15.293
When I set all Greeter options to non-default values 25.777
And I log in to a new session in German (de) after having activated the Persistent Storage 48.477
Then all Greeter options are set to non-default values 0.382
When I cold reboot the computer 8.100
And the computer reboots Tails 1:3.375
Given I enable persistence 20.158
Then persistent Greeter options were restored 0.569
When I log in to a new session after having activated the Persistent Storage 40.899
Then all Greeter options are set to non-default values 0.608
After features/support/hooks.rb:326 1.285
After features/support/hooks.rb:100 0.008
Tags: @product
4:4.163
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 11.836
# 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.616
And I shutdown Tails and wait for the computer to power off 12.800
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:25.417
And I change the passphrase of the Persistent Storage back to the original 34.493
After features/support/hooks.rb:326 1.948
After features/support/hooks.rb:100 0.008
Tags: @product
1:1.185
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 14.923
And I log in to a new session without activating the Persistent Storage 21.016
Then persistence is disabled 0.347
But a Tails persistence partition exists on USB drive "__internal" 9.732
And all notifications have disappeared 8.509
When I delete the persistent partition 6.267
Then there is no persistence partition on USB drive "__internal" 0.387
After features/support/hooks.rb:326 1.182
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.800
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 11.357
When I write some dotfile expected to persist 0.134
And I shutdown Tails and wait for the computer to power off 11.764
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.032
Then the expected persistent dotfile is present in the filesystem 0.511
After features/support/hooks.rb:326 0.745
After features/support/hooks.rb:100 0.047
Tags: @product
1:52.524
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 11.228
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.095
When I try to enable persistence 0.427
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.386
When I log in to a new session after having activated the Persistent Storage 43.078
And all notifications have disappeared 9.118
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.924
And all tps features are enabled 2.828
And all tps features but the first one are active 2.435
After features/support/hooks.rb:326 1.746
After features/support/hooks.rb:100 0.000
Tags: @product
9:33.951
Before features/support/hooks.rb:269 0.023
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 7:58.105
And I enable persistence 37.311
And I log in to a new session after having activated the Persistent Storage 48.629
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 6.792
And persistence is enabled 3.113
After features/support/hooks.rb:326 1.110
After features/support/hooks.rb:100 0.000
Tags: @product
37.484
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 13.111
And I enable persistence but something goes wrong during the LUKS header upgrade 23.456
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.916
After features/support/hooks.rb:326 0.817
After features/support/hooks.rb:100 0.000
Tags: @product
57.603
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 11.637
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.152
When I enable persistence 34.620
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 3.105
After features/support/hooks.rb:326 1.034
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.469
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.103
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.983
When I try to enable persistence 1.549
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.855
When I repair the filesystem of the Persistent Storage 5.087
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.336
And the filesystem of the Persistent Storage was repaired 2.365
When I close the filesystem repair dialog 1.348
Then persistence is successfully enabled 1.837
After features/support/hooks.rb:326 1.016
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:15.050
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.495
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.120
When I try to enable persistence 0.339
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 51.051
When I repair the filesystem of the Persistent Storage 1.288
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 34.910
And all notifications have disappeared 9.098
# 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.517
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.979
When I close the "whisperback" window 1.480
Then the Tor Browser starts 22.714
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 2.967
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:13.432
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 9.438
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.337
And Tails detects disk read failures on the boot device 1.736
When I try to enable persistence 0.494
Then the Welcome Screen tells me that my hardware is probably failing 26.685
When I log in to a new session 54.842
And all notifications have disappeared 11.218
Then the Tor Browser starts 18.871
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.808
After features/support/hooks.rb:326 1.529
After features/support/hooks.rb:100 0.000