Project Number Date
test_Tails_ISO_18530-do-not-restart-tor 17 24 Nov 2024, 10:34

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 43:39.059 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.311
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:44.895
And I update APT using apt 13.127
And I install "python3-behave" using apt 26.087
Then the Tails Persistent Storage behave tests pass 3.200
After features/support/hooks.rb:326 0.863
After features/support/hooks.rb:100 0.000
Tags: @product
46.877
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.620
When I log in to a new session without activating the Persistent Storage 24.985
Then Tails is running from USB drive "__internal" 0.584
And persistence is disabled 0.365
But a Tails persistence partition exists on USB drive "__internal" 8.321
After features/support/hooks.rb:326 1.049
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.781
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 26.019
Then Tails is running from USB drive "__internal" 0.384
When I create a file in the Persistent directory 0.180
And I create a persistent partition with the default settings 24.393
Then the file I created was copied to the Persistent Storage 0.826
When I shutdown Tails and wait for the computer to power off 15.621
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.476
Then persistence for "Persistent" is active 0.799
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:326 0.902
After features/support/hooks.rb:100 0.010
Tags: @product
1:25.136
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 36.655
And the system is very low on memory 4.324
When I create a file in the Persistent directory 1.485
When I try to create a persistent partition 23.028
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.871
When I close the Persistent Storage app 2.617
And I free up some memory 1.801
And I create a persistent partition with the default settings 14.094
Then the file I created was copied to the Persistent Storage 0.257
After features/support/hooks.rb:326 1.588
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.013
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 12.686
Then Tails is running from USB drive "__internal" 1.302
And all tps features are active 2.594
And all persistent directories have safe access rights 2.916
When I disable the first tps feature 7.072
Then all tps features but the first one are active 3.504
And I shutdown Tails and wait for the computer to power off 13.292
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.364
Then all tps features but the first one are active 2.281
After features/support/hooks.rb:326 0.832
After features/support/hooks.rb:100 0.009
Tags: @product
22.383
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.935
Then persistence for "Persistent" is active 0.891
And I create a file in the Persistent directory 0.076
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 7.060
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.053
When I enable the first tps feature 4.043
Then persistence for "Persistent" is active 0.094
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 0.822
After features/support/hooks.rb:100 0.000
Tags: @product
23.947
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.594
Then persistence for "Persistent" is active 0.887
When I create a file in the Persistent directory 0.084
And I disable the first tps feature 6.906
And I delete the data of the Persistent Folder feature 6.415
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:326 0.888
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.955
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.543
And the network is plugged 0.085
And Tor is ready 24.046
And I take note of which tps features are available 0.617
When I write some files expected to persist 1.593
And I shutdown Tails and wait for the computer to power off 8.949
# 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.119
After features/support/hooks.rb:326 0.102
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.647
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.986
And the network is plugged 0.123
And Tor is ready 23.233
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.204
And I shutdown Tails and wait for the computer to power off 8.736
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.616
And I capture all network traffic 0.015
And the network is plugged 0.088
And Tor is ready 16.879
And I switch to the "persistent-con-current" NetworkManager connection 0.474
And the 1st network device has a spoofed MAC address configured 0.115
And no network device leaked the real MAC address 0.172
After features/support/hooks.rb:326 0.953
After features/support/hooks.rb:100 0.050
Tags: @product
1:4.762
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 18.794
And I enable persistence creation in Tails Greeter 1.340
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.282
Then I create a persistent partition with the default settings using the wizard that was already open 23.345
After features/support/hooks.rb:326 1.547
After features/support/hooks.rb:100 0.000
Tags: @product
5:0.053
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 14.049
When I enable persistence 49.684
Then no persistent Greeter options were restored 14.563
When I set all Greeter options to non-default values 27.377
And I log in to a new session in German (de) after having activated the Persistent Storage 55.773
Then all Greeter options are set to non-default values 0.730
When I cold reboot the computer 7.663
And the computer reboots Tails 1:7.325
Given I enable persistence 19.783
Then persistent Greeter options were restored 0.629
When I log in to a new session after having activated the Persistent Storage 42.103
Then all Greeter options are set to non-default values 0.369
After features/support/hooks.rb:326 1.492
After features/support/hooks.rb:100 0.012
Tags: @product
3:55.474
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.576
# 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 34.600
And I shutdown Tails and wait for the computer to power off 13.153
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:15.292
And I change the passphrase of the Persistent Storage back to the original 40.850
After features/support/hooks.rb:326 2.864
After features/support/hooks.rb:100 0.008
Tags: @product
1:12.193
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 11.072
And I log in to a new session without activating the Persistent Storage 24.921
Then persistence is disabled 0.422
But a Tails persistence partition exists on USB drive "__internal" 13.473
And all notifications have disappeared 15.023
When I delete the persistent partition 6.815
Then there is no persistence partition on USB drive "__internal" 0.465
After features/support/hooks.rb:326 1.049
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.131
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.427
When I write some dotfile expected to persist 0.301
And I shutdown Tails and wait for the computer to power off 8.998
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.963
Then the expected persistent dotfile is present in the filesystem 0.439
After features/support/hooks.rb:326 1.170
After features/support/hooks.rb:100 0.010
Tags: @product
1:58.241
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.793
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.450
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.911
When I log in to a new session after having activated the Persistent Storage 49.593
And all notifications have disappeared 10.140
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.400
And all tps features are enabled 2.511
And all tps features but the first one are active 2.356
After features/support/hooks.rb:326 1.066
After features/support/hooks.rb:100 0.000
Tags: @product
6:30.758
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:57.648
And I enable persistence 35.937
And I log in to a new session after having activated the Persistent Storage 52.630
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.375
And persistence is enabled 3.167
After features/support/hooks.rb:326 1.102
After features/support/hooks.rb:100 0.000
Tags: @product
31.357
Before features/support/hooks.rb:269 0.007
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.184
And I enable persistence but something goes wrong during the LUKS header upgrade 21.300
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.871
After features/support/hooks.rb:326 0.877
After features/support/hooks.rb:100 0.000
Tags: @product
45.435
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.146
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.523
When I enable persistence 27.848
Then the filesystem of the Persistent Storage was repaired 0.120
And persistence is successfully enabled 2.796
After features/support/hooks.rb:326 1.087
After features/support/hooks.rb:100 0.000
Tags: @product
26.437
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.577
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.099
When I try to enable persistence 0.508
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.931
When I repair the filesystem of the Persistent Storage 1.200
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.268
And the filesystem of the Persistent Storage was repaired 0.068
When I close the filesystem repair dialog 1.268
Then persistence is successfully enabled 1.513
After features/support/hooks.rb:326 0.930
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.277
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.795
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.099
When I try to enable persistence 0.341
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.614
When I repair the filesystem of the Persistent Storage 1.335
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.092
When I log in to a new session 39.887
And all notifications have disappeared 10.620
# 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.805
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.674
When I close the "whisperback" window 1.456
Then the Tor Browser starts 15.574
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.979
After features/support/hooks.rb:326 3.289
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:20.881
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.965
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.730
And Tails detects disk read failures on the boot device 1.703
When I try to enable persistence 0.504
Then the Welcome Screen tells me that my hardware is probably failing 6.552
When I log in to a new session 21.234
And all notifications have disappeared 8.620
Then the Tor Browser starts 21.656
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.913
After features/support/hooks.rb:326 2.072
After features/support/hooks.rb:100 0.000