Project Number Date
test_Tails_ISO_stable 5333 13 Dec 2024, 12:47

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 42:34.340 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:18.626
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:35.366
And I update APT using apt 13.628
And I install "python3-behave" using apt 26.989
Then the Tails Persistent Storage behave tests pass 2.641
After features/support/hooks.rb:326 0.763
After features/support/hooks.rb:100 0.000
Tags: @product
53.738
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 17.836
When I log in to a new session without activating the Persistent Storage 24.084
Then Tails is running from USB drive "__internal" 0.617
And persistence is disabled 0.453
But a Tails persistence partition exists on USB drive "__internal" 10.746
After features/support/hooks.rb:326 1.104
After features/support/hooks.rb:100 0.000
Tags: @product
3:46.247
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 32.385
Then Tails is running from USB drive "__internal" 0.463
When I create a file in the Persistent directory 0.197
And I create a persistent partition with the default settings 23.584
Then the file I created was copied to the Persistent Storage 0.573
When I shutdown Tails and wait for the computer to power off 15.310
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.594
Then persistence for "Persistent" is active 3.057
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 2.020
After features/support/hooks.rb:100 0.008
Tags: @product
1:3.828
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 24.747
And the system is very low on memory 5.157
When I create a file in the Persistent directory 1.701
When I try to create a persistent partition 14.867
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.167
When I close the Persistent Storage app 2.560
And I free up some memory 1.265
And I create a persistent partition with the default settings 13.103
Then the file I created was copied to the Persistent Storage 0.259
After features/support/hooks.rb:326 1.384
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.034
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 22.217
Then Tails is running from USB drive "__internal" 0.976
And all tps features are active 2.718
And all persistent directories have safe access rights 2.596
When I disable the first tps feature 6.660
Then all tps features but the first one are active 2.615
And I shutdown Tails and wait for the computer to power off 11.358
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.046
Then all tps features but the first one are active 2.842
After features/support/hooks.rb:326 1.096
After features/support/hooks.rb:100 0.007
Tags: @product
21.907
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.387
Then persistence for "Persistent" is active 0.080
And I create a file in the Persistent directory 0.085
Then the file I created was copied to the Persistent Storage 0.078
When I disable the first tps feature 6.593
Then persistence for "Persistent" is not active 0.090
And the Persistent directory does not exist 0.050
When I enable the first tps feature 4.324
Then persistence for "Persistent" is active 0.102
And the file I created in the Persistent directory exists 0.114
After features/support/hooks.rb:326 0.938
After features/support/hooks.rb:100 0.000
Tags: @product
21.577
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.555
Then persistence for "Persistent" is active 0.084
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 6.346
And I delete the data of the Persistent Folder feature 4.464
Then the file I created does not exist on the Persistent Storage 0.048
After features/support/hooks.rb:326 1.168
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.653
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.736
And the network is plugged 0.083
And Tor is ready 21.962
And I take note of which tps features are available 0.598
When I write some files expected to persist 1.461
And I shutdown Tails and wait for the computer to power off 11.141
# 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.668
After features/support/hooks.rb:326 0.163
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.017
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.329
And the network is plugged 0.081
And Tor is ready 21.786
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.203
And I shutdown Tails and wait for the computer to power off 8.359
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.711
And I capture all network traffic 0.005
And the network is plugged 0.082
And Tor is ready 21.888
And I switch to the "persistent-con-current" NetworkManager connection 0.338
And the 1st network device has a spoofed MAC address configured 0.102
And no network device leaked the real MAC address 0.128
After features/support/hooks.rb:326 0.631
After features/support/hooks.rb:100 0.054
Tags: @product
1:32.073
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 45.609
And I enable persistence creation in Tails Greeter 1.139
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.842
Then I create a persistent partition with the default settings using the wizard that was already open 22.482
After features/support/hooks.rb:326 1.324
After features/support/hooks.rb:100 0.000
Tags: @product
5:0.317
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 31.415
When I enable persistence 41.846
Then no persistent Greeter options were restored 14.685
When I set all Greeter options to non-default values 32.517
And I log in to a new session in German (de) after having activated the Persistent Storage 51.795
Then all Greeter options are set to non-default values 0.781
When I cold reboot the computer 8.052
And the computer reboots Tails 1:1.300
Given I enable persistence 18.169
Then persistent Greeter options were restored 0.593
When I log in to a new session after having activated the Persistent Storage 38.692
Then all Greeter options are set to non-default values 0.467
After features/support/hooks.rb:326 1.003
After features/support/hooks.rb:100 0.008
Tags: @product
4:2.410
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.830
# 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 40.916
And I shutdown Tails and wait for the computer to power off 12.645
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.555
And I change the passphrase of the Persistent Storage back to the original 38.461
After features/support/hooks.rb:326 2.680
After features/support/hooks.rb:100 0.007
Tags: @product
54.892
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.784
And I log in to a new session without activating the Persistent Storage 20.960
Then persistence is disabled 0.589
But a Tails persistence partition exists on USB drive "__internal" 8.507
And all notifications have disappeared 8.360
When I delete the persistent partition 6.305
Then there is no persistence partition on USB drive "__internal" 0.385
After features/support/hooks.rb:326 0.847
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.288
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.267
When I write some dotfile expected to persist 0.074
And I shutdown Tails and wait for the computer to power off 8.777
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.641
Then the expected persistent dotfile is present in the filesystem 0.527
After features/support/hooks.rb:326 1.021
After features/support/hooks.rb:100 0.007
Tags: @product
1:35.014
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.475
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.086
When I try to enable persistence 0.306
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.529
When I log in to a new session after having activated the Persistent Storage 38.000
And all notifications have disappeared 8.579
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.853
And all tps features are enabled 2.964
And all tps features but the first one are active 2.219
After features/support/hooks.rb:326 1.072
After features/support/hooks.rb:100 0.000
Tags: @product
5:36.476
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 4:13.588
And I enable persistence 34.010
And I log in to a new session after having activated the Persistent Storage 43.168
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.150
And persistence is enabled 2.559
After features/support/hooks.rb:326 1.231
After features/support/hooks.rb:100 0.000
Tags: @product
30.614
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 8.996
And I enable persistence but something goes wrong during the LUKS header upgrade 20.747
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.870
After features/support/hooks.rb:326 1.009
After features/support/hooks.rb:100 0.000
Tags: @product
49.108
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.361
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.407
When I enable persistence 31.396
Then the filesystem of the Persistent Storage was repaired 0.091
And persistence is successfully enabled 2.850
After features/support/hooks.rb:326 1.144
After features/support/hooks.rb:100 0.000
Tags: @product
26.294
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.148
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.961
When I try to enable persistence 0.440
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.416
When I repair the filesystem of the Persistent Storage 1.259
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.267
And the filesystem of the Persistent Storage was repaired 0.086
When I close the filesystem repair dialog 1.275
Then persistence is successfully enabled 1.437
After features/support/hooks.rb:326 0.757
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.505
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 8.778
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.100
When I try to enable persistence 0.273
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 38.940
When I repair the filesystem of the Persistent Storage 1.264
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.076
When I log in to a new session 37.294
And all notifications have disappeared 9.375
# 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" 1.082
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.640
When I close the "whisperback" window 1.521
Then the Tor Browser starts 18.316
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.841
After features/support/hooks.rb:326 1.997
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:14.710
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 8.563
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.317
And Tails detects disk read failures on the boot device 1.509
When I try to enable persistence 0.608
Then the Welcome Screen tells me that my hardware is probably failing 5.643
When I log in to a new session 19.337
And all notifications have disappeared 7.698
Then the Tor Browser starts 22.160
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.870
After features/support/hooks.rb:326 1.842
After features/support/hooks.rb:100 0.000