Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 41 08 Dec 2024, 21:00

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:49.856 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.601
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:39.175
And I update APT using apt 13.879
And I install "python3-behave" using apt 25.699
Then the Tails Persistent Storage behave tests pass 2.845
After features/support/hooks.rb:326 0.711
After features/support/hooks.rb:100 0.000
Tags: @product
49.367
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.313
When I log in to a new session without activating the Persistent Storage 24.356
Then Tails is running from USB drive "__internal" 0.629
And persistence is disabled 0.502
But a Tails persistence partition exists on USB drive "__internal" 9.565
After features/support/hooks.rb:326 1.079
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.154
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 18.962
Then Tails is running from USB drive "__internal" 0.926
When I create a file in the Persistent directory 0.173
And I create a persistent partition with the default settings 26.942
Then the file I created was copied to the Persistent Storage 0.924
When I shutdown Tails and wait for the computer to power off 13.955
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.398
Then persistence for "Persistent" is active 0.789
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 0.790
After features/support/hooks.rb:100 0.013
Tags: @product
1:6.667
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.713
And the system is very low on memory 6.054
When I create a file in the Persistent directory 1.016
When I try to create a persistent partition 25.982
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.378
When I close the Persistent Storage app 2.623
And I free up some memory 1.823
And I create a persistent partition with the default settings 12.821
Then the file I created was copied to the Persistent Storage 0.253
After features/support/hooks.rb:326 1.189
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.299
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.195
Then Tails is running from USB drive "__internal" 2.779
And all tps features are active 2.382
And all persistent directories have safe access rights 2.585
When I disable the first tps feature 6.937
Then all tps features but the first one are active 2.521
And I shutdown Tails and wait for the computer to power off 11.346
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.898
Then all tps features but the first one are active 2.652
After features/support/hooks.rb:326 0.839
After features/support/hooks.rb:100 0.011
Tags: @product
19.348
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.690
Then persistence for "Persistent" is active 0.091
And I create a file in the Persistent directory 0.156
Then the file I created was copied to the Persistent Storage 0.083
When I disable the first tps feature 5.840
Then persistence for "Persistent" is not active 0.143
And the Persistent directory does not exist 0.063
When I enable the first tps feature 3.123
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 0.756
After features/support/hooks.rb:100 0.000
Tags: @product
18.560
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.436
Then persistence for "Persistent" is active 0.112
When I create a file in the Persistent directory 0.131
And I disable the first tps feature 5.163
And I delete the data of the Persistent Folder feature 3.660
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:326 1.132
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.858
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.050
And the network is plugged 0.081
And Tor is ready 19.603
And I take note of which tps features are available 0.625
When I write some files expected to persist 1.613
And I shutdown Tails and wait for the computer to power off 8.694
# 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" 25.189
After features/support/hooks.rb:326 0.145
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.339
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.087
And the network is plugged 0.111
And Tor is ready 15.345
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.152
And I shutdown Tails and wait for the computer to power off 8.530
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.772
And I capture all network traffic 0.009
And the network is plugged 0.081
And Tor is ready 19.607
And I switch to the "persistent-con-current" NetworkManager connection 0.381
And the 1st network device has a spoofed MAC address configured 0.110
And no network device leaked the real MAC address 0.148
After features/support/hooks.rb:326 0.701
After features/support/hooks.rb:100 0.044
Tags: @product
59.838
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 12.715
And I enable persistence creation in Tails Greeter 1.126
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.238
Then I create a persistent partition with the default settings using the wizard that was already open 24.757
After features/support/hooks.rb:326 1.412
After features/support/hooks.rb:100 0.000
Tags: @product
4:33.285
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 13.490
When I enable persistence 43.783
Then no persistent Greeter options were restored 14.433
When I set all Greeter options to non-default values 24.024
And I log in to a new session in German (de) after having activated the Persistent Storage 53.511
Then all Greeter options are set to non-default values 0.425
When I cold reboot the computer 5.415
And the computer reboots Tails 1:3.157
Given I enable persistence 16.485
Then persistent Greeter options were restored 0.593
When I log in to a new session after having activated the Persistent Storage 37.686
Then all Greeter options are set to non-default values 0.279
After features/support/hooks.rb:326 0.768
After features/support/hooks.rb:100 0.010
Tags: @product
4:6.369
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.073
# 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 37.972
And I shutdown Tails and wait for the computer to power off 12.342
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:28.288
And I change the passphrase of the Persistent Storage back to the original 37.693
After features/support/hooks.rb:326 2.177
After features/support/hooks.rb:100 0.007
Tags: @product
57.696
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.439
And I log in to a new session without activating the Persistent Storage 20.434
Then persistence is disabled 0.236
But a Tails persistence partition exists on USB drive "__internal" 9.913
And all notifications have disappeared 10.514
When I delete the persistent partition 6.682
Then there is no persistence partition on USB drive "__internal" 0.475
After features/support/hooks.rb:326 0.882
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.890
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.344
When I write some dotfile expected to persist 0.076
And I shutdown Tails and wait for the computer to power off 8.684
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.306
Then the expected persistent dotfile is present in the filesystem 0.478
After features/support/hooks.rb:326 0.754
After features/support/hooks.rb:100 0.011
Tags: @product
1:46.548
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 9.969
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.129
When I try to enable persistence 1.408
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.775
When I log in to a new session after having activated the Persistent Storage 43.218
And all notifications have disappeared 9.243
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.072
And all tps features are enabled 2.654
And all tps features but the first one are active 2.076
After features/support/hooks.rb:326 0.952
After features/support/hooks.rb:100 0.000
Tags: @product
4:54.494
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:30.628
And I enable persistence 33.332
And I log in to a new session after having activated the Persistent Storage 45.604
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.140
And persistence is enabled 2.788
After features/support/hooks.rb:326 0.811
After features/support/hooks.rb:100 0.000
Tags: @product
26.686
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 8.593
And I enable persistence but something goes wrong during the LUKS header upgrade 17.253
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.839
After features/support/hooks.rb:326 0.645
After features/support/hooks.rb:100 0.000
Tags: @product
42.813
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.071
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.753
When I enable persistence 25.067
Then the filesystem of the Persistent Storage was repaired 0.098
And persistence is successfully enabled 2.822
After features/support/hooks.rb:326 0.884
After features/support/hooks.rb:100 0.000
Tags: @product
25.423
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 8.845
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.820
When I try to enable persistence 0.413
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.109
When I repair the filesystem of the Persistent Storage 1.258
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.167
And the filesystem of the Persistent Storage was repaired 0.089
When I close the filesystem repair dialog 1.253
Then persistence is successfully enabled 1.465
After features/support/hooks.rb:326 1.338
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.966
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 8.820
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.106
When I try to enable persistence 0.693
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.584
When I repair the filesystem of the Persistent Storage 1.277
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.211
And all notifications have disappeared 8.369
# 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.405
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.136
When I close the "whisperback" window 1.457
Then the Tor Browser starts 19.917
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.912
After features/support/hooks.rb:326 2.256
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:14.645
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 9.671
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.743
And Tails detects disk read failures on the boot device 1.598
When I try to enable persistence 0.831
Then the Welcome Screen tells me that my hardware is probably failing 5.571
When I log in to a new session 18.607
And all notifications have disappeared 8.494
Then the Tor Browser starts 22.096
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.030
After features/support/hooks.rb:326 1.467
After features/support/hooks.rb:100 0.000