Project Number Date
test_Tails_ISO_tca-remove-cruft 7 14 May 2025, 09:49

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 46:49.651 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:29.603
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:41.590
And I update APT using apt 18.209
And I install "python3-behave" using apt 26.579
Then the Tails Persistent Storage behave tests pass 3.224
After features/support/hooks.rb:330 0.888
After features/support/hooks.rb:100 0.000
Tags: @product
54.138
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 13.690
When I log in to a new session without activating the Persistent Storage 29.132
Then Tails is running from USB drive "__internal" 0.584
And persistence is disabled 0.607
But a Tails persistence partition exists on USB drive "__internal" 10.123
After features/support/hooks.rb:330 2.477
After features/support/hooks.rb:100 0.000
Tags: @product
3:42.554
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 16.093
Then Tails is running from USB drive "__internal" 0.472
When I create a file in the Persistent directory 0.130
And I create a persistent partition with the default settings 35.234
Then the file I created was copied to the Persistent Storage 2.761
When I shutdown Tails and wait for the computer to power off 11.346
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:36.092
Then persistence for "Persistent" is active 0.295
And the file I created in the Persistent directory exists 0.128
After features/support/hooks.rb:330 1.794
After features/support/hooks.rb:100 0.011
Tags: @product
1:8.748
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 16.130
And the system is very low on memory 3.599
When I create a file in the Persistent directory 0.749
When I try to create a persistent partition 25.319
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.241
When I close the Persistent Storage app 2.726
And I free up some memory 3.630
And I create a persistent partition with the default settings 16.001
Then the file I created was copied to the Persistent Storage 0.349
After features/support/hooks.rb:330 2.417
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.848
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 33.723
Then Tails is running from USB drive "__internal" 0.468
And all tps features are active 4.072
And all persistent directories have safe access rights 2.894
When I disable the first tps feature 6.743
Then all tps features but the first one are active 2.338
And I shutdown Tails and wait for the computer to power off 10.957
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.845
Then all tps features but the first one are active 2.805
After features/support/hooks.rb:330 1.122
After features/support/hooks.rb:100 0.009
Tags: @product
22.900
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.482
Then persistence for "Persistent" is active 0.083
And I create a file in the Persistent directory 0.098
Then the file I created was copied to the Persistent Storage 0.081
When I disable the first tps feature 7.588
Then persistence for "Persistent" is not active 0.092
And the Persistent directory does not exist 0.050
When I enable the first tps feature 4.252
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.095
After features/support/hooks.rb:330 1.715
After features/support/hooks.rb:100 0.000
Tags: @product
23.175
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 11.206
Then persistence for "Persistent" is active 0.108
When I create a file in the Persistent directory 0.097
And I disable the first tps feature 6.984
And I delete the data of the Persistent Folder feature 4.695
Then the file I created does not exist on the Persistent Storage 0.083
After features/support/hooks.rb:330 1.708
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.872
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.600
And the network is plugged 0.085
And Tor is ready 21.820
And I take note of which tps features are available 0.655
When I write some files expected to persist 1.762
And I shutdown Tails and wait for the computer to power off 9.026
# 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.922
After features/support/hooks.rb:330 0.145
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.841
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.307
And the network is plugged 0.080
And Tor is ready 21.598
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.267
And I shutdown Tails and wait for the computer to power off 10.006
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.646
And I capture all network traffic 0.016
And the network is plugged 0.101
And Tor is ready 21.134
And I switch to the "persistent-con-current" NetworkManager connection 0.420
And the 1st network device has a spoofed MAC address configured 0.108
And no network device leaked the real MAC address 0.151
After features/support/hooks.rb:330 0.621
After features/support/hooks.rb:100 0.068
Tags: @product
1:12.303
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 21.418
And I enable persistence creation in Tails Greeter 1.125
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.291
Then I create a persistent partition with the default settings using the wizard that was already open 24.468
After features/support/hooks.rb:330 3.037
After features/support/hooks.rb:100 0.000
Tags: @product
5:5.377
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 16.175
When I enable persistence 43.492
Then no persistent Greeter options were restored 14.507
When I set all Greeter options to non-default values 27.468
And I log in to a new session in German (de) after having activated the Persistent Storage 57.420
Then all Greeter options are set to non-default values 3.285
When I cold reboot the computer 8.078
And the computer reboots Tails 1:6.647
Given I enable persistence 23.413
Then persistent Greeter options were restored 0.584
When I log in to a new session after having activated the Persistent Storage 43.893
Then all Greeter options are set to non-default values 0.410
After features/support/hooks.rb:330 1.954
After features/support/hooks.rb:100 0.021
Tags: @product
4:35.810
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 12.076
# 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 42.903
And I shutdown Tails and wait for the computer to power off 14.653
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:39.566
And I change the passphrase of the Persistent Storage back to the original 46.610
After features/support/hooks.rb:330 4.765
After features/support/hooks.rb:100 0.018
Tags: @product
1:6.494
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 with a persistent partition and stopped at Tails Greeter's login screen 11.990
And I log in to a new session without activating the Persistent Storage 23.922
Then persistence is disabled 0.377
But a Tails persistence partition exists on USB drive "__internal" 11.532
And all notifications have disappeared 10.818
When I delete the persistent partition 7.053
Then there is no persistence partition on USB drive "__internal" 0.799
After features/support/hooks.rb:330 1.761
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.900
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.687
When I write some dotfile expected to persist 0.128
And I shutdown Tails and wait for the computer to power off 10.942
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.722
Then the expected persistent dotfile is present in the filesystem 0.418
After features/support/hooks.rb:330 1.392
After features/support/hooks.rb:100 0.009
Tags: @product
1:54.091
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.720
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.304
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.869
When I log in to a new session after having activated the Persistent Storage 46.147
And all notifications have disappeared 8.678
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.792
And all tps features are enabled 3.293
And all tps features but the first one are active 2.199
After features/support/hooks.rb:330 1.896
After features/support/hooks.rb:100 0.000
Tags: @product
6:40.428
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 5:11.781
And I enable persistence 33.190
And I log in to a new session after having activated the Persistent Storage 49.490
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.746
And persistence is enabled 3.219
After features/support/hooks.rb:330 2.114
After features/support/hooks.rb:100 0.000
Tags: @product
38.131
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 13.941
And I enable persistence but something goes wrong during the LUKS header upgrade 23.278
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.912
After features/support/hooks.rb:330 0.760
After features/support/hooks.rb:100 0.000
Tags: @product
49.128
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 9.067
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.769
When I enable persistence 30.382
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 3.819
After features/support/hooks.rb:330 2.105
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.430
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.130
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.574
When I try to enable persistence 0.435
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.490
When I repair the filesystem of the Persistent Storage 1.960
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.237
And the filesystem of the Persistent Storage was repaired 3.863
When I close the filesystem repair dialog 1.254
Then persistence is successfully enabled 1.484
After features/support/hooks.rb:330 1.638
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.958
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.914
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.123
When I try to enable persistence 0.310
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.974
When I repair the filesystem of the Persistent Storage 1.274
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 43.514
And all notifications have disappeared 11.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" 0.522
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.875
When I close the "whisperback" window 1.829
Then the Tor Browser starts 21.496
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.877
After features/support/hooks.rb:330 2.535
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.911
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.527
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.434
And Tails detects disk read failures on the boot device 0.594
When I try to enable persistence 0.464
Then the Welcome Screen tells me that my hardware is probably failing 22.876
When I log in to a new session 53.038
And all notifications have disappeared 11.507
Then the Tor Browser starts 21.585
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.882
After features/support/hooks.rb:330 4.379
After features/support/hooks.rb:100 0.000