Project Number Date
test_Tails_ISO_feature-arti 63 19 May 2025, 19:06

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:39.261 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:0.495
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:46.350
And I update APT using apt 40.686
And I install "python3-behave" using apt 29.943
Then the Tails Persistent Storage behave tests pass 3.515
After features/support/hooks.rb:330 1.262
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.851
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 21.001
When I log in to a new session without activating the Persistent Storage 30.812
Then Tails is running from USB drive "__internal" 0.939
And persistence is disabled 0.669
But a Tails persistence partition exists on USB drive "__internal" 10.428
After features/support/hooks.rb:330 3.958
After features/support/hooks.rb:100 0.000
Tags: @product
3:59.611
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 32.064
Then Tails is running from USB drive "__internal" 0.501
When I create a file in the Persistent directory 0.149
And I create a persistent partition with the default settings 35.790
Then the file I created was copied to the Persistent Storage 4.184
When I shutdown Tails and wait for the computer to power off 13.639
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:32.844
Then persistence for "Persistent" is active 0.364
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:330 2.036
After features/support/hooks.rb:100 0.008
Tags: @product
1:17.417
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 21.925
And the system is very low on memory 5.350
When I create a file in the Persistent directory 2.905
When I try to create a persistent partition 26.355
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.157
When I close the Persistent Storage app 2.565
And I free up some memory 2.755
And I create a persistent partition with the default settings 15.116
Then the file I created was copied to the Persistent Storage 0.284
After features/support/hooks.rb:330 4.049
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.714
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 17.604
Then Tails is running from USB drive "__internal" 0.694
And all tps features are active 2.689
And all persistent directories have safe access rights 3.135
When I disable the first tps feature 7.784
Then all tps features but the first one are active 3.155
And I shutdown Tails and wait for the computer to power off 13.603
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.312
Then all tps features but the first one are active 2.735
After features/support/hooks.rb:330 0.675
After features/support/hooks.rb:100 0.011
Tags: @product
28.223
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 15.798
Then persistence for "Persistent" is active 0.197
And I create a file in the Persistent directory 0.144
Then the file I created was copied to the Persistent Storage 0.113
When I disable the first tps feature 7.626
Then persistence for "Persistent" is not active 0.122
And the Persistent directory does not exist 0.075
When I enable the first tps feature 3.960
Then persistence for "Persistent" is active 0.100
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:330 1.628
After features/support/hooks.rb:100 0.000
Tags: @product
22.808
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.625
Then persistence for "Persistent" is active 0.100
When I create a file in the Persistent directory 0.128
And I disable the first tps feature 7.156
And I delete the data of the Persistent Folder feature 4.723
Then the file I created does not exist on the Persistent Storage 0.073
After features/support/hooks.rb:330 3.058
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.363
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.051
And the network is plugged 0.234
And Tor is ready 21.924
And I take note of which tps features are available 1.047
When I write some files expected to persist 1.643
And I shutdown Tails and wait for the computer to power off 11.219
# 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.241
After features/support/hooks.rb:330 0.141
After features/support/hooks.rb:100 0.000
Tags: @product
3:27.071
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 10.088
And the network is plugged 0.120
And Tor is ready 23.742
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.244
And I shutdown Tails and wait for the computer to power off 9.037
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.637
And I capture all network traffic 0.052
And the network is plugged 0.092
And Tor is ready 22.319
And I switch to the "persistent-con-current" NetworkManager connection 0.415
And the 1st network device has a spoofed MAC address configured 0.104
And no network device leaked the real MAC address 0.216
After features/support/hooks.rb:330 0.781
After features/support/hooks.rb:100 0.064
Tags: @product
1:42.042
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 47.419
And I enable persistence creation in Tails Greeter 1.259
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.467
Then I create a persistent partition with the default settings using the wizard that was already open 25.895
After features/support/hooks.rb:330 2.944
After features/support/hooks.rb:100 0.000
Tags: @product
5:43.896
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 37.820
When I enable persistence 1:0.880
Then no persistent Greeter options were restored 15.207
When I set all Greeter options to non-default values 33.136
And I log in to a new session in German (de) after having activated the Persistent Storage 51.317
Then all Greeter options are set to non-default values 0.651
When I cold reboot the computer 10.525
And the computer reboots Tails 1:8.351
Given I enable persistence 20.053
Then persistent Greeter options were restored 0.673
When I log in to a new session after having activated the Persistent Storage 44.768
Then all Greeter options are set to non-default values 0.509
After features/support/hooks.rb:330 1.022
After features/support/hooks.rb:100 0.011
Tags: @product
3:58.907
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 12.658
# 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 35.122
And I shutdown Tails and wait for the computer to power off 15.119
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:24.647
And I change the passphrase of the Persistent Storage back to the original 31.360
After features/support/hooks.rb:330 3.281
After features/support/hooks.rb:100 0.012
Tags: @product
56.842
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 11.063
And I log in to a new session without activating the Persistent Storage 21.776
Then persistence is disabled 0.361
But a Tails persistence partition exists on USB drive "__internal" 6.816
And all notifications have disappeared 9.512
When I delete the persistent partition 6.515
Then there is no persistence partition on USB drive "__internal" 0.797
After features/support/hooks.rb:330 1.266
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.658
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.623
When I write some dotfile expected to persist 0.070
And I shutdown Tails and wait for the computer to power off 10.875
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.609
Then the expected persistent dotfile is present in the filesystem 0.479
After features/support/hooks.rb:330 2.387
After features/support/hooks.rb:100 0.013
Tags: @product
1:45.277
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 10.125
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.339
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.110
When I log in to a new session after having activated the Persistent Storage 42.559
And all notifications have disappeared 8.308
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.493
And all tps features are enabled 2.834
And all tps features but the first one are active 2.419
After features/support/hooks.rb:330 1.871
After features/support/hooks.rb:100 0.000
Tags: @product
5:48.494
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 4:12.622
And I enable persistence 37.963
And I log in to a new session after having activated the Persistent Storage 51.903
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.844
And persistence is enabled 3.160
After features/support/hooks.rb:330 2.430
After features/support/hooks.rb:100 0.000
Tags: @product
45.271
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 11.540
And I enable persistence but something goes wrong during the LUKS header upgrade 32.713
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.017
After features/support/hooks.rb:330 0.917
After features/support/hooks.rb:100 0.000
Tags: @product
54.691
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 11.254
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.727
When I enable persistence 33.784
Then the filesystem of the Persistent Storage was repaired 0.106
And persistence is successfully enabled 2.817
After features/support/hooks.rb:330 1.624
After features/support/hooks.rb:100 0.000
Tags: @product
55.391
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.520
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.492
When I try to enable persistence 0.409
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.872
When I repair the filesystem of the Persistent Storage 1.466
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.195
And the filesystem of the Persistent Storage was repaired 3.660
When I close the filesystem repair dialog 1.273
Then persistence is successfully enabled 1.500
After features/support/hooks.rb:330 2.376
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:5.671
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.589
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.112
When I try to enable persistence 0.269
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.537
When I repair the filesystem of the Persistent Storage 1.259
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.087
When I log in to a new session 48.494
And all notifications have disappeared 10.108
# 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.869
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.724
When I close the "whisperback" window 1.672
Then the Tor Browser starts 19.999
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.946
After features/support/hooks.rb:330 5.022
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:14.559
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.947
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 13.704
And Tails detects disk read failures on the boot device 0.515
When I try to enable persistence 0.428
Then the Welcome Screen tells me that my hardware is probably failing 19.341
When I log in to a new session 52.427
And all notifications have disappeared 10.831
Then the Tor Browser starts 26.163
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.198
After features/support/hooks.rb:330 2.530
After features/support/hooks.rb:100 0.000