Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 19 06 Aug 2024, 19:14

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 139 0 0 0 0 139 20 0 20 36:32.802 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:20.596
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.330
And I update APT using apt 18.567
And I install "python3-behave" using apt 25.768
Then the Tails Persistent Storage behave tests pass 2.929
After features/support/hooks.rb:326 0.863
After features/support/hooks.rb:100 0.000
Tags: @product
49.897
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 16.553
When I log in to a new session without activating the Persistent Storage 24.576
Then Tails is running from USB drive "__internal" 0.497
And persistence is disabled 0.313
But a Tails persistence partition exists on USB drive "__internal" 7.955
After features/support/hooks.rb:326 0.987
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.941
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.273
Then Tails is running from USB drive "__internal" 0.754
When I create a file in the Persistent directory 0.191
And I create a persistent partition with the default settings 22.826
Then the file I created was copied to the Persistent Storage 0.662
When I shutdown Tails and wait for the computer to power off 12.831
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.931
Then persistence for "Persistent" is active 0.404
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 0.972
After features/support/hooks.rb:100 0.010
Tags: @product
56.183
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.815
And the system is very low on memory 4.704
When I create a file in the Persistent directory 1.345
When I try to create a persistent partition 20.317
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.259
When I close the Persistent Storage app 2.525
And I free up some memory 1.829
And I create a persistent partition with the default settings 13.140
Then the file I created was copied to the Persistent Storage 0.244
After features/support/hooks.rb:326 1.253
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.831
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.420
Then Tails is running from USB drive "__internal" 0.468
And all tps features are active 2.250
And all persistent directories have safe access rights 2.532
When I disable the first tps feature 5.678
Then all tps features but the first one are active 2.010
And I shutdown Tails and wait for the computer to power off 8.920
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.282
Then all tps features but the first one are active 2.266
After features/support/hooks.rb:326 0.729
After features/support/hooks.rb:100 0.009
Tags: @product
18.706
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.785
Then persistence for "Persistent" is active 0.148
And I create a file in the Persistent directory 0.066
Then the file I created was copied to the Persistent Storage 0.104
When I disable the first tps feature 5.226
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.108
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 0.732
After features/support/hooks.rb:100 0.000
Tags: @product
18.672
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.467
Then persistence for "Persistent" is active 0.103
When I create a file in the Persistent directory 0.093
And I disable the first tps feature 4.956
And I delete the data of the Persistent Folder feature 3.996
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:326 0.832
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.241
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.355
And the network is plugged 0.047
And Tor is ready 16.253
And I take note of which tps features are available 0.552
When I write some files expected to persist 1.539
And I shutdown Tails and wait for the computer to power off 8.781
# 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.711
After features/support/hooks.rb:326 0.106
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.635
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 22.844
And the network is plugged 0.048
And Tor is ready 15.041
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.193
And I shutdown Tails and wait for the computer to power off 8.403
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.351
And I capture all network traffic 0.005
And the network is plugged 0.040
And Tor is ready 20.884
And I switch to the "persistent-con-current" NetworkManager connection 0.401
And the 1st network device has a spoofed MAC address configured 0.156
And no network device leaked the real MAC address 0.262
After features/support/hooks.rb:326 0.629
After features/support/hooks.rb:100 0.065
Tags: @product
1:4.781
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 13.580
And I enable persistence creation in Tails Greeter 1.128
And I log in to a new session expecting no warning about the Persistent Storage not being activated 28.642
Then I create a persistent partition with the default settings using the wizard that was already open 21.430
After features/support/hooks.rb:326 1.465
After features/support/hooks.rb:100 0.000
Tags: @product
4:57.001
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.194
When I enable persistence 37.382
Then no persistent Greeter options were restored 14.302
When I set all Greeter options to non-default values 25.646
And I log in to a new session in German (de) after having activated the Persistent Storage 50.066
Then all Greeter options are set to non-default values 0.714
When I cold reboot the computer 7.394
And the computer reboots Tails 1:2.642
Given I enable persistence 31.915
Then persistent Greeter options were restored 14.993
When I log in to a new session after having activated the Persistent Storage 37.937
Then all Greeter options are set to non-default values 0.810
After features/support/hooks.rb:326 0.985
After features/support/hooks.rb:100 0.009
Tags: @product
3:44.232
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 11.241
# 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.158
And I shutdown Tails and wait for the computer to power off 14.844
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.394
And I change the passphrase of the Persistent Storage back to the original 32.593
After features/support/hooks.rb:326 2.853
After features/support/hooks.rb:100 0.009
Tags: @product
1:0.942
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 10.044
And I log in to a new session without activating the Persistent Storage 23.548
Then persistence is disabled 0.653
But a Tails persistence partition exists on USB drive "__internal" 10.750
And all notifications have disappeared 9.506
When I delete the persistent partition 5.964
Then there is no persistence partition on USB drive "__internal" 0.474
After features/support/hooks.rb:326 0.985
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.035
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.870
When I write some dotfile expected to persist 0.106
And I shutdown Tails and wait for the computer to power off 8.501
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.135
Then the expected persistent dotfile is present in the filesystem 0.422
After features/support/hooks.rb:326 0.653
After features/support/hooks.rb:100 0.009
Tags: @product
1:36.270
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.940
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.071
When I try to enable persistence 0.267
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.037
When I log in to a new session after having activated the Persistent Storage 39.315
And all notifications have disappeared 8.527
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.801
And all tps features are enabled 2.118
And all tps features but the first one are active 2.192
After features/support/hooks.rb:326 1.329
After features/support/hooks.rb:100 0.000
Tags: @product
4:43.410
Before features/support/hooks.rb:269 0.011
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:25.112
And I enable persistence 35.229
And I log in to a new session after having activated the Persistent Storage 40.328
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.265
And persistence is enabled 0.474
After features/support/hooks.rb:326 1.740
After features/support/hooks.rb:100 0.000
Tags: @product
42.003
Before features/support/hooks.rb:269 0.007
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 22.358
And I enable persistence but something goes wrong during the LUKS header upgrade 18.865
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.780
After features/support/hooks.rb:326 0.932
After features/support/hooks.rb:100 0.000
Tags: @product
43.404
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 10.414
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.723
When I enable persistence 27.157
Then the filesystem of the Persistent Storage was repaired 0.110
After features/support/hooks.rb:326 0.975
After features/support/hooks.rb:100 0.000
Tags: @product
25.051
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.310
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.553
When I try to enable persistence 0.463
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.410
When I repair the filesystem of the Persistent Storage 1.281
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.192
And the filesystem of the Persistent Storage was repaired 0.121
When I close the filesystem repair dialog 1.279
Then persistence is successfully enabled 0.438
After features/support/hooks.rb:326 0.989
After features/support/hooks.rb:100 0.000
Tags: @product
22.961
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.867
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.680
And Tails detects disk read failures on the boot device 1.627
When I try to enable persistence 1.551
Then the Welcome Screen tells me that my hardware is probably failing 5.234
After features/support/hooks.rb:326 0.785
After features/support/hooks.rb:100 0.000