Project Number Date
test_Tails_ISO_feature-arti 14 31 Mar 2025, 16:59

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 50:12.044 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
7:28.644
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:57.256
And I update APT using apt 5:5.243
And I install "python3-behave" using apt 23.241
Then the Tails Persistent Storage behave tests pass 2.903
After features/support/hooks.rb:330 0.687
After features/support/hooks.rb:100 0.000
Tags: @product
42.297
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 11.470
When I log in to a new session without activating the Persistent Storage 24.561
Then Tails is running from USB drive "__internal" 0.477
And persistence is disabled 0.359
But a Tails persistence partition exists on USB drive "__internal" 5.429
After features/support/hooks.rb:330 1.069
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.628
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 17.556
Then Tails is running from USB drive "__internal" 0.471
When I create a file in the Persistent directory 0.194
And I create a persistent partition with the default settings 23.906
Then the file I created was copied to the Persistent Storage 2.199
When I shutdown Tails and wait for the computer to power off 13.250
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.641
Then persistence for "Persistent" is active 0.352
And the file I created in the Persistent directory exists 0.055
After features/support/hooks.rb:330 2.271
After features/support/hooks.rb:100 0.007
Tags: @product
1:7.425
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.781
And the system is very low on memory 4.140
When I create a file in the Persistent directory 1.203
When I try to create a persistent partition 28.659
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.721
When I close the Persistent Storage app 2.713
And I free up some memory 3.267
And I create a persistent partition with the default settings 13.673
Then the file I created was copied to the Persistent Storage 0.265
After features/support/hooks.rb:330 2.439
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.468
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 14.351
Then Tails is running from USB drive "__internal" 0.339
And all tps features are active 2.276
And all persistent directories have safe access rights 2.792
When I disable the first tps feature 7.710
Then all tps features but the first one are active 4.939
And I shutdown Tails and wait for the computer to power off 20.710
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.019
Then all tps features but the first one are active 2.328
After features/support/hooks.rb:330 2.081
After features/support/hooks.rb:100 0.012
Tags: @product
21.637
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.705
Then persistence for "Persistent" is active 0.093
And I create a file in the Persistent directory 0.102
Then the file I created was copied to the Persistent Storage 0.080
When I disable the first tps feature 6.086
Then persistence for "Persistent" is not active 0.105
And the Persistent directory does not exist 0.066
When I enable the first tps feature 3.216
Then persistence for "Persistent" is active 0.094
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:330 1.113
After features/support/hooks.rb:100 0.000
Tags: @product
19.455
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 9.790
Then persistence for "Persistent" is active 0.096
When I create a file in the Persistent directory 0.097
And I disable the first tps feature 5.738
And I delete the data of the Persistent Folder feature 3.671
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:330 1.588
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.151
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 enabled and logged in 9.364
And the network is plugged 0.076
And Tor is ready 25.221
And I take note of which tps features are available 0.700
When I write some files expected to persist 1.763
And I shutdown Tails and wait for the computer to power off 9.066
# 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.959
After features/support/hooks.rb:330 0.140
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.427
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 9.588
And the network is plugged 0.117
And Tor is ready 18.956
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.212
And I shutdown Tails and wait for the computer to power off 8.852
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.104
And I capture all network traffic 0.026
And the network is plugged 0.097
And Tor is ready 19.723
And I switch to the "persistent-con-current" NetworkManager connection 0.488
And the 1st network device has a spoofed MAC address configured 0.085
And no network device leaked the real MAC address 0.174
After features/support/hooks.rb:330 0.641
After features/support/hooks.rb:100 0.076
Tags: @product
1:9.100
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 13.510
And I enable persistence creation in Tails Greeter 1.133
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.430
Then I create a persistent partition with the default settings using the wizard that was already open 28.025
After features/support/hooks.rb:330 3.241
After features/support/hooks.rb:100 0.000
Tags: @product
5:36.908
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 27.434
When I enable persistence 40.769
Then no persistent Greeter options were restored 14.180
When I set all Greeter options to non-default values 28.620
And I log in to a new session in German (de) after having activated the Persistent Storage 59.974
Then all Greeter options are set to non-default values 0.408
When I cold reboot the computer 7.709
And the computer reboots Tails 1:11.842
Given I enable persistence 35.379
Then persistent Greeter options were restored 0.631
When I log in to a new session after having activated the Persistent Storage 49.631
Then all Greeter options are set to non-default values 0.328
After features/support/hooks.rb:330 1.675
After features/support/hooks.rb:100 0.008
Tags: @product
4:7.332
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.614
# 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 36.104
And I shutdown Tails and wait for the computer to power off 15.044
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:31.854
And I change the passphrase of the Persistent Storage back to the original 32.714
After features/support/hooks.rb:330 3.161
After features/support/hooks.rb:100 0.010
Tags: @product
1:2.350
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.459
And I log in to a new session without activating the Persistent Storage 21.427
Then persistence is disabled 0.405
But a Tails persistence partition exists on USB drive "__internal" 10.952
And all notifications have disappeared 11.904
When I delete the persistent partition 6.136
Then there is no persistence partition on USB drive "__internal" 1.064
After features/support/hooks.rb:330 1.358
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.229
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.316
When I write some dotfile expected to persist 0.064
And I shutdown Tails and wait for the computer to power off 8.602
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.773
Then the expected persistent dotfile is present in the filesystem 0.472
After features/support/hooks.rb:330 1.282
After features/support/hooks.rb:100 0.045
Tags: @product
1:40.811
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.038
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.074
When I try to enable persistence 0.303
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.996
When I log in to a new session after having activated the Persistent Storage 43.229
And all notifications have disappeared 7.385
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.358
And all tps features are enabled 3.254
And all tps features but the first one are active 2.169
After features/support/hooks.rb:330 0.968
After features/support/hooks.rb:100 0.000
Tags: @product
6:46.301
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 5:19.779
And I enable persistence 33.037
And I log in to a new session after having activated the Persistent Storage 48.835
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.724
And persistence is enabled 2.923
After features/support/hooks.rb:330 1.204
After features/support/hooks.rb:100 0.000
Tags: @product
33.420
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 10.447
And I enable persistence but something goes wrong during the LUKS header upgrade 22.079
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.893
After features/support/hooks.rb:330 0.730
After features/support/hooks.rb:100 0.000
Tags: @product
49.418
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 10.821
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.581
When I enable persistence 30.256
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 2.670
After features/support/hooks.rb:330 0.931
After features/support/hooks.rb:100 0.000
Tags: @product
48.573
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 8.640
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.898
When I try to enable persistence 0.615
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.858
When I repair the filesystem of the Persistent Storage 1.299
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.761
And the filesystem of the Persistent Storage was repaired 3.844
When I close the filesystem repair dialog 1.297
Then persistence is successfully enabled 1.356
After features/support/hooks.rb:330 0.946
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.903
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.285
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.094
When I try to enable persistence 0.300
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.615
When I repair the filesystem of the Persistent Storage 1.303
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.076
When I log in to a new session 36.797
And all notifications have disappeared 7.681
# 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.704
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.179
When I close the "whisperback" window 1.423
Then the Tor Browser starts 20.460
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.979
After features/support/hooks.rb:330 2.111
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.558
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 8.632
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.678
And Tails detects disk read failures on the boot device 1.693
When I try to enable persistence 0.390
Then the Welcome Screen tells me that my hardware is probably failing 19.322
When I log in to a new session 53.708
And all notifications have disappeared 8.364
Then the Tor Browser starts 20.702
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.065
After features/support/hooks.rb:330 2.211
After features/support/hooks.rb:100 0.000