Project Number Date
test_Tails_ISO_devel 3620 23 Dec 2024, 12:32

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 39:2.034 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.457
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:34.344
And I update APT using apt 14.146
And I install "python3-behave" using apt 25.710
Then the Tails Persistent Storage behave tests pass 2.256
After features/support/hooks.rb:326 1.138
After features/support/hooks.rb:100 0.000
Tags: @product
41.228
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 12.151
When I log in to a new session without activating the Persistent Storage 21.223
Then Tails is running from USB drive "__internal" 0.426
And persistence is disabled 0.384
But a Tails persistence partition exists on USB drive "__internal" 7.043
After features/support/hooks.rb:326 0.980
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.972
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 13.020
Then Tails is running from USB drive "__internal" 0.661
When I create a file in the Persistent directory 0.130
And I create a persistent partition with the default settings 28.267
Then the file I created was copied to the Persistent Storage 0.636
When I shutdown Tails and wait for the computer to power off 12.489
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.798
Then persistence for "Persistent" is active 0.894
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 0.998
After features/support/hooks.rb:100 0.010
Tags: @product
59.945
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 11.045
And the system is very low on memory 4.445
When I create a file in the Persistent directory 1.372
When I try to create a persistent partition 24.256
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.500
When I close the Persistent Storage app 3.036
And I free up some memory 1.294
And I create a persistent partition with the default settings 13.737
Then the file I created was copied to the Persistent Storage 0.254
After features/support/hooks.rb:326 1.986
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.761
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.891
Then Tails is running from USB drive "__internal" 1.130
And all tps features are active 2.262
And all persistent directories have safe access rights 2.599
When I disable the first tps feature 5.819
Then all tps features but the first one are active 2.281
And I shutdown Tails and wait for the computer to power off 10.664
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.326
Then all tps features but the first one are active 2.786
After features/support/hooks.rb:326 0.660
After features/support/hooks.rb:100 0.008
Tags: @product
20.317
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.988
Then persistence for "Persistent" is active 0.306
And I create a file in the Persistent directory 0.073
Then the file I created was copied to the Persistent Storage 0.065
When I disable the first tps feature 5.890
Then persistence for "Persistent" is not active 0.087
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.706
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 1.070
After features/support/hooks.rb:100 0.000
Tags: @product
21.059
Before features/support/hooks.rb:269 0.016
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.450
Then persistence for "Persistent" is active 0.324
When I create a file in the Persistent directory 0.071
And I disable the first tps feature 5.965
And I delete the data of the Persistent Folder feature 4.180
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:326 0.843
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.495
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.295
And the network is plugged 0.072
And Tor is ready 19.724
And I take note of which tps features are available 0.642
When I write some files expected to persist 1.495
And I shutdown Tails and wait for the computer to power off 8.331
# 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" 23.934
After features/support/hooks.rb:326 0.095
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.686
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.660
And the network is plugged 0.075
And Tor is ready 23.687
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.206
And I shutdown Tails and wait for the computer to power off 8.618
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.541
And I capture all network traffic 0.007
And the network is plugged 0.091
And Tor is ready 21.223
And I switch to the "persistent-con-current" NetworkManager connection 0.363
And the 1st network device has a spoofed MAC address configured 0.077
And no network device leaked the real MAC address 0.132
After features/support/hooks.rb:326 0.671
After features/support/hooks.rb:100 0.049
Tags: @product
1:1.160
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 15.605
And I enable persistence creation in Tails Greeter 1.522
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.482
Then I create a persistent partition with the default settings using the wizard that was already open 23.550
After features/support/hooks.rb:326 1.264
After features/support/hooks.rb:100 0.000
Tags: @product
4:51.642
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 13.191
When I enable persistence 42.207
Then no persistent Greeter options were restored 14.372
When I set all Greeter options to non-default values 25.247
And I log in to a new session in German (de) after having activated the Persistent Storage 51.903
Then all Greeter options are set to non-default values 0.642
When I cold reboot the computer 7.668
And the computer reboots Tails 1:16.130
Given I enable persistence 17.914
Then persistent Greeter options were restored 0.561
When I log in to a new session after having activated the Persistent Storage 41.411
Then all Greeter options are set to non-default values 0.391
After features/support/hooks.rb:326 1.002
After features/support/hooks.rb:100 0.013
Tags: @product
3:31.490
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.809
# 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 32.845
And I shutdown Tails and wait for the computer to power off 12.697
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:5.065
And I change the passphrase of the Persistent Storage back to the original 30.072
After features/support/hooks.rb:326 2.172
After features/support/hooks.rb:100 0.010
Tags: @product
56.768
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.214
And I log in to a new session without activating the Persistent Storage 21.942
Then persistence is disabled 0.351
But a Tails persistence partition exists on USB drive "__internal" 9.004
And all notifications have disappeared 8.981
When I delete the persistent partition 5.825
Then there is no persistence partition on USB drive "__internal" 0.447
After features/support/hooks.rb:326 0.832
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.369
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.441
When I write some dotfile expected to persist 0.089
And I shutdown Tails and wait for the computer to power off 8.533
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.970
Then the expected persistent dotfile is present in the filesystem 0.334
After features/support/hooks.rb:326 1.567
After features/support/hooks.rb:100 0.009
Tags: @product
1:41.323
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.383
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.106
When I try to enable persistence 0.262
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.275
When I log in to a new session after having activated the Persistent Storage 42.941
And all notifications have disappeared 9.234
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.663
And all tps features are enabled 3.411
And all tps features but the first one are active 2.045
After features/support/hooks.rb:326 1.185
After features/support/hooks.rb:100 0.000
Tags: @product
4:50.940
Before features/support/hooks.rb:269 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 3:24.256
And I enable persistence 34.501
And I log in to a new session after having activated the Persistent Storage 47.685
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.878
And persistence is enabled 2.618
After features/support/hooks.rb:326 0.841
After features/support/hooks.rb:100 0.000
Tags: @product
28.683
Before features/support/hooks.rb:269 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 9.094
And I enable persistence but something goes wrong during the LUKS header upgrade 18.845
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.744
After features/support/hooks.rb:326 0.803
After features/support/hooks.rb:100 0.000
Tags: @product
50.521
Before features/support/hooks.rb:269 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.942
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.864
When I enable persistence 34.036
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 2.588
After features/support/hooks.rb:326 2.328
After features/support/hooks.rb:100 0.000
Tags: @product
24.073
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.371
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.488
When I try to enable persistence 0.413
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.489
When I repair the filesystem of the Persistent Storage 1.193
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.252
And the filesystem of the Persistent Storage was repaired 0.100
When I close the filesystem repair dialog 1.324
Then persistence is successfully enabled 1.439
After features/support/hooks.rb:326 0.759
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:44.619
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.435
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.123
When I try to enable persistence 0.264
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.042
When I repair the filesystem of the Persistent Storage 1.302
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.072
When I log in to a new session 39.012
And all notifications have disappeared 9.604
# 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.461
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.779
When I close the "whisperback" window 1.584
Then the Tor Browser starts 14.172
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.764
After features/support/hooks.rb:326 2.301
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:9.515
Before features/support/hooks.rb:269 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.018
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.729
And Tails detects disk read failures on the boot device 0.527
When I try to enable persistence 0.382
Then the Welcome Screen tells me that my hardware is probably failing 4.925
When I log in to a new session 20.748
And all notifications have disappeared 7.264
Then the Tor Browser starts 20.063
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.855
After features/support/hooks.rb:326 1.677
After features/support/hooks.rb:100 0.000