Project Number Date
test_Tails_ISO_devel 3631 03 Jan 2025, 12:25

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 38:25.106 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:13.270
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:31.162
And I update APT using apt 13.365
And I install "python3-behave" using apt 25.834
Then the Tails Persistent Storage behave tests pass 2.908
After features/support/hooks.rb:326 0.668
After features/support/hooks.rb:100 0.000
Tags: @product
45.147
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 11.646
When I log in to a new session without activating the Persistent Storage 21.980
Then Tails is running from USB drive "__internal" 0.702
And persistence is disabled 0.311
But a Tails persistence partition exists on USB drive "__internal" 10.507
After features/support/hooks.rb:326 1.494
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.347
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 12.446
Then Tails is running from USB drive "__internal" 0.396
When I create a file in the Persistent directory 0.299
And I create a persistent partition with the default settings 23.561
Then the file I created was copied to the Persistent Storage 0.552
When I shutdown Tails and wait for the computer to power off 12.914
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.123
Then persistence for "Persistent" is active 1.975
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:326 0.699
After features/support/hooks.rb:100 0.008
Tags: @product
1:1.214
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 11.386
And the system is very low on memory 4.793
When I create a file in the Persistent directory 1.581
When I try to create a persistent partition 24.858
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.342
When I close the Persistent Storage app 2.862
And I free up some memory 1.717
And I create a persistent partition with the default settings 13.453
Then the file I created was copied to the Persistent Storage 0.218
After features/support/hooks.rb:326 1.189
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.934
Before features/support/hooks.rb:269 0.016
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.392
Then Tails is running from USB drive "__internal" 0.696
And all tps features are active 2.292
And all persistent directories have safe access rights 2.711
When I disable the first tps feature 5.623
Then all tps features but the first one are active 2.046
And I shutdown Tails and wait for the computer to power off 8.608
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.400
Then all tps features but the first one are active 2.163
After features/support/hooks.rb:326 0.770
After features/support/hooks.rb:100 0.013
Tags: @product
19.335
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 9.677
Then persistence for "Persistent" is active 0.101
And I create a file in the Persistent directory 0.102
Then the file I created was copied to the Persistent Storage 0.094
When I disable the first tps feature 6.011
Then persistence for "Persistent" is not active 0.080
And the Persistent directory does not exist 0.046
When I enable the first tps feature 3.062
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:326 1.371
After features/support/hooks.rb:100 0.000
Tags: @product
19.613
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 9.668
Then persistence for "Persistent" is active 0.096
When I create a file in the Persistent directory 0.125
And I disable the first tps feature 6.016
And I delete the data of the Persistent Folder feature 3.651
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:326 1.666
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.475
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 9.252
And the network is plugged 0.071
And Tor is ready 20.363
And I take note of which tps features are available 0.558
When I write some files expected to persist 1.426
And I shutdown Tails and wait for the computer to power off 6.580
# 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.221
After features/support/hooks.rb:326 0.119
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.414
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 9.118
And the network is plugged 0.083
And Tor is ready 44.195
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.178
And I shutdown Tails and wait for the computer to power off 6.518
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.823
And I capture all network traffic 0.009
And the network is plugged 0.069
And Tor is ready 19.837
And I switch to the "persistent-con-current" NetworkManager connection 0.383
And the 1st network device has a spoofed MAC address configured 0.069
And no network device leaked the real MAC address 0.127
After features/support/hooks.rb:326 0.640
After features/support/hooks.rb:100 0.064
Tags: @product
53.325
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 11.952
And I enable persistence creation in Tails Greeter 1.147
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.535
Then I create a persistent partition with the default settings using the wizard that was already open 20.689
After features/support/hooks.rb:326 2.473
After features/support/hooks.rb:100 0.000
Tags: @product
4:32.059
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 12.881
When I enable persistence 37.764
Then no persistent Greeter options were restored 14.192
When I set all Greeter options to non-default values 24.767
And I log in to a new session in German (de) after having activated the Persistent Storage 52.163
Then all Greeter options are set to non-default values 0.590
When I cold reboot the computer 7.640
And the computer reboots Tails 59.292
Given I enable persistence 18.891
Then persistent Greeter options were restored 0.525
When I log in to a new session after having activated the Persistent Storage 42.826
Then all Greeter options are set to non-default values 0.522
After features/support/hooks.rb:326 1.275
After features/support/hooks.rb:100 0.011
Tags: @product
3:40.950
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 9.947
# 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 33.300
And I shutdown Tails and wait for the computer to power off 12.293
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:13.877
And I change the passphrase of the Persistent Storage back to the original 31.530
After features/support/hooks.rb:326 2.514
After features/support/hooks.rb:100 0.013
Tags: @product
1:1.027
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 10.036
And I log in to a new session without activating the Persistent Storage 20.885
Then persistence is disabled 0.297
But a Tails persistence partition exists on USB drive "__internal" 10.645
And all notifications have disappeared 12.510
When I delete the persistent partition 6.277
Then there is no persistence partition on USB drive "__internal" 0.374
After features/support/hooks.rb:326 0.972
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.718
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 9.267
When I write some dotfile expected to persist 0.060
And I shutdown Tails and wait for the computer to power off 8.466
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.512
Then the expected persistent dotfile is present in the filesystem 0.411
After features/support/hooks.rb:326 0.729
After features/support/hooks.rb:100 0.008
Tags: @product
1:41.739
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.059
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.438
When I try to enable persistence 0.302
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.801
When I log in to a new session after having activated the Persistent Storage 41.959
And all notifications have disappeared 8.159
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.822
And all tps features are enabled 2.185
And all tps features but the first one are active 2.011
After features/support/hooks.rb:326 1.712
After features/support/hooks.rb:100 0.000
Tags: @product
4:37.124
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 3:23.787
And I enable persistence 29.149
And I log in to a new session after having activated the Persistent Storage 39.299
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.004
And persistence is enabled 2.884
After features/support/hooks.rb:326 1.553
After features/support/hooks.rb:100 0.000
Tags: @product
27.977
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 8.637
And I enable persistence but something goes wrong during the LUKS header upgrade 18.600
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.739
After features/support/hooks.rb:326 0.702
After features/support/hooks.rb:100 0.000
Tags: @product
41.837
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.237
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.141
When I enable persistence 24.854
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 2.506
After features/support/hooks.rb:326 0.885
After features/support/hooks.rb:100 0.000
Tags: @product
25.659
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 8.910
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.410
When I try to enable persistence 0.381
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.862
When I repair the filesystem of the Persistent Storage 1.246
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.224
And the filesystem of the Persistent Storage was repaired 0.098
When I close the filesystem repair dialog 1.213
Then persistence is successfully enabled 1.312
After features/support/hooks.rb:326 0.757
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.188
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 8.922
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.155
When I try to enable persistence 0.396
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.915
When I repair the filesystem of the Persistent Storage 1.240
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.079
When I log in to a new session 38.464
And all notifications have disappeared 9.828
# 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.551
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.649
When I close the "whisperback" window 1.706
Then the Tor Browser starts 17.419
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.858
After features/support/hooks.rb:326 1.657
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.745
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 8.870
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.933
And Tails detects disk read failures on the boot device 1.549
When I try to enable persistence 0.376
Then the Welcome Screen tells me that my hardware is probably failing 5.778
When I log in to a new session 18.650
And all notifications have disappeared 7.697
Then the Tor Browser starts 25.979
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.910
After features/support/hooks.rb:326 1.963
After features/support/hooks.rb:100 0.000