Project Number Date
test_Tails_ISO_devel 3729 07 Mar 2025, 13:11

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 46:8.758 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:24.961
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:41.841
And I update APT using apt 1:15.047
And I install "python3-behave" using apt 25.649
Then the Tails Persistent Storage behave tests pass 2.422
After features/support/hooks.rb:330 1.022
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.735
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 31.148
When I log in to a new session without activating the Persistent Storage 25.716
Then Tails is running from USB drive "__internal" 0.634
And persistence is disabled 0.444
But a Tails persistence partition exists on USB drive "__internal" 12.791
After features/support/hooks.rb:330 1.353
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.086
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 13.769
Then Tails is running from USB drive "__internal" 0.398
When I create a file in the Persistent directory 0.125
And I create a persistent partition with the default settings 26.107
Then the file I created was copied to the Persistent Storage 0.746
When I shutdown Tails and wait for the computer to power off 12.875
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.622
Then persistence for "Persistent" is active 2.373
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:330 1.778
After features/support/hooks.rb:100 0.012
Tags: @product
1:1.777
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 without a persistent partition and logged in 11.441
And the system is very low on memory 3.478
When I create a file in the Persistent directory 0.905
When I try to create a persistent partition 26.056
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.355
When I close the Persistent Storage app 2.914
And I free up some memory 1.988
And I create a persistent partition with the default settings 14.406
Then the file I created was copied to the Persistent Storage 0.229
After features/support/hooks.rb:330 2.340
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.051
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 15.277
Then Tails is running from USB drive "__internal" 1.288
And all tps features are active 2.406
And all persistent directories have safe access rights 2.673
When I disable the first tps feature 7.443
Then all tps features but the first one are active 3.097
And I shutdown Tails and wait for the computer to power off 13.209
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.478
Then all tps features but the first one are active 2.175
After features/support/hooks.rb:330 1.057
After features/support/hooks.rb:100 0.010
Tags: @product
24.534
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 12.749
Then persistence for "Persistent" is active 0.088
And I create a file in the Persistent directory 0.071
Then the file I created was copied to the Persistent Storage 0.131
When I disable the first tps feature 7.464
Then persistence for "Persistent" is not active 0.114
And the Persistent directory does not exist 0.076
When I enable the first tps feature 3.675
Then persistence for "Persistent" is active 0.072
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:330 1.280
After features/support/hooks.rb:100 0.000
Tags: @product
24.068
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 12.400
Then persistence for "Persistent" is active 0.140
When I create a file in the Persistent directory 0.095
And I disable the first tps feature 6.839
And I delete the data of the Persistent Folder feature 4.536
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:330 1.374
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.898
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 11.258
And the network is plugged 0.088
And Tor is ready 23.788
And I take note of which tps features are available 0.630
When I write some files expected to persist 1.572
And I shutdown Tails and wait for the computer to power off 8.683
# 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.876
After features/support/hooks.rb:330 0.104
After features/support/hooks.rb:100 0.000
Tags: @product
3:49.061
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 11.406
And the network is plugged 0.072
And Tor is ready 23.702
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.251
And I shutdown Tails and wait for the computer to power off 8.701
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.899
And I capture all network traffic 0.009
And the network is plugged 0.081
And Tor is ready 49.176
And I switch to the "persistent-con-current" NetworkManager connection 0.403
And the 1st network device has a spoofed MAC address configured 0.131
And no network device leaked the real MAC address 0.226
After features/support/hooks.rb:330 0.720
After features/support/hooks.rb:100 0.055
Tags: @product
1:12.268
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 16.441
And I enable persistence creation in Tails Greeter 1.197
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.553
Then I create a persistent partition with the default settings using the wizard that was already open 31.075
After features/support/hooks.rb:330 2.819
After features/support/hooks.rb:100 0.000
Tags: @product
4:46.273
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.237
When I enable persistence 36.728
Then no persistent Greeter options were restored 14.537
When I set all Greeter options to non-default values 27.204
And I log in to a new session in German (de) after having activated the Persistent Storage 56.795
Then all Greeter options are set to non-default values 0.382
When I cold reboot the computer 7.882
And the computer reboots Tails 1:7.846
Given I enable persistence 21.592
Then persistent Greeter options were restored 0.593
When I log in to a new session after having activated the Persistent Storage 42.137
Then all Greeter options are set to non-default values 0.335
After features/support/hooks.rb:330 1.630
After features/support/hooks.rb:100 0.011
Tags: @product
4:14.552
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 11.254
# 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.979
And I shutdown Tails and wait for the computer to power off 13.837
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:31.025
And I change the passphrase of the Persistent Storage back to the original 42.454
After features/support/hooks.rb:330 2.271
After features/support/hooks.rb:100 0.011
Tags: @product
1:4.672
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.580
And I log in to a new session without activating the Persistent Storage 26.598
Then persistence is disabled 0.755
But a Tails persistence partition exists on USB drive "__internal" 7.805
And all notifications have disappeared 11.922
When I delete the persistent partition 7.634
Then there is no persistence partition on USB drive "__internal" 0.375
After features/support/hooks.rb:330 1.239
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.209
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 11.030
When I write some dotfile expected to persist 0.082
And I shutdown Tails and wait for the computer to power off 10.584
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:39.109
Then the expected persistent dotfile is present in the filesystem 0.401
After features/support/hooks.rb:330 1.482
After features/support/hooks.rb:100 0.010
Tags: @product
1:47.569
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.873
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.112
When I try to enable persistence 0.326
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.009
When I log in to a new session after having activated the Persistent Storage 44.735
And all notifications have disappeared 8.406
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.555
And all tps features are enabled 3.022
And all tps features but the first one are active 4.527
After features/support/hooks.rb:330 1.565
After features/support/hooks.rb:100 0.000
Tags: @product
5:13.677
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:49.242
And I enable persistence 32.360
And I log in to a new session after having activated the Persistent Storage 44.905
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.518
And persistence is enabled 4.650
After features/support/hooks.rb:330 1.295
After features/support/hooks.rb:100 0.000
Tags: @product
36.390
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 12.590
And I enable persistence but something goes wrong during the LUKS header upgrade 23.054
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.745
After features/support/hooks.rb:330 0.736
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.027
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.619
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.997
When I enable persistence 42.295
Then the filesystem of the Persistent Storage was repaired 0.106
And persistence is successfully enabled 3.008
After features/support/hooks.rb:330 1.276
After features/support/hooks.rb:100 0.000
Tags: @product
1:15.563
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 23.122
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.982
When I try to enable persistence 0.423
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.536
When I repair the filesystem of the Persistent Storage 6.464
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.727
And the filesystem of the Persistent Storage was repaired 2.351
When I close the filesystem repair dialog 1.306
Then persistence is successfully enabled 1.648
After features/support/hooks.rb:330 2.895
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.963
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.967
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.123
When I try to enable persistence 0.313
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.652
When I repair the filesystem of the Persistent Storage 1.345
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 38.601
And all notifications have disappeared 8.635
# 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.829
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.039
When I close the "whisperback" window 1.573
Then the Tor Browser starts 19.972
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.828
After features/support/hooks.rb:330 3.706
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.417
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.779
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.852
And Tails detects disk read failures on the boot device 1.745
When I try to enable persistence 0.502
Then the Welcome Screen tells me that my hardware is probably failing 19.982
When I log in to a new session 46.529
And all notifications have disappeared 10.318
Then the Tor Browser starts 20.856
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.850
After features/support/hooks.rb:330 2.534
After features/support/hooks.rb:100 0.000