Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 72 01 Jan 2025, 20: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 41:0.090 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:38.147
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:56.137
And I update APT using apt 13.589
And I install "python3-behave" using apt 25.788
Then the Tails Persistent Storage behave tests pass 2.631
After features/support/hooks.rb:326 1.339
After features/support/hooks.rb:100 0.000
Tags: @product
50.549
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 13.366
When I log in to a new session without activating the Persistent Storage 28.814
Then Tails is running from USB drive "__internal" 0.524
And persistence is disabled 0.319
But a Tails persistence partition exists on USB drive "__internal" 7.524
After features/support/hooks.rb:326 0.823
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.559
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 11.742
Then Tails is running from USB drive "__internal" 0.490
When I create a file in the Persistent directory 0.192
And I create a persistent partition with the default settings 25.377
Then the file I created was copied to the Persistent Storage 0.721
When I shutdown Tails and wait for the computer to power off 11.115
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.518
Then persistence for "Persistent" is active 0.318
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:326 0.656
After features/support/hooks.rb:100 0.007
Tags: @product
59.771
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 13.531
And the system is very low on memory 5.271
When I create a file in the Persistent directory 1.097
When I try to create a persistent partition 21.670
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.246
When I close the Persistent Storage app 2.530
And I free up some memory 1.794
And I create a persistent partition with the default settings 13.325
Then the file I created was copied to the Persistent Storage 0.303
After features/support/hooks.rb:326 1.401
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.878
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 12.079
Then Tails is running from USB drive "__internal" 0.669
And all tps features are active 2.600
And all persistent directories have safe access rights 2.835
When I disable the first tps feature 5.636
Then all tps features but the first one are active 2.359
And I shutdown Tails and wait for the computer to power off 8.728
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.295
Then all tps features but the first one are active 2.672
After features/support/hooks.rb:326 0.782
After features/support/hooks.rb:100 0.008
Tags: @product
20.195
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.786
Then persistence for "Persistent" is active 0.104
And I create a file in the Persistent directory 0.084
Then the file I created was copied to the Persistent Storage 0.366
When I disable the first tps feature 5.435
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.127
Then persistence for "Persistent" is active 0.077
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:326 0.732
After features/support/hooks.rb:100 0.000
Tags: @product
19.339
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.752
Then persistence for "Persistent" is active 0.097
When I create a file in the Persistent directory 0.370
And I disable the first tps feature 5.377
And I delete the data of the Persistent Folder feature 3.681
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:326 0.775
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.004
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.143
And the network is plugged 0.082
And Tor is ready 16.769
And I take note of which tps features are available 0.635
When I write some files expected to persist 1.626
And I shutdown Tails and wait for the computer to power off 9.551
# 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.195
After features/support/hooks.rb:326 0.134
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.469
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.128
And the network is plugged 0.088
And Tor is ready 17.931
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.186
And I shutdown Tails and wait for the computer to power off 8.966
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.287
And I capture all network traffic 0.006
And the network is plugged 0.092
And Tor is ready 20.056
And I switch to the "persistent-con-current" NetworkManager connection 0.452
And the 1st network device has a spoofed MAC address configured 0.101
And no network device leaked the real MAC address 0.170
After features/support/hooks.rb:326 1.000
After features/support/hooks.rb:100 0.058
Tags: @product
1:8.628
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 17.568
And I enable persistence creation in Tails Greeter 1.183
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.346
Then I create a persistent partition with the default settings using the wizard that was already open 25.530
After features/support/hooks.rb:326 1.626
After features/support/hooks.rb:100 0.000
Tags: @product
4:52.885
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.236
When I enable persistence 45.954
Then no persistent Greeter options were restored 14.780
When I set all Greeter options to non-default values 25.910
And I log in to a new session in German (de) after having activated the Persistent Storage 57.774
Then all Greeter options are set to non-default values 0.463
When I cold reboot the computer 7.587
And the computer reboots Tails 1:8.470
Given I enable persistence 17.545
Then persistent Greeter options were restored 0.745
When I log in to a new session after having activated the Persistent Storage 37.863
Then all Greeter options are set to non-default values 0.553
After features/support/hooks.rb:326 0.983
After features/support/hooks.rb:100 0.008
Tags: @product
3:39.552
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.214
# 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 34.113
And I shutdown Tails and wait for the computer to power off 12.402
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.295
And I change the passphrase of the Persistent Storage back to the original 30.526
After features/support/hooks.rb:326 2.201
After features/support/hooks.rb:100 0.024
Tags: @product
1:5.632
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.328
And I log in to a new session without activating the Persistent Storage 23.775
Then persistence is disabled 0.465
But a Tails persistence partition exists on USB drive "__internal" 10.770
And all notifications have disappeared 12.230
When I delete the persistent partition 6.457
Then there is no persistence partition on USB drive "__internal" 0.604
After features/support/hooks.rb:326 0.789
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.275
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.111
When I write some dotfile expected to persist 0.067
And I shutdown Tails and wait for the computer to power off 8.721
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.007
Then the expected persistent dotfile is present in the filesystem 0.366
After features/support/hooks.rb:326 1.005
After features/support/hooks.rb:100 0.009
Tags: @product
1:49.424
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.187
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.105
When I try to enable persistence 0.290
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.166
When I log in to a new session after having activated the Persistent Storage 51.952
And all notifications have disappeared 8.358
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.694
And all tps features are enabled 2.586
And all tps features but the first one are active 2.082
After features/support/hooks.rb:326 1.086
After features/support/hooks.rb:100 0.000
Tags: @product
5:1.462
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:33.599
And I enable persistence 35.794
And I log in to a new session after having activated the Persistent Storage 45.522
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.158
And persistence is enabled 3.387
After features/support/hooks.rb:326 0.712
After features/support/hooks.rb:100 0.000
Tags: @product
34.234
Before features/support/hooks.rb:269 0.004
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.696
And I enable persistence but something goes wrong during the LUKS header upgrade 24.780
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.757
After features/support/hooks.rb:326 0.752
After features/support/hooks.rb:100 0.000
Tags: @product
51.406
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.766
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.399
When I enable persistence 32.267
Then the filesystem of the Persistent Storage was repaired 0.099
And persistence is successfully enabled 2.874
After features/support/hooks.rb:326 0.763
After features/support/hooks.rb:100 0.000
Tags: @product
28.687
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.316
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.598
When I try to enable persistence 0.467
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.585
When I repair the filesystem of the Persistent Storage 1.322
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.387
And the filesystem of the Persistent Storage was repaired 0.094
When I close the filesystem repair dialog 1.305
Then persistence is successfully enabled 1.610
After features/support/hooks.rb:326 0.803
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.885
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.497
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.142
When I try to enable persistence 0.306
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.850
When I repair the filesystem of the Persistent Storage 1.239
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.125
When I log in to a new session 42.655
And all notifications have disappeared 11.871
# 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.608
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.860
When I close the "whisperback" window 1.727
Then the Tor Browser starts 19.010
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.989
After features/support/hooks.rb:326 1.464
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:17.098
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.659
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.520
And Tails detects disk read failures on the boot device 0.618
When I try to enable persistence 0.440
Then the Welcome Screen tells me that my hardware is probably failing 6.800
When I log in to a new session 21.940
And all notifications have disappeared 7.722
Then the Tor Browser starts 21.314
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.079
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.000