Project Number Date
test_Tails_ISO_18530-do-not-restart-tor 25 02 Dec 2024, 10:16

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:1.364 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.320
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:41.996
And I update APT using apt 13.352
And I install "python3-behave" using apt 25.477
Then the Tails Persistent Storage behave tests pass 2.493
After features/support/hooks.rb:326 1.107
After features/support/hooks.rb:100 0.000
Tags: @product
48.347
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 12.454
When I log in to a new session without activating the Persistent Storage 22.129
Then Tails is running from USB drive "__internal" 0.902
And persistence is disabled 0.418
But a Tails persistence partition exists on USB drive "__internal" 12.442
After features/support/hooks.rb:326 2.409
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.753
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.774
Then Tails is running from USB drive "__internal" 0.392
When I create a file in the Persistent directory 0.138
And I create a persistent partition with the default settings 23.384
Then the file I created was copied to the Persistent Storage 0.798
When I shutdown Tails and wait for the computer to power off 12.487
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.144
Then persistence for "Persistent" is active 0.555
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 0.630
After features/support/hooks.rb:100 0.008
Tags: @product
1:6.487
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.563
And the system is very low on memory 4.966
When I create a file in the Persistent directory 1.423
When I try to create a persistent partition 28.874
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.348
When I close the Persistent Storage app 2.568
And I free up some memory 1.906
And I create a persistent partition with the default settings 14.562
Then the file I created was copied to the Persistent Storage 0.272
After features/support/hooks.rb:326 1.322
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.490
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 12.728
Then Tails is running from USB drive "__internal" 0.695
And all tps features are active 2.479
And all persistent directories have safe access rights 2.569
When I disable the first tps feature 8.437
Then all tps features but the first one are active 2.198
And I shutdown Tails and wait for the computer to power off 10.649
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.542
Then all tps features but the first one are active 2.188
After features/support/hooks.rb:326 0.684
After features/support/hooks.rb:100 0.007
Tags: @product
20.872
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 10.701
Then persistence for "Persistent" is active 0.092
And I create a file in the Persistent directory 0.385
Then the file I created was copied to the Persistent Storage 0.081
When I disable the first tps feature 6.183
Then persistence for "Persistent" is not active 0.108
And the Persistent directory does not exist 0.051
When I enable the first tps feature 3.116
Then persistence for "Persistent" is active 0.077
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 1.361
After features/support/hooks.rb:100 0.000
Tags: @product
23.036
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.975
Then persistence for "Persistent" is active 0.069
When I create a file in the Persistent directory 0.081
And I disable the first tps feature 8.259
And I delete the data of the Persistent Folder feature 4.596
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:326 0.944
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.966
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.740
And the network is plugged 0.099
And Tor is ready 23.213
And I take note of which tps features are available 0.618
When I write some files expected to persist 1.443
And I shutdown Tails and wait for the computer to power off 8.611
# 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.238
After features/support/hooks.rb:326 0.101
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.232
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 10.585
And the network is plugged 0.082
And Tor is ready 18.779
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.236
And I shutdown Tails and wait for the computer to power off 8.506
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.900
And I capture all network traffic 0.006
And the network is plugged 0.078
And Tor is ready 17.387
And I switch to the "persistent-con-current" NetworkManager connection 0.402
And the 1st network device has a spoofed MAC address configured 0.098
And no network device leaked the real MAC address 0.169
After features/support/hooks.rb:326 1.356
After features/support/hooks.rb:100 0.076
Tags: @product
1:7.056
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 21.667
And I enable persistence creation in Tails Greeter 1.169
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.962
Then I create a persistent partition with the default settings using the wizard that was already open 24.257
After features/support/hooks.rb:326 1.440
After features/support/hooks.rb:100 0.000
Tags: @product
4:33.552
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 13.477
When I enable persistence 43.086
Then no persistent Greeter options were restored 14.356
When I set all Greeter options to non-default values 25.483
And I log in to a new session in German (de) after having activated the Persistent Storage 44.940
Then all Greeter options are set to non-default values 0.518
When I cold reboot the computer 9.697
And the computer reboots Tails 1:1.093
Given I enable persistence 20.178
Then persistent Greeter options were restored 0.543
When I log in to a new session after having activated the Persistent Storage 39.742
Then all Greeter options are set to non-default values 0.435
After features/support/hooks.rb:326 1.224
After features/support/hooks.rb:100 0.008
Tags: @product
4:9.864
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.849
# 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 38.274
And I shutdown Tails and wait for the computer to power off 13.064
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:31.141
And I change the passphrase of the Persistent Storage back to the original 36.534
After features/support/hooks.rb:326 1.934
After features/support/hooks.rb:100 0.014
Tags: @product
1:4.741
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.512
And I log in to a new session without activating the Persistent Storage 22.293
Then persistence is disabled 0.382
But a Tails persistence partition exists on USB drive "__internal" 11.608
And all notifications have disappeared 11.192
When I delete the persistent partition 7.226
Then there is no persistence partition on USB drive "__internal" 0.526
After features/support/hooks.rb:326 0.885
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.934
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.889
When I write some dotfile expected to persist 0.120
And I shutdown Tails and wait for the computer to power off 11.168
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.319
Then the expected persistent dotfile is present in the filesystem 0.436
After features/support/hooks.rb:326 0.847
After features/support/hooks.rb:100 0.010
Tags: @product
1:43.668
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 10.113
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.108
When I try to enable persistence 0.389
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.890
When I log in to a new session after having activated the Persistent Storage 42.084
And all notifications have disappeared 8.643
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.647
And all tps features are enabled 2.313
And all tps features but the first one are active 2.476
After features/support/hooks.rb:326 1.171
After features/support/hooks.rb:100 0.000
Tags: @product
5:55.426
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 4:26.573
And I enable persistence 35.607
And I log in to a new session after having activated the Persistent Storage 47.054
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.369
And persistence is enabled 3.823
After features/support/hooks.rb:326 0.864
After features/support/hooks.rb:100 0.000
Tags: @product
35.888
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.727
And I enable persistence but something goes wrong during the LUKS header upgrade 25.284
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.876
After features/support/hooks.rb:326 1.575
After features/support/hooks.rb:100 0.000
Tags: @product
54.589
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 10.389
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.715
When I enable persistence 34.190
Then the filesystem of the Persistent Storage was repaired 0.117
And persistence is successfully enabled 3.176
After features/support/hooks.rb:326 1.117
After features/support/hooks.rb:100 0.000
Tags: @product
30.498
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.427
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.535
When I try to enable persistence 0.397
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 9.219
When I repair the filesystem of the Persistent Storage 1.350
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.244
And the filesystem of the Persistent Storage was repaired 0.415
When I close the filesystem repair dialog 1.321
Then persistence is successfully enabled 1.586
After features/support/hooks.rb:326 0.825
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.078
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.642
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.121
When I try to enable persistence 0.363
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.006
When I repair the filesystem of the Persistent Storage 1.577
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.096
When I log in to a new session 41.287
And all notifications have disappeared 8.377
# 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.558
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.201
When I close the "whisperback" window 1.673
Then the Tor Browser starts 21.927
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.245
After features/support/hooks.rb:326 2.507
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:25.558
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.614
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.903
And Tails detects disk read failures on the boot device 1.575
When I try to enable persistence 0.454
Then the Welcome Screen tells me that my hardware is probably failing 7.700
When I log in to a new session 24.096
And all notifications have disappeared 8.548
Then the Tor Browser starts 22.646
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.020
After features/support/hooks.rb:326 1.727
After features/support/hooks.rb:100 0.000