Project Number Date
test_Tails_ISO_devel 3780 12 Apr 2025, 13:08

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:31.098 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.976
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:45.299
And I update APT using apt 14.748
And I install "python3-behave" using apt 23.314
Then the Tails Persistent Storage behave tests pass 4.612
After features/support/hooks.rb:330 0.901
After features/support/hooks.rb:100 0.000
Tags: @product
46.437
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 13.412
When I log in to a new session without activating the Persistent Storage 23.762
Then Tails is running from USB drive "__internal" 0.401
And persistence is disabled 0.355
But a Tails persistence partition exists on USB drive "__internal" 8.506
After features/support/hooks.rb:330 1.644
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.897
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 26.225
Then Tails is running from USB drive "__internal" 0.379
When I create a file in the Persistent directory 0.139
And I create a persistent partition with the default settings 25.989
Then the file I created was copied to the Persistent Storage 1.743
When I shutdown Tails and wait for the computer to power off 13.358
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.628
Then persistence for "Persistent" is active 0.362
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:330 1.849
After features/support/hooks.rb:100 0.011
Tags: @product
58.639
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 logged in 11.143
And the system is very low on memory 2.944
When I create a file in the Persistent directory 0.977
When I try to create a persistent partition 23.553
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.175
When I close the Persistent Storage app 2.629
And I free up some memory 2.931
And I create a persistent partition with the default settings 13.994
Then the file I created was copied to the Persistent Storage 0.288
After features/support/hooks.rb:330 2.286
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.214
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.672
Then Tails is running from USB drive "__internal" 0.867
And all tps features are active 2.486
And all persistent directories have safe access rights 2.716
When I disable the first tps feature 5.705
Then all tps features but the first one are active 2.285
And I shutdown Tails and wait for the computer to power off 17.901
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.988
Then all tps features but the first one are active 2.590
After features/support/hooks.rb:330 1.307
After features/support/hooks.rb:100 0.021
Tags: @product
22.786
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.923
Then persistence for "Persistent" is active 0.148
And I create a file in the Persistent directory 0.161
Then the file I created was copied to the Persistent Storage 0.141
When I disable the first tps feature 5.947
Then persistence for "Persistent" is not active 0.105
And the Persistent directory does not exist 0.071
When I enable the first tps feature 3.152
Then persistence for "Persistent" is active 0.072
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:330 1.527
After features/support/hooks.rb:100 0.000
Tags: @product
19.998
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.949
Then persistence for "Persistent" is active 0.122
When I create a file in the Persistent directory 0.105
And I disable the first tps feature 6.113
And I delete the data of the Persistent Folder feature 3.650
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:330 2.042
After features/support/hooks.rb:100 0.000
Tags: @product
1:48.065
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 23.441
And the network is plugged 0.095
And Tor is ready 48.111
And I take note of which tps features are available 0.640
When I write some files expected to persist 1.768
And I shutdown Tails and wait for the computer to power off 8.752
# 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.254
After features/support/hooks.rb:330 0.195
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.996
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.020
And the network is plugged 0.106
And Tor is ready 17.616
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.231
And I shutdown Tails and wait for the computer to power off 8.661
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.499
And I capture all network traffic 0.007
And the network is plugged 0.069
And Tor is ready 19.010
And I switch to the "persistent-con-current" NetworkManager connection 0.400
And the 1st network device has a spoofed MAC address configured 0.127
And no network device leaked the real MAC address 0.244
After features/support/hooks.rb:330 0.684
After features/support/hooks.rb:100 0.053
Tags: @product
1:8.332
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 without a persistent partition and stopped at Tails Greeter's login screen 17.095
And I enable persistence creation in Tails Greeter 1.554
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.872
Then I create a persistent partition with the default settings using the wizard that was already open 22.810
After features/support/hooks.rb:330 2.633
After features/support/hooks.rb:100 0.000
Tags: @product
4:33.273
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 13.746
When I enable persistence 38.395
Then no persistent Greeter options were restored 14.578
When I set all Greeter options to non-default values 27.630
And I log in to a new session in German (de) after having activated the Persistent Storage 52.820
Then all Greeter options are set to non-default values 0.523
When I cold reboot the computer 7.368
And the computer reboots Tails 1:2.440
Given I enable persistence 19.059
Then persistent Greeter options were restored 0.534
When I log in to a new session after having activated the Persistent Storage 35.853
Then all Greeter options are set to non-default values 0.322
After features/support/hooks.rb:330 1.814
After features/support/hooks.rb:100 0.012
Tags: @product
3:52.639
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 10.310
# 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 38.149
And I shutdown Tails and wait for the computer to power off 15.279
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.523
And I change the passphrase of the Persistent Storage back to the original 39.376
After features/support/hooks.rb:330 3.238
After features/support/hooks.rb:100 0.009
Tags: @product
59.632
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.821
And I log in to a new session without activating the Persistent Storage 25.401
Then persistence is disabled 0.346
But a Tails persistence partition exists on USB drive "__internal" 7.329
And all notifications have disappeared 9.304
When I delete the persistent partition 6.544
Then there is no persistence partition on USB drive "__internal" 0.884
After features/support/hooks.rb:330 1.632
After features/support/hooks.rb:100 0.000
Tags: @product
2:34.079
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.122
When I write some dotfile expected to persist 0.064
And I shutdown Tails and wait for the computer to power off 11.106
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.384
Then the expected persistent dotfile is present in the filesystem 0.401
After features/support/hooks.rb:330 1.380
After features/support/hooks.rb:100 0.007
Tags: @product
1:45.280
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.245
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.100
When I try to enable persistence 0.346
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.939
When I log in to a new session after having activated the Persistent Storage 43.573
And all notifications have disappeared 9.444
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.792
And all tps features are enabled 2.728
And all tps features but the first one are active 2.108
After features/support/hooks.rb:330 1.596
After features/support/hooks.rb:100 0.000
Tags: @product
5:15.813
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:45.950
And I enable persistence 35.570
And I log in to a new session after having activated the Persistent Storage 47.182
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.342
And persistence is enabled 2.766
After features/support/hooks.rb:330 1.524
After features/support/hooks.rb:100 0.000
Tags: @product
34.725
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 9.426
And I enable persistence but something goes wrong during the LUKS header upgrade 24.540
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.758
After features/support/hooks.rb:330 0.798
After features/support/hooks.rb:100 0.000
Tags: @product
48.542
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 10.061
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.714
When I enable persistence 29.994
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 2.675
After features/support/hooks.rb:330 1.575
After features/support/hooks.rb:100 0.000
Tags: @product
55.090
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 9.130
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.701
When I try to enable persistence 0.536
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.725
When I repair the filesystem of the Persistent Storage 5.137
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.501
And the filesystem of the Persistent Storage was repaired 3.644
When I close the filesystem repair dialog 1.259
Then persistence is successfully enabled 1.453
After features/support/hooks.rb:330 1.596
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.796
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.076
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.153
When I try to enable persistence 0.312
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.260
When I repair the filesystem of the Persistent Storage 1.258
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.098
When I log in to a new session 39.482
And all notifications have disappeared 7.977
# 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.836
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.196
When I close the "whisperback" window 1.585
Then the Tor Browser starts 21.644
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.913
After features/support/hooks.rb:330 2.608
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.881
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.265
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.716
And Tails detects disk read failures on the boot device 1.668
When I try to enable persistence 0.523
Then the Welcome Screen tells me that my hardware is probably failing 20.412
When I log in to a new session 49.217
And all notifications have disappeared 7.810
Then the Tor Browser starts 18.574
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.693
After features/support/hooks.rb:330 2.899
After features/support/hooks.rb:100 0.000