Project Number Date
test_Tails_ISO_devel 3595 21 Nov 2024, 20:28

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:5.281 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:0.249
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:15.694
And I update APT using apt 15.102
And I install "python3-behave" using apt 25.925
Then the Tails Persistent Storage behave tests pass 3.528
After features/support/hooks.rb:326 0.875
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.128
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 17.632
When I log in to a new session without activating the Persistent Storage 26.180
Then Tails is running from USB drive "__internal" 0.617
And persistence is disabled 0.502
But a Tails persistence partition exists on USB drive "__internal" 18.194
After features/support/hooks.rb:326 1.552
After features/support/hooks.rb:100 0.000
Tags: @product
3:52.053
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.495
Then Tails is running from USB drive "__internal" 0.714
When I create a file in the Persistent directory 0.172
And I create a persistent partition with the default settings 29.669
Then the file I created was copied to the Persistent Storage 0.711
When I shutdown Tails and wait for the computer to power off 16.046
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:47.258
Then persistence for "Persistent" is active 1.893
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:326 1.165
After features/support/hooks.rb:100 0.013
Tags: @product
1:28.602
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 26.587
And the system is very low on memory 6.510
When I create a file in the Persistent directory 1.581
When I try to create a persistent partition 27.490
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 4.209
When I close the Persistent Storage app 3.037
And I free up some memory 2.384
And I create a persistent partition with the default settings 16.446
Then the file I created was copied to the Persistent Storage 0.354
After features/support/hooks.rb:326 1.532
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.255
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.906
Then Tails is running from USB drive "__internal" 0.416
And all tps features are active 7.012
And all persistent directories have safe access rights 2.890
When I disable the first tps feature 10.014
Then all tps features but the first one are active 5.332
And I shutdown Tails and wait for the computer to power off 10.932
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.209
Then all tps features but the first one are active 2.540
After features/support/hooks.rb:326 1.181
After features/support/hooks.rb:100 0.010
Tags: @product
21.263
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.903
Then persistence for "Persistent" is active 0.099
And I create a file in the Persistent directory 0.075
Then the file I created was copied to the Persistent Storage 0.085
When I disable the first tps feature 7.513
Then persistence for "Persistent" is not active 0.102
And the Persistent directory does not exist 0.046
When I enable the first tps feature 3.213
Then persistence for "Persistent" is active 0.138
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:326 0.731
After features/support/hooks.rb:100 0.000
Tags: @product
21.274
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.631
Then persistence for "Persistent" is active 0.076
When I create a file in the Persistent directory 0.059
And I disable the first tps feature 6.165
And I delete the data of the Persistent Folder feature 4.272
Then the file I created does not exist on the Persistent Storage 0.069
After features/support/hooks.rb:326 0.870
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.310
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.712
And the network is plugged 0.093
And Tor is ready 21.467
And I take note of which tps features are available 0.684
When I write some files expected to persist 1.867
And I shutdown Tails and wait for the computer to power off 10.996
# 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" 27.488
After features/support/hooks.rb:326 0.182
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.844
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.443
And the network is plugged 0.074
And Tor is ready 20.507
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.230
And I shutdown Tails and wait for the computer to power off 11.935
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.564
And I capture all network traffic 0.007
And the network is plugged 0.076
And Tor is ready 22.318
And I switch to the "persistent-con-current" NetworkManager connection 0.396
And the 1st network device has a spoofed MAC address configured 0.136
And no network device leaked the real MAC address 0.152
After features/support/hooks.rb:326 0.617
After features/support/hooks.rb:100 0.061
Tags: @product
1:8.132
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 18.618
And I enable persistence creation in Tails Greeter 1.186
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.794
Then I create a persistent partition with the default settings using the wizard that was already open 24.532
After features/support/hooks.rb:326 1.575
After features/support/hooks.rb:100 0.000
Tags: @product
4:42.276
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 15.834
When I enable persistence 38.530
Then no persistent Greeter options were restored 14.049
When I set all Greeter options to non-default values 25.864
And I log in to a new session in German (de) after having activated the Persistent Storage 47.122
Then all Greeter options are set to non-default values 0.457
When I cold reboot the computer 7.752
And the computer reboots Tails 1:8.744
Given I enable persistence 27.797
Then persistent Greeter options were restored 0.729
When I log in to a new session after having activated the Persistent Storage 35.004
Then all Greeter options are set to non-default values 0.389
After features/support/hooks.rb:326 0.892
After features/support/hooks.rb:100 0.009
Tags: @product
3:53.447
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 10.599
# 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.166
And I shutdown Tails and wait for the computer to power off 13.419
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:15.462
And I change the passphrase of the Persistent Storage back to the original 37.800
After features/support/hooks.rb:326 2.281
After features/support/hooks.rb:100 0.012
Tags: @product
1:4.491
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 11.810
And I log in to a new session without activating the Persistent Storage 22.235
Then persistence is disabled 0.324
But a Tails persistence partition exists on USB drive "__internal" 11.433
And all notifications have disappeared 11.742
When I delete the persistent partition 6.378
Then there is no persistence partition on USB drive "__internal" 0.565
After features/support/hooks.rb:326 0.916
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.376
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 9.909
When I write some dotfile expected to persist 0.126
And I shutdown Tails and wait for the computer to power off 11.171
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.752
Then the expected persistent dotfile is present in the filesystem 0.416
After features/support/hooks.rb:326 0.952
After features/support/hooks.rb:100 0.012
Tags: @product
1:58.959
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.281
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 0.272
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.368
When I log in to a new session after having activated the Persistent Storage 48.821
And all notifications have disappeared 13.356
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 6.079
And all tps features are enabled 3.090
And all tps features but the first one are active 2.615
After features/support/hooks.rb:326 1.718
After features/support/hooks.rb:100 0.000
Tags: @product
6:0.134
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 4:10.036
And I enable persistence 37.676
And I log in to a new session after having activated the Persistent Storage 1:6.595
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.105
And persistence is enabled 3.720
After features/support/hooks.rb:326 1.202
After features/support/hooks.rb:100 0.000
Tags: @product
49.300
Before features/support/hooks.rb:269 0.010
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 18.837
And I enable persistence but something goes wrong during the LUKS header upgrade 29.383
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.079
After features/support/hooks.rb:326 1.215
After features/support/hooks.rb:100 0.000
Tags: @product
1:21.981
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 23.351
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.473
When I enable persistence 45.757
Then the filesystem of the Persistent Storage was repaired 0.111
And persistence is successfully enabled 3.286
After features/support/hooks.rb:326 1.518
After features/support/hooks.rb:100 0.000
Tags: @product
42.886
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 15.677
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.990
When I try to enable persistence 0.621
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 10.069
When I repair the filesystem of the Persistent Storage 1.422
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.793
And the filesystem of the Persistent Storage was repaired 0.701
When I close the filesystem repair dialog 1.422
Then persistence is successfully enabled 2.185
After features/support/hooks.rb:326 1.323
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:11.307
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 11.471
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.141
When I try to enable persistence 0.362
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 39.151
When I repair the filesystem of the Persistent Storage 1.297
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.395
When I log in to a new session 50.229
And all notifications have disappeared 10.688
# 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.341
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.686
When I close the "whisperback" window 1.381
Then the Tor Browser starts 14.014
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.144
After features/support/hooks.rb:326 1.791
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:28.004
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.543
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 15.616
And Tails detects disk read failures on the boot device 1.576
When I try to enable persistence 0.418
Then the Welcome Screen tells me that my hardware is probably failing 6.855
When I log in to a new session 20.933
And all notifications have disappeared 7.962
Then the Tor Browser starts 24.058
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.038
After features/support/hooks.rb:326 1.010
After features/support/hooks.rb:100 0.000