Project Number Date
test_Tails_ISO_devel 3705 21 Feb 2025, 16:37

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 41:8.546 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:22.758
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:41.829
And I update APT using apt 13.061
And I install "python3-behave" using apt 25.665
Then the Tails Persistent Storage behave tests pass 2.201
After features/support/hooks.rb:330 2.830
After features/support/hooks.rb:100 0.000
Tags: @product
50.540
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.545
When I log in to a new session without activating the Persistent Storage 32.215
Then Tails is running from USB drive "__internal" 0.739
And persistence is disabled 0.309
But a Tails persistence partition exists on USB drive "__internal" 5.729
After features/support/hooks.rb:330 1.624
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.306
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.998
Then Tails is running from USB drive "__internal" 0.540
When I create a file in the Persistent directory 0.133
And I create a persistent partition with the default settings 24.674
Then the file I created was copied to the Persistent Storage 0.677
When I shutdown Tails and wait for the computer to power off 14.855
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.963
Then persistence for "Persistent" is active 0.388
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 0.766
After features/support/hooks.rb:100 0.011
Tags: @product
1:13.490
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 24.396
And the system is very low on memory 2.964
When I create a file in the Persistent directory 0.747
When I try to create a persistent partition 26.907
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.185
When I close the Persistent Storage app 2.599
And I free up some memory 1.695
And I create a persistent partition with the default settings 13.763
Then the file I created was copied to the Persistent Storage 0.229
After features/support/hooks.rb:330 2.236
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.508
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 24.541
Then Tails is running from USB drive "__internal" 1.285
And all tps features are active 2.655
And all persistent directories have safe access rights 2.687
When I disable the first tps feature 6.462
Then all tps features but the first one are active 2.493
And I shutdown Tails and wait for the computer to power off 12.865
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.009
Then all tps features but the first one are active 2.507
After features/support/hooks.rb:330 1.200
After features/support/hooks.rb:100 0.009
Tags: @product
21.547
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.069
Then persistence for "Persistent" is active 0.139
And I create a file in the Persistent directory 0.096
Then the file I created was copied to the Persistent Storage 0.111
When I disable the first tps feature 6.663
Then persistence for "Persistent" is not active 0.070
And the Persistent directory does not exist 0.066
When I enable the first tps feature 3.177
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:330 1.392
After features/support/hooks.rb:100 0.000
Tags: @product
20.024
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.300
Then persistence for "Persistent" is active 0.437
When I create a file in the Persistent directory 0.062
And I disable the first tps feature 6.398
And I delete the data of the Persistent Folder feature 3.771
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:330 1.638
After features/support/hooks.rb:100 0.000
Tags: @product
1:23.348
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 22.002
And the network is plugged 0.552
And Tor is ready 21.720
And I take note of which tps features are available 1.079
When I write some files expected to persist 1.905
And I shutdown Tails and wait for the computer to power off 11.249
# 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.838
After features/support/hooks.rb:330 0.118
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.100
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.631
And the network is plugged 0.085
And Tor is ready 19.851
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.223
And I shutdown Tails and wait for the computer to power off 8.820
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.297
And I capture all network traffic 0.008
And the network is plugged 0.074
And Tor is ready 20.476
And I switch to the "persistent-con-current" NetworkManager connection 0.390
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.148
After features/support/hooks.rb:330 0.671
After features/support/hooks.rb:100 0.048
Tags: @product
56.280
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.036
And I enable persistence creation in Tails Greeter 1.125
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.673
Then I create a persistent partition with the default settings using the wizard that was already open 23.444
After features/support/hooks.rb:330 2.290
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.614
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 12.252
When I enable persistence 40.022
Then no persistent Greeter options were restored 15.147
When I set all Greeter options to non-default values 24.422
And I log in to a new session in German (de) after having activated the Persistent Storage 49.349
Then all Greeter options are set to non-default values 0.652
When I cold reboot the computer 7.480
And the computer reboots Tails 1:12.726
Given I enable persistence 18.826
Then persistent Greeter options were restored 0.614
When I log in to a new session after having activated the Persistent Storage 38.696
Then all Greeter options are set to non-default values 0.425
After features/support/hooks.rb:330 1.446
After features/support/hooks.rb:100 0.009
Tags: @product
3:47.955
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.859
# 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 33.157
And I shutdown Tails and wait for the computer to power off 12.902
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:15.798
And I change the passphrase of the Persistent Storage back to the original 36.236
After features/support/hooks.rb:330 2.154
After features/support/hooks.rb:100 0.008
Tags: @product
1:1.749
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 10.962
And I log in to a new session without activating the Persistent Storage 21.196
Then persistence is disabled 0.354
But a Tails persistence partition exists on USB drive "__internal" 9.908
And all notifications have disappeared 12.838
When I delete the persistent partition 5.962
Then there is no persistence partition on USB drive "__internal" 0.526
After features/support/hooks.rb:330 1.586
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.898
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.466
When I write some dotfile expected to persist 0.080
And I shutdown Tails and wait for the computer to power off 10.669
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.250
Then the expected persistent dotfile is present in the filesystem 0.430
After features/support/hooks.rb:330 1.173
After features/support/hooks.rb:100 0.007
Tags: @product
1:37.585
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.783
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.071
When I try to enable persistence 0.314
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.947
When I log in to a new session after having activated the Persistent Storage 40.528
And all notifications have disappeared 8.322
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.965
And all tps features are enabled 2.282
And all tps features but the first one are active 2.367
After features/support/hooks.rb:330 1.510
After features/support/hooks.rb:100 0.000
Tags: @product
4:53.038
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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:28.089
And I enable persistence 36.822
And I log in to a new session after having activated the Persistent Storage 41.121
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.367
And persistence is enabled 3.637
After features/support/hooks.rb:330 1.710
After features/support/hooks.rb:100 0.000
Tags: @product
29.167
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 8.438
And I enable persistence but something goes wrong during the LUKS header upgrade 20.012
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.716
After features/support/hooks.rb:330 0.714
After features/support/hooks.rb:100 0.000
Tags: @product
43.056
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.708
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.878
When I enable persistence 26.713
Then the filesystem of the Persistent Storage was repaired 0.081
And persistence is successfully enabled 2.673
After features/support/hooks.rb:330 2.500
After features/support/hooks.rb:100 0.000
Tags: @product
47.015
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.613
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.569
When I try to enable persistence 0.444
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.728
When I repair the filesystem of the Persistent Storage 1.294
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.143
And the filesystem of the Persistent Storage was repaired 1.523
When I close the filesystem repair dialog 1.270
Then persistence is successfully enabled 1.427
After features/support/hooks.rb:330 3.000
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.530
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.036
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.890
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.278
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.843
When I repair the filesystem of the Persistent Storage 1.281
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.072
When I log in to a new session 37.533
And all notifications have disappeared 8.753
# 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.749
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.254
When I close the "whisperback" window 2.044
Then the Tor Browser starts 17.885
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.840
After features/support/hooks.rb:330 2.127
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.031
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 8.845
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.374
And Tails detects disk read failures on the boot device 1.557
When I try to enable persistence 1.490
Then the Welcome Screen tells me that my hardware is probably failing 18.956
When I log in to a new session 48.129
And all notifications have disappeared 7.719
Then the Tor Browser starts 17.173
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.782
After features/support/hooks.rb:330 2.106
After features/support/hooks.rb:100 0.000