Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 5 01 Nov 2024, 20:46

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 36:55.603 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:8.423
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:27.288
And I update APT using apt 13.541
And I install "python3-behave" using apt 25.522
Then the Tails Persistent Storage behave tests pass 2.071
After features/support/hooks.rb:326 0.633
After features/support/hooks.rb:100 0.000
Tags: @product
40.119
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.629
When I log in to a new session without activating the Persistent Storage 20.633
Then Tails is running from USB drive "__internal" 0.392
And persistence is disabled 0.385
But a Tails persistence partition exists on USB drive "__internal" 7.078
After features/support/hooks.rb:326 1.478
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.777
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 12.024
Then Tails is running from USB drive "__internal" 0.458
When I create a file in the Persistent directory 0.140
And I create a persistent partition with the default settings 23.177
Then the file I created was copied to the Persistent Storage 0.548
When I shutdown Tails and wait for the computer to power off 10.815
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.125
Then persistence for "Persistent" is active 0.414
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:326 0.768
After features/support/hooks.rb:100 0.008
Tags: @product
1:2.089
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.423
And the system is very low on memory 7.758
When I create a file in the Persistent directory 1.334
When I try to create a persistent partition 23.744
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.478
When I close the Persistent Storage app 2.596
And I free up some memory 1.622
And I create a persistent partition with the default settings 12.898
Then the file I created was copied to the Persistent Storage 0.230
After features/support/hooks.rb:326 1.180
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.678
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.373
Then Tails is running from USB drive "__internal" 0.601
And all tps features are active 2.299
And all persistent directories have safe access rights 2.467
When I disable the first tps feature 5.543
Then all tps features but the first one are active 2.170
And I shutdown Tails and wait for the computer to power off 11.108
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.732
Then all tps features but the first one are active 2.381
After features/support/hooks.rb:326 0.742
After features/support/hooks.rb:100 0.007
Tags: @product
18.931
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.174
Then persistence for "Persistent" is active 0.134
And I create a file in the Persistent directory 0.104
Then the file I created was copied to the Persistent Storage 0.087
When I disable the first tps feature 6.034
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.051
When I enable the first tps feature 3.137
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:326 0.746
After features/support/hooks.rb:100 0.000
Tags: @product
18.974
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.423
Then persistence for "Persistent" is active 0.117
When I create a file in the Persistent directory 0.087
And I disable the first tps feature 5.615
And I delete the data of the Persistent Folder feature 3.676
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:326 1.085
After features/support/hooks.rb:100 0.000
Tags: @product
58.171
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.209
And the network is plugged 0.078
And Tor is ready 14.328
And I take note of which tps features are available 0.608
When I write some files expected to persist 1.494
And I shutdown Tails and wait for the computer to power off 8.279
# 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.171
After features/support/hooks.rb:326 0.094
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.419
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.225
And the network is plugged 0.095
And Tor is ready 14.102
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.361
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:56.947
And I capture all network traffic 0.006
And the network is plugged 0.073
And Tor is ready 17.867
And I switch to the "persistent-con-current" NetworkManager connection 0.336
And the 1st network device has a spoofed MAC address configured 0.071
And no network device leaked the real MAC address 0.126
After features/support/hooks.rb:326 0.667
After features/support/hooks.rb:100 0.040
Tags: @product
54.848
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 12.742
And I enable persistence creation in Tails Greeter 1.145
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.515
Then I create a persistent partition with the default settings using the wizard that was already open 21.444
After features/support/hooks.rb:326 1.316
After features/support/hooks.rb:100 0.000
Tags: @product
4:16.270
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 12.139
When I enable persistence 37.218
Then no persistent Greeter options were restored 14.387
When I set all Greeter options to non-default values 24.208
And I log in to a new session in German (de) after having activated the Persistent Storage 50.832
Then all Greeter options are set to non-default values 0.491
When I cold reboot the computer 7.181
And the computer reboots Tails 57.870
Given I enable persistence 14.604
Then persistent Greeter options were restored 0.457
When I log in to a new session after having activated the Persistent Storage 36.308
Then all Greeter options are set to non-default values 0.570
After features/support/hooks.rb:326 0.826
After features/support/hooks.rb:100 0.008
Tags: @product
3:35.672
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.601
# 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 35.144
And I shutdown Tails and wait for the computer to power off 12.332
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.187
And I change the passphrase of the Persistent Storage back to the original 28.406
After features/support/hooks.rb:326 2.001
After features/support/hooks.rb:100 0.008
Tags: @product
51.521
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 10.004
And I log in to a new session without activating the Persistent Storage 19.072
Then persistence is disabled 0.315
But a Tails persistence partition exists on USB drive "__internal" 5.314
And all notifications have disappeared 9.134
When I delete the persistent partition 7.218
Then there is no persistence partition on USB drive "__internal" 0.461
After features/support/hooks.rb:326 0.868
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.461
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.583
When I write some dotfile expected to persist 0.104
And I shutdown Tails and wait for the computer to power off 10.773
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.588
Then the expected persistent dotfile is present in the filesystem 0.410
After features/support/hooks.rb:326 0.667
After features/support/hooks.rb:100 0.009
Tags: @product
1:34.394
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.628
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 0.269
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.937
When I log in to a new session after having activated the Persistent Storage 40.096
And all notifications have disappeared 9.409
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.359
And all tps features are enabled 2.476
And all tps features but the first one are active 2.140
After features/support/hooks.rb:326 0.898
After features/support/hooks.rb:100 0.000
Tags: @product
4:42.213
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:24.099
And I enable persistence 30.194
And I log in to a new session after having activated the Persistent Storage 40.928
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.572
And persistence is enabled 2.418
After features/support/hooks.rb:326 0.966
After features/support/hooks.rb:100 0.000
Tags: @product
27.712
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 8.557
And I enable persistence but something goes wrong during the LUKS header upgrade 18.400
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.754
After features/support/hooks.rb:326 0.736
After features/support/hooks.rb:100 0.000
Tags: @product
53.883
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 22.378
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.187
When I enable persistence 23.538
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 2.689
After features/support/hooks.rb:326 0.842
After features/support/hooks.rb:100 0.000
Tags: @product
24.113
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.333
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.747
When I try to enable persistence 0.394
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.516
When I repair the filesystem of the Persistent Storage 1.197
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.229
And the filesystem of the Persistent Storage was repaired 0.061
When I close the filesystem repair dialog 1.264
Then persistence is successfully enabled 1.370
After features/support/hooks.rb:326 0.715
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:40.979
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.752
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.095
When I try to enable persistence 0.284
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.175
When I repair the filesystem of the Persistent Storage 1.247
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 36.212
And all notifications have disappeared 7.632
# 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" 2.065
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.572
When I close the "whisperback" window 1.601
Then the Tor Browser starts 14.426
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.837
After features/support/hooks.rb:326 1.403
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:6.945
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.481
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.044
And Tails detects disk read failures on the boot device 0.550
When I try to enable persistence 0.395
Then the Welcome Screen tells me that my hardware is probably failing 5.320
When I log in to a new session 18.868
And all notifications have disappeared 7.215
Then the Tor Browser starts 19.231
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.837
After features/support/hooks.rb:326 1.705
After features/support/hooks.rb:100 0.000