Project Number Date
test_Tails_ISO_stable 5514 14 Mar 2025, 09:27

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 46:38.186 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:50.818
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.872
And I update APT using apt 2:16.791
And I install "python3-behave" using apt 53.239
Then the Tails Persistent Storage behave tests pass 2.914
After features/support/hooks.rb:330 0.641
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.170
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 30.063
When I log in to a new session without activating the Persistent Storage 26.666
Then Tails is running from USB drive "__internal" 0.430
And persistence is disabled 0.436
But a Tails persistence partition exists on USB drive "__internal" 7.573
After features/support/hooks.rb:330 1.423
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.782
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 15.407
Then Tails is running from USB drive "__internal" 0.522
When I create a file in the Persistent directory 0.178
And I create a persistent partition with the default settings 23.091
Then the file I created was copied to the Persistent Storage 0.654
When I shutdown Tails and wait for the computer to power off 15.163
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.316
Then persistence for "Persistent" is active 0.354
And the file I created in the Persistent directory exists 0.092
After features/support/hooks.rb:330 2.014
After features/support/hooks.rb:100 0.011
Tags: @product
1:1.732
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 13.557
And the system is very low on memory 4.925
When I create a file in the Persistent directory 0.642
When I try to create a persistent partition 25.850
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.144
When I close the Persistent Storage app 2.550
And I free up some memory 1.261
And I create a persistent partition with the default settings 12.519
Then the file I created was copied to the Persistent Storage 0.280
After features/support/hooks.rb:330 2.251
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.691
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.076
Then Tails is running from USB drive "__internal" 1.090
And all tps features are active 2.436
And all persistent directories have safe access rights 2.830
When I disable the first tps feature 7.286
Then all tps features but the first one are active 2.230
And I shutdown Tails and wait for the computer to power off 15.633
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.357
Then all tps features but the first one are active 2.750
After features/support/hooks.rb:330 1.626
After features/support/hooks.rb:100 0.017
Tags: @product
23.404
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 12.185
Then persistence for "Persistent" is active 0.133
And I create a file in the Persistent directory 0.079
Then the file I created was copied to the Persistent Storage 0.104
When I disable the first tps feature 7.262
Then persistence for "Persistent" is not active 0.130
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.251
Then persistence for "Persistent" is active 0.111
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:330 1.284
After features/support/hooks.rb:100 0.000
Tags: @product
24.218
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 11.167
Then persistence for "Persistent" is active 0.176
When I create a file in the Persistent directory 0.127
And I disable the first tps feature 7.739
And I delete the data of the Persistent Folder feature 4.926
Then the file I created does not exist on the Persistent Storage 0.081
After features/support/hooks.rb:330 1.394
After features/support/hooks.rb:100 0.000
Tags: @product
1:19.552
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 11.189
And the network is plugged 0.093
And Tor is ready 24.415
And I take note of which tps features are available 4.183
When I write some files expected to persist 1.624
And I shutdown Tails and wait for the computer to power off 11.750
# 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" 26.296
After features/support/hooks.rb:330 0.162
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.632
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 11.187
And the network is plugged 0.110
And Tor is ready 24.576
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 13.145
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.946
And I capture all network traffic 0.015
And the network is plugged 0.085
And Tor is ready 19.517
And I switch to the "persistent-con-current" NetworkManager connection 0.548
And the 1st network device has a spoofed MAC address configured 0.143
And no network device leaked the real MAC address 0.153
After features/support/hooks.rb:330 0.677
After features/support/hooks.rb:100 0.072
Tags: @product
1:4.703
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 14.017
And I enable persistence creation in Tails Greeter 1.137
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.595
Then I create a persistent partition with the default settings using the wizard that was already open 23.953
After features/support/hooks.rb:330 2.028
After features/support/hooks.rb:100 0.000
Tags: @product
4:56.933
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 24.328
When I enable persistence 41.541
Then no persistent Greeter options were restored 14.811
When I set all Greeter options to non-default values 26.312
And I log in to a new session in German (de) after having activated the Persistent Storage 53.263
Then all Greeter options are set to non-default values 0.274
When I cold reboot the computer 7.750
And the computer reboots Tails 1:4.755
Given I enable persistence 19.302
Then persistent Greeter options were restored 0.606
When I log in to a new session after having activated the Persistent Storage 43.612
Then all Greeter options are set to non-default values 0.373
After features/support/hooks.rb:330 2.584
After features/support/hooks.rb:100 0.012
Tags: @product
4:3.847
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 12.062
# 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.405
And I shutdown Tails and wait for the computer to power off 12.608
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:20.619
And I change the passphrase of the Persistent Storage back to the original 39.151
After features/support/hooks.rb:330 2.242
After features/support/hooks.rb:100 0.015
Tags: @product
55.078
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 9.836
And I log in to a new session without activating the Persistent Storage 21.070
Then persistence is disabled 0.432
But a Tails persistence partition exists on USB drive "__internal" 7.648
And all notifications have disappeared 9.141
When I delete the persistent partition 6.557
Then there is no persistence partition on USB drive "__internal" 0.391
After features/support/hooks.rb:330 1.215
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.760
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 11.420
When I write some dotfile expected to persist 0.078
And I shutdown Tails and wait for the computer to power off 10.801
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.032
Then the expected persistent dotfile is present in the filesystem 0.428
After features/support/hooks.rb:330 1.102
After features/support/hooks.rb:100 0.010
Tags: @product
1:48.328
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.311
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.097
When I try to enable persistence 0.351
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.052
When I log in to a new session after having activated the Persistent Storage 47.011
And all notifications have disappeared 7.742
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.195
And all tps features are enabled 2.423
And all tps features but the first one are active 2.142
After features/support/hooks.rb:330 1.583
After features/support/hooks.rb:100 0.000
Tags: @product
5:24.902
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 3:42.473
And I enable persistence 48.435
And I log in to a new session after having activated the Persistent Storage 47.590
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.123
And persistence is enabled 3.278
After features/support/hooks.rb:330 0.951
After features/support/hooks.rb:100 0.000
Tags: @product
31.138
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 8.948
And I enable persistence but something goes wrong during the LUKS header upgrade 21.375
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.815
After features/support/hooks.rb:330 0.786
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.334
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 23.972
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.958
When I enable persistence 33.789
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 2.519
After features/support/hooks.rb:330 1.212
After features/support/hooks.rb:100 0.000
Tags: @product
51.509
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 8.869
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.704
When I try to enable persistence 0.457
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.174
When I repair the filesystem of the Persistent Storage 1.229
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.118
And the filesystem of the Persistent Storage was repaired 2.155
When I close the filesystem repair dialog 1.268
Then persistence is successfully enabled 1.532
After features/support/hooks.rb:330 1.365
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:14.303
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 22.745
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.319
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.741
When I repair the filesystem of the Persistent Storage 1.277
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 43.508
And all notifications have disappeared 9.341
# 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.350
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.187
When I close the "whisperback" window 1.445
Then the Tor Browser starts 20.361
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.846
After features/support/hooks.rb:330 2.683
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:12.342
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 9.342
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.879
And Tails detects disk read failures on the boot device 1.662
When I try to enable persistence 1.492
Then the Welcome Screen tells me that my hardware is probably failing 27.487
When I log in to a new session 54.853
And all notifications have disappeared 8.453
Then the Tor Browser starts 21.423
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.747
After features/support/hooks.rb:330 1.994
After features/support/hooks.rb:100 0.000