Project Number Date
test_Tails_ISO_stable 5372 07 Jan 2025, 16:15

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:56.473 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.859
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:40.019
And I update APT using apt 14.327
And I install "python3-behave" using apt 25.413
Then the Tails Persistent Storage behave tests pass 2.098
After features/support/hooks.rb:326 0.662
After features/support/hooks.rb:100 0.000
Tags: @product
52.316
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.759
When I log in to a new session without activating the Persistent Storage 25.393
Then Tails is running from USB drive "__internal" 0.626
And persistence is disabled 0.298
But a Tails persistence partition exists on USB drive "__internal" 14.239
After features/support/hooks.rb:326 1.900
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.473
Before features/support/hooks.rb:269 0.093
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.060
Then Tails is running from USB drive "__internal" 0.505
When I create a file in the Persistent directory 0.278
And I create a persistent partition with the default settings 23.024
Then the file I created was copied to the Persistent Storage 0.720
When I shutdown Tails and wait for the computer to power off 12.792
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.637
Then persistence for "Persistent" is active 0.374
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:326 1.043
After features/support/hooks.rb:100 0.009
Tags: @product
1:3.804
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 11.918
And the system is very low on memory 6.222
When I create a file in the Persistent directory 1.369
When I try to create a persistent partition 26.796
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.195
When I close the Persistent Storage app 2.595
And I free up some memory 1.730
And I create a persistent partition with the default settings 12.721
Then the file I created was copied to the Persistent Storage 0.253
After features/support/hooks.rb:326 1.393
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.675
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 14.136
Then Tails is running from USB drive "__internal" 0.469
And all tps features are active 2.337
And all persistent directories have safe access rights 2.571
When I disable the first tps feature 6.290
Then all tps features but the first one are active 2.372
And I shutdown Tails and wait for the computer to power off 14.726
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.019
Then all tps features but the first one are active 2.751
After features/support/hooks.rb:326 0.644
After features/support/hooks.rb:100 0.007
Tags: @product
20.968
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.872
Then persistence for "Persistent" is active 0.080
And I create a file in the Persistent directory 0.074
Then the file I created was copied to the Persistent Storage 0.080
When I disable the first tps feature 6.284
Then persistence for "Persistent" is not active 0.107
And the Persistent directory does not exist 0.079
When I enable the first tps feature 3.208
Then persistence for "Persistent" is active 0.093
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:326 0.789
After features/support/hooks.rb:100 0.000
Tags: @product
20.582
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.155
Then persistence for "Persistent" is active 0.195
When I create a file in the Persistent directory 0.070
And I disable the first tps feature 5.734
And I delete the data of the Persistent Folder feature 4.361
Then the file I created does not exist on the Persistent Storage 0.064
After features/support/hooks.rb:326 0.853
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.047
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.189
And the network is plugged 0.078
And Tor is ready 20.804
And I take note of which tps features are available 0.688
When I write some files expected to persist 1.560
And I shutdown Tails and wait for the computer to power off 9.869
# 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.856
After features/support/hooks.rb:326 0.160
After features/support/hooks.rb:100 0.000
Tags: @product
3:52.451
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.688
And the network is plugged 0.138
And Tor is ready 48.706
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.238
And I shutdown Tails and wait for the computer to power off 8.535
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.772
And I capture all network traffic 0.008
And the network is plugged 0.111
And Tor is ready 22.576
And I switch to the "persistent-con-current" NetworkManager connection 0.430
And the 1st network device has a spoofed MAC address configured 0.075
And no network device leaked the real MAC address 0.170
After features/support/hooks.rb:326 0.668
After features/support/hooks.rb:100 0.103
Tags: @product
1:0.670
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 14.841
And I enable persistence creation in Tails Greeter 1.120
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.410
Then I create a persistent partition with the default settings using the wizard that was already open 24.297
After features/support/hooks.rb:326 1.501
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.507
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 11.530
When I enable persistence 45.073
Then no persistent Greeter options were restored 15.075
When I set all Greeter options to non-default values 28.739
And I log in to a new session in German (de) after having activated the Persistent Storage 46.050
Then all Greeter options are set to non-default values 0.747
When I cold reboot the computer 7.593
And the computer reboots Tails 1:3.825
Given I enable persistence 20.389
Then persistent Greeter options were restored 0.502
When I log in to a new session after having activated the Persistent Storage 41.539
Then all Greeter options are set to non-default values 0.439
After features/support/hooks.rb:326 0.821
After features/support/hooks.rb:100 0.010
Tags: @product
3:49.239
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 10.606
# 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 35.372
And I shutdown Tails and wait for the computer to power off 14.573
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.403
And I change the passphrase of the Persistent Storage back to the original 34.283
After features/support/hooks.rb:326 2.025
After features/support/hooks.rb:100 0.009
Tags: @product
1:4.291
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.901
And I log in to a new session without activating the Persistent Storage 24.035
Then persistence is disabled 0.478
But a Tails persistence partition exists on USB drive "__internal" 11.607
And all notifications have disappeared 11.029
When I delete the persistent partition 6.798
Then there is no persistence partition on USB drive "__internal" 0.440
After features/support/hooks.rb:326 0.842
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.382
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 23.892
When I write some dotfile expected to persist 0.064
And I shutdown Tails and wait for the computer to power off 8.807
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.133
Then the expected persistent dotfile is present in the filesystem 0.484
After features/support/hooks.rb:326 0.851
After features/support/hooks.rb:100 0.010
Tags: @product
1:53.394
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.626
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.096
When I try to enable persistence 0.289
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.829
When I log in to a new session after having activated the Persistent Storage 46.302
And all notifications have disappeared 9.728
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.397
And all tps features are enabled 2.796
And all tps features but the first one are active 2.327
After features/support/hooks.rb:326 0.941
After features/support/hooks.rb:100 0.000
Tags: @product
5:43.895
Before features/support/hooks.rb:269 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 4:9.187
And I enable persistence 42.954
And I log in to a new session after having activated the Persistent Storage 45.908
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.910
And persistence is enabled 2.935
After features/support/hooks.rb:326 0.919
After features/support/hooks.rb:100 0.000
Tags: @product
29.527
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.883
And I enable persistence but something goes wrong during the LUKS header upgrade 19.853
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.789
After features/support/hooks.rb:326 0.819
After features/support/hooks.rb:100 0.000
Tags: @product
58.225
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.504
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.577
When I enable persistence 37.071
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 2.984
After features/support/hooks.rb:326 1.270
After features/support/hooks.rb:100 0.000
Tags: @product
26.815
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.154
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.714
When I try to enable persistence 0.499
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.278
When I repair the filesystem of the Persistent Storage 1.204
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.191
And the filesystem of the Persistent Storage was repaired 0.084
When I close the filesystem repair dialog 1.231
Then persistence is successfully enabled 1.456
After features/support/hooks.rb:326 0.944
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.584
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.055
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.107
When I try to enable persistence 0.386
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 40.392
When I repair the filesystem of the Persistent Storage 1.338
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.091
When I log in to a new session 51.197
And all notifications have disappeared 11.255
# 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.515
When I close the "whisperback" window 1.340
Then the Tor Browser starts 11.348
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.969
After features/support/hooks.rb:326 1.830
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:14.759
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 8.797
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.342
And Tails detects disk read failures on the boot device 0.446
When I try to enable persistence 0.496
Then the Welcome Screen tells me that my hardware is probably failing 5.561
When I log in to a new session 21.084
And all notifications have disappeared 9.076
Then the Tor Browser starts 20.262
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.690
After features/support/hooks.rb:326 1.274
After features/support/hooks.rb:100 0.000