Project Number Date
test_Tails_ISO_stable 5482 26 Feb 2025, 19:55

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 40:29.610 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.280
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:44.594
And I update APT using apt 14.213
And I install "python3-behave" using apt 25.588
Then the Tails Persistent Storage behave tests pass 2.883
After features/support/hooks.rb:330 0.685
After features/support/hooks.rb:100 0.000
Tags: @product
45.743
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 15.896
When I log in to a new session without activating the Persistent Storage 22.724
Then Tails is running from USB drive "__internal" 0.485
And persistence is disabled 0.292
But a Tails persistence partition exists on USB drive "__internal" 6.343
After features/support/hooks.rb:330 2.573
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.121
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 without a persistent partition and logged in 13.157
Then Tails is running from USB drive "__internal" 0.593
When I create a file in the Persistent directory 0.142
And I create a persistent partition with the default settings 29.901
Then the file I created was copied to the Persistent Storage 0.522
When I shutdown Tails and wait for the computer to power off 12.679
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.674
Then persistence for "Persistent" is active 0.368
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 2.214
After features/support/hooks.rb:100 0.009
Tags: @product
1:1.198
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 9.950
And the system is very low on memory 3.611
When I create a file in the Persistent directory 0.748
When I try to create a persistent partition 28.290
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.200
When I close the Persistent Storage app 2.575
And I free up some memory 1.783
And I create a persistent partition with the default settings 13.785
Then the file I created was copied to the Persistent Storage 0.252
After features/support/hooks.rb:330 2.896
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.424
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 12.552
Then Tails is running from USB drive "__internal" 0.373
And all tps features are active 2.514
And all persistent directories have safe access rights 2.600
When I disable the first tps feature 6.142
Then all tps features but the first one are active 2.288
And I shutdown Tails and wait for the computer to power off 14.929
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.756
Then all tps features but the first one are active 2.264
After features/support/hooks.rb:330 0.883
After features/support/hooks.rb:100 0.009
Tags: @product
19.642
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.981
Then persistence for "Persistent" is active 0.245
And I create a file in the Persistent directory 0.109
Then the file I created was copied to the Persistent Storage 0.101
When I disable the first tps feature 5.745
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.149
Then persistence for "Persistent" is active 0.117
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:330 1.450
After features/support/hooks.rb:100 0.000
Tags: @product
19.763
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.205
Then persistence for "Persistent" is active 0.235
When I create a file in the Persistent directory 0.114
And I disable the first tps feature 6.368
And I delete the data of the Persistent Folder feature 3.736
Then the file I created does not exist on the Persistent Storage 0.102
After features/support/hooks.rb:330 1.520
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.903
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 enabled and logged in 9.937
And the network is plugged 0.098
And Tor is ready 18.280
And I take note of which tps features are available 0.633
When I write some files expected to persist 1.502
And I shutdown Tails and wait for the computer to power off 8.532
# 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" 23.918
After features/support/hooks.rb:330 0.092
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.537
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 8.816
And the network is plugged 0.086
And Tor is ready 17.886
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.450
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.761
And I capture all network traffic 0.005
And the network is plugged 0.080
And Tor is ready 18.587
And I switch to the "persistent-con-current" NetworkManager connection 0.380
And the 1st network device has a spoofed MAC address configured 0.100
And no network device leaked the real MAC address 0.130
After features/support/hooks.rb:330 0.642
After features/support/hooks.rb:100 0.062
Tags: @product
56.705
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 without a persistent partition and stopped at Tails Greeter's login screen 12.703
And I enable persistence creation in Tails Greeter 1.204
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.776
Then I create a persistent partition with the default settings using the wizard that was already open 23.020
After features/support/hooks.rb:330 3.046
After features/support/hooks.rb:100 0.000
Tags: @product
4:27.593
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 and stopped at Tails Greeter's login screen 13.554
When I enable persistence 43.571
Then no persistent Greeter options were restored 14.317
When I set all Greeter options to non-default values 23.692
And I log in to a new session in German (de) after having activated the Persistent Storage 45.757
Then all Greeter options are set to non-default values 0.380
When I cold reboot the computer 7.462
And the computer reboots Tails 58.646
Given I enable persistence 17.820
Then persistent Greeter options were restored 0.561
When I log in to a new session after having activated the Persistent Storage 41.479
Then all Greeter options are set to non-default values 0.348
After features/support/hooks.rb:330 1.657
After features/support/hooks.rb:100 0.008
Tags: @product
3:45.151
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.660
# 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 41.001
And I shutdown Tails and wait for the computer to power off 14.583
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.789
And I change the passphrase of the Persistent Storage back to the original 35.117
After features/support/hooks.rb:330 2.507
After features/support/hooks.rb:100 0.007
Tags: @product
56.800
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.600
And I log in to a new session without activating the Persistent Storage 20.443
Then persistence is disabled 0.510
But a Tails persistence partition exists on USB drive "__internal" 10.702
And all notifications have disappeared 8.007
When I delete the persistent partition 7.070
Then there is no persistence partition on USB drive "__internal" 0.465
After features/support/hooks.rb:330 1.601
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.400
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.523
When I write some dotfile expected to persist 0.088
And I shutdown Tails and wait for the computer to power off 10.775
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.567
Then the expected persistent dotfile is present in the filesystem 0.445
After features/support/hooks.rb:330 1.183
After features/support/hooks.rb:100 0.011
Tags: @product
1:39.484
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 9.261
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.100
When I try to enable persistence 0.261
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.963
When I log in to a new session after having activated the Persistent Storage 42.777
And all notifications have disappeared 7.892
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.510
And all tps features are enabled 2.601
And all tps features but the first one are active 2.116
After features/support/hooks.rb:330 1.562
After features/support/hooks.rb:100 0.000
Tags: @product
5:6.263
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 3:44.255
And I enable persistence 31.705
And I log in to a new session after having activated the Persistent Storage 43.706
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.456
And persistence is enabled 4.139
After features/support/hooks.rb:330 1.499
After features/support/hooks.rb:100 0.000
Tags: @product
29.446
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.980
And I enable persistence but something goes wrong during the LUKS header upgrade 19.662
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.802
After features/support/hooks.rb:330 0.705
After features/support/hooks.rb:100 0.000
Tags: @product
52.397
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 and stopped at Tails Greeter's login screen 11.425
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.365
When I enable persistence 25.922
Then the filesystem of the Persistent Storage was repaired 0.093
And persistence is successfully enabled 6.591
After features/support/hooks.rb:330 1.887
After features/support/hooks.rb:100 0.000
Tags: @product
47.853
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 and stopped at Tails Greeter's login screen 8.609
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.835
When I try to enable persistence 0.576
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.326
When I repair the filesystem of the Persistent Storage 5.090
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.583
And the filesystem of the Persistent Storage was repaired 1.058
When I close the filesystem repair dialog 1.258
Then persistence is successfully enabled 1.514
After features/support/hooks.rb:330 2.350
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.018
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.376
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.099
When I try to enable persistence 1.362
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.875
When I repair the filesystem of the Persistent Storage 1.222
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.085
When I log in to a new session 39.331
And all notifications have disappeared 9.222
# 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.850
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.499
When I close the "whisperback" window 1.362
Then the Tor Browser starts 18.932
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.796
After features/support/hooks.rb:330 1.714
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.878
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 9.205
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.479
And Tails detects disk read failures on the boot device 1.582
When I try to enable persistence 0.470
Then the Welcome Screen tells me that my hardware is probably failing 18.490
When I log in to a new session 45.729
And all notifications have disappeared 8.037
Then the Tor Browser starts 20.918
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.964
After features/support/hooks.rb:330 2.899
After features/support/hooks.rb:100 0.000