Project Number Date
test_Tails_ISO_18530-do-not-restart-tor 24 01 Dec 2024, 10:12

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 40:44.053 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:20.849
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:38.162
And I update APT using apt 14.494
And I install "python3-behave" using apt 25.968
Then the Tails Persistent Storage behave tests pass 2.223
After features/support/hooks.rb:326 1.722
After features/support/hooks.rb:100 0.000
Tags: @product
41.863
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 11.746
When I log in to a new session without activating the Persistent Storage 23.534
Then Tails is running from USB drive "__internal" 0.517
And persistence is disabled 0.380
But a Tails persistence partition exists on USB drive "__internal" 5.685
After features/support/hooks.rb:326 0.855
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.497
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 12.367
Then Tails is running from USB drive "__internal" 0.436
When I create a file in the Persistent directory 0.133
And I create a persistent partition with the default settings 24.011
Then the file I created was copied to the Persistent Storage 0.967
When I shutdown Tails and wait for the computer to power off 15.123
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.731
Then persistence for "Persistent" is active 0.666
And the file I created in the Persistent directory exists 0.060
After features/support/hooks.rb:326 2.417
After features/support/hooks.rb:100 0.010
Tags: @product
1:6.681
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.241
And the system is very low on memory 5.371
When I create a file in the Persistent directory 0.826
When I try to create a persistent partition 30.575
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.218
When I close the Persistent Storage app 2.665
And I free up some memory 1.668
And I create a persistent partition with the default settings 13.886
Then the file I created was copied to the Persistent Storage 0.226
After features/support/hooks.rb:326 1.342
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.569
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 12.732
Then Tails is running from USB drive "__internal" 0.527
And all tps features are active 2.444
And all persistent directories have safe access rights 2.722
When I disable the first tps feature 7.224
Then all tps features but the first one are active 2.215
And I shutdown Tails and wait for the computer to power off 17.882
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.777
Then all tps features but the first one are active 2.044
After features/support/hooks.rb:326 1.183
After features/support/hooks.rb:100 0.010
Tags: @product
22.926
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 11.595
Then persistence for "Persistent" is active 0.675
And I create a file in the Persistent directory 0.084
Then the file I created was copied to the Persistent Storage 0.081
When I disable the first tps feature 7.014
Then persistence for "Persistent" is not active 0.125
And the Persistent directory does not exist 0.072
When I enable the first tps feature 3.128
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:326 0.871
After features/support/hooks.rb:100 0.000
Tags: @product
24.860
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 11.036
Then persistence for "Persistent" is active 0.384
When I create a file in the Persistent directory 0.117
And I disable the first tps feature 7.143
And I delete the data of the Persistent Folder feature 6.112
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:326 0.765
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.604
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.957
And the network is plugged 0.269
And Tor is ready 20.385
And I take note of which tps features are available 0.592
When I write some files expected to persist 1.611
And I shutdown Tails and wait for the computer to power off 8.533
# 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.254
After features/support/hooks.rb:326 0.119
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.293
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.640
And the network is plugged 0.090
And Tor is ready 19.360
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.185
And I shutdown Tails and wait for the computer to power off 8.607
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.126
And I capture all network traffic 0.007
And the network is plugged 0.269
And Tor is ready 17.251
And I switch to the "persistent-con-current" NetworkManager connection 0.473
And the 1st network device has a spoofed MAC address configured 0.115
And no network device leaked the real MAC address 0.162
After features/support/hooks.rb:326 1.365
After features/support/hooks.rb:100 0.065
Tags: @product
55.991
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 12.008
And I enable persistence creation in Tails Greeter 1.251
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.499
Then I create a persistent partition with the default settings using the wizard that was already open 21.232
After features/support/hooks.rb:326 1.698
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.832
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.778
When I enable persistence 43.999
Then no persistent Greeter options were restored 14.543
When I set all Greeter options to non-default values 25.102
And I log in to a new session in German (de) after having activated the Persistent Storage 44.216
Then all Greeter options are set to non-default values 0.495
When I cold reboot the computer 7.562
And the computer reboots Tails 1:10.275
Given I enable persistence 21.128
Then persistent Greeter options were restored 0.673
When I log in to a new session after having activated the Persistent Storage 39.340
Then all Greeter options are set to non-default values 0.716
After features/support/hooks.rb:326 1.339
After features/support/hooks.rb:100 0.010
Tags: @product
3:49.227
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 15.164
# 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.061
And I shutdown Tails and wait for the computer to power off 12.533
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.955
And I change the passphrase of the Persistent Storage back to the original 36.512
After features/support/hooks.rb:326 2.322
After features/support/hooks.rb:100 0.011
Tags: @product
1:1.531
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 11.244
And I log in to a new session without activating the Persistent Storage 24.673
Then persistence is disabled 0.365
But a Tails persistence partition exists on USB drive "__internal" 9.424
And all notifications have disappeared 8.878
When I delete the persistent partition 6.459
Then there is no persistence partition on USB drive "__internal" 0.483
After features/support/hooks.rb:326 1.426
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.586
Before features/support/hooks.rb:269 0.038
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.026
When I write some dotfile expected to persist 0.340
And I shutdown Tails and wait for the computer to power off 8.864
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.960
Then the expected persistent dotfile is present in the filesystem 0.394
After features/support/hooks.rb:326 0.866
After features/support/hooks.rb:100 0.010
Tags: @product
1:40.505
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.518
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.122
When I try to enable persistence 0.340
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.914
When I log in to a new session after having activated the Persistent Storage 40.149
And all notifications have disappeared 9.200
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.659
And all tps features are enabled 2.304
And all tps features but the first one are active 2.296
After features/support/hooks.rb:326 1.233
After features/support/hooks.rb:100 0.000
Tags: @product
5:21.539
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 3:54.779
And I enable persistence 34.183
And I log in to a new session after having activated the Persistent Storage 45.612
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.586
And persistence is enabled 3.378
After features/support/hooks.rb:326 0.875
After features/support/hooks.rb:100 0.000
Tags: @product
33.623
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 10.453
And I enable persistence but something goes wrong during the LUKS header upgrade 22.396
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.773
After features/support/hooks.rb:326 0.742
After features/support/hooks.rb:100 0.000
Tags: @product
53.803
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.096
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.304
When I enable persistence 33.409
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 2.905
After features/support/hooks.rb:326 0.840
After features/support/hooks.rb:100 0.000
Tags: @product
32.665
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 8.960
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.729
When I try to enable persistence 0.610
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.726
When I repair the filesystem of the Persistent Storage 1.318
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.258
And the filesystem of the Persistent Storage was repaired 0.083
When I close the filesystem repair dialog 1.289
Then persistence is successfully enabled 1.687
After features/support/hooks.rb:326 1.089
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.586
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 10.635
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.116
When I try to enable persistence 0.348
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.208
When I repair the filesystem of the Persistent Storage 1.963
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.149
When I log in to a new session 34.272
And all notifications have disappeared 9.235
# 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.844
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.650
When I close the "whisperback" window 1.490
Then the Tor Browser starts 20.608
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.061
After features/support/hooks.rb:326 2.839
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:28.014
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.873
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 13.499
And Tails detects disk read failures on the boot device 0.589
When I try to enable persistence 0.489
Then the Welcome Screen tells me that my hardware is probably failing 7.785
When I log in to a new session 23.036
And all notifications have disappeared 7.794
Then the Tor Browser starts 23.898
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.048
After features/support/hooks.rb:326 1.450
After features/support/hooks.rb:100 0.000