Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 41 25 Aug 2024, 16:37

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:50.584 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.937
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:39.573
And I update APT using apt 20.294
And I install "python3-behave" using apt 25.627
Then the Tails Persistent Storage behave tests pass 2.442
After features/support/hooks.rb:326 1.196
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.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 12.953
When I log in to a new session without activating the Persistent Storage 40.359
Then Tails is running from USB drive "__internal" 0.509
And persistence is disabled 0.370
But a Tails persistence partition exists on USB drive "__internal" 6.759
After features/support/hooks.rb:326 1.476
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.992
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 17.776
Then Tails is running from USB drive "__internal" 0.425
When I create a file in the Persistent directory 0.131
And I create a persistent partition with the default settings 22.048
Then the file I created was copied to the Persistent Storage 0.721
When I shutdown Tails and wait for the computer to power off 12.666
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.303
Then persistence for "Persistent" is active 0.858
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:326 0.692
After features/support/hooks.rb:100 0.009
Tags: @product
54.554
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 12.139
And the system is very low on memory 4.359
When I create a file in the Persistent directory 0.942
When I try to create a persistent partition 20.793
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.273
When I close the Persistent Storage app 2.577
And I free up some memory 1.537
And I create a persistent partition with the default settings 11.696
Then the file I created was copied to the Persistent Storage 0.234
After features/support/hooks.rb:326 1.497
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.101
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.470
Then Tails is running from USB drive "__internal" 0.392
And all tps features are active 2.226
And all persistent directories have safe access rights 2.545
When I disable the first tps feature 5.483
Then all tps features but the first one are active 2.081
And I shutdown Tails and wait for the computer to power off 10.857
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.838
Then all tps features but the first one are active 2.205
After features/support/hooks.rb:326 0.829
After features/support/hooks.rb:100 0.008
Tags: @product
18.789
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.526
Then persistence for "Persistent" is active 0.108
And I create a file in the Persistent directory 0.090
Then the file I created was copied to the Persistent Storage 0.079
When I disable the first tps feature 5.542
Then persistence for "Persistent" is not active 0.087
And the Persistent directory does not exist 0.092
When I enable the first tps feature 3.119
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.058
After features/support/hooks.rb:326 0.906
After features/support/hooks.rb:100 0.000
Tags: @product
19.428
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.805
Then persistence for "Persistent" is active 0.071
When I create a file in the Persistent directory 0.102
And I disable the first tps feature 5.557
And I delete the data of the Persistent Folder feature 3.831
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:326 0.864
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.055
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.223
And the network is plugged 0.082
And Tor is ready 17.784
And I take note of which tps features are available 0.585
When I write some files expected to persist 1.463
And I shutdown Tails and wait for the computer to power off 8.617
# 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.297
After features/support/hooks.rb:326 0.145
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.801
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.478
And the network is plugged 0.084
And Tor is ready 15.788
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.160
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.489
And I capture all network traffic 0.007
And the network is plugged 0.093
And Tor is ready 19.746
And I switch to the "persistent-con-current" NetworkManager connection 0.370
And the 1st network device has a spoofed MAC address configured 0.124
And no network device leaked the real MAC address 0.255
After features/support/hooks.rb:326 0.680
After features/support/hooks.rb:100 0.065
Tags: @product
58.209
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 14.171
And I enable persistence creation in Tails Greeter 1.115
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.526
Then I create a persistent partition with the default settings using the wizard that was already open 22.397
After features/support/hooks.rb:326 1.442
After features/support/hooks.rb:100 0.000
Tags: @product
5:9.112
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.428
When I enable persistence 46.451
Then no persistent Greeter options were restored 14.478
When I set all Greeter options to non-default values 26.666
And I log in to a new session in German (de) after having activated the Persistent Storage 54.051
Then all Greeter options are set to non-default values 0.718
When I cold reboot the computer 7.424
And the computer reboots Tails 59.370
Given I enable persistence 34.119
Then persistent Greeter options were restored 14.892
When I log in to a new session after having activated the Persistent Storage 38.080
Then all Greeter options are set to non-default values 0.429
After features/support/hooks.rb:326 1.400
After features/support/hooks.rb:100 0.009
Tags: @product
3:42.838
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.659
# 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 39.029
And I shutdown Tails and wait for the computer to power off 14.960
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:2.399
And I change the passphrase of the Persistent Storage back to the original 36.789
After features/support/hooks.rb:326 1.891
After features/support/hooks.rb:100 0.010
Tags: @product
57.592
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 11.796
And I log in to a new session without activating the Persistent Storage 22.303
Then persistence is disabled 0.283
But a Tails persistence partition exists on USB drive "__internal" 8.914
And all notifications have disappeared 8.092
When I delete the persistent partition 5.683
Then there is no persistence partition on USB drive "__internal" 0.518
After features/support/hooks.rb:326 0.847
After features/support/hooks.rb:100 0.000
Tags: @product
2:20.385
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.872
When I write some dotfile expected to persist 0.060
And I shutdown Tails and wait for the computer to power off 8.684
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.332
Then the expected persistent dotfile is present in the filesystem 0.436
After features/support/hooks.rb:326 1.249
After features/support/hooks.rb:100 0.009
Tags: @product
1:54.552
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 11.665
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 1.342
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 40.217
When I log in to a new session after having activated the Persistent Storage 45.982
And all notifications have disappeared 7.535
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.588
And all tps features are enabled 2.199
And all tps features but the first one are active 1.932
After features/support/hooks.rb:326 1.021
After features/support/hooks.rb:100 0.000
Tags: @product
7:6.356
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 5:43.517
And I enable persistence 34.303
And I log in to a new session after having activated the Persistent Storage 45.154
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.018
And persistence is enabled 0.362
After features/support/hooks.rb:326 1.830
After features/support/hooks.rb:100 0.000
Tags: @product
29.388
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 9.143
And I enable persistence but something goes wrong during the LUKS header upgrade 19.398
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.846
After features/support/hooks.rb:326 0.760
After features/support/hooks.rb:100 0.000
Tags: @product
44.557
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.900
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.178
When I enable persistence 29.028
Then the filesystem of the Persistent Storage was repaired 0.108
And persistence is successfully enabled 0.341
After features/support/hooks.rb:326 1.050
After features/support/hooks.rb:100 0.000
Tags: @product
26.278
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.873
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.300
When I try to enable persistence 0.386
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.513
When I repair the filesystem of the Persistent Storage 1.203
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.263
And the filesystem of the Persistent Storage was repaired 0.071
When I close the filesystem repair dialog 1.273
Then persistence is successfully enabled 0.391
After features/support/hooks.rb:326 0.769
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.699
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.272
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.192
And Tails detects disk read failures on the boot device 1.557
When I try to enable persistence 0.439
Then the Welcome Screen tells me that my hardware is probably failing 5.966
When I log in to a new session 20.451
Then the Tor Browser starts 28.481
And "Tails - Recovering the Persistent Storage of a broken Tails" has loaded in the Tor Browser 0.337
After features/support/hooks.rb:326 1.683
After features/support/hooks.rb:100 0.000