Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 70 19 Sep 2024, 13:45

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 44:32.440 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:32.068
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:50.284
And I update APT using apt 13.606
And I install "python3-behave" using apt 26.138
Then the Tails Persistent Storage behave tests pass 2.038
After features/support/hooks.rb:326 2.237
After features/support/hooks.rb:100 0.000
Tags: @product
57.995
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 19.362
When I log in to a new session without activating the Persistent Storage 27.301
Then Tails is running from USB drive "__internal" 0.506
And persistence is disabled 0.607
But a Tails persistence partition exists on USB drive "__internal" 10.217
After features/support/hooks.rb:326 1.157
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.130
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.815
Then Tails is running from USB drive "__internal" 0.610
When I create a file in the Persistent directory 0.126
And I create a persistent partition with the default settings 23.739
Then the file I created was copied to the Persistent Storage 0.718
When I shutdown Tails and wait for the computer to power off 15.146
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.053
Then persistence for "Persistent" is active 0.822
And the file I created in the Persistent directory exists 0.096
After features/support/hooks.rb:326 1.004
After features/support/hooks.rb:100 0.014
Tags: @product
1:1.089
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 11.976
And the system is very low on memory 6.423
When I create a file in the Persistent directory 1.039
When I try to create a persistent partition 24.503
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.157
When I close the Persistent Storage app 2.577
And I free up some memory 1.896
And I create a persistent partition with the default settings 12.262
Then the file I created was copied to the Persistent Storage 0.253
After features/support/hooks.rb:326 1.660
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.042
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.684
Then Tails is running from USB drive "__internal" 0.469
And all tps features are active 2.192
And all persistent directories have safe access rights 2.534
When I disable the first tps feature 7.233
Then all tps features but the first one are active 2.294
And I shutdown Tails and wait for the computer to power off 10.505
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.584
Then all tps features but the first one are active 2.545
After features/support/hooks.rb:326 0.944
After features/support/hooks.rb:100 0.011
Tags: @product
22.888
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 10.557
Then persistence for "Persistent" is active 0.653
And I create a file in the Persistent directory 0.158
Then the file I created was copied to the Persistent Storage 0.088
When I disable the first tps feature 7.266
Then persistence for "Persistent" is not active 0.139
And the Persistent directory does not exist 0.068
When I enable the first tps feature 3.812
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 0.791
After features/support/hooks.rb:100 0.000
Tags: @product
23.265
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.818
Then persistence for "Persistent" is active 0.303
When I create a file in the Persistent directory 0.085
And I disable the first tps feature 6.797
And I delete the data of the Persistent Folder feature 6.176
Then the file I created does not exist on the Persistent Storage 0.082
After features/support/hooks.rb:326 0.906
After features/support/hooks.rb:100 0.000
Tags: @product
1:38.203
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.513
And the network is plugged 0.524
And Tor is ready 49.725
And I take note of which tps features are available 0.656
When I write some files expected to persist 1.748
And I shutdown Tails and wait for the computer to power off 9.219
# 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.814
After features/support/hooks.rb:326 0.156
After features/support/hooks.rb:100 0.000
Tags: @product
3:56.665
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.030
And the network is plugged 0.792
And Tor is ready 26.615
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.249
And I shutdown Tails and wait for the computer to power off 9.585
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.443
And I capture all network traffic 0.010
And the network is plugged 0.376
And Tor is ready 48.726
And I switch to the "persistent-con-current" NetworkManager connection 0.373
And the 1st network device has a spoofed MAC address configured 0.123
And no network device leaked the real MAC address 0.336
After features/support/hooks.rb:326 0.769
After features/support/hooks.rb:100 0.076
Tags: @product
1:18.187
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 23.781
And I enable persistence creation in Tails Greeter 1.122
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.544
Then I create a persistent partition with the default settings using the wizard that was already open 28.739
After features/support/hooks.rb:326 2.481
After features/support/hooks.rb:100 0.000
Tags: @product
5:11.219
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 15.442
When I enable persistence 48.623
Then no persistent Greeter options were restored 14.869
When I set all Greeter options to non-default values 26.615
And I log in to a new session in German (de) after having activated the Persistent Storage 46.765
Then all Greeter options are set to non-default values 0.478
When I cold reboot the computer 8.227
And the computer reboots Tails 1:2.443
Given I enable persistence 33.695
Then persistent Greeter options were restored 15.829
When I log in to a new session after having activated the Persistent Storage 37.778
Then all Greeter options are set to non-default values 0.449
After features/support/hooks.rb:326 1.073
After features/support/hooks.rb:100 0.009
Tags: @product
4:9.915
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.971
# 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 50.901
And I shutdown Tails and wait for the computer to power off 13.308
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.457
And I change the passphrase of the Persistent Storage back to the original 44.276
After features/support/hooks.rb:326 2.559
After features/support/hooks.rb:100 0.008
Tags: @product
1:16.214
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 26.899
And I log in to a new session without activating the Persistent Storage 23.082
Then persistence is disabled 0.431
But a Tails persistence partition exists on USB drive "__internal" 10.923
And all notifications have disappeared 8.730
When I delete the persistent partition 5.517
Then there is no persistence partition on USB drive "__internal" 0.629
After features/support/hooks.rb:326 0.995
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.931
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.879
When I write some dotfile expected to persist 0.100
And I shutdown Tails and wait for the computer to power off 13.207
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.196
Then the expected persistent dotfile is present in the filesystem 0.547
After features/support/hooks.rb:326 1.561
After features/support/hooks.rb:100 0.015
Tags: @product
1:38.365
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.872
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.257
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.793
When I log in to a new session after having activated the Persistent Storage 36.476
And all notifications have disappeared 7.922
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.102
And all tps features are enabled 2.565
And all tps features but the first one are active 2.290
After features/support/hooks.rb:326 1.458
After features/support/hooks.rb:100 0.000
Tags: @product
6:22.249
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 4:52.856
And I enable persistence 36.757
And I log in to a new session after having activated the Persistent Storage 51.164
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.348
And persistence is enabled 0.123
After features/support/hooks.rb:326 1.524
After features/support/hooks.rb:100 0.000
Tags: @product
31.213
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.554
And I enable persistence but something goes wrong during the LUKS header upgrade 20.836
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.822
After features/support/hooks.rb:326 0.744
After features/support/hooks.rb:100 0.000
Tags: @product
51.322
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 11.184
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.964
When I enable persistence 33.718
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 0.363
After features/support/hooks.rb:326 1.085
After features/support/hooks.rb:100 0.000
Tags: @product
25.602
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 8.739
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.762
When I try to enable persistence 1.528
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.295
When I repair the filesystem of the Persistent Storage 1.280
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.199
And the filesystem of the Persistent Storage was repaired 0.068
When I close the filesystem repair dialog 1.282
Then persistence is successfully enabled 0.445
After features/support/hooks.rb:326 0.814
After features/support/hooks.rb:100 0.000
Tags: @product
1:51.345
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.292
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.115
When I try to enable persistence 0.324
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.722
When I repair the filesystem of the Persistent Storage 1.252
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.089
When I log in to a new session 38.348
And all notifications have disappeared 8.326
# 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.808
When I close the "whisperback" window 1.930
Then the Tor Browser starts 15.603
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.530
After features/support/hooks.rb:326 2.816
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.525
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.575
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.275
And Tails detects disk read failures on the boot device 1.564
When I try to enable persistence 0.656
Then the Welcome Screen tells me that my hardware is probably failing 5.934
When I log in to a new session 19.803
And all notifications have disappeared 7.742
Then the Tor Browser starts 22.486
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.485
After features/support/hooks.rb:326 2.769
After features/support/hooks.rb:100 0.000