Project Number Date
test_Tails_ISO_devel 3789 28 Apr 2025, 13:13

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 47:17.672 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:29.471
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.026
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:45.454
And I update APT using apt 14.141
And I install "python3-behave" using apt 26.547
Then the Tails Persistent Storage behave tests pass 3.328
After features/support/hooks.rb:330 1.075
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.245
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 16.484
When I log in to a new session without activating the Persistent Storage 27.949
Then Tails is running from USB drive "__internal" 0.803
And persistence is disabled 0.589
But a Tails persistence partition exists on USB drive "__internal" 16.418
After features/support/hooks.rb:330 1.768
After features/support/hooks.rb:100 0.000
Tags: @product
3:36.887
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 22.483
Then Tails is running from USB drive "__internal" 0.525
When I create a file in the Persistent directory 0.163
And I create a persistent partition with the default settings 25.020
Then the file I created was copied to the Persistent Storage 2.669
When I shutdown Tails and wait for the computer to power off 16.112
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.329
Then persistence for "Persistent" is active 0.515
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.747
After features/support/hooks.rb:100 0.016
Tags: @product
1:3.915
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 without a persistent partition and logged in 11.864
And the system is very low on memory 3.476
When I create a file in the Persistent directory 0.765
When I try to create a persistent partition 27.373
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.389
When I close the Persistent Storage app 2.802
And I free up some memory 3.683
And I create a persistent partition with the default settings 13.269
Then the file I created was copied to the Persistent Storage 0.290
After features/support/hooks.rb:330 2.342
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.873
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 14.243
Then Tails is running from USB drive "__internal" 1.287
And all tps features are active 2.640
And all persistent directories have safe access rights 3.415
When I disable the first tps feature 7.069
Then all tps features but the first one are active 2.485
And I shutdown Tails and wait for the computer to power off 13.533
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.964
Then all tps features but the first one are active 3.233
After features/support/hooks.rb:330 1.355
After features/support/hooks.rb:100 0.009
Tags: @product
22.527
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.881
Then persistence for "Persistent" is active 0.099
And I create a file in the Persistent directory 0.118
Then the file I created was copied to the Persistent Storage 0.177
When I disable the first tps feature 7.578
Then persistence for "Persistent" is not active 0.104
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.335
Then persistence for "Persistent" is active 0.099
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 1.758
After features/support/hooks.rb:100 0.000
Tags: @product
22.203
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 11.653
Then persistence for "Persistent" is active 0.120
When I create a file in the Persistent directory 0.083
And I disable the first tps feature 6.477
And I delete the data of the Persistent Folder feature 3.798
Then the file I created does not exist on the Persistent Storage 0.069
After features/support/hooks.rb:330 1.713
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.650
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.542
And the network is plugged 0.089
And Tor is ready 21.300
And I take note of which tps features are available 0.822
When I write some files expected to persist 1.857
And I shutdown Tails and wait for the computer to power off 8.595
# 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.442
After features/support/hooks.rb:330 0.165
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.750
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.061
And the network is plugged 0.270
And Tor is ready 22.564
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.252
And I shutdown Tails and wait for the computer to power off 9.140
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.944
And I capture all network traffic 0.012
And the network is plugged 0.090
And Tor is ready 21.757
And I switch to the "persistent-con-current" NetworkManager connection 0.351
And the 1st network device has a spoofed MAC address configured 0.153
And no network device leaked the real MAC address 0.152
After features/support/hooks.rb:330 0.776
After features/support/hooks.rb:100 0.083
Tags: @product
1:6.823
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 without a persistent partition and stopped at Tails Greeter's login screen 15.970
And I enable persistence creation in Tails Greeter 1.234
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.780
Then I create a persistent partition with the default settings using the wizard that was already open 24.837
After features/support/hooks.rb:330 3.312
After features/support/hooks.rb:100 0.000
Tags: @product
5:11.268
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 and stopped at Tails Greeter's login screen 16.032
When I enable persistence 45.437
Then no persistent Greeter options were restored 14.927
When I set all Greeter options to non-default values 28.186
And I log in to a new session in German (de) after having activated the Persistent Storage 57.886
Then all Greeter options are set to non-default values 0.953
When I cold reboot the computer 10.550
And the computer reboots Tails 1:9.736
Given I enable persistence 19.400
Then persistent Greeter options were restored 4.522
When I log in to a new session after having activated the Persistent Storage 42.984
Then all Greeter options are set to non-default values 0.649
After features/support/hooks.rb:330 1.932
After features/support/hooks.rb:100 0.010
Tags: @product
4:34.692
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.855
# 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 47.990
And I shutdown Tails and wait for the computer to power off 15.749
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:25.996
And I change the passphrase of the Persistent Storage back to the original 53.101
After features/support/hooks.rb:330 3.731
After features/support/hooks.rb:100 0.009
Tags: @product
1:4.774
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 10.464
And I log in to a new session without activating the Persistent Storage 22.542
Then persistence is disabled 0.602
But a Tails persistence partition exists on USB drive "__internal" 12.492
And all notifications have disappeared 11.087
When I delete the persistent partition 6.757
Then there is no persistence partition on USB drive "__internal" 0.827
After features/support/hooks.rb:330 1.499
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.871
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 10.172
When I write some dotfile expected to persist 0.073
And I shutdown Tails and wait for the computer to power off 10.500
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.598
Then the expected persistent dotfile is present in the filesystem 0.526
After features/support/hooks.rb:330 1.531
After features/support/hooks.rb:100 0.019
Tags: @product
1:46.999
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.022
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.981
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.108
When I try to enable persistence 0.281
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.608
When I log in to a new session after having activated the Persistent Storage 41.921
And all notifications have disappeared 10.764
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.546
And all tps features are enabled 2.658
And all tps features but the first one are active 2.128
After features/support/hooks.rb:330 1.935
After features/support/hooks.rb:100 0.000
Tags: @product
7:16.450
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 5:41.310
And I enable persistence 36.953
And I log in to a new session after having activated the Persistent Storage 51.560
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.372
And persistence is enabled 3.253
After features/support/hooks.rb:330 1.956
After features/support/hooks.rb:100 0.000
Tags: @product
34.030
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
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.398
And I enable persistence but something goes wrong during the LUKS header upgrade 23.797
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.834
After features/support/hooks.rb:330 0.772
After features/support/hooks.rb:100 0.000
Tags: @product
56.482
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.400
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.286
When I enable persistence 37.193
Then the filesystem of the Persistent Storage was repaired 0.093
And persistence is successfully enabled 3.508
After features/support/hooks.rb:330 2.257
After features/support/hooks.rb:100 0.000
Tags: @product
59.902
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 10.656
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.970
When I try to enable persistence 0.613
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.646
When I repair the filesystem of the Persistent Storage 1.322
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.638
And the filesystem of the Persistent Storage was repaired 3.347
When I close the filesystem repair dialog 1.202
Then persistence is successfully enabled 1.504
After features/support/hooks.rb:330 1.697
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:7.902
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.966
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.110
When I try to enable persistence 0.293
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.608
When I repair the filesystem of the Persistent Storage 1.335
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.100
When I log in to a new session 44.615
And all notifications have disappeared 11.222
# 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.587
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.258
When I close the "whisperback" window 1.853
Then the Tor Browser starts 19.651
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.297
After features/support/hooks.rb:330 3.407
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:15.948
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.379
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.380
And Tails detects disk read failures on the boot device 1.768
When I try to enable persistence 0.477
Then the Welcome Screen tells me that my hardware is probably failing 22.535
When I log in to a new session 51.532
And all notifications have disappeared 10.284
Then the Tor Browser starts 24.182
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.407
After features/support/hooks.rb:330 2.611
After features/support/hooks.rb:100 0.000