Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 89 27 Jan 2025, 22:06

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 42:17.128 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:17.509
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.089
And I update APT using apt 15.437
And I install "python3-behave" using apt 26.054
Then the Tails Persistent Storage behave tests pass 2.927
After features/support/hooks.rb:326 0.568
After features/support/hooks.rb:100 0.000
Tags: @product
43.295
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 12.108
When I log in to a new session without activating the Persistent Storage 23.607
Then Tails is running from USB drive "__internal" 0.775
And persistence is disabled 0.301
But a Tails persistence partition exists on USB drive "__internal" 6.502
After features/support/hooks.rb:326 1.214
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.390
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.282
Then Tails is running from USB drive "__internal" 0.431
When I create a file in the Persistent directory 0.179
And I create a persistent partition with the default settings 24.090
Then the file I created was copied to the Persistent Storage 0.577
When I shutdown Tails and wait for the computer to power off 14.025
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.386
Then persistence for "Persistent" is active 0.346
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 0.666
After features/support/hooks.rb:100 0.011
Tags: @product
59.983
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.708
And the system is very low on memory 4.767
When I create a file in the Persistent directory 1.462
When I try to create a persistent partition 22.679
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.803
When I close the Persistent Storage app 2.712
And I free up some memory 1.997
And I create a persistent partition with the default settings 13.624
Then the file I created was copied to the Persistent Storage 0.228
After features/support/hooks.rb:326 1.163
After features/support/hooks.rb:100 0.000
Tags: @product
3:35.733
Before features/support/hooks.rb:269 0.132
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 19.747
Then Tails is running from USB drive "__internal" 0.496
And all tps features are active 2.675
And all persistent directories have safe access rights 2.818
When I disable the first tps feature 6.851
Then all tps features but the first one are active 2.487
And I shutdown Tails and wait for the computer to power off 11.134
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:43.242
Then all tps features but the first one are active 6.281
After features/support/hooks.rb:326 0.968
After features/support/hooks.rb:100 0.012
Tags: @product
30.406
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 14.407
Then persistence for "Persistent" is active 0.084
And I create a file in the Persistent directory 0.250
Then the file I created was copied to the Persistent Storage 0.114
When I disable the first tps feature 9.946
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.052
When I enable the first tps feature 5.308
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.093
After features/support/hooks.rb:326 1.803
After features/support/hooks.rb:100 0.000
Tags: @product
26.523
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.675
Then persistence for "Persistent" is active 0.444
When I create a file in the Persistent directory 0.119
And I disable the first tps feature 9.214
And I delete the data of the Persistent Folder feature 3.982
Then the file I created does not exist on the Persistent Storage 0.087
After features/support/hooks.rb:326 2.175
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.297
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.632
And the network is plugged 0.080
And Tor is ready 19.877
And I take note of which tps features are available 2.008
When I write some files expected to persist 1.460
And I shutdown Tails and wait for the computer to power off 10.632
# 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.605
After features/support/hooks.rb:326 0.104
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.573
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.301
And the network is plugged 0.094
And Tor is ready 16.971
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.212
And I shutdown Tails and wait for the computer to power off 14.658
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.921
And I capture all network traffic 0.005
And the network is plugged 0.172
And Tor is ready 19.323
And I switch to the "persistent-con-current" NetworkManager connection 0.704
And the 1st network device has a spoofed MAC address configured 0.079
And no network device leaked the real MAC address 0.128
After features/support/hooks.rb:326 0.812
After features/support/hooks.rb:100 0.046
Tags: @product
1:22.810
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 38.972
And I enable persistence creation in Tails Greeter 1.339
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.684
Then I create a persistent partition with the default settings using the wizard that was already open 22.814
After features/support/hooks.rb:326 1.356
After features/support/hooks.rb:100 0.000
Tags: @product
4:18.727
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.820
When I enable persistence 30.982
Then no persistent Greeter options were restored 14.384
When I set all Greeter options to non-default values 23.190
And I log in to a new session in German (de) after having activated the Persistent Storage 54.870
Then all Greeter options are set to non-default values 0.449
When I cold reboot the computer 7.638
And the computer reboots Tails 58.146
Given I enable persistence 16.359
Then persistent Greeter options were restored 0.545
When I log in to a new session after having activated the Persistent Storage 39.847
Then all Greeter options are set to non-default values 0.491
After features/support/hooks.rb:326 1.172
After features/support/hooks.rb:100 0.016
Tags: @product
3:35.888
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.541
# 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.119
And I shutdown Tails and wait for the computer to power off 14.557
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:2.516
And I change the passphrase of the Persistent Storage back to the original 33.154
After features/support/hooks.rb:326 1.998
After features/support/hooks.rb:100 0.009
Tags: @product
53.551
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 10.553
And I log in to a new session without activating the Persistent Storage 19.505
Then persistence is disabled 0.228
But a Tails persistence partition exists on USB drive "__internal" 7.484
And all notifications have disappeared 8.698
When I delete the persistent partition 6.672
Then there is no persistence partition on USB drive "__internal" 0.407
After features/support/hooks.rb:326 0.913
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.331
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.399
When I write some dotfile expected to persist 0.244
And I shutdown Tails and wait for the computer to power off 11.037
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.186
Then the expected persistent dotfile is present in the filesystem 0.464
After features/support/hooks.rb:326 0.710
After features/support/hooks.rb:100 0.007
Tags: @product
1:38.155
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.530
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.121
When I try to enable persistence 0.474
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.402
When I log in to a new session after having activated the Persistent Storage 41.226
And all notifications have disappeared 9.269
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.668
And all tps features are enabled 2.477
And all tps features but the first one are active 1.983
After features/support/hooks.rb:326 0.968
After features/support/hooks.rb:100 0.000
Tags: @product
5:28.022
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 3:52.476
And I enable persistence 42.605
And I log in to a new session after having activated the Persistent Storage 45.884
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.648
And persistence is enabled 3.407
After features/support/hooks.rb:326 0.775
After features/support/hooks.rb:100 0.000
Tags: @product
45.442
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 17.984
And I enable persistence but something goes wrong during the LUKS header upgrade 26.542
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.915
After features/support/hooks.rb:326 1.623
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.697
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.705
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.559
When I enable persistence 38.267
Then the filesystem of the Persistent Storage was repaired 0.093
And persistence is successfully enabled 3.071
After features/support/hooks.rb:326 0.971
After features/support/hooks.rb:100 0.000
Tags: @product
52.889
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.670
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.682
When I try to enable persistence 0.421
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.412
When I repair the filesystem of the Persistent Storage 1.280
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.474
And the filesystem of the Persistent Storage was repaired 1.229
When I close the filesystem repair dialog 1.221
Then persistence is successfully enabled 1.496
After features/support/hooks.rb:326 0.918
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.859
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.066
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.125
When I try to enable persistence 0.388
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.526
When I repair the filesystem of the Persistent Storage 1.286
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.087
When I log in to a new session 40.447
And all notifications have disappeared 10.249
# 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.680
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.693
When I close the "whisperback" window 2.032
Then the Tor Browser starts 18.521
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.753
After features/support/hooks.rb:326 1.665
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.036
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.312
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.601
And Tails detects disk read failures on the boot device 1.558
When I try to enable persistence 0.413
Then the Welcome Screen tells me that my hardware is probably failing 20.712
When I log in to a new session 45.224
And all notifications have disappeared 8.939
Then the Tor Browser starts 18.378
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.895
After features/support/hooks.rb:326 2.665
After features/support/hooks.rb:100 0.000