Project Number Date
test_Tails_ISO_feature-arti 51 07 May 2025, 17:44

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 51:17.012 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:59.398
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:50.058
And I update APT using apt 36.610
And I install "python3-behave" using apt 29.549
Then the Tails Persistent Storage behave tests pass 3.179
After features/support/hooks.rb:330 1.840
After features/support/hooks.rb:100 0.000
Tags: @product
56.353
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 15.380
When I log in to a new session without activating the Persistent Storage 30.292
Then Tails is running from USB drive "__internal" 0.763
And persistence is disabled 0.407
But a Tails persistence partition exists on USB drive "__internal" 9.509
After features/support/hooks.rb:330 3.300
After features/support/hooks.rb:100 0.000
Tags: @product
4:8.161
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 40.826
Then Tails is running from USB drive "__internal" 0.818
When I create a file in the Persistent directory 0.164
And I create a persistent partition with the default settings 30.652
Then the file I created was copied to the Persistent Storage 2.686
When I shutdown Tails and wait for the computer to power off 13.624
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:38.983
Then persistence for "Persistent" is active 0.318
And the file I created in the Persistent directory exists 0.087
After features/support/hooks.rb:330 1.118
After features/support/hooks.rb:100 0.010
Tags: @product
1:7.484
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 14.857
And the system is very low on memory 8.766
When I create a file in the Persistent directory 0.874
When I try to create a persistent partition 23.945
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.199
When I close the Persistent Storage app 3.000
And I free up some memory 2.835
And I create a persistent partition with the default settings 12.591
Then the file I created was copied to the Persistent Storage 0.412
After features/support/hooks.rb:330 2.198
After features/support/hooks.rb:100 0.000
Tags: @product
3:39.716
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 27.415
Then Tails is running from USB drive "__internal" 0.772
And all tps features are active 3.034
And all persistent directories have safe access rights 3.115
When I disable the first tps feature 6.646
Then all tps features but the first one are active 3.442
And I shutdown Tails and wait for the computer to power off 22.928
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.376
Then all tps features but the first one are active 2.985
After features/support/hooks.rb:330 1.749
After features/support/hooks.rb:100 0.011
Tags: @product
25.610
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 14.399
Then persistence for "Persistent" is active 0.113
And I create a file in the Persistent directory 0.154
Then the file I created was copied to the Persistent Storage 0.087
When I disable the first tps feature 6.741
Then persistence for "Persistent" is not active 0.089
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.778
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.101
After features/support/hooks.rb:330 0.923
After features/support/hooks.rb:100 0.000
Tags: @product
36.734
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 enabled and logged in 26.051
Then persistence for "Persistent" is active 0.091
When I create a file in the Persistent directory 0.070
And I disable the first tps feature 6.196
And I delete the data of the Persistent Folder feature 4.247
Then the file I created does not exist on the Persistent Storage 0.078
After features/support/hooks.rb:330 1.115
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.494
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 enabled and logged in 11.062
And the network is plugged 0.097
And Tor is ready 21.358
And I take note of which tps features are available 0.698
When I write some files expected to persist 1.913
And I shutdown Tails and wait for the computer to power off 9.319
# 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" 27.043
After features/support/hooks.rb:330 0.161
After features/support/hooks.rb:100 0.000
Tags: @product
3:55.876
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 14.541
And the network is plugged 0.778
And Tor is ready 17.836
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.209
And I shutdown Tails and wait for the computer to power off 13.103
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.719
And I capture all network traffic 0.007
And the network is plugged 0.106
And Tor is ready 49.726
And I switch to the "persistent-con-current" NetworkManager connection 0.465
And the 1st network device has a spoofed MAC address configured 0.131
And no network device leaked the real MAC address 0.250
After features/support/hooks.rb:330 0.719
After features/support/hooks.rb:100 0.059
Tags: @product
2:4.295
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 stopped at Tails Greeter's login screen 1:8.562
And I enable persistence creation in Tails Greeter 1.153
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.038
Then I create a persistent partition with the default settings using the wizard that was already open 29.541
After features/support/hooks.rb:330 4.129
After features/support/hooks.rb:100 0.000
Tags: @product
5:16.913
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 22.454
When I enable persistence 54.645
Then no persistent Greeter options were restored 16.011
When I set all Greeter options to non-default values 30.641
And I log in to a new session in German (de) after having activated the Persistent Storage 46.076
Then all Greeter options are set to non-default values 0.371
When I cold reboot the computer 9.960
And the computer reboots Tails 1:13.822
Given I enable persistence 19.505
Then persistent Greeter options were restored 0.597
When I log in to a new session after having activated the Persistent Storage 42.406
Then all Greeter options are set to non-default values 0.419
After features/support/hooks.rb:330 1.910
After features/support/hooks.rb:100 0.009
Tags: @product
4:7.357
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 13.063
# 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.333
And I shutdown Tails and wait for the computer to power off 13.064
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:23.899
And I change the passphrase of the Persistent Storage back to the original 42.996
After features/support/hooks.rb:330 3.440
After features/support/hooks.rb:100 0.016
Tags: @product
1:11.358
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 and stopped at Tails Greeter's login screen 15.628
And I log in to a new session without activating the Persistent Storage 27.158
Then persistence is disabled 0.480
But a Tails persistence partition exists on USB drive "__internal" 10.540
And all notifications have disappeared 9.225
When I delete the persistent partition 7.013
Then there is no persistence partition on USB drive "__internal" 1.311
After features/support/hooks.rb:330 1.847
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.949
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.880
When I write some dotfile expected to persist 0.314
And I shutdown Tails and wait for the computer to power off 9.095
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:35.072
Then the expected persistent dotfile is present in the filesystem 0.586
After features/support/hooks.rb:330 1.825
After features/support/hooks.rb:100 0.025
Tags: @product
1:54.268
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 persistent partition and stopped at Tails Greeter's login screen 10.832
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.113
When I try to enable persistence 0.349
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.454
When I log in to a new session after having activated the Persistent Storage 51.693
And all notifications have disappeared 8.030
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.172
And all tps features are enabled 3.213
And all tps features but the first one are active 2.408
After features/support/hooks.rb:330 1.838
After features/support/hooks.rb:100 0.000
Tags: @product
8:12.328
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 6:46.839
And I enable persistence 36.439
And I log in to a new session after having activated the Persistent Storage 43.626
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.647
And persistence is enabled 3.775
After features/support/hooks.rb:330 2.918
After features/support/hooks.rb:100 0.000
Tags: @product
33.428
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.444
And I enable persistence but something goes wrong during the LUKS header upgrade 23.161
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.821
After features/support/hooks.rb:330 0.683
After features/support/hooks.rb:100 0.000
Tags: @product
49.164
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.300
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.229
When I enable persistence 30.516
Then the filesystem of the Persistent Storage was repaired 0.108
And persistence is successfully enabled 3.008
After features/support/hooks.rb:330 1.949
After features/support/hooks.rb:100 0.000
Tags: @product
55.492
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.535
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.917
When I try to enable persistence 1.694
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.815
When I repair the filesystem of the Persistent Storage 5.119
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.799
And the filesystem of the Persistent Storage was repaired 3.733
When I close the filesystem repair dialog 1.266
Then persistence is successfully enabled 1.609
After features/support/hooks.rb:330 1.623
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.048
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 8.974
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.142
When I try to enable persistence 0.339
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.376
When I repair the filesystem of the Persistent Storage 1.299
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.087
When I log in to a new session 39.308
And all notifications have disappeared 10.343
# 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.504
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.515
When I close the "whisperback" window 1.400
Then the Tor Browser starts 20.781
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.976
After features/support/hooks.rb:330 3.457
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:19.575
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 and stopped at Tails Greeter's login screen 9.063
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.828
And Tails detects disk read failures on the boot device 1.593
When I try to enable persistence 0.657
Then the Welcome Screen tells me that my hardware is probably failing 25.476
When I log in to a new session 51.032
And all notifications have disappeared 10.637
Then the Tor Browser starts 25.431
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.852
After features/support/hooks.rb:330 3.743
After features/support/hooks.rb:100 0.000