Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 1 30 Oct 2024, 18:49

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:7.752 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:41.743
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:50.909
And I update APT using apt 17.943
And I install "python3-behave" using apt 30.012
Then the Tails Persistent Storage behave tests pass 2.877
After features/support/hooks.rb:326 1.403
After features/support/hooks.rb:100 0.000
Tags: @product
47.697
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 14.646
When I log in to a new session without activating the Persistent Storage 24.261
Then Tails is running from USB drive "__internal" 0.575
And persistence is disabled 0.423
But a Tails persistence partition exists on USB drive "__internal" 7.790
After features/support/hooks.rb:326 3.801
After features/support/hooks.rb:100 0.000
Tags: @product
3:48.214
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 39.053
Then Tails is running from USB drive "__internal" 0.829
When I create a file in the Persistent directory 0.185
And I create a persistent partition with the default settings 27.940
Then the file I created was copied to the Persistent Storage 0.834
When I shutdown Tails and wait for the computer to power off 11.107
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.431
Then persistence for "Persistent" is active 0.706
And the file I created in the Persistent directory exists 0.124
After features/support/hooks.rb:326 0.589
After features/support/hooks.rb:100 0.009
Tags: @product
59.821
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 10.961
And the system is very low on memory 3.951
When I create a file in the Persistent directory 0.942
When I try to create a persistent partition 24.446
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.375
When I close the Persistent Storage app 2.639
And I free up some memory 1.472
And I create a persistent partition with the default settings 14.778
Then the file I created was copied to the Persistent Storage 0.255
After features/support/hooks.rb:326 1.078
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.049
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 12.604
Then Tails is running from USB drive "__internal" 0.444
And all tps features are active 2.517
And all persistent directories have safe access rights 2.835
When I disable the first tps feature 5.542
Then all tps features but the first one are active 2.179
And I shutdown Tails and wait for the computer to power off 12.891
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:31.632
Then all tps features but the first one are active 6.401
After features/support/hooks.rb:326 0.683
After features/support/hooks.rb:100 0.009
Tags: @product
22.186
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 12.119
Then persistence for "Persistent" is active 0.127
And I create a file in the Persistent directory 0.074
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 6.175
Then persistence for "Persistent" is not active 0.133
And the Persistent directory does not exist 0.068
When I enable the first tps feature 3.264
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 0.742
After features/support/hooks.rb:100 0.000
Tags: @product
20.421
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.940
Then persistence for "Persistent" is active 0.414
When I create a file in the Persistent directory 0.080
And I disable the first tps feature 6.089
And I delete the data of the Persistent Folder feature 3.831
Then the file I created does not exist on the Persistent Storage 0.064
After features/support/hooks.rb:326 0.758
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.880
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 9.711
And the network is plugged 0.243
And Tor is ready 19.438
And I take note of which tps features are available 0.689
When I write some files expected to persist 1.746
And I shutdown Tails and wait for the computer to power off 9.098
# 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.951
After features/support/hooks.rb:326 0.155
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.984
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.620
And the network is plugged 0.092
And Tor is ready 16.661
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.250
And I shutdown Tails and wait for the computer to power off 9.145
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.284
And I capture all network traffic 0.014
And the network is plugged 0.094
And Tor is ready 20.052
And I switch to the "persistent-con-current" NetworkManager connection 0.450
And the 1st network device has a spoofed MAC address configured 0.099
And no network device leaked the real MAC address 0.218
After features/support/hooks.rb:326 0.655
After features/support/hooks.rb:100 0.052
Tags: @product
1:11.530
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.893
And I enable persistence creation in Tails Greeter 1.208
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.962
Then I create a persistent partition with the default settings using the wizard that was already open 25.464
After features/support/hooks.rb:326 1.957
After features/support/hooks.rb:100 0.000
Tags: @product
5:13.216
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.746
When I enable persistence 43.335
Then no persistent Greeter options were restored 14.831
When I set all Greeter options to non-default values 28.553
And I log in to a new session in German (de) after having activated the Persistent Storage 55.892
Then all Greeter options are set to non-default values 0.757
When I cold reboot the computer 7.776
And the computer reboots Tails 1:3.245
Given I enable persistence 32.243
Then persistent Greeter options were restored 15.201
When I log in to a new session after having activated the Persistent Storage 38.114
Then all Greeter options are set to non-default values 0.516
After features/support/hooks.rb:326 1.715
After features/support/hooks.rb:100 0.009
Tags: @product
3:53.434
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.946
# 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 41.392
And I shutdown Tails and wait for the computer to power off 13.060
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:18.484
And I change the passphrase of the Persistent Storage back to the original 30.550
After features/support/hooks.rb:326 1.769
After features/support/hooks.rb:100 0.008
Tags: @product
1:3.370
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 10.746
And I log in to a new session without activating the Persistent Storage 22.828
Then persistence is disabled 0.399
But a Tails persistence partition exists on USB drive "__internal" 10.114
And all notifications have disappeared 10.739
When I delete the persistent partition 8.085
Then there is no persistence partition on USB drive "__internal" 0.456
After features/support/hooks.rb:326 1.043
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.259
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.334
When I write some dotfile expected to persist 0.067
And I shutdown Tails and wait for the computer to power off 8.835
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.405
Then the expected persistent dotfile is present in the filesystem 0.616
After features/support/hooks.rb:326 0.829
After features/support/hooks.rb:100 0.009
Tags: @product
1:44.419
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.345
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.099
When I try to enable persistence 0.331
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.766
When I log in to a new session after having activated the Persistent Storage 42.123
And all notifications have disappeared 9.614
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.936
And all tps features are enabled 2.781
And all tps features but the first one are active 2.420
After features/support/hooks.rb:326 1.285
After features/support/hooks.rb:100 0.000
Tags: @product
8:15.012
Before features/support/hooks.rb:269 0.007
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 6:43.824
And I enable persistence 39.819
And I log in to a new session after having activated the Persistent Storage 48.199
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.983
And persistence is enabled 0.185
After features/support/hooks.rb:326 1.292
After features/support/hooks.rb:100 0.000
Tags: @product
39.325
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 14.149
And I enable persistence but something goes wrong during the LUKS header upgrade 24.297
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.878
After features/support/hooks.rb:326 1.155
After features/support/hooks.rb:100 0.000
Tags: @product
57.009
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 10.084
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.039
When I enable persistence 33.621
Then the filesystem of the Persistent Storage was repaired 0.075
And persistence is successfully enabled 4.188
After features/support/hooks.rb:326 1.112
After features/support/hooks.rb:100 0.000
Tags: @product
41.769
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 23.217
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.881
When I try to enable persistence 0.546
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.994
When I repair the filesystem of the Persistent Storage 1.255
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.202
And the filesystem of the Persistent Storage was repaired 0.094
When I close the filesystem repair dialog 1.186
Then persistence is successfully enabled 0.390
After features/support/hooks.rb:326 1.196
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.065
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.116
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.101
When I try to enable persistence 0.273
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.611
When I repair the filesystem of the Persistent Storage 1.283
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.122
When I log in to a new session 39.923
And all notifications have disappeared 9.382
# 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.618
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.592
When I close the "whisperback" window 1.893
Then the Tor Browser starts 14.295
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.850
After features/support/hooks.rb:326 1.496
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:21.340
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.110
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.648
And Tails detects disk read failures on the boot device 1.742
When I try to enable persistence 0.457
Then the Welcome Screen tells me that my hardware is probably failing 6.990
When I log in to a new session 19.501
And all notifications have disappeared 8.030
Then the Tor Browser starts 22.045
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.811
After features/support/hooks.rb:326 1.076
After features/support/hooks.rb:100 0.000