Project Number Date
test_Tails_ISO_devel 3732 11 Mar 2025, 13:06

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 50:18.093 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:43.844
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 2:2.305
And I update APT using apt 13.474
And I install "python3-behave" using apt 25.656
Then the Tails Persistent Storage behave tests pass 2.408
After features/support/hooks.rb:330 0.996
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.361
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 32.150
When I log in to a new session without activating the Persistent Storage 29.176
Then Tails is running from USB drive "__internal" 0.659
And persistence is disabled 0.843
But a Tails persistence partition exists on USB drive "__internal" 9.532
After features/support/hooks.rb:330 1.862
After features/support/hooks.rb:100 0.000
Tags: @product
4:15.083
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 45.843
Then Tails is running from USB drive "__internal" 0.520
When I create a file in the Persistent directory 0.143
And I create a persistent partition with the default settings 31.372
Then the file I created was copied to the Persistent Storage 0.570
When I shutdown Tails and wait for the computer to power off 14.243
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:41.845
Then persistence for "Persistent" is active 0.425
And the file I created in the Persistent directory exists 0.118
After features/support/hooks.rb:330 2.183
After features/support/hooks.rb:100 0.015
Tags: @product
1:19.359
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 without a persistent partition and logged in 18.640
And the system is very low on memory 3.924
When I create a file in the Persistent directory 1.080
When I try to create a persistent partition 28.288
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.577
When I close the Persistent Storage app 2.676
And I free up some memory 2.028
And I create a persistent partition with the default settings 21.576
Then the file I created was copied to the Persistent Storage 0.565
After features/support/hooks.rb:330 2.527
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.063
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 27.507
Then Tails is running from USB drive "__internal" 0.846
And all tps features are active 3.389
And all persistent directories have safe access rights 2.788
When I disable the first tps feature 6.592
Then all tps features but the first one are active 2.755
And I shutdown Tails and wait for the computer to power off 17.563
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.100
Then all tps features but the first one are active 2.518
After features/support/hooks.rb:330 1.262
After features/support/hooks.rb:100 0.007
Tags: @product
24.097
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 13.428
Then persistence for "Persistent" is active 0.126
And I create a file in the Persistent directory 0.230
Then the file I created was copied to the Persistent Storage 0.148
When I disable the first tps feature 6.572
Then persistence for "Persistent" is not active 0.153
And the Persistent directory does not exist 0.112
When I enable the first tps feature 3.163
Then persistence for "Persistent" is active 0.086
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 1.391
After features/support/hooks.rb:100 0.000
Tags: @product
20.611
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 9.656
Then persistence for "Persistent" is active 0.100
When I create a file in the Persistent directory 0.072
And I disable the first tps feature 6.781
And I delete the data of the Persistent Folder feature 3.932
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:330 1.641
After features/support/hooks.rb:100 0.000
Tags: @product
1:15.692
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 10.172
And the network is plugged 0.679
And Tor is ready 22.299
And I take note of which tps features are available 5.035
When I write some files expected to persist 1.464
And I shutdown Tails and wait for the computer to power off 10.682
# 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.359
After features/support/hooks.rb:330 0.126
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.736
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.357
And the network is plugged 0.160
And Tor is ready 22.606
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.218
And I shutdown Tails and wait for the computer to power off 9.089
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.322
And I capture all network traffic 0.007
And the network is plugged 0.085
And Tor is ready 22.264
And I switch to the "persistent-con-current" NetworkManager connection 0.396
And the 1st network device has a spoofed MAC address configured 0.087
And no network device leaked the real MAC address 0.139
After features/support/hooks.rb:330 0.606
After features/support/hooks.rb:100 0.051
Tags: @product
1:3.610
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 stopped at Tails Greeter's login screen 15.828
And I enable persistence creation in Tails Greeter 1.145
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.045
Then I create a persistent partition with the default settings using the wizard that was already open 23.590
After features/support/hooks.rb:330 2.349
After features/support/hooks.rb:100 0.000
Tags: @product
4:48.755
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 13.248
When I enable persistence 45.480
Then no persistent Greeter options were restored 14.274
When I set all Greeter options to non-default values 27.356
And I log in to a new session in German (de) after having activated the Persistent Storage 57.380
Then all Greeter options are set to non-default values 0.419
When I cold reboot the computer 7.930
And the computer reboots Tails 1:4.079
Given I enable persistence 19.176
Then persistent Greeter options were restored 0.580
When I log in to a new session after having activated the Persistent Storage 38.396
Then all Greeter options are set to non-default values 0.430
After features/support/hooks.rb:330 1.806
After features/support/hooks.rb:100 0.045
Tags: @product
3:53.292
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.650
# 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.252
And I shutdown Tails and wait for the computer to power off 12.639
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.188
And I change the passphrase of the Persistent Storage back to the original 41.561
After features/support/hooks.rb:330 2.345
After features/support/hooks.rb:100 0.007
Tags: @product
1:1.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 and stopped at Tails Greeter's login screen 9.796
And I log in to a new session without activating the Persistent Storage 21.520
Then persistence is disabled 0.436
But a Tails persistence partition exists on USB drive "__internal" 11.370
And all notifications have disappeared 11.643
When I delete the persistent partition 6.056
Then there is no persistence partition on USB drive "__internal" 0.462
After features/support/hooks.rb:330 1.762
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.951
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 9.130
When I write some dotfile expected to persist 0.179
And I shutdown Tails and wait for the computer to power off 10.660
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.550
Then the expected persistent dotfile is present in the filesystem 0.430
After features/support/hooks.rb:330 1.141
After features/support/hooks.rb:100 0.010
Tags: @product
1:42.759
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 10.034
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.093
When I try to enable persistence 0.286
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.348
When I log in to a new session after having activated the Persistent Storage 42.156
And all notifications have disappeared 9.267
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.948
And all tps features are enabled 3.216
And all tps features but the first one are active 2.405
After features/support/hooks.rb:330 1.718
After features/support/hooks.rb:100 0.000
Tags: @product
9:24.561
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 7:58.199
And I enable persistence 37.619
And I log in to a new session after having activated the Persistent Storage 41.862
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.931
And persistence is enabled 3.948
After features/support/hooks.rb:330 1.641
After features/support/hooks.rb:100 0.000
Tags: @product
54.408
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 15.476
And I enable persistence but something goes wrong during the LUKS header upgrade 38.140
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.791
After features/support/hooks.rb:330 1.019
After features/support/hooks.rb:100 0.000
Tags: @product
58.658
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 11.300
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.552
When I enable persistence 37.581
Then the filesystem of the Persistent Storage was repaired 0.099
And persistence is successfully enabled 3.124
After features/support/hooks.rb:330 1.857
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.177
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.486
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.954
When I try to enable persistence 0.483
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.745
When I repair the filesystem of the Persistent Storage 2.276
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.368
And the filesystem of the Persistent Storage was repaired 3.149
When I close the filesystem repair dialog 1.810
Then persistence is successfully enabled 1.904
After features/support/hooks.rb:330 1.978
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:26.807
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 11.452
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.136
When I try to enable persistence 0.298
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 50.874
When I repair the filesystem of the Persistent Storage 1.248
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.076
When I log in to a new session 45.951
And all notifications have disappeared 10.676
# 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.575
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.625
When I close the "whisperback" window 1.589
Then the Tor Browser starts 22.289
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.014
After features/support/hooks.rb:330 3.271
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.972
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.597
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.052
And Tails detects disk read failures on the boot device 1.610
When I try to enable persistence 0.437
Then the Welcome Screen tells me that my hardware is probably failing 21.331
When I log in to a new session 49.982
And all notifications have disappeared 9.306
Then the Tor Browser starts 19.835
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.819
After features/support/hooks.rb:330 2.085
After features/support/hooks.rb:100 0.000