Project Number Date
test_Tails_ISO_18530-do-not-restart-tor 2 08 Nov 2024, 10:35

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:45.949 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:24.729
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:42.410
And I update APT using apt 14.508
And I install "python3-behave" using apt 25.651
Then the Tails Persistent Storage behave tests pass 2.158
After features/support/hooks.rb:326 0.681
After features/support/hooks.rb:100 0.000
Tags: @product
42.572
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.037
When I log in to a new session without activating the Persistent Storage 23.364
Then Tails is running from USB drive "__internal" 0.411
And persistence is disabled 0.372
But a Tails persistence partition exists on USB drive "__internal" 6.386
After features/support/hooks.rb:326 0.902
After features/support/hooks.rb:100 0.000
Tags: @product
4:6.184
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 1:1.335
Then Tails is running from USB drive "__internal" 0.496
When I create a file in the Persistent directory 0.272
And I create a persistent partition with the default settings 22.482
Then the file I created was copied to the Persistent Storage 0.843
When I shutdown Tails and wait for the computer to power off 13.095
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.269
Then persistence for "Persistent" is active 0.313
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 1.201
After features/support/hooks.rb:100 0.009
Tags: @product
1:8.544
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.176
And the system is very low on memory 4.036
When I create a file in the Persistent directory 1.053
When I try to create a persistent partition 24.361
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.343
When I close the Persistent Storage app 2.519
And I free up some memory 1.495
And I create a persistent partition with the default settings 22.198
Then the file I created was copied to the Persistent Storage 0.359
After features/support/hooks.rb:326 1.561
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.926
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 21.405
Then Tails is running from USB drive "__internal" 0.493
And all tps features are active 2.800
And all persistent directories have safe access rights 2.540
When I disable the first tps feature 5.926
Then all tps features but the first one are active 2.424
And I shutdown Tails and wait for the computer to power off 8.650
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.933
Then all tps features but the first one are active 2.751
After features/support/hooks.rb:326 1.047
After features/support/hooks.rb:100 0.008
Tags: @product
23.353
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.113
Then persistence for "Persistent" is active 0.235
And I create a file in the Persistent directory 0.336
Then the file I created was copied to the Persistent Storage 0.076
When I disable the first tps feature 6.926
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.390
Then persistence for "Persistent" is active 0.068
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 0.838
After features/support/hooks.rb:100 0.000
Tags: @product
21.236
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.634
Then persistence for "Persistent" is active 0.312
When I create a file in the Persistent directory 0.069
And I disable the first tps feature 6.512
And I delete the data of the Persistent Folder feature 3.648
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:326 0.835
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.881
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.601
And the network is plugged 0.113
And Tor is ready 20.132
And I take note of which tps features are available 0.586
When I write some files expected to persist 1.498
And I shutdown Tails and wait for the computer to power off 10.955
# 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.992
After features/support/hooks.rb:326 0.141
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.416
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.623
And the network is plugged 0.079
And Tor is ready 16.417
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.237
And I shutdown Tails and wait for the computer to power off 8.725
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.238
And I capture all network traffic 0.005
And the network is plugged 0.086
And Tor is ready 17.294
And I switch to the "persistent-con-current" NetworkManager connection 0.433
And the 1st network device has a spoofed MAC address configured 0.096
And no network device leaked the real MAC address 0.178
After features/support/hooks.rb:326 2.038
After features/support/hooks.rb:100 0.074
Tags: @product
1:8.333
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 16.716
And I enable persistence creation in Tails Greeter 1.587
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.556
Then I create a persistent partition with the default settings using the wizard that was already open 25.473
After features/support/hooks.rb:326 1.737
After features/support/hooks.rb:100 0.000
Tags: @product
4:48.388
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.496
When I enable persistence 41.938
Then no persistent Greeter options were restored 14.351
When I set all Greeter options to non-default values 28.755
And I log in to a new session in German (de) after having activated the Persistent Storage 54.047
Then all Greeter options are set to non-default values 0.403
When I cold reboot the computer 7.459
And the computer reboots Tails 1:0.628
Given I enable persistence 21.117
Then persistent Greeter options were restored 0.616
When I log in to a new session after having activated the Persistent Storage 43.239
Then all Greeter options are set to non-default values 0.332
After features/support/hooks.rb:326 0.899
After features/support/hooks.rb:100 0.015
Tags: @product
3:46.060
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.086
# 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.775
And I shutdown Tails and wait for the computer to power off 13.672
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.777
And I change the passphrase of the Persistent Storage back to the original 35.748
After features/support/hooks.rb:326 1.768
After features/support/hooks.rb:100 0.007
Tags: @product
1:2.482
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 10.686
And I log in to a new session without activating the Persistent Storage 22.009
Then persistence is disabled 0.349
But a Tails persistence partition exists on USB drive "__internal" 10.301
And all notifications have disappeared 11.162
When I delete the persistent partition 7.437
Then there is no persistence partition on USB drive "__internal" 0.535
After features/support/hooks.rb:326 0.908
After features/support/hooks.rb:100 0.000
Tags: @product
2:22.062
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.889
When I write some dotfile expected to persist 0.094
And I shutdown Tails and wait for the computer to power off 8.911
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.783
Then the expected persistent dotfile is present in the filesystem 0.383
After features/support/hooks.rb:326 1.202
After features/support/hooks.rb:100 0.009
Tags: @product
1:49.261
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.042
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.279
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.122
When I log in to a new session after having activated the Persistent Storage 44.714
And all notifications have disappeared 9.463
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.197
And all tps features are enabled 3.041
And all tps features but the first one are active 3.314
After features/support/hooks.rb:326 1.361
After features/support/hooks.rb:100 0.000
Tags: @product
6:22.849
Before features/support/hooks.rb:269 0.008
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:59.025
And I enable persistence 37.706
And I log in to a new session after having activated the Persistent Storage 40.352
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.397
And persistence is enabled 3.367
After features/support/hooks.rb:326 1.014
After features/support/hooks.rb:100 0.000
Tags: @product
29.346
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.688
And I enable persistence but something goes wrong during the LUKS header upgrade 19.751
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.905
After features/support/hooks.rb:326 0.921
After features/support/hooks.rb:100 0.000
Tags: @product
55.569
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.436
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.929
When I enable persistence 32.031
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 3.082
After features/support/hooks.rb:326 1.377
After features/support/hooks.rb:100 0.000
Tags: @product
27.735
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.063
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.131
When I try to enable persistence 0.482
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.723
When I repair the filesystem of the Persistent Storage 1.182
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.172
And the filesystem of the Persistent Storage was repaired 0.092
When I close the filesystem repair dialog 1.262
Then persistence is successfully enabled 1.623
After features/support/hooks.rb:326 1.307
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.425
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.803
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.120
When I try to enable persistence 0.285
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.540
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.093
When I log in to a new session 39.734
And all notifications have disappeared 11.976
# 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.716
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.942
When I close the "whisperback" window 1.374
Then the Tor Browser starts 12.566
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.994
After features/support/hooks.rb:326 2.760
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.589
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.309
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.736
And Tails detects disk read failures on the boot device 1.621
When I try to enable persistence 0.413
Then the Welcome Screen tells me that my hardware is probably failing 5.745
When I log in to a new session 21.190
And all notifications have disappeared 7.725
Then the Tor Browser starts 22.909
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.937
After features/support/hooks.rb:326 1.303
After features/support/hooks.rb:100 0.000