Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 46 27 Aug 2024, 13:40

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 143 0 0 0 0 143 20 0 20 40:3.932 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:33.390
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:44.166
And I update APT using apt 19.655
And I install "python3-behave" using apt 26.223
Then the Tails Persistent Storage behave tests pass 3.345
After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.000
Tags: @product
47.738
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 14.499
When I log in to a new session without activating the Persistent Storage 24.509
Then Tails is running from USB drive "__internal" 0.554
And persistence is disabled 0.492
But a Tails persistence partition exists on USB drive "__internal" 7.682
After features/support/hooks.rb:326 1.688
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.716
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 19.320
Then Tails is running from USB drive "__internal" 0.489
When I create a file in the Persistent directory 0.150
And I create a persistent partition with the default settings 22.450
Then the file I created was copied to the Persistent Storage 0.630
When I shutdown Tails and wait for the computer to power off 15.394
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.833
Then persistence for "Persistent" is active 0.361
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:326 0.852
After features/support/hooks.rb:100 0.010
Tags: @product
1:4.811
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 13.446
And the system is very low on memory 6.890
When I create a file in the Persistent directory 0.928
When I try to create a persistent partition 24.565
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.150
When I close the Persistent Storage app 2.782
And I free up some memory 1.303
And I create a persistent partition with the default settings 14.446
Then the file I created was copied to the Persistent Storage 0.298
After features/support/hooks.rb:326 1.953
After features/support/hooks.rb:100 0.000
Tags: @product
2:48.659
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.606
Then Tails is running from USB drive "__internal" 1.125
And all tps features are active 2.910
And all persistent directories have safe access rights 2.784
When I disable the first tps feature 5.505
Then all tps features but the first one are active 2.431
And I shutdown Tails and wait for the computer to power off 10.893
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.789
Then all tps features but the first one are active 2.612
After features/support/hooks.rb:326 0.678
After features/support/hooks.rb:100 0.008
Tags: @product
22.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 12.175
Then persistence for "Persistent" is active 0.090
And I create a file in the Persistent directory 0.100
Then the file I created was copied to the Persistent Storage 0.151
When I disable the first tps feature 5.759
Then persistence for "Persistent" is not active 0.143
And the Persistent directory does not exist 0.098
When I enable the first tps feature 3.736
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 1.109
After features/support/hooks.rb:100 0.000
Tags: @product
20.954
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 11.034
Then persistence for "Persistent" is active 0.127
When I create a file in the Persistent directory 0.118
And I disable the first tps feature 5.412
And I delete the data of the Persistent Folder feature 4.194
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:326 1.109
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.450
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.752
And the network is plugged 0.156
And Tor is ready 19.816
And I take note of which tps features are available 0.793
When I write some files expected to persist 1.662
And I shutdown Tails and wait for the computer to power off 8.791
# 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.476
After features/support/hooks.rb:326 0.123
After features/support/hooks.rb:100 0.000
Tags: @product
3:50.491
Before features/support/hooks.rb:269 0.013
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.421
And the network is plugged 0.114
And Tor is ready 20.532
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.176
And I shutdown Tails and wait for the computer to power off 11.119
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.854
And I capture all network traffic 0.007
And the network is plugged 0.105
And Tor is ready 50.302
And I switch to the "persistent-con-current" NetworkManager connection 0.362
And the 1st network device has a spoofed MAC address configured 0.096
And no network device leaked the real MAC address 0.397
After features/support/hooks.rb:326 0.582
After features/support/hooks.rb:100 0.054
Tags: @product
1:4.731
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 14.876
And I enable persistence creation in Tails Greeter 1.178
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.981
Then I create a persistent partition with the default settings using the wizard that was already open 26.694
After features/support/hooks.rb:326 2.374
After features/support/hooks.rb:100 0.000
Tags: @product
5:17.889
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 20.074
When I enable persistence 43.485
Then no persistent Greeter options were restored 14.862
When I set all Greeter options to non-default values 28.527
And I log in to a new session in German (de) after having activated the Persistent Storage 48.137
Then all Greeter options are set to non-default values 0.636
When I cold reboot the computer 8.242
And the computer reboots Tails 1:3.641
Given I enable persistence 33.564
Then persistent Greeter options were restored 15.079
When I log in to a new session after having activated the Persistent Storage 41.342
Then all Greeter options are set to non-default values 0.296
After features/support/hooks.rb:326 1.790
After features/support/hooks.rb:100 0.023
Tags: @product
3:57.697
Before features/support/hooks.rb:269 0.014
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.752
# 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 41.543
And I shutdown Tails and wait for the computer to power off 14.264
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:16.021
And I change the passphrase of the Persistent Storage back to the original 35.115
After features/support/hooks.rb:326 2.619
After features/support/hooks.rb:100 0.015
Tags: @product
58.917
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 11.105
And I log in to a new session without activating the Persistent Storage 23.933
Then persistence is disabled 0.299
But a Tails persistence partition exists on USB drive "__internal" 8.856
And all notifications have disappeared 8.190
When I delete the persistent partition 5.973
Then there is no persistence partition on USB drive "__internal" 0.557
After features/support/hooks.rb:326 1.062
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.887
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.573
When I write some dotfile expected to persist 0.060
And I shutdown Tails and wait for the computer to power off 8.567
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.224
Then the expected persistent dotfile is present in the filesystem 0.461
After features/support/hooks.rb:326 0.648
After features/support/hooks.rb:100 0.015
Tags: @product
1:43.431
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.367
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.300
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.878
When I log in to a new session after having activated the Persistent Storage 44.742
And all notifications have disappeared 9.036
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.355
And all tps features are enabled 2.500
And all tps features but the first one are active 2.168
After features/support/hooks.rb:326 1.400
After features/support/hooks.rb:100 0.000
Tags: @product
5:13.090
Before features/support/hooks.rb:269 0.006
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:50.239
And I enable persistence 37.431
And I log in to a new session after having activated the Persistent Storage 40.934
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.338
And persistence is enabled 0.146
After features/support/hooks.rb:326 1.903
After features/support/hooks.rb:100 0.000
Tags: @product
30.102
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.919
And I enable persistence but something goes wrong during the LUKS header upgrade 19.399
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.783
After features/support/hooks.rb:326 0.940
After features/support/hooks.rb:100 0.000
Tags: @product
48.271
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.160
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.785
When I enable persistence 31.831
Then the filesystem of the Persistent Storage was repaired 0.122
And persistence is successfully enabled 0.371
After features/support/hooks.rb:326 1.144
After features/support/hooks.rb:100 0.000
Tags: @product
28.983
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.884
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.407
When I try to enable persistence 0.452
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.595
When I repair the filesystem of the Persistent Storage 1.274
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.458
And the filesystem of the Persistent Storage was repaired 1.660
When I close the filesystem repair dialog 1.810
Then persistence is successfully enabled 0.438
After features/support/hooks.rb:326 1.019
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.302
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.398
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.226
And Tails detects disk read failures on the boot device 1.693
When I try to enable persistence 0.408
Then the Welcome Screen tells me that my hardware is probably failing 6.328
When I log in to a new session 20.257
Then the Tor Browser starts 30.638
And "Tails - Recovering the Persistent Storage of a broken Tails" has loaded in the Tor Browser 0.350
After features/support/hooks.rb:326 1.579
After features/support/hooks.rb:100 0.000