Project Number Date
test_Tails_ISO_feature-arti 15 01 Apr 2025, 16:57

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 52:19.369 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:37.708
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:44.239
And I update APT using apt 4:24.057
And I install "python3-behave" using apt 26.541
Then the Tails Persistent Storage behave tests pass 2.869
After features/support/hooks.rb:330 1.624
After features/support/hooks.rb:100 0.000
Tags: @product
57.358
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 15.430
When I log in to a new session without activating the Persistent Storage 28.648
Then Tails is running from USB drive "__internal" 0.777
And persistence is disabled 0.652
But a Tails persistence partition exists on USB drive "__internal" 11.849
After features/support/hooks.rb:330 2.097
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.565
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 11.463
Then Tails is running from USB drive "__internal" 0.441
When I create a file in the Persistent directory 0.186
And I create a persistent partition with the default settings 24.874
Then the file I created was copied to the Persistent Storage 3.238
When I shutdown Tails and wait for the computer to power off 13.698
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.273
Then persistence for "Persistent" is active 0.322
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:330 1.932
After features/support/hooks.rb:100 0.008
Tags: @product
1:12.717
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 11.380
And the system is very low on memory 6.930
When I create a file in the Persistent directory 0.747
When I try to create a persistent partition 31.692
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.175
When I close the Persistent Storage app 2.624
And I free up some memory 4.287
And I create a persistent partition with the default settings 14.310
Then the file I created was copied to the Persistent Storage 0.568
After features/support/hooks.rb:330 2.458
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.547
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.852
Then Tails is running from USB drive "__internal" 0.587
And all tps features are active 2.665
And all persistent directories have safe access rights 2.870
When I disable the first tps feature 6.563
Then all tps features but the first one are active 2.215
And I shutdown Tails and wait for the computer to power off 15.510
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.918
Then all tps features but the first one are active 2.362
After features/support/hooks.rb:330 1.307
After features/support/hooks.rb:100 0.039
Tags: @product
22.775
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.228
Then persistence for "Persistent" is active 0.121
And I create a file in the Persistent directory 0.084
Then the file I created was copied to the Persistent Storage 0.108
When I disable the first tps feature 8.677
Then persistence for "Persistent" is not active 0.152
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.158
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.109
After features/support/hooks.rb:330 0.765
After features/support/hooks.rb:100 0.000
Tags: @product
20.417
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.925
Then persistence for "Persistent" is active 0.168
When I create a file in the Persistent directory 0.180
And I disable the first tps feature 6.202
And I delete the data of the Persistent Folder feature 3.878
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 0.929
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.804
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.797
And the network is plugged 0.087
And Tor is ready 22.126
And I take note of which tps features are available 0.932
When I write some files expected to persist 1.610
And I shutdown Tails and wait for the computer to power off 8.868
# 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.382
After features/support/hooks.rb:330 0.133
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.181
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 9.497
And the network is plugged 0.107
And Tor is ready 17.421
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.199
And I shutdown Tails and wait for the computer to power off 9.084
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.907
And I capture all network traffic 0.005
And the network is plugged 0.425
And Tor is ready 19.742
And I switch to the "persistent-con-current" NetworkManager connection 0.416
And the 1st network device has a spoofed MAC address configured 0.148
And no network device leaked the real MAC address 0.224
After features/support/hooks.rb:330 0.673
After features/support/hooks.rb:100 0.046
Tags: @product
1:0.178
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 without a persistent partition and stopped at Tails Greeter's login screen 13.192
And I enable persistence creation in Tails Greeter 1.281
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.363
Then I create a persistent partition with the default settings using the wizard that was already open 22.340
After features/support/hooks.rb:330 2.999
After features/support/hooks.rb:100 0.000
Tags: @product
5:4.194
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 13.081
When I enable persistence 42.775
Then no persistent Greeter options were restored 14.234
When I set all Greeter options to non-default values 27.318
And I log in to a new session in German (de) after having activated the Persistent Storage 59.519
Then all Greeter options are set to non-default values 0.536
When I cold reboot the computer 10.084
And the computer reboots Tails 1:8.404
Given I enable persistence 22.648
Then persistent Greeter options were restored 0.606
When I log in to a new session after having activated the Persistent Storage 44.677
Then all Greeter options are set to non-default values 0.308
After features/support/hooks.rb:330 1.502
After features/support/hooks.rb:100 0.012
Tags: @product
4:13.787
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.812
# 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.090
And I shutdown Tails and wait for the computer to power off 15.559
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:40.092
And I change the passphrase of the Persistent Storage back to the original 31.232
After features/support/hooks.rb:330 2.594
After features/support/hooks.rb:100 0.008
Tags: @product
1:11.982
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.952
And I log in to a new session without activating the Persistent Storage 26.397
Then persistence is disabled 0.533
But a Tails persistence partition exists on USB drive "__internal" 13.621
And all notifications have disappeared 10.548
When I delete the persistent partition 8.063
Then there is no persistence partition on USB drive "__internal" 0.864
After features/support/hooks.rb:330 1.089
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.269
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 10.952
When I write some dotfile expected to persist 0.140
And I shutdown Tails and wait for the computer to power off 8.792
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:47.950
Then the expected persistent dotfile is present in the filesystem 0.434
After features/support/hooks.rb:330 1.736
After features/support/hooks.rb:100 0.012
Tags: @product
2:21.033
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.172
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.117
When I try to enable persistence 0.500
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 59.647
When I log in to a new session after having activated the Persistent Storage 50.576
And all notifications have disappeared 8.142
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.533
And all tps features are enabled 3.577
And all tps features but the first one are active 2.765
After features/support/hooks.rb:330 1.193
After features/support/hooks.rb:100 0.000
Tags: @product
8:8.515
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 6:43.567
And I enable persistence 32.674
And I log in to a new session after having activated the Persistent Storage 46.910
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.192
And persistence is enabled 3.170
After features/support/hooks.rb:330 1.358
After features/support/hooks.rb:100 0.000
Tags: @product
35.237
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 11.158
And I enable persistence but something goes wrong during the LUKS header upgrade 23.266
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.812
After features/support/hooks.rb:330 0.761
After features/support/hooks.rb:100 0.000
Tags: @product
57.277
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.401
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.941
When I enable persistence 39.008
Then the filesystem of the Persistent Storage was repaired 0.119
And persistence is successfully enabled 2.807
After features/support/hooks.rb:330 1.067
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.841
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.234
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.863
When I try to enable persistence 0.449
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.434
When I repair the filesystem of the Persistent Storage 1.368
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.683
And the filesystem of the Persistent Storage was repaired 3.988
When I close the filesystem repair dialog 1.266
Then persistence is successfully enabled 1.552
After features/support/hooks.rb:330 1.503
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.371
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.625
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.123
When I try to enable persistence 0.413
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.951
When I repair the filesystem of the Persistent Storage 1.267
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.083
When I log in to a new session 40.309
And all notifications have disappeared 8.804
# 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.912
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.746
When I close the "whisperback" window 1.866
Then the Tor Browser starts 21.358
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.907
After features/support/hooks.rb:330 3.136
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.603
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.438
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.366
And Tails detects disk read failures on the boot device 0.535
When I try to enable persistence 0.420
Then the Welcome Screen tells me that my hardware is probably failing 21.040
When I log in to a new session 49.450
And all notifications have disappeared 11.023
Then the Tor Browser starts 21.381
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 2.650
After features/support/hooks.rb:100 0.000