Project Number Date
test_Tails_ISO_devel 3795 29 Apr 2025, 19:16

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 41:21.900 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.972
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:40.141
And I update APT using apt 15.515
And I install "python3-behave" using apt 26.656
Then the Tails Persistent Storage behave tests pass 3.660
After features/support/hooks.rb:330 1.115
After features/support/hooks.rb:100 0.000
Tags: @product
42.695
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 11.825
When I log in to a new session without activating the Persistent Storage 22.380
Then Tails is running from USB drive "__internal" 0.476
And persistence is disabled 0.374
But a Tails persistence partition exists on USB drive "__internal" 7.638
After features/support/hooks.rb:330 1.558
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.406
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 15.878
Then Tails is running from USB drive "__internal" 0.538
When I create a file in the Persistent directory 0.139
And I create a persistent partition with the default settings 23.673
Then the file I created was copied to the Persistent Storage 2.498
When I shutdown Tails and wait for the computer to power off 15.156
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.078
Then persistence for "Persistent" is active 0.377
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:330 2.134
After features/support/hooks.rb:100 0.011
Tags: @product
54.731
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 10.812
And the system is very low on memory 3.315
When I create a file in the Persistent directory 1.038
When I try to create a persistent partition 19.132
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.398
When I close the Persistent Storage app 2.669
And I free up some memory 3.307
And I create a persistent partition with the default settings 13.638
Then the file I created was copied to the Persistent Storage 0.418
After features/support/hooks.rb:330 2.119
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.082
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 17.279
Then Tails is running from USB drive "__internal" 1.487
And all tps features are active 2.727
And all persistent directories have safe access rights 2.700
When I disable the first tps feature 6.386
Then all tps features but the first one are active 2.231
And I shutdown Tails and wait for the computer to power off 14.958
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.207
Then all tps features but the first one are active 2.103
After features/support/hooks.rb:330 1.408
After features/support/hooks.rb:100 0.046
Tags: @product
22.515
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.114
Then persistence for "Persistent" is active 0.220
And I create a file in the Persistent directory 0.086
Then the file I created was copied to the Persistent Storage 0.203
When I disable the first tps feature 7.234
Then persistence for "Persistent" is not active 0.070
And the Persistent directory does not exist 0.058
When I enable the first tps feature 3.383
Then persistence for "Persistent" is active 0.072
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:330 1.539
After features/support/hooks.rb:100 0.000
Tags: @product
22.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 with a persistent partition enabled and logged in 11.172
Then persistence for "Persistent" is active 0.737
When I create a file in the Persistent directory 0.216
And I disable the first tps feature 6.163
And I delete the data of the Persistent Folder feature 4.532
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:330 1.376
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.614
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.305
And the network is plugged 0.070
And Tor is ready 24.686
And I take note of which tps features are available 0.580
When I write some files expected to persist 1.546
And I shutdown Tails and wait for the computer to power off 8.891
# 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.533
After features/support/hooks.rb:330 0.174
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.178
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.791
And the network is plugged 0.094
And Tor is ready 22.023
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.194
And I shutdown Tails and wait for the computer to power off 8.698
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.150
And I capture all network traffic 0.008
And the network is plugged 0.071
And Tor is ready 20.469
And I switch to the "persistent-con-current" NetworkManager connection 0.437
And the 1st network device has a spoofed MAC address configured 0.078
And no network device leaked the real MAC address 0.159
After features/support/hooks.rb:330 0.592
After features/support/hooks.rb:100 0.066
Tags: @product
56.990
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 12.821
And I enable persistence creation in Tails Greeter 1.160
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.829
Then I create a persistent partition with the default settings using the wizard that was already open 22.178
After features/support/hooks.rb:330 2.399
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.797
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 and stopped at Tails Greeter's login screen 14.853
When I enable persistence 34.828
Then no persistent Greeter options were restored 14.397
When I set all Greeter options to non-default values 24.385
And I log in to a new session in German (de) after having activated the Persistent Storage 44.039
Then all Greeter options are set to non-default values 0.544
When I cold reboot the computer 7.483
And the computer reboots Tails 1:6.622
Given I enable persistence 18.479
Then persistent Greeter options were restored 0.517
When I log in to a new session after having activated the Persistent Storage 40.219
Then all Greeter options are set to non-default values 0.426
After features/support/hooks.rb:330 1.698
After features/support/hooks.rb:100 0.010
Tags: @product
3:47.669
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.976
# 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.519
And I shutdown Tails and wait for the computer to power off 13.129
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:18.330
And I change the passphrase of the Persistent Storage back to the original 29.713
After features/support/hooks.rb:330 2.686
After features/support/hooks.rb:100 0.011
Tags: @product
54.926
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.829
And I log in to a new session without activating the Persistent Storage 20.536
Then persistence is disabled 0.274
But a Tails persistence partition exists on USB drive "__internal" 6.368
And all notifications have disappeared 9.857
When I delete the persistent partition 7.168
Then there is no persistence partition on USB drive "__internal" 0.892
After features/support/hooks.rb:330 1.584
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.288
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 11.350
When I write some dotfile expected to persist 0.180
And I shutdown Tails and wait for the computer to power off 8.485
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.871
Then the expected persistent dotfile is present in the filesystem 0.400
After features/support/hooks.rb:330 1.395
After features/support/hooks.rb:100 0.042
Tags: @product
1:46.455
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.251
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 0.291
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.023
When I log in to a new session after having activated the Persistent Storage 45.370
And all notifications have disappeared 7.887
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.523
And all tps features are enabled 3.099
And all tps features but the first one are active 1.929
After features/support/hooks.rb:330 2.926
After features/support/hooks.rb:100 0.000
Tags: @product
5:20.480
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.021
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 4:4.704
And I enable persistence 29.945
And I log in to a new session after having activated the Persistent Storage 40.134
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.116
And persistence is enabled 2.577
After features/support/hooks.rb:330 2.214
After features/support/hooks.rb:100 0.000
Tags: @product
32.487
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 9.315
And I enable persistence but something goes wrong during the LUKS header upgrade 22.361
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.811
After features/support/hooks.rb:330 0.698
After features/support/hooks.rb:100 0.000
Tags: @product
47.178
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.154
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.911
When I enable persistence 30.119
Then the filesystem of the Persistent Storage was repaired 0.101
And persistence is successfully enabled 2.892
After features/support/hooks.rb:330 1.525
After features/support/hooks.rb:100 0.000
Tags: @product
50.036
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 and stopped at Tails Greeter's login screen 9.158
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.587
When I try to enable persistence 0.461
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.715
When I repair the filesystem of the Persistent Storage 1.305
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.071
And the filesystem of the Persistent Storage was repaired 2.937
When I close the filesystem repair dialog 1.279
Then persistence is successfully enabled 1.518
After features/support/hooks.rb:330 2.167
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.166
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.900
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.282
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.786
When I repair the filesystem of the Persistent Storage 1.217
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.094
When I log in to a new session 41.696
And all notifications have disappeared 8.948
# 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.818
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.448
When I close the "whisperback" window 1.443
Then the Tor Browser starts 21.558
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.860
After features/support/hooks.rb:330 1.748
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.346
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.887
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.209
And Tails detects disk read failures on the boot device 1.514
When I try to enable persistence 0.421
Then the Welcome Screen tells me that my hardware is probably failing 19.252
When I log in to a new session 50.770
And all notifications have disappeared 7.804
Then the Tor Browser starts 21.537
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.947
After features/support/hooks.rb:330 1.660
After features/support/hooks.rb:100 0.000