Project Number Date
test_Tails_ISO_stable 5419 27 Jan 2025, 12:51

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 46:31.991 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:30.282
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:49.301
And I update APT using apt 12.733
And I install "python3-behave" using apt 25.784
Then the Tails Persistent Storage behave tests pass 2.462
After features/support/hooks.rb:326 0.859
After features/support/hooks.rb:100 0.000
Tags: @product
59.486
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 23.870
When I log in to a new session without activating the Persistent Storage 25.861
Then Tails is running from USB drive "__internal" 0.491
And persistence is disabled 0.384
But a Tails persistence partition exists on USB drive "__internal" 8.879
After features/support/hooks.rb:326 1.144
After features/support/hooks.rb:100 0.000
Tags: @product
4:5.031
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 37.388
Then Tails is running from USB drive "__internal" 1.283
When I create a file in the Persistent directory 0.166
And I create a persistent partition with the default settings 24.606
Then the file I created was copied to the Persistent Storage 0.857
When I shutdown Tails and wait for the computer to power off 13.227
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:46.282
Then persistence for "Persistent" is active 1.134
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:326 0.706
After features/support/hooks.rb:100 0.011
Tags: @product
1:18.410
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 24.416
And the system is very low on memory 5.607
When I create a file in the Persistent directory 1.191
When I try to create a persistent partition 25.553
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.532
When I close the Persistent Storage app 2.555
And I free up some memory 2.175
And I create a persistent partition with the default settings 15.842
Then the file I created was copied to the Persistent Storage 0.534
After features/support/hooks.rb:326 1.779
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.416
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 25.955
Then Tails is running from USB drive "__internal" 0.559
And all tps features are active 3.530
And all persistent directories have safe access rights 2.998
When I disable the first tps feature 7.564
Then all tps features but the first one are active 2.705
And I shutdown Tails and wait for the computer to power off 17.828
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.312
Then all tps features but the first one are active 2.960
After features/support/hooks.rb:326 1.180
After features/support/hooks.rb:100 0.013
Tags: @product
28.524
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 15.002
Then persistence for "Persistent" is active 0.537
And I create a file in the Persistent directory 0.083
Then the file I created was copied to the Persistent Storage 0.084
When I disable the first tps feature 7.644
Then persistence for "Persistent" is not active 0.123
And the Persistent directory does not exist 0.067
When I enable the first tps feature 4.754
Then persistence for "Persistent" is active 0.135
And the file I created in the Persistent directory exists 0.092
After features/support/hooks.rb:326 0.928
After features/support/hooks.rb:100 0.000
Tags: @product
45.696
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 28.794
Then persistence for "Persistent" is active 1.141
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 10.228
And I delete the data of the Persistent Folder feature 5.378
Then the file I created does not exist on the Persistent Storage 0.077
After features/support/hooks.rb:326 0.897
After features/support/hooks.rb:100 0.000
Tags: @product
1:30.874
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 25.981
And the network is plugged 0.109
And Tor is ready 24.789
And I take note of which tps features are available 0.742
When I write some files expected to persist 1.839
And I shutdown Tails and wait for the computer to power off 11.153
# 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" 26.259
After features/support/hooks.rb:326 0.148
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.257
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 12.041
And the network is plugged 0.140
And Tor is ready 19.998
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.312
And I shutdown Tails and wait for the computer to power off 11.100
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.729
And I capture all network traffic 0.012
And the network is plugged 0.096
And Tor is ready 20.160
And I switch to the "persistent-con-current" NetworkManager connection 0.416
And the 1st network device has a spoofed MAC address configured 0.105
And no network device leaked the real MAC address 0.141
After features/support/hooks.rb:326 0.946
After features/support/hooks.rb:100 0.058
Tags: @product
1:58.255
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 1:13.096
And I enable persistence creation in Tails Greeter 1.159
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.120
Then I create a persistent partition with the default settings using the wizard that was already open 22.877
After features/support/hooks.rb:326 1.476
After features/support/hooks.rb:100 0.000
Tags: @product
5:6.395
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 34.716
When I enable persistence 46.888
Then no persistent Greeter options were restored 14.503
When I set all Greeter options to non-default values 24.253
And I log in to a new session in German (de) after having activated the Persistent Storage 44.932
Then all Greeter options are set to non-default values 0.667
When I cold reboot the computer 7.969
And the computer reboots Tails 1:12.455
Given I enable persistence 19.007
Then persistent Greeter options were restored 0.508
When I log in to a new session after having activated the Persistent Storage 40.042
Then all Greeter options are set to non-default values 0.451
After features/support/hooks.rb:326 1.334
After features/support/hooks.rb:100 0.012
Tags: @product
3:54.615
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.467
# 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 38.231
And I shutdown Tails and wait for the computer to power off 12.731
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.531
And I change the passphrase of the Persistent Storage back to the original 39.654
After features/support/hooks.rb:326 2.053
After features/support/hooks.rb:100 0.018
Tags: @product
1:2.268
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.703
And I log in to a new session without activating the Persistent Storage 21.315
Then persistence is disabled 0.590
But a Tails persistence partition exists on USB drive "__internal" 13.218
And all notifications have disappeared 9.935
When I delete the persistent partition 5.974
Then there is no persistence partition on USB drive "__internal" 0.530
After features/support/hooks.rb:326 1.030
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.957
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.214
When I write some dotfile expected to persist 0.071
And I shutdown Tails and wait for the computer to power off 11.395
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.718
Then the expected persistent dotfile is present in the filesystem 0.557
After features/support/hooks.rb:326 0.760
After features/support/hooks.rb:100 0.023
Tags: @product
1:37.290
Before features/support/hooks.rb:269 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 10.517
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.093
When I try to enable persistence 0.429
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.338
When I log in to a new session after having activated the Persistent Storage 35.697
And all notifications have disappeared 8.132
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.348
And all tps features are enabled 2.461
And all tps features but the first one are active 2.269
After features/support/hooks.rb:326 1.213
After features/support/hooks.rb:100 0.000
Tags: @product
5:16.471
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:30.608
And I enable persistence 46.884
And I log in to a new session after having activated the Persistent Storage 53.548
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.039
And persistence is enabled 3.391
After features/support/hooks.rb:326 1.109
After features/support/hooks.rb:100 0.000
Tags: @product
45.100
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 22.756
And I enable persistence but something goes wrong during the LUKS header upgrade 21.492
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.850
After features/support/hooks.rb:326 0.828
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.960
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.338
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.512
When I enable persistence 50.779
Then the filesystem of the Persistent Storage was repaired 0.105
And persistence is successfully enabled 3.223
After features/support/hooks.rb:326 1.579
After features/support/hooks.rb:100 0.000
Tags: @product
58.298
Before features/support/hooks.rb:269 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.199
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.117
When I try to enable persistence 0.439
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.893
When I repair the filesystem of the Persistent Storage 1.356
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.741
And the filesystem of the Persistent Storage was repaired 2.375
When I close the filesystem repair dialog 1.347
Then persistence is successfully enabled 1.826
After features/support/hooks.rb:326 1.356
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.586
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.342
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.150
When I try to enable persistence 0.294
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.942
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.091
When I log in to a new session 40.654
And all notifications have disappeared 10.820
# 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.337
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.461
When I close the "whisperback" window 1.543
Then the Tor Browser starts 21.607
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.071
After features/support/hooks.rb:326 1.428
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.811
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 9.315
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.835
And Tails detects disk read failures on the boot device 0.561
When I try to enable persistence 0.438
Then the Welcome Screen tells me that my hardware is probably failing 23.416
When I log in to a new session 45.420
And all notifications have disappeared 8.499
Then the Tor Browser starts 17.603
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.720
After features/support/hooks.rb:326 2.707
After features/support/hooks.rb:100 0.000