Project Number Date
test_Tails_ISO_stable 5545 02 Apr 2025, 16:58

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 48:55.008 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
7:9.095
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:54.674
And I update APT using apt 44.070
And I install "python3-behave" using apt 4:27.434
Then the Tails Persistent Storage behave tests pass 2.916
After features/support/hooks.rb:330 1.148
After features/support/hooks.rb:100 0.000
Tags: @product
49.904
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 and stopped at Tails Greeter's login screen 12.221
When I log in to a new session without activating the Persistent Storage 26.844
Then Tails is running from USB drive "__internal" 0.612
And persistence is disabled 0.426
But a Tails persistence partition exists on USB drive "__internal" 9.799
After features/support/hooks.rb:330 1.094
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.917
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 13.769
Then Tails is running from USB drive "__internal" 0.525
When I create a file in the Persistent directory 0.194
And I create a persistent partition with the default settings 28.707
Then the file I created was copied to the Persistent Storage 2.327
When I shutdown Tails and wait for the computer to power off 12.948
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.073
Then persistence for "Persistent" is active 1.259
And the file I created in the Persistent directory exists 0.110
After features/support/hooks.rb:330 0.723
After features/support/hooks.rb:100 0.010
Tags: @product
1:1.727
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.109
And the system is very low on memory 3.828
When I create a file in the Persistent directory 1.466
When I try to create a persistent partition 24.384
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.265
When I close the Persistent Storage app 2.638
And I free up some memory 3.437
And I create a persistent partition with the default settings 14.232
Then the file I created was copied to the Persistent Storage 0.365
After features/support/hooks.rb:330 2.487
After features/support/hooks.rb:100 0.000
Tags: @product
3:32.669
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 47.395
Then Tails is running from USB drive "__internal" 0.393
And all tps features are active 2.636
And all persistent directories have safe access rights 2.972
When I disable the first tps feature 5.680
Then all tps features but the first one are active 2.268
And I shutdown Tails and wait for the computer to power off 11.402
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.540
Then all tps features but the first one are active 2.380
After features/support/hooks.rb:330 1.359
After features/support/hooks.rb:100 0.010
Tags: @product
20.548
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.559
Then persistence for "Persistent" is active 0.142
And I create a file in the Persistent directory 0.120
Then the file I created was copied to the Persistent Storage 0.123
When I disable the first tps feature 5.909
Then persistence for "Persistent" is not active 0.066
And the Persistent directory does not exist 0.058
When I enable the first tps feature 3.373
Then persistence for "Persistent" is active 0.082
And the file I created in the Persistent directory exists 0.110
After features/support/hooks.rb:330 1.265
After features/support/hooks.rb:100 0.000
Tags: @product
20.342
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.820
Then persistence for "Persistent" is active 0.089
When I create a file in the Persistent directory 0.467
And I disable the first tps feature 5.868
And I delete the data of the Persistent Folder feature 4.031
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:330 1.527
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.707
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 11.522
And the network is plugged 0.399
And Tor is ready 24.204
And I take note of which tps features are available 0.558
When I write some files expected to persist 1.644
And I shutdown Tails and wait for the computer to power off 8.911
# 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.466
After features/support/hooks.rb:330 0.107
After features/support/hooks.rb:100 0.000
Tags: @product
3:49.340
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.237
And the network is plugged 0.132
And Tor is ready 48.729
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.274
And I shutdown Tails and wait for the computer to power off 8.937
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.918
And I capture all network traffic 0.009
And the network is plugged 0.097
And Tor is ready 22.413
And I switch to the "persistent-con-current" NetworkManager connection 0.301
And the 1st network device has a spoofed MAC address configured 0.151
And no network device leaked the real MAC address 0.136
After features/support/hooks.rb:330 1.179
After features/support/hooks.rb:100 0.130
Tags: @product
1:38.123
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.027
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 42.248
And I enable persistence creation in Tails Greeter 1.187
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.192
Then I create a persistent partition with the default settings using the wizard that was already open 31.495
After features/support/hooks.rb:330 3.939
After features/support/hooks.rb:100 0.000
Tags: @product
4:51.804
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 and stopped at Tails Greeter's login screen 20.064
When I enable persistence 41.538
Then no persistent Greeter options were restored 14.762
When I set all Greeter options to non-default values 30.448
And I log in to a new session in German (de) after having activated the Persistent Storage 51.530
Then all Greeter options are set to non-default values 0.456
When I cold reboot the computer 9.010
And the computer reboots Tails 1:3.895
Given I enable persistence 18.940
Then persistent Greeter options were restored 0.575
When I log in to a new session after having activated the Persistent Storage 40.076
Then all Greeter options are set to non-default values 0.505
After features/support/hooks.rb:330 2.321
After features/support/hooks.rb:100 0.028
Tags: @product
3:45.129
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.567
# 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 34.202
And I shutdown Tails and wait for the computer to power off 15.098
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.589
And I change the passphrase of the Persistent Storage back to the original 33.670
After features/support/hooks.rb:330 2.603
After features/support/hooks.rb:100 0.015
Tags: @product
1:1.861
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 10.020
And I log in to a new session without activating the Persistent Storage 21.283
Then persistence is disabled 0.581
But a Tails persistence partition exists on USB drive "__internal" 10.160
And all notifications have disappeared 11.407
When I delete the persistent partition 7.559
Then there is no persistence partition on USB drive "__internal" 0.849
After features/support/hooks.rb:330 1.139
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.498
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 9.670
When I write some dotfile expected to persist 0.059
And I shutdown Tails and wait for the computer to power off 10.637
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.499
Then the expected persistent dotfile is present in the filesystem 0.631
After features/support/hooks.rb:330 1.182
After features/support/hooks.rb:100 0.010
Tags: @product
1:51.538
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 9.407
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.098
When I try to enable persistence 0.286
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.711
When I log in to a new session after having activated the Persistent Storage 49.158
And all notifications have disappeared 9.461
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.187
And all tps features are enabled 3.099
And all tps features but the first one are active 2.129
After features/support/hooks.rb:330 1.169
After features/support/hooks.rb:100 0.000
Tags: @product
5:8.121
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 3:44.006
And I enable persistence 31.376
And I log in to a new session after having activated the Persistent Storage 47.933
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.865
And persistence is enabled 2.939
After features/support/hooks.rb:330 1.311
After features/support/hooks.rb:100 0.000
Tags: @product
32.115
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.929
And I enable persistence but something goes wrong during the LUKS header upgrade 22.440
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.744
After features/support/hooks.rb:330 0.693
After features/support/hooks.rb:100 0.000
Tags: @product
44.813
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 8.916
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.236
When I enable persistence 27.684
Then the filesystem of the Persistent Storage was repaired 0.084
And persistence is successfully enabled 2.890
After features/support/hooks.rb:330 1.212
After features/support/hooks.rb:100 0.000
Tags: @product
54.494
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 and stopped at Tails Greeter's login screen 9.120
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.196
When I try to enable persistence 0.414
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.220
When I repair the filesystem of the Persistent Storage 3.249
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.244
And the filesystem of the Persistent Storage was repaired 4.028
When I close the filesystem repair dialog 1.302
Then persistence is successfully enabled 1.717
After features/support/hooks.rb:330 1.189
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.802
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 8.903
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.098
When I try to enable persistence 1.592
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.511
When I repair the filesystem of the Persistent Storage 5.148
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 47.936
And all notifications have disappeared 8.330
# 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.317
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.480
When I close the "whisperback" window 1.785
Then the Tor Browser starts 20.558
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.062
After features/support/hooks.rb:330 2.695
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:5.451
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 9.402
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.274
And Tails detects disk read failures on the boot device 0.589
When I try to enable persistence 1.617
Then the Welcome Screen tells me that my hardware is probably failing 22.744
When I log in to a new session 51.626
And all notifications have disappeared 8.787
Then the Tor Browser starts 22.457
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.951
After features/support/hooks.rb:330 2.691
After features/support/hooks.rb:100 0.000