Project Number Date
test_Tails_ISO_stable 5222 25 Oct 2024, 12:44

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 44:28.933 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.591
Before features/support/hooks.rb:269 0.009
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:43.150
And I update APT using apt 14.832
And I install "python3-behave" using apt 25.514
Then the Tails Persistent Storage behave tests pass 2.093
After features/support/hooks.rb:326 0.826
After features/support/hooks.rb:100 0.000
Tags: @product
50.940
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 14.578
When I log in to a new session without activating the Persistent Storage 23.575
Then Tails is running from USB drive "__internal" 0.498
And persistence is disabled 0.518
But a Tails persistence partition exists on USB drive "__internal" 11.769
After features/support/hooks.rb:326 1.162
After features/support/hooks.rb:100 0.000
Tags: @product
3:43.323
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 22.533
Then Tails is running from USB drive "__internal" 0.526
When I create a file in the Persistent directory 0.142
And I create a persistent partition with the default settings 28.008
Then the file I created was copied to the Persistent Storage 0.859
When I shutdown Tails and wait for the computer to power off 13.440
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:37.188
Then persistence for "Persistent" is active 0.512
And the file I created in the Persistent directory exists 0.112
After features/support/hooks.rb:326 0.791
After features/support/hooks.rb:100 0.012
Tags: @product
1:24.798
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 30.594
And the system is very low on memory 5.634
When I create a file in the Persistent directory 0.946
When I try to create a persistent partition 28.992
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.624
When I close the Persistent Storage app 2.692
And I free up some memory 1.712
And I create a persistent partition with the default settings 13.339
Then the file I created was copied to the Persistent Storage 0.262
After features/support/hooks.rb:326 1.725
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.557
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 18.158
Then Tails is running from USB drive "__internal" 0.498
And all tps features are active 2.747
And all persistent directories have safe access rights 2.968
When I disable the first tps feature 6.826
Then all tps features but the first one are active 2.814
And I shutdown Tails and wait for the computer to power off 11.164
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.025
Then all tps features but the first one are active 2.351
After features/support/hooks.rb:326 0.613
After features/support/hooks.rb:100 0.010
Tags: @product
21.046
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.250
Then persistence for "Persistent" is active 0.180
And I create a file in the Persistent directory 0.089
Then the file I created was copied to the Persistent Storage 0.128
When I disable the first tps feature 6.919
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.072
When I enable the first tps feature 3.170
Then persistence for "Persistent" is active 0.088
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 0.977
After features/support/hooks.rb:100 0.000
Tags: @product
21.589
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.803
Then persistence for "Persistent" is active 0.107
When I create a file in the Persistent directory 0.101
And I disable the first tps feature 6.518
And I delete the data of the Persistent Folder feature 4.977
Then the file I created does not exist on the Persistent Storage 0.080
After features/support/hooks.rb:326 1.075
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.313
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.791
And the network is plugged 0.081
And Tor is ready 22.862
And I take note of which tps features are available 0.682
When I write some files expected to persist 1.722
And I shutdown Tails and wait for the computer to power off 8.776
# 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" 26.396
After features/support/hooks.rb:326 0.154
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.052
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.716
And the network is plugged 0.134
And Tor is ready 22.438
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.631
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.327
And I capture all network traffic 0.008
And the network is plugged 0.091
And Tor is ready 19.831
And I switch to the "persistent-con-current" NetworkManager connection 0.407
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.165
After features/support/hooks.rb:326 0.806
After features/support/hooks.rb:100 0.048
Tags: @product
1:4.708
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 14.207
And I enable persistence creation in Tails Greeter 1.311
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.708
Then I create a persistent partition with the default settings using the wizard that was already open 23.480
After features/support/hooks.rb:326 1.569
After features/support/hooks.rb:100 0.000
Tags: @product
5:50.943
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 27.252
When I enable persistence 42.854
Then no persistent Greeter options were restored 14.897
When I set all Greeter options to non-default values 33.297
And I log in to a new session in German (de) after having activated the Persistent Storage 57.450
Then all Greeter options are set to non-default values 0.592
When I cold reboot the computer 10.047
And the computer reboots Tails 1:14.653
Given I enable persistence 33.388
Then persistent Greeter options were restored 15.608
When I log in to a new session after having activated the Persistent Storage 40.510
Then all Greeter options are set to non-default values 0.390
After features/support/hooks.rb:326 1.500
After features/support/hooks.rb:100 0.022
Tags: @product
3:52.962
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.474
# 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.199
And I shutdown Tails and wait for the computer to power off 16.109
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.379
And I change the passphrase of the Persistent Storage back to the original 39.798
After features/support/hooks.rb:326 3.200
After features/support/hooks.rb:100 0.010
Tags: @product
1:4.776
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.951
And I log in to a new session without activating the Persistent Storage 24.208
Then persistence is disabled 0.260
But a Tails persistence partition exists on USB drive "__internal" 8.258
And all notifications have disappeared 10.284
When I delete the persistent partition 8.319
Then there is no persistence partition on USB drive "__internal" 0.494
After features/support/hooks.rb:326 1.012
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.608
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.509
When I write some dotfile expected to persist 0.094
And I shutdown Tails and wait for the computer to power off 10.802
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.823
Then the expected persistent dotfile is present in the filesystem 0.379
After features/support/hooks.rb:326 0.694
After features/support/hooks.rb:100 0.011
Tags: @product
1:38.013
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.294
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.105
When I try to enable persistence 0.298
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.407
When I log in to a new session after having activated the Persistent Storage 37.490
And all notifications have disappeared 7.675
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.469
And all tps features are enabled 2.846
And all tps features but the first one are active 2.427
After features/support/hooks.rb:326 1.446
After features/support/hooks.rb:100 0.000
Tags: @product
6:50.906
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 5:21.239
And I enable persistence 37.598
And I log in to a new session after having activated the Persistent Storage 51.105
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.867
And persistence is enabled 0.095
After features/support/hooks.rb:326 2.293
After features/support/hooks.rb:100 0.000
Tags: @product
31.692
Before features/support/hooks.rb:269 0.014
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.971
And I enable persistence but something goes wrong during the LUKS header upgrade 19.906
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.814
After features/support/hooks.rb:326 0.742
After features/support/hooks.rb:100 0.000
Tags: @product
46.908
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.440
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.783
When I enable persistence 31.180
Then the filesystem of the Persistent Storage was repaired 0.098
And persistence is successfully enabled 0.405
After features/support/hooks.rb:326 1.156
After features/support/hooks.rb:100 0.000
Tags: @product
25.433
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.112
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.146
When I try to enable persistence 0.439
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.396
When I repair the filesystem of the Persistent Storage 1.263
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.335
And the filesystem of the Persistent Storage was repaired 0.065
When I close the filesystem repair dialog 1.265
Then persistence is successfully enabled 0.408
After features/support/hooks.rb:326 0.895
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.784
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.528
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.177
When I try to enable persistence 0.299
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.339
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.072
When I log in to a new session 44.463
And all notifications have disappeared 8.759
# 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.814
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.834
When I close the "whisperback" window 1.693
Then the Tor Browser starts 13.693
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.810
After features/support/hooks.rb:326 2.257
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.980
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.942
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.445
And Tails detects disk read failures on the boot device 1.836
When I try to enable persistence 0.457
Then the Welcome Screen tells me that my hardware is probably failing 7.037
When I log in to a new session 19.450
And all notifications have disappeared 9.462
Then the Tor Browser starts 21.400
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.947
After features/support/hooks.rb:326 0.940
After features/support/hooks.rb:100 0.000