Project Number Date
test_Tails_ISO_stable 5585 20 Apr 2025, 12:44

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:55.259 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:52.091
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:38.818
And I update APT using apt 44.393
And I install "python3-behave" using apt 26.542
Then the Tails Persistent Storage behave tests pass 2.337
After features/support/hooks.rb:330 2.315
After features/support/hooks.rb:100 0.000
Tags: @product
47.660
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.054
When I log in to a new session without activating the Persistent Storage 24.433
Then Tails is running from USB drive "__internal" 0.906
And persistence is disabled 0.507
But a Tails persistence partition exists on USB drive "__internal" 9.758
After features/support/hooks.rb:330 2.051
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.557
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 without a persistent partition and logged in 15.044
Then Tails is running from USB drive "__internal" 0.488
When I create a file in the Persistent directory 0.176
And I create a persistent partition with the default settings 25.147
Then the file I created was copied to the Persistent Storage 2.572
When I shutdown Tails and wait for the computer to power off 15.095
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.029
Then persistence for "Persistent" is active 0.936
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:330 1.757
After features/support/hooks.rb:100 0.015
Tags: @product
1:10.909
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 without a persistent partition and logged in 11.013
And the system is very low on memory 8.686
When I create a file in the Persistent directory 1.655
When I try to create a persistent partition 29.231
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.383
When I close the Persistent Storage app 2.526
And I free up some memory 3.650
And I create a persistent partition with the default settings 13.318
Then the file I created was copied to the Persistent Storage 0.443
After features/support/hooks.rb:330 2.399
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.974
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 13.326
Then Tails is running from USB drive "__internal" 0.516
And all tps features are active 2.506
And all persistent directories have safe access rights 2.810
When I disable the first tps feature 6.029
Then all tps features but the first one are active 2.102
And I shutdown Tails and wait for the computer to power off 12.464
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.927
Then all tps features but the first one are active 2.290
After features/support/hooks.rb:330 1.312
After features/support/hooks.rb:100 0.008
Tags: @product
20.955
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 10.791
Then persistence for "Persistent" is active 0.306
And I create a file in the Persistent directory 0.100
Then the file I created was copied to the Persistent Storage 0.119
When I disable the first tps feature 6.179
Then persistence for "Persistent" is not active 0.072
And the Persistent directory does not exist 0.073
When I enable the first tps feature 3.158
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 1.465
After features/support/hooks.rb:100 0.000
Tags: @product
22.041
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.100
Then persistence for "Persistent" is active 0.081
When I create a file in the Persistent directory 0.085
And I disable the first tps feature 5.825
And I delete the data of the Persistent Folder feature 3.893
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:330 1.673
After features/support/hooks.rb:100 0.000
Tags: @product
1:35.279
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 10.247
And the network is plugged 0.099
And Tor is ready 47.613
And I take note of which tps features are available 1.368
When I write some files expected to persist 1.610
And I shutdown Tails and wait for the computer to power off 8.809
# 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" 25.531
After features/support/hooks.rb:330 0.192
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.750
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 10.435
And the network is plugged 0.117
And Tor is ready 19.693
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.186
And I shutdown Tails and wait for the computer to power off 10.990
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.761
And I capture all network traffic 0.007
And the network is plugged 0.084
And Tor is ready 20.867
And I switch to the "persistent-con-current" NetworkManager connection 0.381
And the 1st network device has a spoofed MAC address configured 0.079
And no network device leaked the real MAC address 0.144
After features/support/hooks.rb:330 0.623
After features/support/hooks.rb:100 0.082
Tags: @product
56.659
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 13.364
And I enable persistence creation in Tails Greeter 1.137
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.791
Then I create a persistent partition with the default settings using the wizard that was already open 21.365
After features/support/hooks.rb:330 2.611
After features/support/hooks.rb:100 0.000
Tags: @product
4:33.251
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.772
When I enable persistence 36.358
Then no persistent Greeter options were restored 14.363
When I set all Greeter options to non-default values 32.888
And I log in to a new session in German (de) after having activated the Persistent Storage 49.674
Then all Greeter options are set to non-default values 0.500
When I cold reboot the computer 7.289
And the computer reboots Tails 1:2.478
Given I enable persistence 18.045
Then persistent Greeter options were restored 0.568
When I log in to a new session after having activated the Persistent Storage 38.865
Then all Greeter options are set to non-default values 0.446
After features/support/hooks.rb:330 1.586
After features/support/hooks.rb:100 0.009
Tags: @product
3:39.368
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 10.564
# 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 34.151
And I shutdown Tails and wait for the computer to power off 12.777
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.591
And I change the passphrase of the Persistent Storage back to the original 32.283
After features/support/hooks.rb:330 3.179
After features/support/hooks.rb:100 0.009
Tags: @product
57.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 and stopped at Tails Greeter's login screen 10.518
And I log in to a new session without activating the Persistent Storage 20.746
Then persistence is disabled 0.345
But a Tails persistence partition exists on USB drive "__internal" 10.164
And all notifications have disappeared 9.072
When I delete the persistent partition 5.910
Then there is no persistence partition on USB drive "__internal" 0.779
After features/support/hooks.rb:330 1.531
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.154
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 10.410
When I write some dotfile expected to persist 0.354
And I shutdown Tails and wait for the computer to power off 11.205
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.577
Then the expected persistent dotfile is present in the filesystem 0.605
After features/support/hooks.rb:330 1.432
After features/support/hooks.rb:100 0.009
Tags: @product
1:36.353
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.122
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 0.260
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.372
When I log in to a new session after having activated the Persistent Storage 36.040
And all notifications have disappeared 7.056
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.693
And all tps features are enabled 2.532
And all tps features but the first one are active 2.201
After features/support/hooks.rb:330 1.863
After features/support/hooks.rb:100 0.000
Tags: @product
5:5.848
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:34.613
And I enable persistence 38.687
And I log in to a new session after having activated the Persistent Storage 48.559
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.445
And persistence is enabled 2.542
After features/support/hooks.rb:330 1.886
After features/support/hooks.rb:100 0.000
Tags: @product
28.333
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.728
And I enable persistence but something goes wrong during the LUKS header upgrade 18.767
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.837
After features/support/hooks.rb:330 0.796
After features/support/hooks.rb:100 0.000
Tags: @product
45.830
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.243
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.520
When I enable persistence 28.358
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 2.614
After features/support/hooks.rb:330 1.876
After features/support/hooks.rb:100 0.000
Tags: @product
51.672
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.684
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.164
When I try to enable persistence 0.461
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.327
When I repair the filesystem of the Persistent Storage 2.758
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.358
And the filesystem of the Persistent Storage was repaired 3.275
When I close the filesystem repair dialog 1.274
Then persistence is successfully enabled 1.368
After features/support/hooks.rb:330 1.865
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.287
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.948
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.113
When I try to enable persistence 0.302
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.246
When I repair the filesystem of the Persistent Storage 1.292
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.114
When I log in to a new session 43.824
And all notifications have disappeared 8.120
# 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.424
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.288
When I close the "whisperback" window 1.512
Then the Tor Browser starts 22.300
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.797
After features/support/hooks.rb:330 1.779
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.742
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.108
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.984
And Tails detects disk read failures on the boot device 1.590
When I try to enable persistence 0.477
Then the Welcome Screen tells me that my hardware is probably failing 21.478
When I log in to a new session 46.488
And all notifications have disappeared 7.294
Then the Tor Browser starts 22.609
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.710
After features/support/hooks.rb:330 2.451
After features/support/hooks.rb:100 0.000