Project Number Date
test_Tails_ISO_21027-fix-interactive-debugging-context 12 27 Jun 2025, 21:31

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 57:46.692 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:4.589
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.022
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:11.420
And I update APT using apt 18.650
And I install "python3-behave" using apt 29.896
Then the Tails Persistent Storage behave tests pass 4.622
After features/support/hooks.rb:330 2.242
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.141
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 11.734
When I log in to a new session without activating the Persistent Storage 37.360
Then Tails is running from USB drive "__internal" 0.876
And persistence is disabled 0.505
But a Tails persistence partition exists on USB drive "__internal" 18.665
After features/support/hooks.rb:330 2.550
After features/support/hooks.rb:100 0.000
Tags: @product
4:18.213
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.041
Given I have started Tails without network from a USB drive without a persistent partition and logged in 19.830
Then Tails is running from USB drive "__internal" 2.342
When I create a file in the Persistent directory 0.561
And I create a persistent partition with the default settings 30.372
Then the file I created was copied to the Persistent Storage 2.107
When I shutdown Tails and wait for the computer to power off 14.404
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:7.109
Then persistence for "Persistent" is active 1.320
And the file I created in the Persistent directory exists 0.164
After features/support/hooks.rb:330 0.689
After features/support/hooks.rb:100 0.021
Tags: @product
1:30.948
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.124
And the system is very low on memory 3.696
When I create a file in the Persistent directory 3.457
When I try to create a persistent partition 32.942
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.636
When I close the Persistent Storage app 3.532
And I free up some memory 7.260
And I create a persistent partition with the default settings 20.451
Then the file I created was copied to the Persistent Storage 0.846
After features/support/hooks.rb:330 2.237
After features/support/hooks.rb:100 0.000
Tags: @product
4:21.855
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 38.671
Then Tails is running from USB drive "__internal" 0.896
And all tps features are active 2.594
And all persistent directories have safe access rights 3.559
When I disable the first tps feature 11.021
Then all tps features but the first one are active 2.762
And I shutdown Tails and wait for the computer to power off 16.978
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:2.943
Then all tps features but the first one are active 2.427
After features/support/hooks.rb:330 0.848
After features/support/hooks.rb:100 0.011
Tags: @product
29.908
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 16.637
Then persistence for "Persistent" is active 0.229
And I create a file in the Persistent directory 0.136
Then the file I created was copied to the Persistent Storage 0.130
When I disable the first tps feature 6.331
Then persistence for "Persistent" is not active 0.119
And the Persistent directory does not exist 0.056
When I enable the first tps feature 6.058
Then persistence for "Persistent" is active 0.125
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:330 1.891
After features/support/hooks.rb:100 0.000
Tags: @product
30.008
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.412
Then persistence for "Persistent" is active 1.643
When I create a file in the Persistent directory 0.709
And I disable the first tps feature 9.161
And I delete the data of the Persistent Folder feature 4.002
Then the file I created does not exist on the Persistent Storage 0.079
After features/support/hooks.rb:330 1.688
After features/support/hooks.rb:100 0.000
Tags: @product
1:38.631
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 16.256
And the network is plugged 0.112
And Tor is ready 26.564
And I take note of which tps features are available 1.385
When I write some files expected to persist 3.611
And I shutdown Tails and wait for the computer to power off 14.105
# 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" 36.594
After features/support/hooks.rb:330 0.131
After features/support/hooks.rb:100 0.000
Tags: @product
4:27.710
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 18.574
And the network is plugged 0.201
And Tor is ready 28.151
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.508
And I shutdown Tails and wait for the computer to power off 9.049
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:0.107
And I capture all network traffic 0.009
And the network is plugged 0.079
And Tor is ready 25.672
And I switch to the "persistent-con-current" NetworkManager connection 0.963
And the 1st network device has a spoofed MAC address configured 2.457
And no network device leaked the real MAC address 1.935
After features/support/hooks.rb:330 1.485
After features/support/hooks.rb:100 0.064
Tags: @product
1:24.679
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 14.985
And I enable persistence creation in Tails Greeter 3.326
And I log in to a new session expecting no warning about the Persistent Storage not being activated 29.046
Then I create a persistent partition with the default settings using the wizard that was already open 37.321
After features/support/hooks.rb:330 3.465
After features/support/hooks.rb:100 0.000
Tags: @product
6:16.487
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 18.284
When I enable persistence 1:3.511
Then no persistent Greeter options were restored 16.704
When I set all Greeter options to non-default values 39.401
And I log in to a new session in German (de) after having activated the Persistent Storage 1:0.931
Then all Greeter options are set to non-default values 0.439
When I cold reboot the computer 13.070
And the computer reboots Tails 1:21.980
Given I enable persistence 23.287
Then persistent Greeter options were restored 0.593
When I log in to a new session after having activated the Persistent Storage 57.833
Then all Greeter options are set to non-default values 0.448
After features/support/hooks.rb:330 2.030
After features/support/hooks.rb:100 0.011
Tags: @product
4:43.750
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 15.514
# 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 39.753
And I shutdown Tails and wait for the computer to power off 17.266
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:51.476
And I change the passphrase of the Persistent Storage back to the original 39.740
After features/support/hooks.rb:330 4.857
After features/support/hooks.rb:100 0.036
Tags: @product
1:22.559
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.024
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.372
And I log in to a new session without activating the Persistent Storage 28.984
Then persistence is disabled 0.938
But a Tails persistence partition exists on USB drive "__internal" 8.811
And all notifications have disappeared 13.707
When I delete the persistent partition 14.576
Then there is no persistence partition on USB drive "__internal" 1.167
After features/support/hooks.rb:330 3.603
After features/support/hooks.rb:100 0.000
Tags: @product
3:32.754
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.167
When I write some dotfile expected to persist 1.076
And I shutdown Tails and wait for the computer to power off 13.266
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:2.800
Then the expected persistent dotfile is present in the filesystem 1.444
After features/support/hooks.rb:330 4.794
After features/support/hooks.rb:100 0.051
Tags: @product
2:46.098
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.049
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.272
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.073
When I try to enable persistence 0.304
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 57.948
When I log in to a new session after having activated the Persistent Storage 1:10.043
And all notifications have disappeared 10.928
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 8.054
And all tps features are enabled 4.432
And all tps features but the first one are active 3.039
After features/support/hooks.rb:330 2.294
After features/support/hooks.rb:100 0.000
Tags: @product
7:15.421
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 5:19.416
And I enable persistence 51.013
And I log in to a new session after having activated the Persistent Storage 55.056
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.894
And persistence is enabled 5.041
After features/support/hooks.rb:330 2.008
After features/support/hooks.rb:100 0.000
Tags: @product
45.184
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 10.443
And I enable persistence but something goes wrong during the LUKS header upgrade 33.538
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.203
After features/support/hooks.rb:330 1.130
After features/support/hooks.rb:100 0.000
Tags: @product
1:19.778
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 16.211
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 12.884
When I enable persistence 47.264
Then the filesystem of the Persistent Storage was repaired 0.082
And persistence is successfully enabled 3.336
After features/support/hooks.rb:330 5.362
After features/support/hooks.rb:100 0.000
Tags: @product
1:28.506
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.032
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.479
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.373
When I try to enable persistence 1.024
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 48.743
When I repair the filesystem of the Persistent Storage 3.076
Then the Welcome Screen tells me that the filesystem was repaired successfully 2.951
And the filesystem of the Persistent Storage was repaired 5.031
When I close the filesystem repair dialog 1.245
Then persistence is successfully enabled 1.579
After features/support/hooks.rb:330 1.802
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:46.038
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 12.122
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.202
When I try to enable persistence 1.009
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 51.105
When I repair the filesystem of the Persistent Storage 1.305
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 58.655
And all notifications have disappeared 14.763
# 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.431
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.998
When I close the "whisperback" window 1.454
Then the Tor Browser starts 22.714
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.199
After features/support/hooks.rb:330 7.115
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:34.423
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.026
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.573
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.113
And Tails detects disk read failures on the boot device 1.017
When I try to enable persistence 0.824
Then the Welcome Screen tells me that my hardware is probably failing 29.454
When I log in to a new session 1:7.452
And all notifications have disappeared 10.377
Then the Tor Browser starts 21.000
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 3.608
After features/support/hooks.rb:330 7.761
After features/support/hooks.rb:100 0.000