Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 71 19 Sep 2024, 16:48

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 156 0 0 0 0 156 21 0 21 41:8.527 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.471
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:40.719
And I update APT using apt 14.173
And I install "python3-behave" using apt 25.952
Then the Tails Persistent Storage behave tests pass 2.625
After features/support/hooks.rb:326 1.036
After features/support/hooks.rb:100 0.000
Tags: @product
52.208
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.783
When I log in to a new session without activating the Persistent Storage 24.617
Then Tails is running from USB drive "__internal" 0.946
And persistence is disabled 0.441
But a Tails persistence partition exists on USB drive "__internal" 11.419
After features/support/hooks.rb:326 1.478
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.679
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 11.973
Then Tails is running from USB drive "__internal" 0.528
When I create a file in the Persistent directory 0.218
And I create a persistent partition with the default settings 26.210
Then the file I created was copied to the Persistent Storage 0.825
When I shutdown Tails and wait for the computer to power off 13.277
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:31.208
Then persistence for "Persistent" is active 0.353
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:326 1.359
After features/support/hooks.rb:100 0.011
Tags: @product
1:0.848
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.482
And the system is very low on memory 5.028
When I create a file in the Persistent directory 0.945
When I try to create a persistent partition 25.506
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.138
When I close the Persistent Storage app 2.905
And I free up some memory 1.835
And I create a persistent partition with the default settings 11.776
Then the file I created was copied to the Persistent Storage 0.231
After features/support/hooks.rb:326 1.353
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.589
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.075
Then Tails is running from USB drive "__internal" 0.750
And all tps features are active 2.249
And all persistent directories have safe access rights 2.819
When I disable the first tps feature 6.845
Then all tps features but the first one are active 2.124
And I shutdown Tails and wait for the computer to power off 10.739
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.687
Then all tps features but the first one are active 2.298
After features/support/hooks.rb:326 0.761
After features/support/hooks.rb:100 0.008
Tags: @product
20.249
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.281
Then persistence for "Persistent" is active 0.092
And I create a file in the Persistent directory 0.079
Then the file I created was copied to the Persistent Storage 0.089
When I disable the first tps feature 5.948
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.468
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:326 0.760
After features/support/hooks.rb:100 0.000
Tags: @product
19.758
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.876
Then persistence for "Persistent" is active 0.086
When I create a file in the Persistent directory 0.068
And I disable the first tps feature 6.053
And I delete the data of the Persistent Folder feature 3.616
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:326 0.860
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.644
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.486
And the network is plugged 0.085
And Tor is ready 21.616
And I take note of which tps features are available 0.564
When I write some files expected to persist 1.627
And I shutdown Tails and wait for the computer to power off 8.442
# 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.821
After features/support/hooks.rb:326 0.094
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.068
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.631
And the network is plugged 0.081
And Tor is ready 21.616
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.201
And I shutdown Tails and wait for the computer to power off 9.098
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.906
And I capture all network traffic 0.007
And the network is plugged 0.065
And Tor is ready 19.726
And I switch to the "persistent-con-current" NetworkManager connection 0.401
And the 1st network device has a spoofed MAC address configured 0.088
And no network device leaked the real MAC address 0.242
After features/support/hooks.rb:326 0.599
After features/support/hooks.rb:100 0.047
Tags: @product
58.706
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 12.772
And I enable persistence creation in Tails Greeter 1.246
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.583
Then I create a persistent partition with the default settings using the wizard that was already open 24.104
After features/support/hooks.rb:326 1.564
After features/support/hooks.rb:100 0.000
Tags: @product
5:19.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 13.528
When I enable persistence 48.262
Then no persistent Greeter options were restored 14.725
When I set all Greeter options to non-default values 27.717
And I log in to a new session in German (de) after having activated the Persistent Storage 50.252
Then all Greeter options are set to non-default values 0.498
When I cold reboot the computer 7.609
And the computer reboots Tails 1:10.591
Given I enable persistence 31.719
Then persistent Greeter options were restored 14.883
When I log in to a new session after having activated the Persistent Storage 38.810
Then all Greeter options are set to non-default values 0.587
After features/support/hooks.rb:326 1.634
After features/support/hooks.rb:100 0.010
Tags: @product
3:40.512
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 10.406
# 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.856
And I shutdown Tails and wait for the computer to power off 12.968
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.410
And I change the passphrase of the Persistent Storage back to the original 28.870
After features/support/hooks.rb:326 2.322
After features/support/hooks.rb:100 0.010
Tags: @product
1:0.923
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.445
And I log in to a new session without activating the Persistent Storage 22.526
Then persistence is disabled 0.331
But a Tails persistence partition exists on USB drive "__internal" 9.626
And all notifications have disappeared 10.155
When I delete the persistent partition 7.250
Then there is no persistence partition on USB drive "__internal" 0.588
After features/support/hooks.rb:326 1.042
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.904
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 10.434
When I write some dotfile expected to persist 0.088
And I shutdown Tails and wait for the computer to power off 8.439
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.532
Then the expected persistent dotfile is present in the filesystem 0.408
After features/support/hooks.rb:326 1.002
After features/support/hooks.rb:100 0.009
Tags: @product
1:41.111
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.504
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.270
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.779
When I log in to a new session after having activated the Persistent Storage 43.726
And all notifications have disappeared 9.082
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.221
And all tps features are enabled 2.374
And all tps features but the first one are active 2.068
After features/support/hooks.rb:326 1.440
After features/support/hooks.rb:100 0.000
Tags: @product
5:47.197
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 4:21.098
And I enable persistence 43.811
And I log in to a new session after having activated the Persistent Storage 40.317
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.721
And persistence is enabled 0.249
After features/support/hooks.rb:326 1.485
After features/support/hooks.rb:100 0.000
Tags: @product
29.083
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 9.361
And I enable persistence but something goes wrong during the LUKS header upgrade 18.915
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.806
After features/support/hooks.rb:326 0.893
After features/support/hooks.rb:100 0.000
Tags: @product
43.545
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.540
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.270
When I enable persistence 29.199
Then the filesystem of the Persistent Storage was repaired 0.114
And persistence is successfully enabled 0.420
After features/support/hooks.rb:326 0.998
After features/support/hooks.rb:100 0.000
Tags: @product
25.817
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.164
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.414
When I try to enable persistence 1.470
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.082
When I repair the filesystem of the Persistent Storage 1.351
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.566
And the filesystem of the Persistent Storage was repaired 0.069
When I close the filesystem repair dialog 1.270
Then persistence is successfully enabled 0.427
After features/support/hooks.rb:326 0.827
After features/support/hooks.rb:100 0.000
Tags: @product
1:43.893
Before features/support/hooks.rb:269 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.278
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.131
When I try to enable persistence 0.284
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.468
When I repair the filesystem of the Persistent Storage 1.311
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.114
When I log in to a new session 35.636
And all notifications have disappeared 7.611
# 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.654
When I close the "whisperback" window 1.710
Then the Tor Browser starts 15.193
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.498
After features/support/hooks.rb:326 2.543
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.124
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.514
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.811
And Tails detects disk read failures on the boot device 1.551
When I try to enable persistence 1.436
Then the Welcome Screen tells me that my hardware is probably failing 5.819
When I log in to a new session 19.706
And all notifications have disappeared 5.578
Then the Tor Browser starts 24.053
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.652
After features/support/hooks.rb:326 1.774
After features/support/hooks.rb:100 0.000