Project Number Date
test_Tails_ISO_tca-remove-cruft 6 13 May 2025, 10:08

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 45:32.577 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.306
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:44.040
And I update APT using apt 13.899
And I install "python3-behave" using apt 26.173
Then the Tails Persistent Storage behave tests pass 3.192
After features/support/hooks.rb:330 0.984
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.447
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.956
When I log in to a new session without activating the Persistent Storage 28.858
Then Tails is running from USB drive "__internal" 0.688
And persistence is disabled 0.558
But a Tails persistence partition exists on USB drive "__internal" 21.386
After features/support/hooks.rb:330 1.904
After features/support/hooks.rb:100 0.000
Tags: @product
3:31.083
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 logged in 16.699
Then Tails is running from USB drive "__internal" 0.353
When I create a file in the Persistent directory 0.150
And I create a persistent partition with the default settings 26.745
Then the file I created was copied to the Persistent Storage 2.281
When I shutdown Tails and wait for the computer to power off 11.946
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:32.155
Then persistence for "Persistent" is active 0.681
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:330 2.290
After features/support/hooks.rb:100 0.008
Tags: @product
1:5.311
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 logged in 11.074
And the system is very low on memory 3.826
When I create a file in the Persistent directory 1.159
When I try to create a persistent partition 25.986
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.403
When I close the Persistent Storage app 2.811
And I free up some memory 3.867
And I create a persistent partition with the default settings 15.524
Then the file I created was copied to the Persistent Storage 0.656
After features/support/hooks.rb:330 1.973
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.111
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.021
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.745
Then Tails is running from USB drive "__internal" 1.790
And all tps features are active 2.709
And all persistent directories have safe access rights 3.104
When I disable the first tps feature 6.752
Then all tps features but the first one are active 2.272
And I shutdown Tails and wait for the computer to power off 23.110
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.089
Then all tps features but the first one are active 2.537
After features/support/hooks.rb:330 1.467
After features/support/hooks.rb:100 0.012
Tags: @product
22.360
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.913
Then persistence for "Persistent" is active 0.102
And I create a file in the Persistent directory 0.325
Then the file I created was copied to the Persistent Storage 0.128
When I disable the first tps feature 6.276
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.063
When I enable the first tps feature 4.259
Then persistence for "Persistent" is active 0.128
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:330 1.302
After features/support/hooks.rb:100 0.000
Tags: @product
22.695
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.049
Then persistence for "Persistent" is active 0.100
When I create a file in the Persistent directory 0.083
And I disable the first tps feature 6.872
And I delete the data of the Persistent Folder feature 4.507
Then the file I created does not exist on the Persistent Storage 0.083
After features/support/hooks.rb:330 1.442
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.507
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 10.399
And the network is plugged 0.371
And Tor is ready 22.157
And I take note of which tps features are available 0.750
When I write some files expected to persist 1.689
And I shutdown Tails and wait for the computer to power off 8.857
# 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.281
After features/support/hooks.rb:330 0.126
After features/support/hooks.rb:100 0.000
Tags: @product
4:1.384
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.306
And the network is plugged 0.107
And Tor is ready 49.533
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.206
And I shutdown Tails and wait for the computer to power off 8.927
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.669
And I capture all network traffic 0.006
And the network is plugged 0.176
And Tor is ready 21.848
And I switch to the "persistent-con-current" NetworkManager connection 0.369
And the 1st network device has a spoofed MAC address configured 0.096
And no network device leaked the real MAC address 0.135
After features/support/hooks.rb:330 0.671
After features/support/hooks.rb:100 0.075
Tags: @product
1:9.280
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 16.127
And I enable persistence creation in Tails Greeter 1.101
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.000
Then I create a persistent partition with the default settings using the wizard that was already open 26.050
After features/support/hooks.rb:330 2.529
After features/support/hooks.rb:100 0.000
Tags: @product
4:43.332
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.343
When I enable persistence 39.702
Then no persistent Greeter options were restored 14.608
When I set all Greeter options to non-default values 33.237
And I log in to a new session in German (de) after having activated the Persistent Storage 47.756
Then all Greeter options are set to non-default values 0.661
When I cold reboot the computer 7.580
And the computer reboots Tails 1:4.757
Given I enable persistence 19.665
Then persistent Greeter options were restored 0.562
When I log in to a new session after having activated the Persistent Storage 40.050
Then all Greeter options are set to non-default values 0.405
After features/support/hooks.rb:330 1.274
After features/support/hooks.rb:100 0.012
Tags: @product
4:15.028
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.957
# 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 44.909
And I shutdown Tails and wait for the computer to power off 11.339
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:29.304
And I change the passphrase of the Persistent Storage back to the original 38.517
After features/support/hooks.rb:330 3.480
After features/support/hooks.rb:100 0.009
Tags: @product
1:5.946
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 and stopped at Tails Greeter's login screen 10.366
And I log in to a new session without activating the Persistent Storage 24.785
Then persistence is disabled 0.425
But a Tails persistence partition exists on USB drive "__internal" 10.993
And all notifications have disappeared 10.896
When I delete the persistent partition 7.663
Then there is no persistence partition on USB drive "__internal" 0.814
After features/support/hooks.rb:330 1.261
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.144
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.219
When I write some dotfile expected to persist 0.115
And I shutdown Tails and wait for the computer to power off 9.298
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.132
Then the expected persistent dotfile is present in the filesystem 0.378
After features/support/hooks.rb:330 1.491
After features/support/hooks.rb:100 0.009
Tags: @product
1:56.479
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.392
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.080
When I try to enable persistence 0.283
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.945
When I log in to a new session after having activated the Persistent Storage 50.622
And all notifications have disappeared 8.839
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.865
And all tps features are enabled 3.078
And all tps features but the first one are active 2.372
After features/support/hooks.rb:330 1.701
After features/support/hooks.rb:100 0.000
Tags: @product
5:24.663
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:54.007
And I enable persistence 33.384
And I log in to a new session after having activated the Persistent Storage 51.342
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.763
And persistence is enabled 3.165
After features/support/hooks.rb:330 1.642
After features/support/hooks.rb:100 0.000
Tags: @product
33.621
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.466
And I enable persistence but something goes wrong during the LUKS header upgrade 23.230
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.925
After features/support/hooks.rb:330 0.781
After features/support/hooks.rb:100 0.000
Tags: @product
53.445
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.636
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.846
When I enable persistence 33.805
Then the filesystem of the Persistent Storage was repaired 0.100
And persistence is successfully enabled 3.056
After features/support/hooks.rb:330 1.601
After features/support/hooks.rb:100 0.000
Tags: @product
47.631
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.002
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.555
When I try to enable persistence 0.592
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.555
When I repair the filesystem of the Persistent Storage 1.497
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.277
And the filesystem of the Persistent Storage was repaired 3.259
When I close the filesystem repair dialog 1.308
Then persistence is successfully enabled 1.584
After features/support/hooks.rb:330 1.772
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.176
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.470
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.129
When I try to enable persistence 0.349
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 38.291
When I repair the filesystem of the Persistent Storage 1.345
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.096
When I log in to a new session 39.020
And all notifications have disappeared 8.483
# 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.660
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.253
When I close the "whisperback" window 1.760
Then the Tor Browser starts 23.440
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.874
After features/support/hooks.rb:330 2.706
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:29.619
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.282
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.302
And Tails detects disk read failures on the boot device 0.622
When I try to enable persistence 0.506
Then the Welcome Screen tells me that my hardware is probably failing 34.357
When I log in to a new session 1:1.115
And all notifications have disappeared 11.415
Then the Tor Browser starts 19.900
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.116
After features/support/hooks.rb:330 1.525
After features/support/hooks.rb:100 0.000