Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 67 07 Sep 2024, 16:28

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 38:56.330 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.100
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.312
And I update APT using apt 13.133
And I install "python3-behave" using apt 25.616
Then the Tails Persistent Storage behave tests pass 2.037
After features/support/hooks.rb:326 0.948
After features/support/hooks.rb:100 0.000
Tags: @product
47.987
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.962
When I log in to a new session without activating the Persistent Storage 26.446
Then Tails is running from USB drive "__internal" 0.755
And persistence is disabled 0.310
But a Tails persistence partition exists on USB drive "__internal" 6.513
After features/support/hooks.rb:326 1.535
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.994
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.945
Then Tails is running from USB drive "__internal" 0.529
When I create a file in the Persistent directory 0.162
And I create a persistent partition with the default settings 24.070
Then the file I created was copied to the Persistent Storage 0.672
When I shutdown Tails and wait for the computer to power off 12.868
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.097
Then persistence for "Persistent" is active 0.566
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 0.788
After features/support/hooks.rb:100 0.009
Tags: @product
1:2.225
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 13.007
And the system is very low on memory 4.270
When I create a file in the Persistent directory 1.497
When I try to create a persistent partition 26.898
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.125
When I close the Persistent Storage app 2.523
And I free up some memory 1.531
And I create a persistent partition with the default settings 12.107
Then the file I created was copied to the Persistent Storage 0.264
After features/support/hooks.rb:326 1.233
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.128
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.049
Then Tails is running from USB drive "__internal" 1.791
And all tps features are active 2.290
And all persistent directories have safe access rights 2.733
When I disable the first tps feature 5.919
Then all tps features but the first one are active 2.160
And I shutdown Tails and wait for the computer to power off 10.574
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.403
Then all tps features but the first one are active 2.204
After features/support/hooks.rb:326 0.789
After features/support/hooks.rb:100 0.017
Tags: @product
21.217
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.882
Then persistence for "Persistent" is active 0.591
And I create a file in the Persistent directory 0.077
Then the file I created was copied to the Persistent Storage 0.074
When I disable the first tps feature 5.916
Then persistence for "Persistent" is not active 0.084
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.364
Then persistence for "Persistent" is active 0.092
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 0.918
After features/support/hooks.rb:100 0.000
Tags: @product
20.173
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.917
Then persistence for "Persistent" is active 0.383
When I create a file in the Persistent directory 0.126
And I disable the first tps feature 5.838
And I delete the data of the Persistent Folder feature 3.861
Then the file I created does not exist on the Persistent Storage 0.046
After features/support/hooks.rb:326 1.130
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.326
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.285
And the network is plugged 0.073
And Tor is ready 20.920
And I take note of which tps features are available 0.595
When I write some files expected to persist 1.517
And I shutdown Tails and wait for the computer to power off 8.718
# 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.215
After features/support/hooks.rb:326 0.137
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.158
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.237
And the network is plugged 0.089
And Tor is ready 20.954
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.205
And I shutdown Tails and wait for the computer to power off 8.486
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.596
And I capture all network traffic 0.004
And the network is plugged 0.085
And Tor is ready 18.828
And I switch to the "persistent-con-current" NetworkManager connection 0.327
And the 1st network device has a spoofed MAC address configured 0.102
And no network device leaked the real MAC address 0.238
After features/support/hooks.rb:326 0.677
After features/support/hooks.rb:100 0.056
Tags: @product
58.079
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.096
And I enable persistence creation in Tails Greeter 1.208
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.247
Then I create a persistent partition with the default settings using the wizard that was already open 22.526
After features/support/hooks.rb:326 2.168
After features/support/hooks.rb:100 0.000
Tags: @product
4:44.392
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 12.484
When I enable persistence 32.024
Then no persistent Greeter options were restored 18.015
When I set all Greeter options to non-default values 24.628
And I log in to a new session in German (de) after having activated the Persistent Storage 44.007
Then all Greeter options are set to non-default values 1.285
When I cold reboot the computer 7.313
And the computer reboots Tails 1:0.503
Given I enable persistence 32.926
Then persistent Greeter options were restored 14.617
When I log in to a new session after having activated the Persistent Storage 36.374
Then all Greeter options are set to non-default values 0.211
After features/support/hooks.rb:326 1.328
After features/support/hooks.rb:100 0.007
Tags: @product
3:50.658
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.070
# 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.698
And I shutdown Tails and wait for the computer to power off 14.655
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.944
And I change the passphrase of the Persistent Storage back to the original 37.289
After features/support/hooks.rb:326 1.913
After features/support/hooks.rb:100 0.007
Tags: @product
55.143
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.330
And I log in to a new session without activating the Persistent Storage 20.111
Then persistence is disabled 0.200
But a Tails persistence partition exists on USB drive "__internal" 7.406
And all notifications have disappeared 9.022
When I delete the persistent partition 7.692
Then there is no persistence partition on USB drive "__internal" 0.379
After features/support/hooks.rb:326 0.710
After features/support/hooks.rb:100 0.000
Tags: @product
2:21.370
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.990
When I write some dotfile expected to persist 0.176
And I shutdown Tails and wait for the computer to power off 8.765
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.076
Then the expected persistent dotfile is present in the filesystem 0.361
After features/support/hooks.rb:326 1.018
After features/support/hooks.rb:100 0.008
Tags: @product
1:44.894
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.144
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.080
When I try to enable persistence 0.256
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.874
When I log in to a new session after having activated the Persistent Storage 46.419
And all notifications have disappeared 7.415
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.278
And all tps features are enabled 2.381
And all tps features but the first one are active 2.044
After features/support/hooks.rb:326 0.858
After features/support/hooks.rb:100 0.000
Tags: @product
6:41.533
Before features/support/hooks.rb:269 0.003
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 5:18.000
And I enable persistence 34.394
And I log in to a new session after having activated the Persistent Storage 47.301
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.676
And persistence is enabled 0.159
After features/support/hooks.rb:326 1.282
After features/support/hooks.rb:100 0.000
Tags: @product
29.994
Before features/support/hooks.rb:269 0.005
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.740
And I enable persistence but something goes wrong during the LUKS header upgrade 18.464
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.789
After features/support/hooks.rb:326 0.706
After features/support/hooks.rb:100 0.000
Tags: @product
44.166
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.079
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.047
When I enable persistence 28.524
Then the filesystem of the Persistent Storage was repaired 0.123
And persistence is successfully enabled 0.391
After features/support/hooks.rb:326 1.187
After features/support/hooks.rb:100 0.000
Tags: @product
25.743
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.081
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.690
When I try to enable persistence 0.418
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.852
When I repair the filesystem of the Persistent Storage 1.238
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.359
And the filesystem of the Persistent Storage was repaired 0.214
When I close the filesystem repair dialog 1.437
Then persistence is successfully enabled 0.451
After features/support/hooks.rb:326 0.822
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.042
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.417
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.376
And Tails detects disk read failures on the boot device 1.643
When I try to enable persistence 0.421
Then the Welcome Screen tells me that my hardware is probably failing 5.507
When I log in to a new session 19.833
Then the Tor Browser starts 26.546
And "Tails - Recovering the Persistent Storage of a broken Tails" has loaded in the Tor Browser 0.295
After features/support/hooks.rb:326 1.618
After features/support/hooks.rb:100 0.000