Project Number Date
test_Tails_ISO_feature-arti 38 23 Apr 2025, 17:04

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 54:53.814 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:31.573
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:49.188
And I update APT using apt 44.633
And I install "python3-behave" using apt 54.715
Then the Tails Persistent Storage behave tests pass 3.036
After features/support/hooks.rb:330 0.911
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.230
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 28.684
When I log in to a new session without activating the Persistent Storage 27.892
Then Tails is running from USB drive "__internal" 0.864
And persistence is disabled 0.411
But a Tails persistence partition exists on USB drive "__internal" 8.377
After features/support/hooks.rb:330 1.318
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.747
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 1:6.854
Then Tails is running from USB drive "__internal" 0.498
When I create a file in the Persistent directory 0.147
And I create a persistent partition with the default settings 25.501
Then the file I created was copied to the Persistent Storage 2.559
When I shutdown Tails and wait for the computer to power off 16.279
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:36.430
Then persistence for "Persistent" is active 0.396
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:330 1.997
After features/support/hooks.rb:100 0.009
Tags: @product
1:15.881
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 without a persistent partition and logged in 27.643
And the system is very low on memory 5.482
When I create a file in the Persistent directory 0.589
When I try to create a persistent partition 22.060
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.231
When I close the Persistent Storage app 2.658
And I free up some memory 2.829
And I create a persistent partition with the default settings 14.106
Then the file I created was copied to the Persistent Storage 0.278
After features/support/hooks.rb:330 2.205
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.926
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 25.358
Then Tails is running from USB drive "__internal" 0.896
And all tps features are active 2.681
And all persistent directories have safe access rights 2.902
When I disable the first tps feature 5.724
Then all tps features but the first one are active 2.460
And I shutdown Tails and wait for the computer to power off 16.254
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.939
Then all tps features but the first one are active 2.708
After features/support/hooks.rb:330 1.274
After features/support/hooks.rb:100 0.023
Tags: @product
37.223
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 26.837
Then persistence for "Persistent" is active 0.189
And I create a file in the Persistent directory 0.116
Then the file I created was copied to the Persistent Storage 0.083
When I disable the first tps feature 6.510
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.185
Then persistence for "Persistent" is active 0.089
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.386
After features/support/hooks.rb:100 0.000
Tags: @product
20.634
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.527
Then persistence for "Persistent" is active 0.148
When I create a file in the Persistent directory 0.069
And I disable the first tps feature 6.197
And I delete the data of the Persistent Folder feature 3.622
Then the file I created does not exist on the Persistent Storage 0.068
After features/support/hooks.rb:330 1.440
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.529
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.502
And the network is plugged 0.113
And Tor is ready 24.562
And I take note of which tps features are available 0.832
When I write some files expected to persist 1.746
And I shutdown Tails and wait for the computer to power off 9.414
# 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.357
After features/support/hooks.rb:330 0.158
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.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 with a persistent partition enabled and logged in 10.199
And the network is plugged 0.108
And Tor is ready 20.141
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.188
And I shutdown Tails and wait for the computer to power off 8.478
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.904
And I capture all network traffic 0.008
And the network is plugged 0.096
And Tor is ready 20.072
And I switch to the "persistent-con-current" NetworkManager connection 0.471
And the 1st network device has a spoofed MAC address configured 0.083
And no network device leaked the real MAC address 0.164
After features/support/hooks.rb:330 5.366
After features/support/hooks.rb:100 0.085
Tags: @product
1:40.061
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 51.273
And I enable persistence creation in Tails Greeter 1.151
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.977
Then I create a persistent partition with the default settings using the wizard that was already open 23.658
After features/support/hooks.rb:330 3.877
After features/support/hooks.rb:100 0.000
Tags: @product
5:51.799
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 39.132
When I enable persistence 1:9.382
Then no persistent Greeter options were restored 14.501
When I set all Greeter options to non-default values 26.939
And I log in to a new session in German (de) after having activated the Persistent Storage 46.818
Then all Greeter options are set to non-default values 0.584
When I cold reboot the computer 7.985
And the computer reboots Tails 1:15.858
Given I enable persistence 24.710
Then persistent Greeter options were restored 0.812
When I log in to a new session after having activated the Persistent Storage 44.516
Then all Greeter options are set to non-default values 0.558
After features/support/hooks.rb:330 2.416
After features/support/hooks.rb:100 0.008
Tags: @product
4:29.675
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 13.521
# 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 43.188
And I shutdown Tails and wait for the computer to power off 15.583
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:29.707
And I change the passphrase of the Persistent Storage back to the original 47.674
After features/support/hooks.rb:330 2.308
After features/support/hooks.rb:100 0.011
Tags: @product
1:10.542
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 14.702
And I log in to a new session without activating the Persistent Storage 23.637
Then persistence is disabled 0.580
But a Tails persistence partition exists on USB drive "__internal" 12.395
And all notifications have disappeared 11.429
When I delete the persistent partition 6.820
Then there is no persistence partition on USB drive "__internal" 0.976
After features/support/hooks.rb:330 1.350
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.375
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 11.714
When I write some dotfile expected to persist 0.117
And I shutdown Tails and wait for the computer to power off 11.257
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:37.872
Then the expected persistent dotfile is present in the filesystem 0.413
After features/support/hooks.rb:330 1.619
After features/support/hooks.rb:100 0.010
Tags: @product
2:9.218
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 17.128
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.103
When I try to enable persistence 0.308
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.407
When I log in to a new session after having activated the Persistent Storage 55.930
And all notifications have disappeared 7.760
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.441
And all tps features are enabled 2.666
And all tps features but the first one are active 2.470
After features/support/hooks.rb:330 2.180
After features/support/hooks.rb:100 0.000
Tags: @product
10:30.352
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 9:6.420
And I enable persistence 39.961
And I log in to a new session after having activated the Persistent Storage 38.480
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.943
And persistence is enabled 3.546
After features/support/hooks.rb:330 2.368
After features/support/hooks.rb:100 0.000
Tags: @product
39.576
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 11.148
And I enable persistence but something goes wrong during the LUKS header upgrade 27.620
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.806
After features/support/hooks.rb:330 0.722
After features/support/hooks.rb:100 0.000
Tags: @product
54.086
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 and stopped at Tails Greeter's login screen 9.905
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.080
When I enable persistence 32.837
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 3.173
After features/support/hooks.rb:330 2.276
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.313
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.848
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.023
When I try to enable persistence 0.471
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.537
When I repair the filesystem of the Persistent Storage 1.909
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.184
And the filesystem of the Persistent Storage was repaired 4.243
When I close the filesystem repair dialog 1.308
Then persistence is successfully enabled 1.786
After features/support/hooks.rb:330 3.341
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.439
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.709
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.106
When I try to enable persistence 0.306
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 38.421
When I repair the filesystem of the Persistent Storage 1.266
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.090
When I log in to a new session 39.782
And all notifications have disappeared 7.639
# 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.373
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.367
When I close the "whisperback" window 1.654
Then the Tor Browser starts 20.835
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.887
After features/support/hooks.rb:330 2.348
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:16.707
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.195
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.998
And Tails detects disk read failures on the boot device 1.710
When I try to enable persistence 0.463
Then the Welcome Screen tells me that my hardware is probably failing 28.836
When I log in to a new session 56.234
And all notifications have disappeared 9.344
Then the Tor Browser starts 22.926
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.997
After features/support/hooks.rb:330 1.936
After features/support/hooks.rb:100 0.000