Project Number Date
test_Tails_ISO_stable 5309 02 Dec 2024, 15:45

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:32.119 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:37.502
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:55.399
And I update APT using apt 13.457
And I install "python3-behave" using apt 25.843
Then the Tails Persistent Storage behave tests pass 2.801
After features/support/hooks.rb:326 0.993
After features/support/hooks.rb:100 0.000
Tags: @product
58.484
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 16.557
When I log in to a new session without activating the Persistent Storage 25.462
Then Tails is running from USB drive "__internal" 0.552
And persistence is disabled 0.401
But a Tails persistence partition exists on USB drive "__internal" 15.510
After features/support/hooks.rb:326 1.598
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.841
Before features/support/hooks.rb:269 0.012
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.390
Then Tails is running from USB drive "__internal" 0.494
When I create a file in the Persistent directory 0.125
And I create a persistent partition with the default settings 27.481
Then the file I created was copied to the Persistent Storage 0.758
When I shutdown Tails and wait for the computer to power off 15.090
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.806
Then persistence for "Persistent" is active 0.600
And the file I created in the Persistent directory exists 0.092
After features/support/hooks.rb:326 1.250
After features/support/hooks.rb:100 0.012
Tags: @product
1:8.707
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.861
And the system is very low on memory 7.302
When I create a file in the Persistent directory 1.848
When I try to create a persistent partition 26.021
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.145
When I close the Persistent Storage app 2.540
And I free up some memory 1.364
And I create a persistent partition with the default settings 13.334
Then the file I created was copied to the Persistent Storage 0.287
After features/support/hooks.rb:326 1.368
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.687
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 14.964
Then Tails is running from USB drive "__internal" 1.218
And all tps features are active 3.196
And all persistent directories have safe access rights 3.086
When I disable the first tps feature 6.763
Then all tps features but the first one are active 2.574
And I shutdown Tails and wait for the computer to power off 13.691
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.525
Then all tps features but the first one are active 2.667
After features/support/hooks.rb:326 1.194
After features/support/hooks.rb:100 0.011
Tags: @product
23.451
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.041
Then persistence for "Persistent" is active 0.823
And I create a file in the Persistent directory 0.099
Then the file I created was copied to the Persistent Storage 0.093
When I disable the first tps feature 6.311
Then persistence for "Persistent" is not active 0.110
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.746
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 0.834
After features/support/hooks.rb:100 0.000
Tags: @product
39.952
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 27.366
Then persistence for "Persistent" is active 0.669
When I create a file in the Persistent directory 0.068
And I disable the first tps feature 6.799
And I delete the data of the Persistent Folder feature 4.990
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:326 0.886
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.338
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.734
And the network is plugged 0.106
And Tor is ready 24.344
And I take note of which tps features are available 3.073
When I write some files expected to persist 1.579
And I shutdown Tails and wait for the computer to power off 10.766
# 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.733
After features/support/hooks.rb:326 0.150
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.228
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.539
And the network is plugged 0.256
And Tor is ready 24.084
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.223
And I shutdown Tails and wait for the computer to power off 9.126
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.028
And I capture all network traffic 0.007
And the network is plugged 0.098
And Tor is ready 20.225
And I switch to the "persistent-con-current" NetworkManager connection 0.396
And the 1st network device has a spoofed MAC address configured 0.128
And no network device leaked the real MAC address 0.113
After features/support/hooks.rb:326 0.672
After features/support/hooks.rb:100 0.064
Tags: @product
2:10.581
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 1:17.831
And I enable persistence creation in Tails Greeter 1.162
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.724
Then I create a persistent partition with the default settings using the wizard that was already open 25.862
After features/support/hooks.rb:326 3.780
After features/support/hooks.rb:100 0.000
Tags: @product
5:24.576
Before features/support/hooks.rb:269 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 28.133
When I enable persistence 40.638
Then no persistent Greeter options were restored 14.838
When I set all Greeter options to non-default values 27.422
And I log in to a new session in German (de) after having activated the Persistent Storage 58.851
Then all Greeter options are set to non-default values 0.524
When I cold reboot the computer 7.731
And the computer reboots Tails 1:12.446
Given I enable persistence 25.924
Then persistent Greeter options were restored 4.559
When I log in to a new session after having activated the Persistent Storage 43.128
Then all Greeter options are set to non-default values 0.376
After features/support/hooks.rb:326 0.987
After features/support/hooks.rb:100 0.010
Tags: @product
3:52.171
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.708
# 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.000
And I shutdown Tails and wait for the computer to power off 14.615
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:16.130
And I change the passphrase of the Persistent Storage back to the original 34.715
After features/support/hooks.rb:326 2.042
After features/support/hooks.rb:100 0.009
Tags: @product
57.972
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 9.808
And I log in to a new session without activating the Persistent Storage 21.156
Then persistence is disabled 0.336
But a Tails persistence partition exists on USB drive "__internal" 11.249
And all notifications have disappeared 9.209
When I delete the persistent partition 5.752
Then there is no persistence partition on USB drive "__internal" 0.458
After features/support/hooks.rb:326 0.808
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.617
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.683
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 9.151
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.349
Then the expected persistent dotfile is present in the filesystem 0.354
After features/support/hooks.rb:326 0.867
After features/support/hooks.rb:100 0.009
Tags: @product
1:50.426
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.230
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.128
When I try to enable persistence 0.274
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.502
When I log in to a new session after having activated the Persistent Storage 45.260
And all notifications have disappeared 8.099
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.302
And all tps features are enabled 2.461
And all tps features but the first one are active 2.166
After features/support/hooks.rb:326 1.032
After features/support/hooks.rb:100 0.000
Tags: @product
7:26.508
Before features/support/hooks.rb:269 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 5:55.171
And I enable persistence 37.305
And I log in to a new session after having activated the Persistent Storage 46.931
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.544
And persistence is enabled 2.555
After features/support/hooks.rb:326 2.469
After features/support/hooks.rb:100 0.000
Tags: @product
31.634
Before features/support/hooks.rb:269 0.008
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.786
And I enable persistence but something goes wrong during the LUKS header upgrade 22.089
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.759
After features/support/hooks.rb:326 0.837
After features/support/hooks.rb:100 0.000
Tags: @product
48.051
Before features/support/hooks.rb:269 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.746
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.268
When I enable persistence 29.177
Then the filesystem of the Persistent Storage was repaired 0.091
And persistence is successfully enabled 2.767
After features/support/hooks.rb:326 3.050
After features/support/hooks.rb:100 0.000
Tags: @product
27.864
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.269
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.698
When I try to enable persistence 1.435
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.232
When I repair the filesystem of the Persistent Storage 1.250
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.209
And the filesystem of the Persistent Storage was repaired 0.121
When I close the filesystem repair dialog 1.216
Then persistence is successfully enabled 1.429
After features/support/hooks.rb:326 0.729
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.569
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.853
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.116
When I try to enable persistence 0.265
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.210
When I repair the filesystem of the Persistent Storage 1.266
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.069
When I log in to a new session 44.688
And all notifications have disappeared 7.521
# 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.664
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.310
When I close the "whisperback" window 1.704
Then the Tor Browser starts 15.487
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.410
After features/support/hooks.rb:326 2.297
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:36.950
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 23.767
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.003
And Tails detects disk read failures on the boot device 1.592
When I try to enable persistence 1.533
Then the Welcome Screen tells me that my hardware is probably failing 6.860
When I log in to a new session 21.893
And all notifications have disappeared 9.271
Then the Tor Browser starts 24.001
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.025
After features/support/hooks.rb:326 2.466
After features/support/hooks.rb:100 0.000