Project Number Date
test_Tails_ISO_stable 5554 04 Apr 2025, 13:16

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:4.068 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:28.026
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:44.014
And I update APT using apt 44.570
And I install "python3-behave" using apt 1:56.427
Then the Tails Persistent Storage behave tests pass 3.012
After features/support/hooks.rb:330 0.763
After features/support/hooks.rb:100 0.000
Tags: @product
55.342
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 17.690
When I log in to a new session without activating the Persistent Storage 27.303
Then Tails is running from USB drive "__internal" 0.511
And persistence is disabled 0.455
But a Tails persistence partition exists on USB drive "__internal" 9.381
After features/support/hooks.rb:330 1.913
After features/support/hooks.rb:100 0.000
Tags: @product
3:40.944
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 15.464
Then Tails is running from USB drive "__internal" 1.045
When I create a file in the Persistent directory 0.171
And I create a persistent partition with the default settings 28.868
Then the file I created was copied to the Persistent Storage 2.238
When I shutdown Tails and wait for the computer to power off 13.908
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:38.818
Then persistence for "Persistent" is active 0.340
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:330 2.202
After features/support/hooks.rb:100 0.008
Tags: @product
1:2.338
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 13.482
And the system is very low on memory 4.437
When I create a file in the Persistent directory 0.964
When I try to create a persistent partition 24.313
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.222
When I close the Persistent Storage app 2.515
And I free up some memory 2.483
And I create a persistent partition with the default settings 13.628
Then the file I created was copied to the Persistent Storage 0.291
After features/support/hooks.rb:330 2.128
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.823
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 12.760
Then Tails is running from USB drive "__internal" 0.838
And all tps features are active 2.506
And all persistent directories have safe access rights 3.517
When I disable the first tps feature 6.007
Then all tps features but the first one are active 2.171
And I shutdown Tails and wait for the computer to power off 17.404
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.109
Then all tps features but the first one are active 2.507
After features/support/hooks.rb:330 1.510
After features/support/hooks.rb:100 0.009
Tags: @product
19.968
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.610
Then persistence for "Persistent" is active 0.200
And I create a file in the Persistent directory 0.090
Then the file I created was copied to the Persistent Storage 0.064
When I disable the first tps feature 5.547
Then persistence for "Persistent" is not active 0.086
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.151
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.452
After features/support/hooks.rb:100 0.000
Tags: @product
21.439
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 11.207
Then persistence for "Persistent" is active 0.860
When I create a file in the Persistent directory 0.113
And I disable the first tps feature 5.496
And I delete the data of the Persistent Folder feature 3.700
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:330 1.750
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.671
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.019
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.486
And the network is plugged 0.076
And Tor is ready 22.917
And I take note of which tps features are available 0.684
When I write some files expected to persist 1.576
And I shutdown Tails and wait for the computer to power off 11.381
# 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.549
After features/support/hooks.rb:330 0.156
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.171
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 10.128
And the network is plugged 0.090
And Tor is ready 20.872
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.210
And I shutdown Tails and wait for the computer to power off 8.880
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.504
And I capture all network traffic 0.006
And the network is plugged 0.091
And Tor is ready 18.846
And I switch to the "persistent-con-current" NetworkManager connection 0.313
And the 1st network device has a spoofed MAC address configured 0.078
And no network device leaked the real MAC address 0.147
After features/support/hooks.rb:330 0.633
After features/support/hooks.rb:100 0.071
Tags: @product
1:37.308
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 stopped at Tails Greeter's login screen 47.802
And I enable persistence creation in Tails Greeter 1.181
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.213
Then I create a persistent partition with the default settings using the wizard that was already open 23.110
After features/support/hooks.rb:330 3.199
After features/support/hooks.rb:100 0.000
Tags: @product
5:27.266
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 34.193
When I enable persistence 1:0.180
Then no persistent Greeter options were restored 14.457
When I set all Greeter options to non-default values 27.126
And I log in to a new session in German (de) after having activated the Persistent Storage 58.414
Then all Greeter options are set to non-default values 0.503
When I cold reboot the computer 7.755
And the computer reboots Tails 1:2.302
Given I enable persistence 19.785
Then persistent Greeter options were restored 0.657
When I log in to a new session after having activated the Persistent Storage 41.508
Then all Greeter options are set to non-default values 0.380
After features/support/hooks.rb:330 2.596
After features/support/hooks.rb:100 0.023
Tags: @product
4:9.216
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.361
# 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.144
And I shutdown Tails and wait for the computer to power off 15.932
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:20.575
And I change the passphrase of the Persistent Storage back to the original 42.203
After features/support/hooks.rb:330 3.230
After features/support/hooks.rb:100 0.009
Tags: @product
56.517
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.104
And I log in to a new session without activating the Persistent Storage 22.023
Then persistence is disabled 0.218
But a Tails persistence partition exists on USB drive "__internal" 6.056
And all notifications have disappeared 9.930
When I delete the persistent partition 7.342
Then there is no persistence partition on USB drive "__internal" 0.841
After features/support/hooks.rb:330 0.880
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.356
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.740
When I write some dotfile expected to persist 0.114
And I shutdown Tails and wait for the computer to power off 11.079
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.065
Then the expected persistent dotfile is present in the filesystem 0.356
After features/support/hooks.rb:330 1.880
After features/support/hooks.rb:100 0.011
Tags: @product
1:42.689
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 and stopped at Tails Greeter's login screen 9.610
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.308
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.293
When I log in to a new session after having activated the Persistent Storage 41.864
And all notifications have disappeared 8.978
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.420
And all tps features are enabled 2.856
And all tps features but the first one are active 2.275
After features/support/hooks.rb:330 1.958
After features/support/hooks.rb:100 0.000
Tags: @product
5:28.541
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 4:3.884
And I enable persistence 31.003
And I log in to a new session after having activated the Persistent Storage 47.758
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.931
And persistence is enabled 2.964
After features/support/hooks.rb:330 5.498
After features/support/hooks.rb:100 0.000
Tags: @product
37.460
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 9.249
And I enable persistence but something goes wrong during the LUKS header upgrade 27.312
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.898
After features/support/hooks.rb:330 1.008
After features/support/hooks.rb:100 0.000
Tags: @product
52.653
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 11.107
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.045
When I enable persistence 32.773
Then the filesystem of the Persistent Storage was repaired 0.084
And persistence is successfully enabled 2.642
After features/support/hooks.rb:330 4.756
After features/support/hooks.rb:100 0.000
Tags: @product
54.618
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.872
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.521
When I try to enable persistence 0.546
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.561
When I repair the filesystem of the Persistent Storage 1.294
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.079
And the filesystem of the Persistent Storage was repaired 3.920
When I close the filesystem repair dialog 1.275
Then persistence is successfully enabled 1.546
After features/support/hooks.rb:330 6.694
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.938
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.091
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.727
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.126
When I try to enable persistence 0.286
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.064
When I repair the filesystem of the Persistent Storage 1.290
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.078
When I log in to a new session 41.294
And all notifications have disappeared 7.176
# 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.489
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.181
When I close the "whisperback" window 1.966
Then the Tor Browser starts 23.304
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.949
After features/support/hooks.rb:330 2.356
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.775
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.206
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.698
And Tails detects disk read failures on the boot device 0.556
When I try to enable persistence 1.593
Then the Welcome Screen tells me that my hardware is probably failing 19.778
When I log in to a new session 50.095
And all notifications have disappeared 9.232
Then the Tor Browser starts 23.742
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.872
After features/support/hooks.rb:330 1.573
After features/support/hooks.rb:100 0.000