Project Number Date
test_Tails_ISO_stable 5582 18 Apr 2025, 09:52

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 47:47.815 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:53.775
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:40.425
And I update APT using apt 1:16.347
And I install "python3-behave" using apt 54.175
Then the Tails Persistent Storage behave tests pass 2.826
After features/support/hooks.rb:330 0.837
After features/support/hooks.rb:100 0.000
Tags: @product
51.908
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 12.810
When I log in to a new session without activating the Persistent Storage 22.760
Then Tails is running from USB drive "__internal" 0.475
And persistence is disabled 0.279
But a Tails persistence partition exists on USB drive "__internal" 15.583
After features/support/hooks.rb:330 1.078
After features/support/hooks.rb:100 0.000
Tags: @product
3:31.687
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 16.068
Then Tails is running from USB drive "__internal" 0.614
When I create a file in the Persistent directory 0.208
And I create a persistent partition with the default settings 35.119
Then the file I created was copied to the Persistent Storage 2.159
When I shutdown Tails and wait for the computer to power off 12.998
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.082
Then persistence for "Persistent" is active 0.371
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:330 1.844
After features/support/hooks.rb:100 0.015
Tags: @product
1:3.943
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 13.865
And the system is very low on memory 3.419
When I create a file in the Persistent directory 1.207
When I try to create a persistent partition 23.320
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.135
When I close the Persistent Storage app 4.333
And I free up some memory 3.149
And I create a persistent partition with the default settings 14.215
Then the file I created was copied to the Persistent Storage 0.297
After features/support/hooks.rb:330 2.298
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.825
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 with a persistent partition enabled and logged in 14.060
Then Tails is running from USB drive "__internal" 0.740
And all tps features are active 2.785
And all persistent directories have safe access rights 2.713
When I disable the first tps feature 6.244
Then all tps features but the first one are active 2.286
And I shutdown Tails and wait for the computer to power off 16.182
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.903
Then all tps features but the first one are active 2.909
After features/support/hooks.rb:330 1.332
After features/support/hooks.rb:100 0.013
Tags: @product
34.443
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 24.546
Then persistence for "Persistent" is active 0.101
And I create a file in the Persistent directory 0.271
Then the file I created was copied to the Persistent Storage 0.198
When I disable the first tps feature 5.887
Then persistence for "Persistent" is not active 0.081
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.132
Then persistence for "Persistent" is active 0.086
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 1.263
After features/support/hooks.rb:100 0.000
Tags: @product
21.157
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 with a persistent partition enabled and logged in 9.968
Then persistence for "Persistent" is active 0.280
When I create a file in the Persistent directory 0.090
And I disable the first tps feature 6.776
And I delete the data of the Persistent Folder feature 3.964
Then the file I created does not exist on the Persistent Storage 0.076
After features/support/hooks.rb:330 1.626
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.399
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.890
And the network is plugged 0.086
And Tor is ready 21.445
And I take note of which tps features are available 0.574
When I write some files expected to persist 1.704
And I shutdown Tails and wait for the computer to power off 11.106
# 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.590
After features/support/hooks.rb:330 0.156
After features/support/hooks.rb:100 0.000
Tags: @product
3:29.465
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.797
And the network is plugged 0.142
And Tor is ready 20.574
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.249
And I shutdown Tails and wait for the computer to power off 8.803
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.071
And I capture all network traffic 0.007
And the network is plugged 0.089
And Tor is ready 24.138
And I switch to the "persistent-con-current" NetworkManager connection 0.364
And the 1st network device has a spoofed MAC address configured 0.104
And no network device leaked the real MAC address 0.122
After features/support/hooks.rb:330 0.687
After features/support/hooks.rb:100 0.058
Tags: @product
1:22.208
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 stopped at Tails Greeter's login screen 31.441
And I enable persistence creation in Tails Greeter 1.141
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.482
Then I create a persistent partition with the default settings using the wizard that was already open 26.143
After features/support/hooks.rb:330 3.644
After features/support/hooks.rb:100 0.000
Tags: @product
4:51.931
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 12.135
When I enable persistence 40.285
Then no persistent Greeter options were restored 15.163
When I set all Greeter options to non-default values 35.591
And I log in to a new session in German (de) after having activated the Persistent Storage 53.587
Then all Greeter options are set to non-default values 0.491
When I cold reboot the computer 9.814
And the computer reboots Tails 1:4.553
Given I enable persistence 18.976
Then persistent Greeter options were restored 0.505
When I log in to a new session after having activated the Persistent Storage 40.395
Then all Greeter options are set to non-default values 0.431
After features/support/hooks.rb:330 0.954
After features/support/hooks.rb:100 0.007
Tags: @product
3:57.934
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.645
# 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 43.279
And I shutdown Tails and wait for the computer to power off 13.293
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:13.207
And I change the passphrase of the Persistent Storage back to the original 37.508
After features/support/hooks.rb:330 3.031
After features/support/hooks.rb:100 0.040
Tags: @product
59.536
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 10.720
And I log in to a new session without activating the Persistent Storage 21.924
Then persistence is disabled 0.300
But a Tails persistence partition exists on USB drive "__internal" 8.456
And all notifications have disappeared 10.818
When I delete the persistent partition 6.343
Then there is no persistence partition on USB drive "__internal" 0.972
After features/support/hooks.rb:330 0.942
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.597
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.526
When I write some dotfile expected to persist 0.206
And I shutdown Tails and wait for the computer to power off 10.718
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.644
Then the expected persistent dotfile is present in the filesystem 0.501
After features/support/hooks.rb:330 1.268
After features/support/hooks.rb:100 0.010
Tags: @product
1:45.635
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.731
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.088
When I try to enable persistence 1.428
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.896
When I log in to a new session after having activated the Persistent Storage 44.029
And all notifications have disappeared 8.969
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.296
And all tps features are enabled 3.096
And all tps features but the first one are active 2.098
After features/support/hooks.rb:330 1.014
After features/support/hooks.rb:100 0.000
Tags: @product
7:18.703
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 5:52.237
And I enable persistence 31.626
And I log in to a new session after having activated the Persistent Storage 46.972
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.267
And persistence is enabled 5.600
After features/support/hooks.rb:330 0.887
After features/support/hooks.rb:100 0.000
Tags: @product
36.594
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 11.325
And I enable persistence but something goes wrong during the LUKS header upgrade 24.457
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.812
After features/support/hooks.rb:330 0.981
After features/support/hooks.rb:100 0.000
Tags: @product
1:25.281
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 10.301
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.639
When I enable persistence 1:2.886
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 4.362
After features/support/hooks.rb:330 2.167
After features/support/hooks.rb:100 0.000
Tags: @product
52.000
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.661
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.245
When I try to enable persistence 1.804
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.950
When I repair the filesystem of the Persistent Storage 2.802
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.462
And the filesystem of the Persistent Storage was repaired 3.349
When I close the filesystem repair dialog 1.219
Then persistence is successfully enabled 1.503
After features/support/hooks.rb:330 1.056
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.727
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.900
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.108
When I try to enable persistence 0.312
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.232
When I repair the filesystem of the Persistent Storage 1.323
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.085
When I log in to a new session 44.153
And all notifications have disappeared 9.809
# 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.694
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.360
When I close the "whisperback" window 1.758
Then the Tor Browser starts 13.978
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.009
After features/support/hooks.rb:330 2.150
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:7.058
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 9.295
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.650
And Tails detects disk read failures on the boot device 1.538
When I try to enable persistence 0.407
Then the Welcome Screen tells me that my hardware is probably failing 19.573
When I log in to a new session 55.529
And all notifications have disappeared 8.900
Then the Tor Browser starts 24.319
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.844
After features/support/hooks.rb:330 1.825
After features/support/hooks.rb:100 0.000