Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 87 25 Jan 2025, 20:50

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 40:55.945 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:11.459
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:32.821
And I update APT using apt 12.742
And I install "python3-behave" using apt 22.598
Then the Tails Persistent Storage behave tests pass 3.297
After features/support/hooks.rb:326 0.679
After features/support/hooks.rb:100 0.000
Tags: @product
43.476
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.298
When I log in to a new session without activating the Persistent Storage 24.414
Then Tails is running from USB drive "__internal" 0.593
And persistence is disabled 0.370
But a Tails persistence partition exists on USB drive "__internal" 5.799
After features/support/hooks.rb:326 0.785
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.329
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.301
Then Tails is running from USB drive "__internal" 0.624
When I create a file in the Persistent directory 0.195
And I create a persistent partition with the default settings 22.919
Then the file I created was copied to the Persistent Storage 0.395
When I shutdown Tails and wait for the computer to power off 12.799
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.678
Then persistence for "Persistent" is active 0.339
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 1.516
After features/support/hooks.rb:100 0.008
Tags: @product
1:0.868
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.710
And the system is very low on memory 4.800
When I create a file in the Persistent directory 2.209
When I try to create a persistent partition 23.769
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.306
When I close the Persistent Storage app 2.681
And I free up some memory 1.350
And I create a persistent partition with the default settings 14.785
Then the file I created was copied to the Persistent Storage 0.254
After features/support/hooks.rb:326 1.075
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.273
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.149
Then Tails is running from USB drive "__internal" 0.583
And all tps features are active 2.425
And all persistent directories have safe access rights 2.530
When I disable the first tps feature 5.805
Then all tps features but the first one are active 2.280
And I shutdown Tails and wait for the computer to power off 15.322
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.065
Then all tps features but the first one are active 2.112
After features/support/hooks.rb:326 0.709
After features/support/hooks.rb:100 0.018
Tags: @product
33.727
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 24.191
Then persistence for "Persistent" is active 0.124
And I create a file in the Persistent directory 0.081
Then the file I created was copied to the Persistent Storage 0.076
When I disable the first tps feature 5.798
Then persistence for "Persistent" is not active 0.067
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.157
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:326 0.802
After features/support/hooks.rb:100 0.000
Tags: @product
20.653
Before features/support/hooks.rb:269 0.012
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.624
Then persistence for "Persistent" is active 0.329
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 6.911
And I delete the data of the Persistent Folder feature 3.655
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:326 1.019
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.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 10.239
And the network is plugged 0.197
And Tor is ready 19.022
And I take note of which tps features are available 0.706
When I write some files expected to persist 1.474
And I shutdown Tails and wait for the computer to power off 10.921
# 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.318
After features/support/hooks.rb:326 0.129
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.035
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.514
And the network is plugged 0.090
And Tor is ready 16.885
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.291
And I shutdown Tails and wait for the computer to power off 11.125
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.957
And I capture all network traffic 0.015
And the network is plugged 0.082
And Tor is ready 17.511
And I switch to the "persistent-con-current" NetworkManager connection 0.363
And the 1st network device has a spoofed MAC address configured 0.080
And no network device leaked the real MAC address 0.117
After features/support/hooks.rb:326 0.599
After features/support/hooks.rb:100 0.115
Tags: @product
56.204
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 11.547
And I enable persistence creation in Tails Greeter 1.270
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.473
Then I create a persistent partition with the default settings using the wizard that was already open 20.912
After features/support/hooks.rb:326 1.273
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.355
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 13.429
When I enable persistence 35.929
Then no persistent Greeter options were restored 15.917
When I set all Greeter options to non-default values 22.684
And I log in to a new session in German (de) after having activated the Persistent Storage 53.307
Then all Greeter options are set to non-default values 0.555
When I cold reboot the computer 7.540
And the computer reboots Tails 1:2.851
Given I enable persistence 16.592
Then persistent Greeter options were restored 0.543
When I log in to a new session after having activated the Persistent Storage 38.321
Then all Greeter options are set to non-default values 0.682
After features/support/hooks.rb:326 0.950
After features/support/hooks.rb:100 0.007
Tags: @product
3:37.865
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.800
# 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.894
And I shutdown Tails and wait for the computer to power off 12.730
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:13.281
And I change the passphrase of the Persistent Storage back to the original 29.158
After features/support/hooks.rb:326 1.969
After features/support/hooks.rb:100 0.008
Tags: @product
55.587
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.413
And I log in to a new session without activating the Persistent Storage 23.679
Then persistence is disabled 0.392
But a Tails persistence partition exists on USB drive "__internal" 5.084
And all notifications have disappeared 9.870
When I delete the persistent partition 6.712
Then there is no persistence partition on USB drive "__internal" 0.436
After features/support/hooks.rb:326 0.851
After features/support/hooks.rb:100 0.000
Tags: @product
2:22.256
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.396
When I write some dotfile expected to persist 0.119
And I shutdown Tails and wait for the computer to power off 8.595
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.634
Then the expected persistent dotfile is present in the filesystem 0.510
After features/support/hooks.rb:326 0.704
After features/support/hooks.rb:100 0.009
Tags: @product
1:41.365
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.347
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.080
When I try to enable persistence 0.262
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.780
When I log in to a new session after having activated the Persistent Storage 40.434
And all notifications have disappeared 9.025
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.815
And all tps features are enabled 2.416
And all tps features but the first one are active 2.202
After features/support/hooks.rb:326 0.920
After features/support/hooks.rb:100 0.000
Tags: @product
6:1.191
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 4:34.905
And I enable persistence 36.439
And I log in to a new session after having activated the Persistent Storage 43.577
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.732
And persistence is enabled 2.536
After features/support/hooks.rb:326 0.733
After features/support/hooks.rb:100 0.000
Tags: @product
31.325
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 9.302
And I enable persistence but something goes wrong during the LUKS header upgrade 21.273
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.748
After features/support/hooks.rb:326 1.170
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.602
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 23.578
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.304
When I enable persistence 28.876
Then the filesystem of the Persistent Storage was repaired 0.091
And persistence is successfully enabled 2.750
After features/support/hooks.rb:326 0.942
After features/support/hooks.rb:100 0.000
Tags: @product
49.162
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.680
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.054
When I try to enable persistence 0.473
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.218
When I repair the filesystem of the Persistent Storage 1.457
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.866
And the filesystem of the Persistent Storage was repaired 1.666
When I close the filesystem repair dialog 1.257
Then persistence is successfully enabled 1.488
After features/support/hooks.rb:326 1.232
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.694
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.962
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.095
When I try to enable persistence 1.333
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.146
When I repair the filesystem of the Persistent Storage 1.220
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 40.181
And all notifications have disappeared 10.671
# 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.109
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.534
When I close the "whisperback" window 1.606
Then the Tor Browser starts 17.894
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.865
After features/support/hooks.rb:326 1.831
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.630
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.905
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.634
And Tails detects disk read failures on the boot device 0.515
When I try to enable persistence 0.418
Then the Welcome Screen tells me that my hardware is probably failing 18.086
When I log in to a new session 45.713
And all notifications have disappeared 9.054
Then the Tor Browser starts 17.387
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.914
After features/support/hooks.rb:326 2.578
After features/support/hooks.rb:100 0.000