Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 4 31 Oct 2024, 22:37

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 39:15.971 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.081
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:33.670
And I update APT using apt 13.682
And I install "python3-behave" using apt 25.447
Then the Tails Persistent Storage behave tests pass 2.280
After features/support/hooks.rb:326 0.579
After features/support/hooks.rb:100 0.000
Tags: @product
52.809
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.012
When I log in to a new session without activating the Persistent Storage 26.118
Then Tails is running from USB drive "__internal" 0.564
And persistence is disabled 0.434
But a Tails persistence partition exists on USB drive "__internal" 10.678
After features/support/hooks.rb:326 1.219
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.362
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 15.184
Then Tails is running from USB drive "__internal" 0.658
When I create a file in the Persistent directory 0.196
And I create a persistent partition with the default settings 23.793
Then the file I created was copied to the Persistent Storage 0.524
When I shutdown Tails and wait for the computer to power off 14.564
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.944
Then persistence for "Persistent" is active 0.419
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:326 0.755
After features/support/hooks.rb:100 0.034
Tags: @product
1:3.628
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.048
And the system is very low on memory 4.657
When I create a file in the Persistent directory 1.373
When I try to create a persistent partition 28.391
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.284
When I close the Persistent Storage app 2.594
And I free up some memory 1.450
And I create a persistent partition with the default settings 13.596
Then the file I created was copied to the Persistent Storage 0.231
After features/support/hooks.rb:326 1.517
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.763
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 12.208
Then Tails is running from USB drive "__internal" 0.416
And all tps features are active 2.429
And all persistent directories have safe access rights 2.701
When I disable the first tps feature 7.499
Then all tps features but the first one are active 2.200
And I shutdown Tails and wait for the computer to power off 10.798
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.253
Then all tps features but the first one are active 2.254
After features/support/hooks.rb:326 0.680
After features/support/hooks.rb:100 0.008
Tags: @product
23.609
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.655
Then persistence for "Persistent" is active 0.163
And I create a file in the Persistent directory 0.076
Then the file I created was copied to the Persistent Storage 0.064
When I disable the first tps feature 7.207
Then persistence for "Persistent" is not active 0.172
And the Persistent directory does not exist 0.170
When I enable the first tps feature 4.962
Then persistence for "Persistent" is active 0.067
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 0.724
After features/support/hooks.rb:100 0.000
Tags: @product
20.447
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 8.786
Then persistence for "Persistent" is active 0.081
When I create a file in the Persistent directory 0.104
And I disable the first tps feature 7.623
And I delete the data of the Persistent Folder feature 3.793
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:326 0.762
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.306
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.478
And the network is plugged 0.169
And Tor is ready 21.994
And I take note of which tps features are available 0.624
When I write some files expected to persist 1.499
And I shutdown Tails and wait for the computer to power off 8.297
# 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.242
After features/support/hooks.rb:326 0.086
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.335
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.396
And the network is plugged 0.079
And Tor is ready 22.767
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.208
And I shutdown Tails and wait for the computer to power off 8.590
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.309
And I capture all network traffic 0.013
And the network is plugged 0.077
And Tor is ready 19.247
And I switch to the "persistent-con-current" NetworkManager connection 0.384
And the 1st network device has a spoofed MAC address configured 0.115
And no network device leaked the real MAC address 0.145
After features/support/hooks.rb:326 0.683
After features/support/hooks.rb:100 0.069
Tags: @product
1:1.606
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.543
And I enable persistence creation in Tails Greeter 1.200
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.245
Then I create a persistent partition with the default settings using the wizard that was already open 21.616
After features/support/hooks.rb:326 1.741
After features/support/hooks.rb:100 0.000
Tags: @product
4:27.206
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.204
When I enable persistence 33.787
Then no persistent Greeter options were restored 14.440
When I set all Greeter options to non-default values 24.078
And I log in to a new session in German (de) after having activated the Persistent Storage 52.960
Then all Greeter options are set to non-default values 0.962
When I cold reboot the computer 7.651
And the computer reboots Tails 1:7.447
Given I enable persistence 14.872
Then persistent Greeter options were restored 0.476
When I log in to a new session after having activated the Persistent Storage 38.771
Then all Greeter options are set to non-default values 0.553
After features/support/hooks.rb:326 1.279
After features/support/hooks.rb:100 0.008
Tags: @product
3:44.358
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.694
# 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 39.817
And I shutdown Tails and wait for the computer to power off 12.811
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:5.170
And I change the passphrase of the Persistent Storage back to the original 36.863
After features/support/hooks.rb:326 2.593
After features/support/hooks.rb:100 0.008
Tags: @product
1:4.183
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.516
And I log in to a new session without activating the Persistent Storage 22.399
Then persistence is disabled 0.194
But a Tails persistence partition exists on USB drive "__internal" 15.819
And all notifications have disappeared 9.132
When I delete the persistent partition 5.882
Then there is no persistence partition on USB drive "__internal" 0.239
After features/support/hooks.rb:326 0.845
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.984
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 11.098
When I write some dotfile expected to persist 0.077
And I shutdown Tails and wait for the computer to power off 8.450
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.967
Then the expected persistent dotfile is present in the filesystem 0.390
After features/support/hooks.rb:326 0.639
After features/support/hooks.rb:100 0.018
Tags: @product
1:38.461
Before features/support/hooks.rb:269 0.015
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.040
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.271
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.080
When I log in to a new session after having activated the Persistent Storage 42.273
And all notifications have disappeared 9.202
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.869
And all tps features are enabled 2.414
And all tps features but the first one are active 2.224
After features/support/hooks.rb:326 0.874
After features/support/hooks.rb:100 0.000
Tags: @product
5:8.150
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:42.868
And I enable persistence 34.233
And I log in to a new session after having activated the Persistent Storage 45.942
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.227
And persistence is enabled 2.877
After features/support/hooks.rb:326 1.240
After features/support/hooks.rb:100 0.000
Tags: @product
35.352
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 13.976
And I enable persistence but something goes wrong during the LUKS header upgrade 20.513
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.863
After features/support/hooks.rb:326 0.754
After features/support/hooks.rb:100 0.000
Tags: @product
50.171
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.877
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.668
When I enable persistence 32.649
Then the filesystem of the Persistent Storage was repaired 0.102
And persistence is successfully enabled 2.874
After features/support/hooks.rb:326 0.884
After features/support/hooks.rb:100 0.000
Tags: @product
27.769
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.765
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.081
When I try to enable persistence 0.416
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.292
When I repair the filesystem of the Persistent Storage 1.250
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.184
And the filesystem of the Persistent Storage was repaired 0.089
When I close the filesystem repair dialog 1.261
Then persistence is successfully enabled 1.426
After features/support/hooks.rb:326 0.663
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.427
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.597
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.095
When I try to enable persistence 0.267
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.543
When I repair the filesystem of the Persistent Storage 1.267
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 41.028
And all notifications have disappeared 8.750
# 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.355
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.188
When I close the "whisperback" window 1.412
Then the Tor Browser starts 16.046
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.800
After features/support/hooks.rb:326 2.159
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:12.954
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.707
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.500
And Tails detects disk read failures on the boot device 1.657
When I try to enable persistence 0.538
Then the Welcome Screen tells me that my hardware is probably failing 6.033
When I log in to a new session 22.219
And all notifications have disappeared 6.857
Then the Tor Browser starts 20.689
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.751
After features/support/hooks.rb:326 1.312
After features/support/hooks.rb:100 0.000