Project Number Date
test_Tails_ISO_21027-fix-interactive-debugging-context 2 16 Jun 2025, 20:34

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 48:49.102 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:48.235
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:56.798
And I update APT using apt 19.756
And I install "python3-behave" using apt 26.554
Then the Tails Persistent Storage behave tests pass 5.124
After features/support/hooks.rb:330 2.346
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.867
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 17.268
When I log in to a new session without activating the Persistent Storage 26.472
Then Tails is running from USB drive "__internal" 0.553
And persistence is disabled 0.529
But a Tails persistence partition exists on USB drive "__internal" 21.044
After features/support/hooks.rb:330 2.844
After features/support/hooks.rb:100 0.000
Tags: @product
3:56.037
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 without a persistent partition and logged in 16.336
Then Tails is running from USB drive "__internal" 0.527
When I create a file in the Persistent directory 0.132
And I create a persistent partition with the default settings 33.274
Then the file I created was copied to the Persistent Storage 3.106
When I shutdown Tails and wait for the computer to power off 13.223
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:49.057
Then persistence for "Persistent" is active 0.315
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:330 1.894
After features/support/hooks.rb:100 0.008
Tags: @product
1:8.654
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 without a persistent partition and logged in 13.977
And the system is very low on memory 4.298
When I create a file in the Persistent directory 1.160
When I try to create a persistent partition 25.395
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.706
When I close the Persistent Storage app 3.837
And I free up some memory 3.636
And I create a persistent partition with the default settings 15.124
Then the file I created was copied to the Persistent Storage 0.517
After features/support/hooks.rb:330 2.834
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.669
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 13.309
Then Tails is running from USB drive "__internal" 2.164
And all tps features are active 3.200
And all persistent directories have safe access rights 2.927
When I disable the first tps feature 6.782
Then all tps features but the first one are active 2.460
And I shutdown Tails and wait for the computer to power off 15.953
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.170
Then all tps features but the first one are active 2.701
After features/support/hooks.rb:330 1.455
After features/support/hooks.rb:100 0.010
Tags: @product
23.666
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.931
Then persistence for "Persistent" is active 0.227
And I create a file in the Persistent directory 0.286
Then the file I created was copied to the Persistent Storage 0.132
When I disable the first tps feature 6.619
Then persistence for "Persistent" is not active 0.091
And the Persistent directory does not exist 0.056
When I enable the first tps feature 3.175
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:330 1.637
After features/support/hooks.rb:100 0.000
Tags: @product
27.324
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 15.420
Then persistence for "Persistent" is active 0.078
When I create a file in the Persistent directory 0.121
And I disable the first tps feature 6.073
And I delete the data of the Persistent Folder feature 5.399
Then the file I created does not exist on the Persistent Storage 0.230
After features/support/hooks.rb:330 1.830
After features/support/hooks.rb:100 0.000
Tags: @product
1:23.236
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.742
And the network is plugged 0.104
And Tor is ready 27.236
And I take note of which tps features are available 0.742
When I write some files expected to persist 2.453
And I shutdown Tails and wait for the computer to power off 10.052
# 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" 31.903
After features/support/hooks.rb:330 0.191
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.372
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 enabled and logged in 9.636
And the network is plugged 0.068
And Tor is ready 48.955
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.304
And I shutdown Tails and wait for the computer to power off 11.224
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.596
And I capture all network traffic 0.007
And the network is plugged 0.071
And Tor is ready 50.622
And I switch to the "persistent-con-current" NetworkManager connection 0.399
And the 1st network device has a spoofed MAC address configured 0.252
And no network device leaked the real MAC address 0.233
After features/support/hooks.rb:330 1.322
After features/support/hooks.rb:100 0.054
Tags: @product
1:13.745
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 stopped at Tails Greeter's login screen 19.558
And I enable persistence creation in Tails Greeter 1.154
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.702
Then I create a persistent partition with the default settings using the wizard that was already open 25.329
After features/support/hooks.rb:330 4.087
After features/support/hooks.rb:100 0.000
Tags: @product
5:9.567
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 and stopped at Tails Greeter's login screen 17.157
When I enable persistence 50.309
Then no persistent Greeter options were restored 14.556
When I set all Greeter options to non-default values 30.660
And I log in to a new session in German (de) after having activated the Persistent Storage 45.617
Then all Greeter options are set to non-default values 0.686
When I cold reboot the computer 9.346
And the computer reboots Tails 1:9.505
Given I enable persistence 20.372
Then persistent Greeter options were restored 0.640
When I log in to a new session after having activated the Persistent Storage 50.261
Then all Greeter options are set to non-default values 0.454
After features/support/hooks.rb:330 0.924
After features/support/hooks.rb:100 0.008
Tags: @product
4:32.322
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.954
# 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 43.022
And I shutdown Tails and wait for the computer to power off 13.703
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:51.883
And I change the passphrase of the Persistent Storage back to the original 32.757
After features/support/hooks.rb:330 4.635
After features/support/hooks.rb:100 0.020
Tags: @product
1:5.682
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 11.329
And I log in to a new session without activating the Persistent Storage 24.058
Then persistence is disabled 1.126
But a Tails persistence partition exists on USB drive "__internal" 9.315
And all notifications have disappeared 11.414
When I delete the persistent partition 7.209
Then there is no persistence partition on USB drive "__internal" 1.228
After features/support/hooks.rb:330 1.312
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.433
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 13.214
When I write some dotfile expected to persist 0.091
And I shutdown Tails and wait for the computer to power off 11.491
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.611
Then the expected persistent dotfile is present in the filesystem 1.024
After features/support/hooks.rb:330 1.270
After features/support/hooks.rb:100 0.009
Tags: @product
2:1.627
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.895
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.277
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.112
When I log in to a new session after having activated the Persistent Storage 47.668
And all notifications have disappeared 11.762
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.137
And all tps features are enabled 5.438
And all tps features but the first one are active 3.248
After features/support/hooks.rb:330 2.062
After features/support/hooks.rb:100 0.000
Tags: @product
5:34.513
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:0.952
And I enable persistence 38.674
And I log in to a new session after having activated the Persistent Storage 48.626
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.417
And persistence is enabled 4.842
After features/support/hooks.rb:330 2.530
After features/support/hooks.rb:100 0.000
Tags: @product
37.513
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.839
And I enable persistence but something goes wrong during the LUKS header upgrade 25.519
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.154
After features/support/hooks.rb:330 1.083
After features/support/hooks.rb:100 0.000
Tags: @product
59.483
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.444
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.348
When I enable persistence 37.135
Then the filesystem of the Persistent Storage was repaired 0.185
And persistence is successfully enabled 4.369
After features/support/hooks.rb:330 1.967
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.276
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.679
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.263
When I try to enable persistence 0.521
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.884
When I repair the filesystem of the Persistent Storage 3.313
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.689
And the filesystem of the Persistent Storage was repaired 4.732
When I close the filesystem repair dialog 1.363
Then persistence is successfully enabled 1.828
After features/support/hooks.rb:330 1.888
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:11.910
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.765
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.176
When I try to enable persistence 2.051
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.695
When I repair the filesystem of the Persistent Storage 1.386
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.081
When I log in to a new session 48.824
And all notifications have disappeared 12.435
# 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" 2.649
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.007
When I close the "whisperback" window 1.539
Then the Tor Browser starts 14.391
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.906
After features/support/hooks.rb:330 2.534
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:23.961
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.149
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.312
And Tails detects disk read failures on the boot device 1.854
When I try to enable persistence 0.893
Then the Welcome Screen tells me that my hardware is probably failing 26.424
When I log in to a new session 57.069
And all notifications have disappeared 9.335
Then the Tor Browser starts 28.898
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.024
After features/support/hooks.rb:330 2.945
After features/support/hooks.rb:100 0.000