Project Number Date
test_Tails_ISO_18530-do-not-restart-tor 8 15 Nov 2024, 10:31

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 44:52.262 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:46.616
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:3.861
And I update APT using apt 13.848
And I install "python3-behave" using apt 26.118
Then the Tails Persistent Storage behave tests pass 2.788
After features/support/hooks.rb:326 0.927
After features/support/hooks.rb:100 0.000
Tags: @product
45.187
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 15.589
When I log in to a new session without activating the Persistent Storage 22.875
Then Tails is running from USB drive "__internal" 0.485
And persistence is disabled 0.320
But a Tails persistence partition exists on USB drive "__internal" 5.915
After features/support/hooks.rb:326 0.929
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.654
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.200
Then Tails is running from USB drive "__internal" 0.413
When I create a file in the Persistent directory 0.132
And I create a persistent partition with the default settings 23.258
Then the file I created was copied to the Persistent Storage 0.848
When I shutdown Tails and wait for the computer to power off 10.614
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.627
Then persistence for "Persistent" is active 1.476
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:326 0.720
After features/support/hooks.rb:100 0.011
Tags: @product
1:2.942
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.536
And the system is very low on memory 3.778
When I create a file in the Persistent directory 1.038
When I try to create a persistent partition 21.722
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.229
When I close the Persistent Storage app 2.639
And I free up some memory 1.893
And I create a persistent partition with the default settings 12.864
Then the file I created was copied to the Persistent Storage 0.239
After features/support/hooks.rb:326 1.350
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.236
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 28.605
Then Tails is running from USB drive "__internal" 0.351
And all tps features are active 2.455
And all persistent directories have safe access rights 2.700
When I disable the first tps feature 6.336
Then all tps features but the first one are active 2.487
And I shutdown Tails and wait for the computer to power off 16.791
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.019
Then all tps features but the first one are active 2.489
After features/support/hooks.rb:326 0.663
After features/support/hooks.rb:100 0.012
Tags: @product
21.128
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.822
Then persistence for "Persistent" is active 0.342
And I create a file in the Persistent directory 0.068
Then the file I created was copied to the Persistent Storage 0.075
When I disable the first tps feature 6.900
Then persistence for "Persistent" is not active 0.200
And the Persistent directory does not exist 0.069
When I enable the first tps feature 3.497
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:326 0.780
After features/support/hooks.rb:100 0.000
Tags: @product
20.592
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.284
Then persistence for "Persistent" is active 0.226
When I create a file in the Persistent directory 0.141
And I disable the first tps feature 6.119
And I delete the data of the Persistent Folder feature 3.754
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:326 0.885
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.942
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.715
And the network is plugged 0.110
And Tor is ready 17.440
And I take note of which tps features are available 0.646
When I write some files expected to persist 1.439
And I shutdown Tails and wait for the computer to power off 8.816
# 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.774
After features/support/hooks.rb:326 0.138
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.886
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.719
And the network is plugged 0.085
And Tor is ready 17.175
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.262
And I shutdown Tails and wait for the computer to power off 10.535
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.035
And I capture all network traffic 0.005
And the network is plugged 0.106
And Tor is ready 20.256
And I switch to the "persistent-con-current" NetworkManager connection 0.413
And the 1st network device has a spoofed MAC address configured 0.121
And no network device leaked the real MAC address 0.168
After features/support/hooks.rb:326 0.766
After features/support/hooks.rb:100 0.052
Tags: @product
1:28.079
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 36.887
And I enable persistence creation in Tails Greeter 1.143
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.769
Then I create a persistent partition with the default settings using the wizard that was already open 27.279
After features/support/hooks.rb:326 1.833
After features/support/hooks.rb:100 0.000
Tags: @product
5:28.224
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 44.558
When I enable persistence 45.436
Then no persistent Greeter options were restored 14.428
When I set all Greeter options to non-default values 29.143
And I log in to a new session in German (de) after having activated the Persistent Storage 59.254
Then all Greeter options are set to non-default values 0.689
When I cold reboot the computer 7.912
And the computer reboots Tails 1:5.208
Given I enable persistence 19.025
Then persistent Greeter options were restored 0.572
When I log in to a new session after having activated the Persistent Storage 41.504
Then all Greeter options are set to non-default values 0.488
After features/support/hooks.rb:326 0.844
After features/support/hooks.rb:100 0.008
Tags: @product
3:57.414
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.569
# 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.026
And I shutdown Tails and wait for the computer to power off 12.646
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:21.330
And I change the passphrase of the Persistent Storage back to the original 37.840
After features/support/hooks.rb:326 2.280
After features/support/hooks.rb:100 0.011
Tags: @product
1:8.574
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 17.087
And I log in to a new session without activating the Persistent Storage 22.481
Then persistence is disabled 0.438
But a Tails persistence partition exists on USB drive "__internal" 11.375
And all notifications have disappeared 10.236
When I delete the persistent partition 6.492
Then there is no persistence partition on USB drive "__internal" 0.462
After features/support/hooks.rb:326 0.905
After features/support/hooks.rb:100 0.000
Tags: @product
2:34.676
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.482
When I write some dotfile expected to persist 0.076
And I shutdown Tails and wait for the computer to power off 10.729
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.671
Then the expected persistent dotfile is present in the filesystem 0.715
After features/support/hooks.rb:326 0.733
After features/support/hooks.rb:100 0.008
Tags: @product
1:50.238
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 12.148
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.091
When I try to enable persistence 0.353
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.908
When I log in to a new session after having activated the Persistent Storage 37.381
And all notifications have disappeared 7.720
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.327
And all tps features are enabled 6.526
And all tps features but the first one are active 6.781
After features/support/hooks.rb:326 1.329
After features/support/hooks.rb:100 0.000
Tags: @product
6:50.631
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 5:24.636
And I enable persistence 35.550
And I log in to a new session after having activated the Persistent Storage 44.210
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.161
And persistence is enabled 4.071
After features/support/hooks.rb:326 1.321
After features/support/hooks.rb:100 0.000
Tags: @product
37.451
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 12.189
And I enable persistence but something goes wrong during the LUKS header upgrade 24.359
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.902
After features/support/hooks.rb:326 0.988
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.348
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.904
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.875
When I enable persistence 41.731
Then the filesystem of the Persistent Storage was repaired 0.153
And persistence is successfully enabled 5.683
After features/support/hooks.rb:326 1.280
After features/support/hooks.rb:100 0.000
Tags: @product
33.991
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.017
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.817
When I try to enable persistence 0.429
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.729
When I repair the filesystem of the Persistent Storage 1.350
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.302
And the filesystem of the Persistent Storage was repaired 0.418
When I close the filesystem repair dialog 1.310
Then persistence is successfully enabled 1.615
After features/support/hooks.rb:326 1.142
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.290
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.484
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.105
When I try to enable persistence 0.287
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.600
When I repair the filesystem of the Persistent Storage 1.319
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.909
When I log in to a new session 40.838
And all notifications have disappeared 9.210
# 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" 1.002
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.574
When I close the "whisperback" window 1.654
Then the Tor Browser starts 17.344
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.958
After features/support/hooks.rb:326 1.985
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:24.154
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.334
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.785
And Tails detects disk read failures on the boot device 0.602
When I try to enable persistence 0.438
Then the Welcome Screen tells me that my hardware is probably failing 7.517
When I log in to a new session 22.949
And all notifications have disappeared 8.075
Then the Tor Browser starts 23.741
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.708
After features/support/hooks.rb:326 1.605
After features/support/hooks.rb:100 0.000