Project Number Date
test_Tails_ISO_feature-arti 11 28 Mar 2025, 16:28

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 41:52.504 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:43.918
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:34.333
And I update APT using apt 2:43.749
And I install "python3-behave" using apt 23.336
Then the Tails Persistent Storage behave tests pass 2.499
After features/support/hooks.rb:330 0.601
After features/support/hooks.rb:100 0.000
Tags: @product
47.056
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 12.537
When I log in to a new session without activating the Persistent Storage 23.823
Then Tails is running from USB drive "__internal" 0.562
And persistence is disabled 0.603
But a Tails persistence partition exists on USB drive "__internal" 9.528
After features/support/hooks.rb:330 2.051
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.233
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.972
Then Tails is running from USB drive "__internal" 0.398
When I create a file in the Persistent directory 0.185
And I create a persistent partition with the default settings 22.172
Then the file I created was copied to the Persistent Storage 2.060
When I shutdown Tails and wait for the computer to power off 12.773
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.171
Then persistence for "Persistent" is active 0.423
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 1.837
After features/support/hooks.rb:100 0.037
Tags: @product
1:8.507
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 14.564
And the system is very low on memory 5.324
When I create a file in the Persistent directory 1.466
When I try to create a persistent partition 27.012
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.385
When I close the Persistent Storage app 2.601
And I free up some memory 3.699
And I create a persistent partition with the default settings 13.195
Then the file I created was copied to the Persistent Storage 0.258
After features/support/hooks.rb:330 2.489
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.830
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 12.163
Then Tails is running from USB drive "__internal" 0.927
And all tps features are active 2.614
And all persistent directories have safe access rights 2.436
When I disable the first tps feature 5.993
Then all tps features but the first one are active 1.923
And I shutdown Tails and wait for the computer to power off 15.022
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.662
Then all tps features but the first one are active 2.086
After features/support/hooks.rb:330 1.065
After features/support/hooks.rb:100 0.007
Tags: @product
20.894
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 10.872
Then persistence for "Persistent" is active 0.067
And I create a file in the Persistent directory 0.068
Then the file I created was copied to the Persistent Storage 0.063
When I disable the first tps feature 6.090
Then persistence for "Persistent" is not active 0.069
And the Persistent directory does not exist 0.075
When I enable the first tps feature 3.445
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:330 1.670
After features/support/hooks.rb:100 0.000
Tags: @product
20.217
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.232
Then persistence for "Persistent" is active 0.065
When I create a file in the Persistent directory 0.327
And I disable the first tps feature 5.961
And I delete the data of the Persistent Folder feature 3.567
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 1.498
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.777
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 10.266
And the network is plugged 0.072
And Tor is ready 21.342
And I take note of which tps features are available 0.564
When I write some files expected to persist 1.448
And I shutdown Tails and wait for the computer to power off 8.633
# 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.449
After features/support/hooks.rb:330 0.147
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.374
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.554
And the network is plugged 0.361
And Tor is ready 17.332
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.190
And I shutdown Tails and wait for the computer to power off 8.232
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.963
And I capture all network traffic 0.010
And the network is plugged 0.073
And Tor is ready 19.933
And I switch to the "persistent-con-current" NetworkManager connection 0.343
And the 1st network device has a spoofed MAC address configured 0.177
And no network device leaked the real MAC address 0.201
After features/support/hooks.rb:330 0.580
After features/support/hooks.rb:100 0.090
Tags: @product
57.888
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 stopped at Tails Greeter's login screen 12.341
And I enable persistence creation in Tails Greeter 1.338
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.655
Then I create a persistent partition with the default settings using the wizard that was already open 22.552
After features/support/hooks.rb:330 2.920
After features/support/hooks.rb:100 0.000
Tags: @product
4:22.588
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.139
When I enable persistence 35.418
Then no persistent Greeter options were restored 14.223
When I set all Greeter options to non-default values 25.125
And I log in to a new session in German (de) after having activated the Persistent Storage 47.425
Then all Greeter options are set to non-default values 0.471
When I cold reboot the computer 7.473
And the computer reboots Tails 1:4.004
Given I enable persistence 16.737
Then persistent Greeter options were restored 0.523
When I log in to a new session after having activated the Persistent Storage 39.374
Then all Greeter options are set to non-default values 0.668
After features/support/hooks.rb:330 2.734
After features/support/hooks.rb:100 0.009
Tags: @product
3:41.894
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.768
# 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 30.269
And I shutdown Tails and wait for the computer to power off 12.483
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.993
And I change the passphrase of the Persistent Storage back to the original 38.379
After features/support/hooks.rb:330 3.876
After features/support/hooks.rb:100 0.011
Tags: @product
54.106
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.939
And I log in to a new session without activating the Persistent Storage 20.505
Then persistence is disabled 0.303
But a Tails persistence partition exists on USB drive "__internal" 7.286
And all notifications have disappeared 8.753
When I delete the persistent partition 6.295
Then there is no persistence partition on USB drive "__internal" 1.023
After features/support/hooks.rb:330 1.218
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.365
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 10.297
When I write some dotfile expected to persist 0.170
And I shutdown Tails and wait for the computer to power off 8.670
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.787
Then the expected persistent dotfile is present in the filesystem 0.439
After features/support/hooks.rb:330 0.616
After features/support/hooks.rb:100 0.011
Tags: @product
1:42.404
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.097
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 0.378
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.015
When I log in to a new session after having activated the Persistent Storage 44.851
And all notifications have disappeared 8.522
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.088
And all tps features are enabled 2.497
And all tps features but the first one are active 1.877
After features/support/hooks.rb:330 1.507
After features/support/hooks.rb:100 0.000
Tags: @product
4:12.596
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 2:51.457
And I enable persistence 30.767
And I log in to a new session after having activated the Persistent Storage 44.554
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.412
And persistence is enabled 3.405
After features/support/hooks.rb:330 1.933
After features/support/hooks.rb:100 0.000
Tags: @product
30.781
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 8.320
And I enable persistence but something goes wrong during the LUKS header upgrade 21.747
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.713
After features/support/hooks.rb:330 0.691
After features/support/hooks.rb:100 0.000
Tags: @product
39.838
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 8.919
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.219
When I enable persistence 23.973
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 2.631
After features/support/hooks.rb:330 1.722
After features/support/hooks.rb:100 0.000
Tags: @product
47.952
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.174
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.790
When I try to enable persistence 0.393
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.215
When I repair the filesystem of the Persistent Storage 1.289
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.922
And the filesystem of the Persistent Storage was repaired 3.524
When I close the filesystem repair dialog 1.260
Then persistence is successfully enabled 1.381
After features/support/hooks.rb:330 1.618
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.080
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.282
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.279
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.275
When I repair the filesystem of the Persistent Storage 1.268
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.103
When I log in to a new session 41.542
And all notifications have disappeared 8.166
# 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.278
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.164
When I close the "whisperback" window 1.584
Then the Tor Browser starts 19.144
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.878
After features/support/hooks.rb:330 2.702
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.198
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 22.950
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.252
And Tails detects disk read failures on the boot device 0.528
When I try to enable persistence 0.393
Then the Welcome Screen tells me that my hardware is probably failing 17.541
When I log in to a new session 50.277
And all notifications have disappeared 7.685
Then the Tor Browser starts 16.395
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.173
After features/support/hooks.rb:330 1.759
After features/support/hooks.rb:100 0.000