Project Number Date
test_Tails_ISO_feature-arti 2 19 Mar 2025, 16: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 51:15.629 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:17.021
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:35.766
And I update APT using apt 4:13.302
And I install "python3-behave" using apt 25.635
Then the Tails Persistent Storage behave tests pass 2.317
After features/support/hooks.rb:330 0.863
After features/support/hooks.rb:100 0.000
Tags: @product
44.992
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 11.591
When I log in to a new session without activating the Persistent Storage 25.459
Then Tails is running from USB drive "__internal" 0.467
And persistence is disabled 0.393
But a Tails persistence partition exists on USB drive "__internal" 7.080
After features/support/hooks.rb:330 1.673
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.261
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 12.481
Then Tails is running from USB drive "__internal" 0.472
When I create a file in the Persistent directory 0.139
And I create a persistent partition with the default settings 26.119
Then the file I created was copied to the Persistent Storage 0.631
When I shutdown Tails and wait for the computer to power off 13.038
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.868
Then persistence for "Persistent" is active 0.413
And the file I created in the Persistent directory exists 0.095
After features/support/hooks.rb:330 2.890
After features/support/hooks.rb:100 0.012
Tags: @product
1:6.843
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 11.876
And the system is very low on memory 4.376
When I create a file in the Persistent directory 0.862
When I try to create a persistent partition 30.020
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.208
When I close the Persistent Storage app 3.225
And I free up some memory 1.705
And I create a persistent partition with the default settings 14.325
Then the file I created was copied to the Persistent Storage 0.240
After features/support/hooks.rb:330 2.164
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.109
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 12.789
Then Tails is running from USB drive "__internal" 1.266
And all tps features are active 2.701
And all persistent directories have safe access rights 2.887
When I disable the first tps feature 6.367
Then all tps features but the first one are active 2.995
And I shutdown Tails and wait for the computer to power off 15.146
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.207
Then all tps features but the first one are active 2.747
After features/support/hooks.rb:330 1.476
After features/support/hooks.rb:100 0.010
Tags: @product
22.481
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 12.834
Then persistence for "Persistent" is active 0.210
And I create a file in the Persistent directory 0.109
Then the file I created was copied to the Persistent Storage 0.086
When I disable the first tps feature 5.783
Then persistence for "Persistent" is not active 0.079
And the Persistent directory does not exist 0.052
When I enable the first tps feature 3.173
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 1.470
After features/support/hooks.rb:100 0.000
Tags: @product
20.702
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 10.776
Then persistence for "Persistent" is active 0.150
When I create a file in the Persistent directory 0.239
And I disable the first tps feature 5.861
And I delete the data of the Persistent Folder feature 3.608
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:330 1.467
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.635
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.547
And the network is plugged 0.085
And Tor is ready 17.458
And I take note of which tps features are available 0.682
When I write some files expected to persist 1.666
And I shutdown Tails and wait for the computer to power off 8.794
# 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.400
After features/support/hooks.rb:330 0.129
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.649
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 9.731
And the network is plugged 0.119
And Tor is ready 18.628
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.308
And I shutdown Tails and wait for the computer to power off 8.798
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.386
And I capture all network traffic 0.011
And the network is plugged 0.092
And Tor is ready 18.863
And I switch to the "persistent-con-current" NetworkManager connection 0.443
And the 1st network device has a spoofed MAC address configured 0.092
And no network device leaked the real MAC address 0.172
After features/support/hooks.rb:330 0.662
After features/support/hooks.rb:100 0.053
Tags: @product
1:24.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 without a persistent partition and stopped at Tails Greeter's login screen 31.376
And I enable persistence creation in Tails Greeter 1.193
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.030
Then I create a persistent partition with the default settings using the wizard that was already open 27.739
After features/support/hooks.rb:330 2.195
After features/support/hooks.rb:100 0.000
Tags: @product
4:55.755
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 15.440
When I enable persistence 54.123
Then no persistent Greeter options were restored 15.159
When I set all Greeter options to non-default values 25.789
And I log in to a new session in German (de) after having activated the Persistent Storage 46.729
Then all Greeter options are set to non-default values 0.482
When I cold reboot the computer 7.519
And the computer reboots Tails 1:8.278
Given I enable persistence 19.172
Then persistent Greeter options were restored 0.604
When I log in to a new session after having activated the Persistent Storage 41.987
Then all Greeter options are set to non-default values 0.468
After features/support/hooks.rb:330 2.410
After features/support/hooks.rb:100 0.011
Tags: @product
4:16.305
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 16.121
# 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.871
And I shutdown Tails and wait for the computer to power off 10.674
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:29.464
And I change the passphrase of the Persistent Storage back to the original 41.174
After features/support/hooks.rb:330 1.579
After features/support/hooks.rb:100 0.011
Tags: @product
54.729
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.822
And I log in to a new session without activating the Persistent Storage 21.089
Then persistence is disabled 1.267
But a Tails persistence partition exists on USB drive "__internal" 7.889
And all notifications have disappeared 7.495
When I delete the persistent partition 6.671
Then there is no persistence partition on USB drive "__internal" 0.493
After features/support/hooks.rb:330 1.519
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.130
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 10.866
When I write some dotfile expected to persist 0.134
And I shutdown Tails and wait for the computer to power off 10.711
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.596
Then the expected persistent dotfile is present in the filesystem 0.821
After features/support/hooks.rb:330 2.312
After features/support/hooks.rb:100 0.011
Tags: @product
1:49.165
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.181
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.319
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 42.290
When I log in to a new session after having activated the Persistent Storage 36.975
And all notifications have disappeared 9.041
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.014
And all tps features are enabled 3.005
And all tps features but the first one are active 2.251
After features/support/hooks.rb:330 2.164
After features/support/hooks.rb:100 0.000
Tags: @product
7:55.051
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 6:10.476
And I enable persistence 48.947
And I log in to a new session after having activated the Persistent Storage 49.998
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.428
And persistence is enabled 3.200
After features/support/hooks.rb:330 2.524
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.554
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 39.901
And I enable persistence but something goes wrong during the LUKS header upgrade 30.683
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.968
After features/support/hooks.rb:330 0.713
After features/support/hooks.rb:100 0.000
Tags: @product
55.652
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 11.236
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.925
When I enable persistence 34.047
Then the filesystem of the Persistent Storage was repaired 0.101
And persistence is successfully enabled 3.340
After features/support/hooks.rb:330 2.089
After features/support/hooks.rb:100 0.000
Tags: @product
59.035
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 12.557
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.482
When I try to enable persistence 0.507
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.441
When I repair the filesystem of the Persistent Storage 3.576
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.720
And the filesystem of the Persistent Storage was repaired 1.626
When I close the filesystem repair dialog 2.200
Then persistence is successfully enabled 1.922
After features/support/hooks.rb:330 3.599
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:9.643
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.739
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.163
When I try to enable persistence 0.286
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.919
When I repair the filesystem of the Persistent Storage 2.500
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.152
When I log in to a new session 46.131
And all notifications have disappeared 12.425
# 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.654
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.685
When I close the "whisperback" window 1.445
Then the Tor Browser starts 20.375
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.162
After features/support/hooks.rb:330 3.813
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.568
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 10.245
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.295
And Tails detects disk read failures on the boot device 1.690
When I try to enable persistence 0.539
Then the Welcome Screen tells me that my hardware is probably failing 24.334
When I log in to a new session 49.510
And all notifications have disappeared 8.136
Then the Tor Browser starts 19.101
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.714
After features/support/hooks.rb:330 3.215
After features/support/hooks.rb:100 0.000