Project Number Date
test_Tails_ISO_feature-arti 1 18 Mar 2025, 20:30

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:25.186 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
10:21.264
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:29.607
And I update APT using apt 8:25.544
And I install "python3-behave" using apt 23.264
Then the Tails Persistent Storage behave tests pass 2.847
After features/support/hooks.rb:330 0.809
After features/support/hooks.rb:100 0.000
Tags: @product
39.660
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.454
When I log in to a new session without activating the Persistent Storage 22.095
Then Tails is running from USB drive "__internal" 0.452
And persistence is disabled 0.430
But a Tails persistence partition exists on USB drive "__internal" 6.227
After features/support/hooks.rb:330 2.119
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.781
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.213
Then Tails is running from USB drive "__internal" 0.617
When I create a file in the Persistent directory 0.188
And I create a persistent partition with the default settings 21.980
Then the file I created was copied to the Persistent Storage 0.498
When I shutdown Tails and wait for the computer to power off 17.062
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.975
Then persistence for "Persistent" is active 1.171
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 1.768
After features/support/hooks.rb:100 0.009
Tags: @product
1:1.023
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.457
And the system is very low on memory 4.075
When I create a file in the Persistent directory 1.010
When I try to create a persistent partition 26.482
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.540
When I close the Persistent Storage app 2.585
And I free up some memory 1.868
And I create a persistent partition with the default settings 13.573
Then the file I created was copied to the Persistent Storage 0.429
After features/support/hooks.rb:330 2.186
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.439
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 13.603
Then Tails is running from USB drive "__internal" 0.734
And all tps features are active 2.379
And all persistent directories have safe access rights 2.523
When I disable the first tps feature 8.371
Then all tps features but the first one are active 2.212
And I shutdown Tails and wait for the computer to power off 14.797
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.656
Then all tps features but the first one are active 2.160
After features/support/hooks.rb:330 1.443
After features/support/hooks.rb:100 0.009
Tags: @product
20.506
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.807
Then persistence for "Persistent" is active 0.131
And I create a file in the Persistent directory 0.076
Then the file I created was copied to the Persistent Storage 0.104
When I disable the first tps feature 5.999
Then persistence for "Persistent" is not active 0.081
And the Persistent directory does not exist 0.044
When I enable the first tps feature 3.112
Then persistence for "Persistent" is active 0.088
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:330 1.423
After features/support/hooks.rb:100 0.000
Tags: @product
21.454
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.290
Then persistence for "Persistent" is active 0.151
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 6.486
And I delete the data of the Persistent Folder feature 3.690
Then the file I created does not exist on the Persistent Storage 0.758
After features/support/hooks.rb:330 1.732
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.997
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.365
And the network is plugged 0.083
And Tor is ready 20.748
And I take note of which tps features are available 0.686
When I write some files expected to persist 1.539
And I shutdown Tails and wait for the computer to power off 10.623
# 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.950
After features/support/hooks.rb:330 0.135
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.685
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.917
And the network is plugged 0.084
And Tor is ready 19.509
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.207
And I shutdown Tails and wait for the computer to power off 8.474
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.707
And I capture all network traffic 0.007
And the network is plugged 0.073
And Tor is ready 20.092
And I switch to the "persistent-con-current" NetworkManager connection 0.346
And the 1st network device has a spoofed MAC address configured 0.089
And no network device leaked the real MAC address 0.175
After features/support/hooks.rb:330 0.679
After features/support/hooks.rb:100 0.066
Tags: @product
1:0.571
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 14.112
And I enable persistence creation in Tails Greeter 1.132
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.755
Then I create a persistent partition with the default settings using the wizard that was already open 23.571
After features/support/hooks.rb:330 2.373
After features/support/hooks.rb:100 0.000
Tags: @product
4:10.688
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.194
When I enable persistence 32.247
Then no persistent Greeter options were restored 13.729
When I set all Greeter options to non-default values 29.222
And I log in to a new session in German (de) after having activated the Persistent Storage 42.610
Then all Greeter options are set to non-default values 0.423
When I cold reboot the computer 7.203
And the computer reboots Tails 58.191
Given I enable persistence 17.499
Then persistent Greeter options were restored 0.501
When I log in to a new session after having activated the Persistent Storage 37.405
Then all Greeter options are set to non-default values 0.457
After features/support/hooks.rb:330 1.620
After features/support/hooks.rb:100 0.012
Tags: @product
3:45.159
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.640
# 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.172
And I shutdown Tails and wait for the computer to power off 12.654
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.154
And I change the passphrase of the Persistent Storage back to the original 34.538
After features/support/hooks.rb:330 2.138
After features/support/hooks.rb:100 0.009
Tags: @product
51.491
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.648
And I log in to a new session without activating the Persistent Storage 19.413
Then persistence is disabled 0.260
But a Tails persistence partition exists on USB drive "__internal" 6.686
And all notifications have disappeared 8.860
When I delete the persistent partition 6.169
Then there is no persistence partition on USB drive "__internal" 0.451
After features/support/hooks.rb:330 1.549
After features/support/hooks.rb:100 0.000
Tags: @product
2:22.116
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.250
When I write some dotfile expected to persist 0.136
And I shutdown Tails and wait for the computer to power off 8.719
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.558
Then the expected persistent dotfile is present in the filesystem 0.450
After features/support/hooks.rb:330 1.216
After features/support/hooks.rb:100 0.026
Tags: @product
1:34.526
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.446
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.073
When I try to enable persistence 0.271
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.888
When I log in to a new session after having activated the Persistent Storage 42.697
And all notifications have disappeared 6.871
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.008
And all tps features are enabled 2.118
And all tps features but the first one are active 2.151
After features/support/hooks.rb:330 1.677
After features/support/hooks.rb:100 0.000
Tags: @product
4:45.614
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:24.482
And I enable persistence 30.690
And I log in to a new session after having activated the Persistent Storage 44.354
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.219
And persistence is enabled 2.867
After features/support/hooks.rb:330 1.666
After features/support/hooks.rb:100 0.000
Tags: @product
30.325
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 8.722
And I enable persistence but something goes wrong during the LUKS header upgrade 20.821
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.781
After features/support/hooks.rb:330 0.666
After features/support/hooks.rb:100 0.000
Tags: @product
43.998
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 8.600
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.088
When I enable persistence 27.501
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 2.715
After features/support/hooks.rb:330 1.716
After features/support/hooks.rb:100 0.000
Tags: @product
46.283
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 8.878
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.042
When I try to enable persistence 0.432
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.294
When I repair the filesystem of the Persistent Storage 2.427
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.854
And the filesystem of the Persistent Storage was repaired 2.492
When I close the filesystem repair dialog 1.268
Then persistence is successfully enabled 1.591
After features/support/hooks.rb:330 1.547
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.844
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 8.050
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.094
When I try to enable persistence 0.261
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.430
When I repair the filesystem of the Persistent Storage 1.235
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 39.978
And all notifications have disappeared 7.565
# 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.980
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.303
When I close the "whisperback" window 1.582
Then the Tor Browser starts 18.498
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.780
After features/support/hooks.rb:330 2.712
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.753
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.734
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.310
And Tails detects disk read failures on the boot device 1.554
When I try to enable persistence 0.437
Then the Welcome Screen tells me that my hardware is probably failing 18.068
When I log in to a new session 51.889
And all notifications have disappeared 7.624
Then the Tor Browser starts 16.087
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.046
After features/support/hooks.rb:330 2.118
After features/support/hooks.rb:100 0.000