Project Number Date
test_Tails_ISO_devel 3561 25 Oct 2024, 12:42

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 45:17.995 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:28.535
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:46.331
And I update APT using apt 14.004
And I install "python3-behave" using apt 25.483
Then the Tails Persistent Storage behave tests pass 2.716
After features/support/hooks.rb:326 0.887
After features/support/hooks.rb:100 0.000
Tags: @product
52.067
Before features/support/hooks.rb:269 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 15.130
When I log in to a new session without activating the Persistent Storage 26.797
Then Tails is running from USB drive "__internal" 0.704
And persistence is disabled 0.511
But a Tails persistence partition exists on USB drive "__internal" 8.924
After features/support/hooks.rb:326 1.286
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.215
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.873
Then Tails is running from USB drive "__internal" 1.223
When I create a file in the Persistent directory 0.248
And I create a persistent partition with the default settings 28.167
Then the file I created was copied to the Persistent Storage 0.656
When I shutdown Tails and wait for the computer to power off 15.275
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.508
Then persistence for "Persistent" is active 1.171
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:326 0.791
After features/support/hooks.rb:100 0.007
Tags: @product
1:8.052
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.109
And the system is very low on memory 6.367
When I create a file in the Persistent directory 1.508
When I try to create a persistent partition 29.289
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.250
When I close the Persistent Storage app 2.594
And I free up some memory 1.463
And I create a persistent partition with the default settings 14.192
Then the file I created was copied to the Persistent Storage 0.276
After features/support/hooks.rb:326 1.819
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.434
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.570
Then Tails is running from USB drive "__internal" 1.142
And all tps features are active 3.219
And all persistent directories have safe access rights 2.815
When I disable the first tps feature 6.622
Then all tps features but the first one are active 2.548
And I shutdown Tails and wait for the computer to power off 13.616
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.453
Then all tps features but the first one are active 2.445
After features/support/hooks.rb:326 1.027
After features/support/hooks.rb:100 0.008
Tags: @product
22.222
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.392
Then persistence for "Persistent" is active 0.103
And I create a file in the Persistent directory 0.063
Then the file I created was copied to the Persistent Storage 0.081
When I disable the first tps feature 6.816
Then persistence for "Persistent" is not active 0.083
And the Persistent directory does not exist 0.060
When I enable the first tps feature 4.407
Then persistence for "Persistent" is active 0.134
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 0.844
After features/support/hooks.rb:100 0.000
Tags: @product
23.588
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.627
Then persistence for "Persistent" is active 1.485
When I create a file in the Persistent directory 0.078
And I disable the first tps feature 6.388
And I delete the data of the Persistent Folder feature 4.943
Then the file I created does not exist on the Persistent Storage 0.064
After features/support/hooks.rb:326 0.950
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.766
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.255
And the network is plugged 0.101
And Tor is ready 23.767
And I take note of which tps features are available 0.630
When I write some files expected to persist 1.640
And I shutdown Tails and wait for the computer to power off 9.006
# 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.364
After features/support/hooks.rb:326 0.127
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.329
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.633
And the network is plugged 0.084
And Tor is ready 24.381
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 14.828
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.010
And I capture all network traffic 0.011
And the network is plugged 0.095
And Tor is ready 20.492
And I switch to the "persistent-con-current" NetworkManager connection 0.360
And the 1st network device has a spoofed MAC address configured 0.075
And no network device leaked the real MAC address 0.149
After features/support/hooks.rb:326 0.584
After features/support/hooks.rb:100 0.044
Tags: @product
59.300
Before features/support/hooks.rb:269 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 12.454
And I enable persistence creation in Tails Greeter 1.528
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.694
Then I create a persistent partition with the default settings using the wizard that was already open 24.623
After features/support/hooks.rb:326 1.605
After features/support/hooks.rb:100 0.000
Tags: @product
5:27.483
Before features/support/hooks.rb:269 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 13.904
When I enable persistence 51.897
Then no persistent Greeter options were restored 14.090
When I set all Greeter options to non-default values 27.707
And I log in to a new session in German (de) after having activated the Persistent Storage 55.252
Then all Greeter options are set to non-default values 0.599
When I cold reboot the computer 7.733
And the computer reboots Tails 1:10.756
Given I enable persistence 32.656
Then persistent Greeter options were restored 15.359
When I log in to a new session after having activated the Persistent Storage 37.091
Then all Greeter options are set to non-default values 0.433
After features/support/hooks.rb:326 1.050
After features/support/hooks.rb:100 0.034
Tags: @product
3:51.427
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.219
# 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 34.556
And I shutdown Tails and wait for the computer to power off 12.796
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.983
And I change the passphrase of the Persistent Storage back to the original 40.870
After features/support/hooks.rb:326 1.865
After features/support/hooks.rb:100 0.007
Tags: @product
59.305
Before features/support/hooks.rb:269 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.401
And I log in to a new session without activating the Persistent Storage 23.349
Then persistence is disabled 0.488
But a Tails persistence partition exists on USB drive "__internal" 7.603
And all notifications have disappeared 8.992
When I delete the persistent partition 7.086
Then there is no persistence partition on USB drive "__internal" 0.384
After features/support/hooks.rb:326 0.858
After features/support/hooks.rb:100 0.000
Tags: @product
2:34.221
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.181
When I write some dotfile expected to persist 0.228
And I shutdown Tails and wait for the computer to power off 11.371
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.925
Then the expected persistent dotfile is present in the filesystem 0.514
After features/support/hooks.rb:326 1.110
After features/support/hooks.rb:100 0.010
Tags: @product
1:44.712
Before features/support/hooks.rb:269 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.448
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.093
When I try to enable persistence 0.638
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.263
When I log in to a new session after having activated the Persistent Storage 41.624
And all notifications have disappeared 10.247
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.666
And all tps features are enabled 2.427
And all tps features but the first one are active 2.303
After features/support/hooks.rb:326 1.193
After features/support/hooks.rb:100 0.000
Tags: @product
8:31.504
Before features/support/hooks.rb:269 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 6:57.264
And I enable persistence 43.929
And I log in to a new session after having activated the Persistent Storage 46.741
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.282
And persistence is enabled 0.285
After features/support/hooks.rb:326 1.174
After features/support/hooks.rb:100 0.000
Tags: @product
29.702
Before features/support/hooks.rb:269 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 9.247
And I enable persistence but something goes wrong during the LUKS header upgrade 19.568
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.886
After features/support/hooks.rb:326 0.812
After features/support/hooks.rb:100 0.000
Tags: @product
50.479
Before features/support/hooks.rb:269 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.006
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.229
When I enable persistence 31.709
Then the filesystem of the Persistent Storage was repaired 0.116
And persistence is successfully enabled 0.418
After features/support/hooks.rb:326 0.905
After features/support/hooks.rb:100 0.000
Tags: @product
27.179
Before features/support/hooks.rb:269 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.772
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.401
When I try to enable persistence 0.392
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.157
When I repair the filesystem of the Persistent Storage 1.303
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.268
And the filesystem of the Persistent Storage was repaired 0.106
When I close the filesystem repair dialog 1.331
Then persistence is successfully enabled 0.445
After features/support/hooks.rb:326 1.104
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.950
Before features/support/hooks.rb:269 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.424
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.128
When I try to enable persistence 0.435
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.352
When I repair the filesystem of the Persistent Storage 1.252
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 43.232
And all notifications have disappeared 8.503
# 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.585
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.900
When I close the "whisperback" window 1.791
Then the Tor Browser starts 15.493
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.767
After features/support/hooks.rb:326 1.733
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:17.514
Before features/support/hooks.rb:269 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.842
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.499
And Tails detects disk read failures on the boot device 0.628
When I try to enable persistence 0.716
Then the Welcome Screen tells me that my hardware is probably failing 7.124
When I log in to a new session 19.896
And all notifications have disappeared 7.910
Then the Tor Browser starts 21.088
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.807
After features/support/hooks.rb:326 1.600
After features/support/hooks.rb:100 0.000