Project Number Date
test_Tails_ISO_tca-misc-improvements 13 20 Apr 2025, 18:01

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 42:38.130 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:29.311
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:43.332
And I update APT using apt 16.220
And I install "python3-behave" using apt 26.507
Then the Tails Persistent Storage behave tests pass 3.251
After features/support/hooks.rb:330 0.796
After features/support/hooks.rb:100 0.000
Tags: @product
53.215
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 11.844
When I log in to a new session without activating the Persistent Storage 30.359
Then Tails is running from USB drive "__internal" 0.848
And persistence is disabled 0.436
But a Tails persistence partition exists on USB drive "__internal" 9.725
After features/support/hooks.rb:330 1.710
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.948
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 12.438
Then Tails is running from USB drive "__internal" 2.207
When I create a file in the Persistent directory 0.175
And I create a persistent partition with the default settings 27.093
Then the file I created was copied to the Persistent Storage 2.857
When I shutdown Tails and wait for the computer to power off 13.293
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.332
Then persistence for "Persistent" is active 0.446
And the file I created in the Persistent directory exists 0.104
After features/support/hooks.rb:330 2.445
After features/support/hooks.rb:100 0.009
Tags: @product
1:6.944
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 11.469
And the system is very low on memory 4.326
When I create a file in the Persistent directory 1.738
When I try to create a persistent partition 29.595
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.166
When I close the Persistent Storage app 2.666
And I free up some memory 3.049
And I create a persistent partition with the default settings 13.264
Then the file I created was copied to the Persistent Storage 0.667
After features/support/hooks.rb:330 2.504
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.903
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 20.674
Then Tails is running from USB drive "__internal" 1.339
And all tps features are active 2.423
And all persistent directories have safe access rights 2.714
When I disable the first tps feature 5.521
Then all tps features but the first one are active 2.221
And I shutdown Tails and wait for the computer to power off 17.601
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.658
Then all tps features but the first one are active 2.748
After features/support/hooks.rb:330 1.749
After features/support/hooks.rb:100 0.008
Tags: @product
21.355
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 10.643
Then persistence for "Persistent" is active 0.468
And I create a file in the Persistent directory 0.116
Then the file I created was copied to the Persistent Storage 0.113
When I disable the first tps feature 6.569
Then persistence for "Persistent" is not active 0.106
And the Persistent directory does not exist 0.047
When I enable the first tps feature 3.143
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 1.810
After features/support/hooks.rb:100 0.000
Tags: @product
21.840
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.699
Then persistence for "Persistent" is active 0.155
When I create a file in the Persistent directory 0.212
And I disable the first tps feature 6.669
And I delete the data of the Persistent Folder feature 4.040
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:330 1.761
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.482
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.328
And the network is plugged 0.104
And Tor is ready 21.496
And I take note of which tps features are available 0.685
When I write some files expected to persist 1.812
And I shutdown Tails and wait for the computer to power off 9.892
# 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.162
After features/support/hooks.rb:330 0.123
After features/support/hooks.rb:100 0.000
Tags: @product
3:55.580
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.811
And the network is plugged 0.168
And Tor is ready 49.292
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 10.832
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.515
And I capture all network traffic 0.037
And the network is plugged 0.079
And Tor is ready 20.916
And I switch to the "persistent-con-current" NetworkManager connection 0.358
And the 1st network device has a spoofed MAC address configured 0.233
And no network device leaked the real MAC address 0.140
After features/support/hooks.rb:330 0.728
After features/support/hooks.rb:100 0.052
Tags: @product
58.255
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 13.777
And I enable persistence creation in Tails Greeter 1.132
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.505
Then I create a persistent partition with the default settings using the wizard that was already open 22.840
After features/support/hooks.rb:330 2.264
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.521
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 12.163
When I enable persistence 38.084
Then no persistent Greeter options were restored 14.581
When I set all Greeter options to non-default values 24.554
And I log in to a new session in German (de) after having activated the Persistent Storage 52.974
Then all Greeter options are set to non-default values 0.431
When I cold reboot the computer 7.442
And the computer reboots Tails 1:2.434
Given I enable persistence 15.702
Then persistent Greeter options were restored 0.557
When I log in to a new session after having activated the Persistent Storage 39.141
Then all Greeter options are set to non-default values 0.452
After features/support/hooks.rb:330 1.237
After features/support/hooks.rb:100 0.009
Tags: @product
3:49.697
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.972
# 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 36.589
And I shutdown Tails and wait for the computer to power off 16.411
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.144
And I change the passphrase of the Persistent Storage back to the original 34.578
After features/support/hooks.rb:330 4.025
After features/support/hooks.rb:100 0.009
Tags: @product
52.829
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.742
And I log in to a new session without activating the Persistent Storage 20.917
Then persistence is disabled 0.243
But a Tails persistence partition exists on USB drive "__internal" 6.222
And all notifications have disappeared 8.460
When I delete the persistent partition 6.342
Then there is no persistence partition on USB drive "__internal" 0.899
After features/support/hooks.rb:330 1.330
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.969
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.662
When I write some dotfile expected to persist 0.088
And I shutdown Tails and wait for the computer to power off 9.260
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.518
Then the expected persistent dotfile is present in the filesystem 0.439
After features/support/hooks.rb:330 0.927
After features/support/hooks.rb:100 0.012
Tags: @product
1:37.396
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.334
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.078
When I try to enable persistence 0.266
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.004
When I log in to a new session after having activated the Persistent Storage 42.066
And all notifications have disappeared 8.944
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.901
And all tps features are enabled 2.625
And all tps features but the first one are active 2.174
After features/support/hooks.rb:330 1.468
After features/support/hooks.rb:100 0.000
Tags: @product
5:4.507
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 3:33.349
And I enable persistence 38.311
And I log in to a new session after having activated the Persistent Storage 48.505
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.793
And persistence is enabled 2.546
After features/support/hooks.rb:330 1.765
After features/support/hooks.rb:100 0.000
Tags: @product
34.104
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 9.422
And I enable persistence but something goes wrong during the LUKS header upgrade 23.953
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.729
After features/support/hooks.rb:330 0.718
After features/support/hooks.rb:100 0.000
Tags: @product
44.372
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 9.833
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.943
When I enable persistence 26.955
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 2.543
After features/support/hooks.rb:330 1.499
After features/support/hooks.rb:100 0.000
Tags: @product
54.419
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 8.721
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.246
When I try to enable persistence 0.414
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.665
When I repair the filesystem of the Persistent Storage 2.423
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.082
And the filesystem of the Persistent Storage was repaired 2.807
When I close the filesystem repair dialog 1.565
Then persistence is successfully enabled 1.491
After features/support/hooks.rb:330 1.598
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:7.842
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 21.999
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.101
When I try to enable persistence 0.279
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.424
When I repair the filesystem of the Persistent Storage 1.251
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 44.894
And all notifications have disappeared 10.312
# 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.548
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.934
When I close the "whisperback" window 1.587
Then the Tor Browser starts 13.249
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.181
After features/support/hooks.rb:330 2.046
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.632
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 I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.290
And Tails detects disk read failures on the boot device 1.544
When I try to enable persistence 0.395
Then the Welcome Screen tells me that my hardware is probably failing 19.180
When I log in to a new session 47.970
And all notifications have disappeared 7.974
Then the Tor Browser starts 22.496
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.879
After features/support/hooks.rb:330 1.963
After features/support/hooks.rb:100 0.000