Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 25 21 Nov 2024, 22:57

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 38:5.669 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:11.099
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:31.511
And I update APT using apt 13.553
And I install "python3-behave" using apt 23.394
Then the Tails Persistent Storage behave tests pass 2.639
After features/support/hooks.rb:326 0.781
After features/support/hooks.rb:100 0.000
Tags: @product
41.977
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.213
When I log in to a new session without activating the Persistent Storage 22.159
Then Tails is running from USB drive "__internal" 0.331
And persistence is disabled 0.402
But a Tails persistence partition exists on USB drive "__internal" 6.870
After features/support/hooks.rb:326 1.108
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.447
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.782
Then Tails is running from USB drive "__internal" 0.457
When I create a file in the Persistent directory 0.111
And I create a persistent partition with the default settings 22.986
Then the file I created was copied to the Persistent Storage 0.653
When I shutdown Tails and wait for the computer to power off 12.257
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.949
Then persistence for "Persistent" is active 1.178
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:326 0.627
After features/support/hooks.rb:100 0.016
Tags: @product
1:14.066
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 25.425
And the system is very low on memory 4.046
When I create a file in the Persistent directory 1.443
When I try to create a persistent partition 24.089
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.298
When I close the Persistent Storage app 2.629
And I free up some memory 1.448
And I create a persistent partition with the default settings 14.464
Then the file I created was copied to the Persistent Storage 0.220
After features/support/hooks.rb:326 1.781
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.478
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.456
Then Tails is running from USB drive "__internal" 0.898
And all tps features are active 2.117
And all persistent directories have safe access rights 2.425
When I disable the first tps feature 6.707
Then all tps features but the first one are active 2.112
And I shutdown Tails and wait for the computer to power off 10.950
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.638
Then all tps features but the first one are active 2.171
After features/support/hooks.rb:326 0.704
After features/support/hooks.rb:100 0.008
Tags: @product
20.099
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.943
Then persistence for "Persistent" is active 0.065
And I create a file in the Persistent directory 0.072
Then the file I created was copied to the Persistent Storage 0.090
When I disable the first tps feature 6.516
Then persistence for "Persistent" is not active 0.123
And the Persistent directory does not exist 0.045
When I enable the first tps feature 3.088
Then persistence for "Persistent" is active 0.072
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 0.815
After features/support/hooks.rb:100 0.000
Tags: @product
21.322
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.684
Then persistence for "Persistent" is active 0.072
When I create a file in the Persistent directory 0.060
And I disable the first tps feature 6.136
And I delete the data of the Persistent Folder feature 4.308
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:326 0.953
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.897
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.338
And the network is plugged 0.075
And Tor is ready 17.212
And I take note of which tps features are available 0.674
When I write some files expected to persist 1.619
And I shutdown Tails and wait for the computer to power off 10.760
# 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.216
After features/support/hooks.rb:326 0.093
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.343
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.792
And the network is plugged 0.478
And Tor is ready 16.613
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.246
And I shutdown Tails and wait for the computer to power off 8.467
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.020
And I capture all network traffic 0.010
And the network is plugged 0.077
And Tor is ready 19.085
And I switch to the "persistent-con-current" NetworkManager connection 0.330
And the 1st network device has a spoofed MAC address configured 0.093
And no network device leaked the real MAC address 0.126
After features/support/hooks.rb:326 0.610
After features/support/hooks.rb:100 0.069
Tags: @product
1:13.274
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 27.263
And I enable persistence creation in Tails Greeter 1.152
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.054
Then I create a persistent partition with the default settings using the wizard that was already open 21.803
After features/support/hooks.rb:326 1.562
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.455
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.365
When I enable persistence 41.007
Then no persistent Greeter options were restored 14.847
When I set all Greeter options to non-default values 24.683
And I log in to a new session in German (de) after having activated the Persistent Storage 51.575
Then all Greeter options are set to non-default values 0.451
When I cold reboot the computer 7.316
And the computer reboots Tails 59.430
Given I enable persistence 17.411
Then persistent Greeter options were restored 0.555
When I log in to a new session after having activated the Persistent Storage 36.453
Then all Greeter options are set to non-default values 0.358
After features/support/hooks.rb:326 1.020
After features/support/hooks.rb:100 0.008
Tags: @product
3:39.667
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 11.068
# 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.789
And I shutdown Tails and wait for the computer to power off 14.525
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:1.869
And I change the passphrase of the Persistent Storage back to the original 32.415
After features/support/hooks.rb:326 2.325
After features/support/hooks.rb:100 0.008
Tags: @product
55.996
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.943
And I log in to a new session without activating the Persistent Storage 20.428
Then persistence is disabled 0.379
But a Tails persistence partition exists on USB drive "__internal" 9.141
And all notifications have disappeared 9.887
When I delete the persistent partition 5.801
Then there is no persistence partition on USB drive "__internal" 0.413
After features/support/hooks.rb:326 1.007
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.951
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.675
When I write some dotfile expected to persist 0.113
And I shutdown Tails and wait for the computer to power off 14.902
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.829
Then the expected persistent dotfile is present in the filesystem 0.429
After features/support/hooks.rb:326 0.634
After features/support/hooks.rb:100 0.007
Tags: @product
1:37.837
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 9.083
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.256
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.832
When I log in to a new session after having activated the Persistent Storage 42.457
And all notifications have disappeared 8.976
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.374
And all tps features are enabled 2.677
And all tps features but the first one are active 2.093
After features/support/hooks.rb:326 0.972
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.800
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:21.760
And I enable persistence 31.488
And I log in to a new session after having activated the Persistent Storage 42.537
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.464
And persistence is enabled 2.548
After features/support/hooks.rb:326 1.141
After features/support/hooks.rb:100 0.000
Tags: @product
37.658
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.074
And I enable persistence but something goes wrong during the LUKS header upgrade 28.766
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.817
After features/support/hooks.rb:326 0.779
After features/support/hooks.rb:100 0.000
Tags: @product
42.330
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 8.791
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.056
When I enable persistence 25.742
Then the filesystem of the Persistent Storage was repaired 0.100
And persistence is successfully enabled 2.638
After features/support/hooks.rb:326 1.037
After features/support/hooks.rb:100 0.000
Tags: @product
25.491
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.219
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.844
When I try to enable persistence 0.410
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.788
When I repair the filesystem of the Persistent Storage 1.191
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.229
And the filesystem of the Persistent Storage was repaired 0.108
When I close the filesystem repair dialog 1.258
Then persistence is successfully enabled 1.440
After features/support/hooks.rb:326 0.733
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:42.218
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.990
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.101
When I try to enable persistence 0.290
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.027
When I repair the filesystem of the Persistent Storage 1.303
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.076
When I log in to a new session 39.176
And all notifications have disappeared 8.033
# 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.390
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.219
When I close the "whisperback" window 1.924
Then the Tor Browser starts 13.692
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.991
After features/support/hooks.rb:326 1.947
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:8.256
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.844
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.198
And Tails detects disk read failures on the boot device 0.562
When I try to enable persistence 0.401
Then the Welcome Screen tells me that my hardware is probably failing 5.432
When I log in to a new session 18.470
And all notifications have disappeared 7.297
Then the Tor Browser starts 20.182
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.866
After features/support/hooks.rb:326 1.549
After features/support/hooks.rb:100 0.000