Project Number Date
test_Tails_ISO_devel 3791 28 Apr 2025, 23:50

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 38:48.677 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:11.046
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:31.960
And I update APT using apt 12.921
And I install "python3-behave" using apt 22.892
Then the Tails Persistent Storage behave tests pass 3.272
After features/support/hooks.rb:330 0.650
After features/support/hooks.rb:100 0.000
Tags: @product
44.969
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.101
When I log in to a new session without activating the Persistent Storage 21.949
Then Tails is running from USB drive "__internal" 0.566
And persistence is disabled 0.767
But a Tails persistence partition exists on USB drive "__internal" 10.584
After features/support/hooks.rb:330 3.631
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.906
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 12.624
Then Tails is running from USB drive "__internal" 0.391
When I create a file in the Persistent directory 0.128
And I create a persistent partition with the default settings 22.320
Then the file I created was copied to the Persistent Storage 2.405
When I shutdown Tails and wait for the computer to power off 12.365
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.016
Then persistence for "Persistent" is active 0.578
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 1.657
After features/support/hooks.rb:100 0.009
Tags: @product
1:1.876
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 10.483
And the system is very low on memory 3.868
When I create a file in the Persistent directory 1.382
When I try to create a persistent partition 27.724
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.212
When I close the Persistent Storage app 2.547
And I free up some memory 2.941
And I create a persistent partition with the default settings 12.347
Then the file I created was copied to the Persistent Storage 0.369
After features/support/hooks.rb:330 2.487
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.889
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 12.309
Then Tails is running from USB drive "__internal" 0.566
And all tps features are active 2.284
And all persistent directories have safe access rights 2.475
When I disable the first tps feature 6.172
Then all tps features but the first one are active 1.918
And I shutdown Tails and wait for the computer to power off 12.706
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.370
Then all tps features but the first one are active 2.084
After features/support/hooks.rb:330 1.386
After features/support/hooks.rb:100 0.009
Tags: @product
20.057
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.090
Then persistence for "Persistent" is active 0.248
And I create a file in the Persistent directory 0.197
Then the file I created was copied to the Persistent Storage 0.105
When I disable the first tps feature 6.086
Then persistence for "Persistent" is not active 0.085
And the Persistent directory does not exist 0.049
When I enable the first tps feature 3.068
Then persistence for "Persistent" is active 0.068
And the file I created in the Persistent directory exists 0.056
After features/support/hooks.rb:330 1.390
After features/support/hooks.rb:100 0.000
Tags: @product
19.436
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.283
Then persistence for "Persistent" is active 0.371
When I create a file in the Persistent directory 0.248
And I disable the first tps feature 5.868
And I delete the data of the Persistent Folder feature 3.603
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:330 1.596
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.692
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.198
And the network is plugged 0.091
And Tor is ready 22.188
And I take note of which tps features are available 0.509
When I write some files expected to persist 1.448
And I shutdown Tails and wait for the computer to power off 8.563
# 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.692
After features/support/hooks.rb:330 0.103
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.716
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 8.977
And the network is plugged 0.161
And Tor is ready 20.147
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.236
And I shutdown Tails and wait for the computer to power off 8.377
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.174
And I capture all network traffic 0.011
And the network is plugged 0.066
And Tor is ready 19.957
And I switch to the "persistent-con-current" NetworkManager connection 0.403
And the 1st network device has a spoofed MAC address configured 0.092
And no network device leaked the real MAC address 0.110
After features/support/hooks.rb:330 0.678
After features/support/hooks.rb:100 0.051
Tags: @product
54.473
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 11.350
And I enable persistence creation in Tails Greeter 1.102
And I log in to a new session expecting no warning about the Persistent Storage not being activated 18.922
Then I create a persistent partition with the default settings using the wizard that was already open 23.097
After features/support/hooks.rb:330 2.376
After features/support/hooks.rb:100 0.000
Tags: @product
4:35.073
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.516
When I enable persistence 36.494
Then no persistent Greeter options were restored 14.197
When I set all Greeter options to non-default values 25.750
And I log in to a new session in German (de) after having activated the Persistent Storage 50.876
Then all Greeter options are set to non-default values 1.969
When I cold reboot the computer 9.400
And the computer reboots Tails 1:9.975
Given I enable persistence 14.896
Then persistent Greeter options were restored 0.549
When I log in to a new session after having activated the Persistent Storage 38.781
Then all Greeter options are set to non-default values 0.665
After features/support/hooks.rb:330 1.571
After features/support/hooks.rb:100 0.009
Tags: @product
3:41.807
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.814
# 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 31.515
And I shutdown Tails and wait for the computer to power off 12.529
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.737
And I change the passphrase of the Persistent Storage back to the original 37.211
After features/support/hooks.rb:330 3.406
After features/support/hooks.rb:100 0.010
Tags: @product
58.078
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.405
And I log in to a new session without activating the Persistent Storage 19.992
Then persistence is disabled 0.577
But a Tails persistence partition exists on USB drive "__internal" 9.422
And all notifications have disappeared 9.702
When I delete the persistent partition 7.085
Then there is no persistence partition on USB drive "__internal" 0.892
After features/support/hooks.rb:330 1.398
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.488
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.764
When I write some dotfile expected to persist 0.292
And I shutdown Tails and wait for the computer to power off 8.576
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.444
Then the expected persistent dotfile is present in the filesystem 0.409
After features/support/hooks.rb:330 0.663
After features/support/hooks.rb:100 0.009
Tags: @product
1:39.041
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.775
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.447
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.051
When I log in to a new session after having activated the Persistent Storage 44.333
And all notifications have disappeared 9.308
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.683
And all tps features are enabled 2.450
And all tps features but the first one are active 1.900
After features/support/hooks.rb:330 1.349
After features/support/hooks.rb:100 0.000
Tags: @product
4:13.882
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 2:51.985
And I enable persistence 30.481
And I log in to a new session after having activated the Persistent Storage 47.646
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.241
And persistence is enabled 2.527
After features/support/hooks.rb:330 1.780
After features/support/hooks.rb:100 0.000
Tags: @product
27.849
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 8.945
And I enable persistence but something goes wrong during the LUKS header upgrade 18.165
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.737
After features/support/hooks.rb:330 0.749
After features/support/hooks.rb:100 0.000
Tags: @product
40.893
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.125
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.222
When I enable persistence 23.789
Then the filesystem of the Persistent Storage was repaired 0.101
And persistence is successfully enabled 2.655
After features/support/hooks.rb:330 2.749
After features/support/hooks.rb:100 0.000
Tags: @product
45.932
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.611
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.729
When I try to enable persistence 0.387
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 20.461
When I repair the filesystem of the Persistent Storage 2.698
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.143
And the filesystem of the Persistent Storage was repaired 3.785
When I close the filesystem repair dialog 1.769
Then persistence is successfully enabled 1.345
After features/support/hooks.rb:330 1.579
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.148
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.791
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.107
When I try to enable persistence 0.386
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.243
When I repair the filesystem of the Persistent Storage 1.260
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.072
When I log in to a new session 40.039
And all notifications have disappeared 10.359
# 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.342
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.604
When I close the "whisperback" window 1.466
Then the Tor Browser starts 16.583
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.889
After features/support/hooks.rb:330 3.492
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.417
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.566
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.728
And Tails detects disk read failures on the boot device 1.537
When I try to enable persistence 0.430
Then the Welcome Screen tells me that my hardware is probably failing 17.500
When I log in to a new session 48.694
And all notifications have disappeared 8.174
Then the Tor Browser starts 22.034
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.750
After features/support/hooks.rb:330 1.525
After features/support/hooks.rb:100 0.000