Project Number Date
test_Tails_ISO_devel 3693 15 Feb 2025, 12:48

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 40:8.678 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.594
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:36.364
And I update APT using apt 14.176
And I install "python3-behave" using apt 22.980
Then the Tails Persistent Storage behave tests pass 3.073
After features/support/hooks.rb:326 0.692
After features/support/hooks.rb:100 0.000
Tags: @product
43.729
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 11.474
When I log in to a new session without activating the Persistent Storage 24.328
Then Tails is running from USB drive "__internal" 0.391
And persistence is disabled 0.342
But a Tails persistence partition exists on USB drive "__internal" 7.192
After features/support/hooks.rb:326 1.100
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.270
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.405
Then Tails is running from USB drive "__internal" 0.889
When I create a file in the Persistent directory 0.159
And I create a persistent partition with the default settings 22.412
Then the file I created was copied to the Persistent Storage 0.574
When I shutdown Tails and wait for the computer to power off 12.891
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.474
Then persistence for "Persistent" is active 0.401
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:326 1.590
After features/support/hooks.rb:100 0.007
Tags: @product
58.221
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.892
And the system is very low on memory 4.392
When I create a file in the Persistent directory 0.928
When I try to create a persistent partition 24.798
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.210
When I close the Persistent Storage app 2.698
And I free up some memory 1.454
And I create a persistent partition with the default settings 12.606
Then the file I created was copied to the Persistent Storage 0.239
After features/support/hooks.rb:326 1.218
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.999
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.798
Then Tails is running from USB drive "__internal" 0.460
And all tps features are active 2.717
And all persistent directories have safe access rights 2.488
When I disable the first tps feature 5.806
Then all tps features but the first one are active 2.325
And I shutdown Tails and wait for the computer to power off 13.355
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.870
Then all tps features but the first one are active 2.176
After features/support/hooks.rb:326 0.737
After features/support/hooks.rb:100 0.008
Tags: @product
20.230
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.980
Then persistence for "Persistent" is active 0.178
And I create a file in the Persistent directory 0.072
Then the file I created was copied to the Persistent Storage 0.083
When I disable the first tps feature 5.670
Then persistence for "Persistent" is not active 0.066
And the Persistent directory does not exist 0.058
When I enable the first tps feature 3.808
Then persistence for "Persistent" is active 0.171
And the file I created in the Persistent directory exists 0.141
After features/support/hooks.rb:326 0.692
After features/support/hooks.rb:100 0.000
Tags: @product
19.049
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 9.467
Then persistence for "Persistent" is active 0.142
When I create a file in the Persistent directory 0.071
And I disable the first tps feature 5.616
And I delete the data of the Persistent Folder feature 3.695
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:326 0.799
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.637
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 9.118
And the network is plugged 0.073
And Tor is ready 21.072
And I take note of which tps features are available 0.698
When I write some files expected to persist 1.582
And I shutdown Tails and wait for the computer to power off 8.471
# 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" 24.619
After features/support/hooks.rb:326 0.093
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.704
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 9.474
And the network is plugged 0.075
And Tor is ready 21.708
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.679
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.597
And I capture all network traffic 0.014
And the network is plugged 0.084
And Tor is ready 19.216
And I switch to the "persistent-con-current" NetworkManager connection 0.409
And the 1st network device has a spoofed MAC address configured 0.109
And no network device leaked the real MAC address 0.140
After features/support/hooks.rb:326 0.631
After features/support/hooks.rb:100 0.054
Tags: @product
1:0.557
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 14.505
And I enable persistence creation in Tails Greeter 1.391
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.194
Then I create a persistent partition with the default settings using the wizard that was already open 23.464
After features/support/hooks.rb:326 1.398
After features/support/hooks.rb:100 0.000
Tags: @product
4:36.887
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 11.813
When I enable persistence 35.696
Then no persistent Greeter options were restored 14.118
When I set all Greeter options to non-default values 25.906
And I log in to a new session in German (de) after having activated the Persistent Storage 55.194
Then all Greeter options are set to non-default values 0.427
When I cold reboot the computer 7.374
And the computer reboots Tails 1:1.895
Given I enable persistence 19.429
Then persistent Greeter options were restored 0.607
When I log in to a new session after having activated the Persistent Storage 44.130
Then all Greeter options are set to non-default values 0.291
After features/support/hooks.rb:326 0.772
After features/support/hooks.rb:100 0.027
Tags: @product
3:27.718
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.024
# 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 31.515
And I shutdown Tails and wait for the computer to power off 12.621
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.593
And I change the passphrase of the Persistent Storage back to the original 28.963
After features/support/hooks.rb:326 2.325
After features/support/hooks.rb:100 0.008
Tags: @product
58.341
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 9.352
And I log in to a new session without activating the Persistent Storage 25.138
Then persistence is disabled 0.190
But a Tails persistence partition exists on USB drive "__internal" 9.495
And all notifications have disappeared 7.272
When I delete the persistent partition 6.348
Then there is no persistence partition on USB drive "__internal" 0.542
After features/support/hooks.rb:326 0.845
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.990
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.015
When I write some dotfile expected to persist 0.130
And I shutdown Tails and wait for the computer to power off 9.262
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.141
Then the expected persistent dotfile is present in the filesystem 0.440
After features/support/hooks.rb:326 0.857
After features/support/hooks.rb:100 0.010
Tags: @product
1:48.643
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 22.621
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.104
When I try to enable persistence 0.296
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.117
When I log in to a new session after having activated the Persistent Storage 38.515
And all notifications have disappeared 7.663
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.548
And all tps features are enabled 2.435
And all tps features but the first one are active 2.339
After features/support/hooks.rb:326 1.299
After features/support/hooks.rb:100 0.000
Tags: @product
5:16.060
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 3:52.674
And I enable persistence 32.375
And I log in to a new session after having activated the Persistent Storage 46.058
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.439
And persistence is enabled 2.512
After features/support/hooks.rb:326 2.367
After features/support/hooks.rb:100 0.000
Tags: @product
38.306
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 10.527
And I enable persistence but something goes wrong during the LUKS header upgrade 26.940
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.838
After features/support/hooks.rb:326 0.743
After features/support/hooks.rb:100 0.000
Tags: @product
49.540
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.512
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.868
When I enable persistence 30.461
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 2.610
After features/support/hooks.rb:326 0.809
After features/support/hooks.rb:100 0.000
Tags: @product
45.952
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 8.730
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.033
When I try to enable persistence 0.651
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 20.939
When I repair the filesystem of the Persistent Storage 5.060
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.551
And the filesystem of the Persistent Storage was repaired 1.234
When I close the filesystem repair dialog 1.237
Then persistence is successfully enabled 1.513
After features/support/hooks.rb:326 0.812
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.320
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 9.253
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.115
When I try to enable persistence 0.320
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.208
When I repair the filesystem of the Persistent Storage 1.321
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.092
When I log in to a new session 39.715
And all notifications have disappeared 9.951
# 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.712
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.550
When I close the "whisperback" window 2.503
Then the Tor Browser starts 16.663
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.912
After features/support/hooks.rb:326 2.770
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.921
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.808
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.682
And Tails detects disk read failures on the boot device 1.515
When I try to enable persistence 0.453
Then the Welcome Screen tells me that my hardware is probably failing 20.564
When I log in to a new session 46.347
And all notifications have disappeared 8.006
Then the Tor Browser starts 15.516
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.027
After features/support/hooks.rb:326 2.064
After features/support/hooks.rb:100 0.000