Project Number Date
test_Tails_ISO_stable 5504 10 Mar 2025, 12:54

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 53:47.300 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:50.636
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:37.785
And I update APT using apt 2:44.863
And I install "python3-behave" using apt 25.644
Then the Tails Persistent Storage behave tests pass 2.341
After features/support/hooks.rb:330 0.592
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.885
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 31.885
When I log in to a new session without activating the Persistent Storage 27.881
Then Tails is running from USB drive "__internal" 0.660
And persistence is disabled 0.461
But a Tails persistence partition exists on USB drive "__internal" 11.996
After features/support/hooks.rb:330 1.604
After features/support/hooks.rb:100 0.000
Tags: @product
3:43.140
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 without a persistent partition and logged in 18.184
Then Tails is running from USB drive "__internal" 0.569
When I create a file in the Persistent directory 0.211
And I create a persistent partition with the default settings 25.276
Then the file I created was copied to the Persistent Storage 0.660
When I shutdown Tails and wait for the computer to power off 15.218
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:42.549
Then persistence for "Persistent" is active 0.391
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:330 2.497
After features/support/hooks.rb:100 0.018
Tags: @product
1:9.277
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.912
And the system is very low on memory 5.656
When I create a file in the Persistent directory 0.864
When I try to create a persistent partition 27.848
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.336
When I close the Persistent Storage app 2.797
And I free up some memory 1.853
And I create a persistent partition with the default settings 14.726
Then the file I created was copied to the Persistent Storage 0.280
After features/support/hooks.rb:330 3.377
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.783
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 22.269
Then Tails is running from USB drive "__internal" 0.878
And all tps features are active 3.068
And all persistent directories have safe access rights 3.060
When I disable the first tps feature 7.062
Then all tps features but the first one are active 2.724
And I shutdown Tails and wait for the computer to power off 17.432
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.997
Then all tps features but the first one are active 2.289
After features/support/hooks.rb:330 1.324
After features/support/hooks.rb:100 0.011
Tags: @product
21.830
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.927
Then persistence for "Persistent" is active 0.120
And I create a file in the Persistent directory 0.104
Then the file I created was copied to the Persistent Storage 0.078
When I disable the first tps feature 7.021
Then persistence for "Persistent" is not active 0.081
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.270
Then persistence for "Persistent" is active 0.089
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:330 1.556
After features/support/hooks.rb:100 0.000
Tags: @product
21.351
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.909
Then persistence for "Persistent" is active 0.213
When I create a file in the Persistent directory 0.113
And I disable the first tps feature 6.300
And I delete the data of the Persistent Folder feature 4.287
Then the file I created does not exist on the Persistent Storage 0.527
After features/support/hooks.rb:330 2.172
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.816
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 11.415
And the network is plugged 0.104
And Tor is ready 22.891
And I take note of which tps features are available 0.654
When I write some files expected to persist 1.857
And I shutdown Tails and wait for the computer to power off 8.894
# 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.998
After features/support/hooks.rb:330 0.114
After features/support/hooks.rb:100 0.000
Tags: @product
3:50.749
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.716
And the network is plugged 0.136
And Tor is ready 51.254
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.269
And I shutdown Tails and wait for the computer to power off 9.457
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.077
And I capture all network traffic 0.009
And the network is plugged 0.091
And Tor is ready 18.994
And I switch to the "persistent-con-current" NetworkManager connection 0.490
And the 1st network device has a spoofed MAC address configured 0.105
And no network device leaked the real MAC address 0.148
After features/support/hooks.rb:330 0.605
After features/support/hooks.rb:100 0.136
Tags: @product
1:8.351
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 16.516
And I enable persistence creation in Tails Greeter 1.161
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.365
Then I create a persistent partition with the default settings using the wizard that was already open 26.307
After features/support/hooks.rb:330 3.243
After features/support/hooks.rb:100 0.000
Tags: @product
5:12.299
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 25.653
When I enable persistence 44.810
Then no persistent Greeter options were restored 14.451
When I set all Greeter options to non-default values 28.300
And I log in to a new session in German (de) after having activated the Persistent Storage 58.586
Then all Greeter options are set to non-default values 0.383
When I cold reboot the computer 8.567
And the computer reboots Tails 1:6.090
Given I enable persistence 24.360
Then persistent Greeter options were restored 0.597
When I log in to a new session after having activated the Persistent Storage 39.979
Then all Greeter options are set to non-default values 0.520
After features/support/hooks.rb:330 1.423
After features/support/hooks.rb:100 0.011
Tags: @product
4:51.283
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 13.976
# 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 48.116
And I shutdown Tails and wait for the computer to power off 15.400
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:57.361
And I change the passphrase of the Persistent Storage back to the original 36.428
After features/support/hooks.rb:330 1.696
After features/support/hooks.rb:100 0.008
Tags: @product
1:3.778
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.284
And I log in to a new session without activating the Persistent Storage 23.378
Then persistence is disabled 0.596
But a Tails persistence partition exists on USB drive "__internal" 7.133
And all notifications have disappeared 8.540
When I delete the persistent partition 6.468
Then there is no persistence partition on USB drive "__internal" 0.376
After features/support/hooks.rb:330 2.345
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.978
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 14.069
When I write some dotfile expected to persist 0.087
And I shutdown Tails and wait for the computer to power off 12.891
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.451
Then the expected persistent dotfile is present in the filesystem 0.477
After features/support/hooks.rb:330 1.183
After features/support/hooks.rb:100 0.007
Tags: @product
1:49.147
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.765
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.117
When I try to enable persistence 0.280
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.965
When I log in to a new session after having activated the Persistent Storage 47.954
And all notifications have disappeared 7.605
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.617
And all tps features are enabled 2.456
And all tps features but the first one are active 2.384
After features/support/hooks.rb:330 3.752
After features/support/hooks.rb:100 0.000
Tags: @product
10:15.978
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:48.527
And I enable persistence 32.788
And I log in to a new session after having activated the Persistent Storage 49.881
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.899
And persistence is enabled 2.880
After features/support/hooks.rb:330 2.279
After features/support/hooks.rb:100 0.000
Tags: @product
31.476
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.480
And I enable persistence but something goes wrong during the LUKS header upgrade 21.203
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.793
After features/support/hooks.rb:330 0.713
After features/support/hooks.rb:100 0.000
Tags: @product
54.146
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.389
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.660
When I enable persistence 36.080
Then the filesystem of the Persistent Storage was repaired 0.091
And persistence is successfully enabled 2.925
After features/support/hooks.rb:330 2.257
After features/support/hooks.rb:100 0.000
Tags: @product
55.971
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 8.634
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.929
When I try to enable persistence 0.408
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.849
When I repair the filesystem of the Persistent Storage 2.287
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.217
And the filesystem of the Persistent Storage was repaired 1.941
When I close the filesystem repair dialog 5.099
Then persistence is successfully enabled 1.603
After features/support/hooks.rb:330 2.464
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.478
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 23.349
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.095
When I try to enable persistence 0.259
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.384
When I repair the filesystem of the Persistent Storage 1.342
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 36.574
And all notifications have disappeared 10.164
# 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" 1.659
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.576
When I close the "whisperback" window 1.508
Then the Tor Browser starts 19.680
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.809
After features/support/hooks.rb:330 3.121
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:17.939
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.211
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.320
And Tails detects disk read failures on the boot device 1.616
When I try to enable persistence 0.424
Then the Welcome Screen tells me that my hardware is probably failing 33.372
When I log in to a new session 48.261
And all notifications have disappeared 11.570
Then the Tor Browser starts 23.155
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.005
After features/support/hooks.rb:330 2.805
After features/support/hooks.rb:100 0.000