Project Number Date
test_Tails_ISO_stable 5400 17 Jan 2025, 08:35

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 38:15.069 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:10.914
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:32.409
And I update APT using apt 13.561
And I install "python3-behave" using apt 22.413
Then the Tails Persistent Storage behave tests pass 2.529
After features/support/hooks.rb:326 0.581
After features/support/hooks.rb:100 0.000
Tags: @product
40.519
Before features/support/hooks.rb:269 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.732
When I log in to a new session without activating the Persistent Storage 19.702
Then Tails is running from USB drive "__internal" 0.603
And persistence is disabled 0.445
But a Tails persistence partition exists on USB drive "__internal" 9.035
After features/support/hooks.rb:326 1.237
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.214
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.556
Then Tails is running from USB drive "__internal" 0.346
When I create a file in the Persistent directory 0.180
And I create a persistent partition with the default settings 23.550
Then the file I created was copied to the Persistent Storage 0.505
When I shutdown Tails and wait for the computer to power off 10.577
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.053
Then persistence for "Persistent" is active 0.381
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:326 2.044
After features/support/hooks.rb:100 0.009
Tags: @product
1:0.310
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.859
And the system is very low on memory 4.600
When I create a file in the Persistent directory 1.265
When I try to create a persistent partition 24.399
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.328
When I close the Persistent Storage app 2.657
And I free up some memory 1.306
And I create a persistent partition with the default settings 14.668
Then the file I created was copied to the Persistent Storage 0.224
After features/support/hooks.rb:326 1.499
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.726
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.950
Then Tails is running from USB drive "__internal" 0.708
And all tps features are active 3.204
And all persistent directories have safe access rights 2.541
When I disable the first tps feature 6.480
Then all tps features but the first one are active 2.027
And I shutdown Tails and wait for the computer to power off 12.790
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.825
Then all tps features but the first one are active 2.197
After features/support/hooks.rb:326 0.617
After features/support/hooks.rb:100 0.009
Tags: @product
35.381
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 24.895
Then persistence for "Persistent" is active 0.169
And I create a file in the Persistent directory 0.090
Then the file I created was copied to the Persistent Storage 0.110
When I disable the first tps feature 6.129
Then persistence for "Persistent" is not active 0.080
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.703
Then persistence for "Persistent" is active 0.067
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 0.810
After features/support/hooks.rb:100 0.000
Tags: @product
23.549
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.541
Then persistence for "Persistent" is active 1.037
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 7.217
And I delete the data of the Persistent Folder feature 4.608
Then the file I created does not exist on the Persistent Storage 0.068
After features/support/hooks.rb:326 1.080
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.628
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.714
And the network is plugged 0.085
And Tor is ready 19.059
And I take note of which tps features are available 0.591
When I write some files expected to persist 1.385
And I shutdown Tails and wait for the computer to power off 8.548
# 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.244
After features/support/hooks.rb:326 0.094
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.721
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.626
And the network is plugged 0.096
And Tor is ready 22.544
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.202
And I shutdown Tails and wait for the computer to power off 8.494
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.935
And I capture all network traffic 0.013
And the network is plugged 0.080
And Tor is ready 20.196
And I switch to the "persistent-con-current" NetworkManager connection 0.334
And the 1st network device has a spoofed MAC address configured 0.073
And no network device leaked the real MAC address 0.121
After features/support/hooks.rb:326 0.646
After features/support/hooks.rb:100 0.051
Tags: @product
55.840
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.114
And I enable persistence creation in Tails Greeter 1.102
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.814
Then I create a persistent partition with the default settings using the wizard that was already open 22.809
After features/support/hooks.rb:326 1.338
After features/support/hooks.rb:100 0.000
Tags: @product
4:17.038
Before features/support/hooks.rb:269 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.347
When I enable persistence 33.515
Then no persistent Greeter options were restored 14.383
When I set all Greeter options to non-default values 24.327
And I log in to a new session in German (de) after having activated the Persistent Storage 51.320
Then all Greeter options are set to non-default values 0.634
When I cold reboot the computer 7.473
And the computer reboots Tails 59.204
Given I enable persistence 18.117
Then persistent Greeter options were restored 0.511
When I log in to a new session after having activated the Persistent Storage 35.738
Then all Greeter options are set to non-default values 0.462
After features/support/hooks.rb:326 1.586
After features/support/hooks.rb:100 0.009
Tags: @product
3:46.322
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.950
# 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 31.968
And I shutdown Tails and wait for the computer to power off 12.787
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:13.429
And I change the passphrase of the Persistent Storage back to the original 37.187
After features/support/hooks.rb:326 2.452
After features/support/hooks.rb:100 0.009
Tags: @product
55.927
Before features/support/hooks.rb:269 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.959
And I log in to a new session without activating the Persistent Storage 19.264
Then persistence is disabled 0.321
But a Tails persistence partition exists on USB drive "__internal" 10.500
And all notifications have disappeared 9.584
When I delete the persistent partition 5.895
Then there is no persistence partition on USB drive "__internal" 0.401
After features/support/hooks.rb:326 0.950
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.599
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.599
When I write some dotfile expected to persist 0.069
And I shutdown Tails and wait for the computer to power off 8.676
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.915
Then the expected persistent dotfile is present in the filesystem 0.338
After features/support/hooks.rb:326 0.709
After features/support/hooks.rb:100 0.007
Tags: @product
1:35.107
Before features/support/hooks.rb:269 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.294
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.072
When I try to enable persistence 0.317
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.980
When I log in to a new session after having activated the Persistent Storage 40.658
And all notifications have disappeared 7.893
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.879
And all tps features are enabled 2.631
And all tps features but the first one are active 2.378
After features/support/hooks.rb:326 1.081
After features/support/hooks.rb:100 0.000
Tags: @product
4:49.265
Before features/support/hooks.rb:269 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:20.149
And I enable persistence 32.918
And I log in to a new session after having activated the Persistent Storage 49.725
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.300
And persistence is enabled 3.171
After features/support/hooks.rb:326 1.137
After features/support/hooks.rb:100 0.000
Tags: @product
27.905
Before features/support/hooks.rb:269 0.006
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 8.367
And I enable persistence but something goes wrong during the LUKS header upgrade 18.731
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.806
After features/support/hooks.rb:326 0.846
After features/support/hooks.rb:100 0.000
Tags: @product
47.614
Before features/support/hooks.rb:269 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 8.884
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.747
When I enable persistence 30.201
Then the filesystem of the Persistent Storage was repaired 0.108
And persistence is successfully enabled 2.672
After features/support/hooks.rb:326 0.969
After features/support/hooks.rb:100 0.000
Tags: @product
25.291
Before features/support/hooks.rb:269 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.176
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.515
When I try to enable persistence 0.604
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.742
When I repair the filesystem of the Persistent Storage 1.245
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.262
And the filesystem of the Persistent Storage was repaired 0.078
When I close the filesystem repair dialog 1.232
Then persistence is successfully enabled 1.433
After features/support/hooks.rb:326 1.095
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.289
Before features/support/hooks.rb:269 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 8.791
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.100
When I try to enable persistence 0.257
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.535
When I repair the filesystem of the Persistent Storage 1.229
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.088
When I log in to a new session 37.414
And all notifications have disappeared 7.366
# 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" 1.565
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.301
When I close the "whisperback" window 1.717
Then the Tor Browser starts 19.298
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.621
After features/support/hooks.rb:326 2.140
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:11.901
Before features/support/hooks.rb:269 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.585
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.384
And Tails detects disk read failures on the boot device 1.588
When I try to enable persistence 0.401
Then the Welcome Screen tells me that my hardware is probably failing 5.396
When I log in to a new session 21.017
And all notifications have disappeared 6.953
Then the Tor Browser starts 21.778
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.796
After features/support/hooks.rb:326 1.303
After features/support/hooks.rb:100 0.000