Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 64 04 Sep 2024, 19:05

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 39:29.272 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:24.921
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:42.720
And I update APT using apt 13.559
And I install "python3-behave" using apt 25.876
Then the Tails Persistent Storage behave tests pass 2.765
After features/support/hooks.rb:326 0.902
After features/support/hooks.rb:100 0.000
Tags: @product
56.112
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.536
When I log in to a new session without activating the Persistent Storage 28.902
Then Tails is running from USB drive "__internal" 0.477
And persistence is disabled 0.520
But a Tails persistence partition exists on USB drive "__internal" 12.675
After features/support/hooks.rb:326 1.443
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.782
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 16.781
Then Tails is running from USB drive "__internal" 0.751
When I create a file in the Persistent directory 0.174
And I create a persistent partition with the default settings 34.078
Then the file I created was copied to the Persistent Storage 0.643
When I shutdown Tails and wait for the computer to power off 15.150
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.256
Then persistence for "Persistent" is active 0.875
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 0.689
After features/support/hooks.rb:100 0.009
Tags: @product
1:2.743
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 14.269
And the system is very low on memory 4.705
When I create a file in the Persistent directory 1.475
When I try to create a persistent partition 24.812
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.230
When I close the Persistent Storage app 2.577
And I free up some memory 1.702
And I create a persistent partition with the default settings 12.728
Then the file I created was copied to the Persistent Storage 0.242
After features/support/hooks.rb:326 1.290
After features/support/hooks.rb:100 0.000
Tags: @product
2:48.103
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.508
Then Tails is running from USB drive "__internal" 0.349
And all tps features are active 2.376
And all persistent directories have safe access rights 2.471
When I disable the first tps feature 6.134
Then all tps features but the first one are active 2.046
And I shutdown Tails and wait for the computer to power off 8.912
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.025
Then all tps features but the first one are active 2.279
After features/support/hooks.rb:326 0.736
After features/support/hooks.rb:100 0.008
Tags: @product
20.219
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 9.624
Then persistence for "Persistent" is active 0.168
And I create a file in the Persistent directory 0.090
Then the file I created was copied to the Persistent Storage 0.459
When I disable the first tps feature 6.032
Then persistence for "Persistent" is not active 0.100
And the Persistent directory does not exist 0.098
When I enable the first tps feature 3.484
Then persistence for "Persistent" is active 0.077
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:326 0.970
After features/support/hooks.rb:100 0.000
Tags: @product
21.051
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.086
Then persistence for "Persistent" is active 0.112
When I create a file in the Persistent directory 0.095
And I disable the first tps feature 6.640
And I delete the data of the Persistent Folder feature 4.063
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:326 1.112
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.339
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.723
And the network is plugged 0.081
And Tor is ready 20.156
And I take note of which tps features are available 0.605
When I write some files expected to persist 1.634
And I shutdown Tails and wait for the computer to power off 11.574
# 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.563
After features/support/hooks.rb:326 0.159
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.087
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.462
And the network is plugged 0.106
And Tor is ready 18.711
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.251
And I shutdown Tails and wait for the computer to power off 8.430
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.830
And I capture all network traffic 0.006
And the network is plugged 0.076
And Tor is ready 21.380
And I switch to the "persistent-con-current" NetworkManager connection 0.425
And the 1st network device has a spoofed MAC address configured 0.143
And no network device leaked the real MAC address 0.262
After features/support/hooks.rb:326 0.695
After features/support/hooks.rb:100 0.057
Tags: @product
1:5.162
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.730
And I enable persistence creation in Tails Greeter 1.132
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.883
Then I create a persistent partition with the default settings using the wizard that was already open 25.416
After features/support/hooks.rb:326 1.965
After features/support/hooks.rb:100 0.000
Tags: @product
5:20.188
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 13.407
When I enable persistence 49.227
Then no persistent Greeter options were restored 14.384
When I set all Greeter options to non-default values 25.875
And I log in to a new session in German (de) after having activated the Persistent Storage 55.502
Then all Greeter options are set to non-default values 0.278
When I cold reboot the computer 7.548
And the computer reboots Tails 1:6.302
Given I enable persistence 33.566
Then persistent Greeter options were restored 15.386
When I log in to a new session after having activated the Persistent Storage 38.142
Then all Greeter options are set to non-default values 0.565
After features/support/hooks.rb:326 0.812
After features/support/hooks.rb:100 0.009
Tags: @product
3:41.044
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.958
# 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 33.113
And I shutdown Tails and wait for the computer to power off 12.878
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.245
And I change the passphrase of the Persistent Storage back to the original 32.847
After features/support/hooks.rb:326 2.397
After features/support/hooks.rb:100 0.008
Tags: @product
1:5.924
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 12.084
And I log in to a new session without activating the Persistent Storage 24.658
Then persistence is disabled 0.402
But a Tails persistence partition exists on USB drive "__internal" 11.106
And all notifications have disappeared 10.368
When I delete the persistent partition 6.843
Then there is no persistence partition on USB drive "__internal" 0.461
After features/support/hooks.rb:326 0.785
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.813
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.612
When I write some dotfile expected to persist 0.069
And I shutdown Tails and wait for the computer to power off 9.073
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.616
Then the expected persistent dotfile is present in the filesystem 0.442
After features/support/hooks.rb:326 0.968
After features/support/hooks.rb:100 0.010
Tags: @product
1:41.629
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.840
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.425
When I try to enable persistence 0.400
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.584
When I log in to a new session after having activated the Persistent Storage 40.073
And all notifications have disappeared 8.068
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.226
And all tps features are enabled 2.663
And all tps features but the first one are active 2.346
After features/support/hooks.rb:326 2.972
After features/support/hooks.rb:100 0.000
Tags: @product
5:11.108
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:46.834
And I enable persistence 38.755
And I log in to a new session after having activated the Persistent Storage 43.543
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.507
And persistence is enabled 0.467
After features/support/hooks.rb:326 1.503
After features/support/hooks.rb:100 0.000
Tags: @product
31.482
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 8.946
And I enable persistence but something goes wrong during the LUKS header upgrade 21.666
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.869
After features/support/hooks.rb:326 0.755
After features/support/hooks.rb:100 0.000
Tags: @product
47.953
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.650
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.338
When I enable persistence 29.421
Then the filesystem of the Persistent Storage was repaired 0.126
And persistence is successfully enabled 0.417
After features/support/hooks.rb:326 0.857
After features/support/hooks.rb:100 0.000
Tags: @product
26.536
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.046
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.037
When I try to enable persistence 1.502
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.059
When I repair the filesystem of the Persistent Storage 1.278
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.544
And the filesystem of the Persistent Storage was repaired 0.142
When I close the filesystem repair dialog 1.335
Then persistence is successfully enabled 0.589
After features/support/hooks.rb:326 0.859
After features/support/hooks.rb:100 0.000
Tags: @product
1:15.066
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 8.892
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.982
And Tails detects disk read failures on the boot device 0.505
When I try to enable persistence 0.458
Then the Welcome Screen tells me that my hardware is probably failing 6.277
When I log in to a new session 20.769
Then the Tor Browser starts 31.885
And "Tails - Recovering the Persistent Storage of a broken Tails" has loaded in the Tor Browser 0.296
After features/support/hooks.rb:326 2.076
After features/support/hooks.rb:100 0.000