Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 69 18 Sep 2024, 23:59

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 38:38.292 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:14.571
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:33.678
And I update APT using apt 13.159
And I install "python3-behave" using apt 25.570
Then the Tails Persistent Storage behave tests pass 2.162
After features/support/hooks.rb:326 0.981
After features/support/hooks.rb:100 0.000
Tags: @product
42.157
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.490
When I log in to a new session without activating the Persistent Storage 21.562
Then Tails is running from USB drive "__internal" 0.485
And persistence is disabled 0.275
But a Tails persistence partition exists on USB drive "__internal" 7.343
After features/support/hooks.rb:326 1.108
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.023
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.344
Then Tails is running from USB drive "__internal" 0.514
When I create a file in the Persistent directory 0.160
And I create a persistent partition with the default settings 23.541
Then the file I created was copied to the Persistent Storage 0.687
When I shutdown Tails and wait for the computer to power off 12.429
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.904
Then persistence for "Persistent" is active 0.361
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:326 0.867
After features/support/hooks.rb:100 0.008
Tags: @product
1:0.397
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.050
And the system is very low on memory 4.676
When I create a file in the Persistent directory 1.849
When I try to create a persistent partition 25.945
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.137
When I close the Persistent Storage app 2.521
And I free up some memory 1.545
And I create a persistent partition with the default settings 12.435
Then the file I created was copied to the Persistent Storage 0.236
After features/support/hooks.rb:326 1.308
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.201
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.241
Then Tails is running from USB drive "__internal" 0.420
And all tps features are active 2.702
And all persistent directories have safe access rights 2.493
When I disable the first tps feature 5.645
Then all tps features but the first one are active 2.073
And I shutdown Tails and wait for the computer to power off 10.656
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.847
Then all tps features but the first one are active 2.120
After features/support/hooks.rb:326 1.015
After features/support/hooks.rb:100 0.007
Tags: @product
19.776
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.094
Then persistence for "Persistent" is active 0.089
And I create a file in the Persistent directory 0.055
Then the file I created was copied to the Persistent Storage 0.383
When I disable the first tps feature 5.469
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.046
When I enable the first tps feature 3.433
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.060
After features/support/hooks.rb:326 0.840
After features/support/hooks.rb:100 0.000
Tags: @product
19.613
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.729
Then persistence for "Persistent" is active 0.290
When I create a file in the Persistent directory 0.064
And I disable the first tps feature 5.816
And I delete the data of the Persistent Folder feature 3.619
Then the file I created does not exist on the Persistent Storage 0.092
After features/support/hooks.rb:326 0.798
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.714
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.503
And the network is plugged 0.097
And Tor is ready 19.249
And I take note of which tps features are available 0.563
When I write some files expected to persist 1.463
And I shutdown Tails and wait for the computer to power off 8.392
# 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.442
After features/support/hooks.rb:326 0.147
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.279
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 9.720
And the network is plugged 0.082
And Tor is ready 19.267
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.206
And I shutdown Tails and wait for the computer to power off 8.514
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.509
And I capture all network traffic 0.014
And the network is plugged 0.070
And Tor is ready 19.215
And I switch to the "persistent-con-current" NetworkManager connection 0.313
And the 1st network device has a spoofed MAC address configured 0.099
And no network device leaked the real MAC address 0.265
After features/support/hooks.rb:326 0.616
After features/support/hooks.rb:100 0.047
Tags: @product
54.659
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.044
And I enable persistence creation in Tails Greeter 1.118
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.798
Then I create a persistent partition with the default settings using the wizard that was already open 21.698
After features/support/hooks.rb:326 1.656
After features/support/hooks.rb:100 0.000
Tags: @product
5:0.688
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.103
When I enable persistence 37.047
Then no persistent Greeter options were restored 14.414
When I set all Greeter options to non-default values 29.601
And I log in to a new session in German (de) after having activated the Persistent Storage 49.691
Then all Greeter options are set to non-default values 0.641
When I cold reboot the computer 7.447
And the computer reboots Tails 57.582
Given I enable persistence 32.010
Then persistent Greeter options were restored 14.896
When I log in to a new session after having activated the Persistent Storage 44.955
Then all Greeter options are set to non-default values 0.295
After features/support/hooks.rb:326 1.074
After features/support/hooks.rb:100 0.006
Tags: @product
3:52.583
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.675
# 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.798
And I shutdown Tails and wait for the computer to power off 12.380
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.125
And I change the passphrase of the Persistent Storage back to the original 44.604
After features/support/hooks.rb:326 1.924
After features/support/hooks.rb:100 0.008
Tags: @product
51.967
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 10.101
And I log in to a new session without activating the Persistent Storage 19.858
Then persistence is disabled 0.263
But a Tails persistence partition exists on USB drive "__internal" 6.801
And all notifications have disappeared 8.205
When I delete the persistent partition 6.224
Then there is no persistence partition on USB drive "__internal" 0.512
After features/support/hooks.rb:326 0.837
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.443
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 14.317
When I write some dotfile expected to persist 0.089
And I shutdown Tails and wait for the computer to power off 8.569
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.095
Then the expected persistent dotfile is present in the filesystem 0.371
After features/support/hooks.rb:326 0.856
After features/support/hooks.rb:100 0.007
Tags: @product
1:37.128
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 9.306
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 1.341
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.079
When I log in to a new session after having activated the Persistent Storage 42.417
And all notifications have disappeared 8.353
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.679
And all tps features are enabled 2.816
And all tps features but the first one are active 2.052
After features/support/hooks.rb:326 0.995
After features/support/hooks.rb:100 0.000
Tags: @product
4:50.255
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 3:26.139
And I enable persistence 33.886
And I log in to a new session after having activated the Persistent Storage 47.481
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.525
And persistence is enabled 0.222
After features/support/hooks.rb:326 1.137
After features/support/hooks.rb:100 0.000
Tags: @product
28.509
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 9.030
And I enable persistence but something goes wrong during the LUKS header upgrade 18.749
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.729
After features/support/hooks.rb:326 0.731
After features/support/hooks.rb:100 0.000
Tags: @product
43.221
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.955
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.245
When I enable persistence 28.386
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 0.539
After features/support/hooks.rb:326 1.126
After features/support/hooks.rb:100 0.000
Tags: @product
25.013
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.939
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.873
When I try to enable persistence 0.413
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.580
When I repair the filesystem of the Persistent Storage 1.253
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.226
And the filesystem of the Persistent Storage was repaired 0.067
When I close the filesystem repair dialog 1.278
Then persistence is successfully enabled 0.380
After features/support/hooks.rb:326 0.877
After features/support/hooks.rb:100 0.000
Tags: @product
1:43.031
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.480
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.110
When I try to enable persistence 0.284
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.060
When I repair the filesystem of the Persistent Storage 1.279
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 38.640
And all notifications have disappeared 9.037
# 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.507
When I close the "whisperback" window 1.437
Then the Tor Browser starts 14.602
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.517
After features/support/hooks.rb:326 2.153
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.053
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 8.373
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.782
And Tails detects disk read failures on the boot device 1.479
When I try to enable persistence 0.423
Then the Welcome Screen tells me that my hardware is probably failing 5.086
When I log in to a new session 20.893
And all notifications have disappeared 7.341
Then the Tor Browser starts 19.238
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 1.435
After features/support/hooks.rb:326 1.166
After features/support/hooks.rb:100 0.000