Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 17 04 Aug 2024, 16:17

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:15.834 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.856
Before features/support/hooks.rb:269 0.010
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.649
And I update APT using apt 20.440
And I install "python3-behave" using apt 25.570
Then the Tails Persistent Storage behave tests pass 3.196
After features/support/hooks.rb:326 0.671
After features/support/hooks.rb:100 0.000
Tags: @product
45.178
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.606
When I log in to a new session without activating the Persistent Storage 21.917
Then Tails is running from USB drive "__internal" 0.378
And persistence is disabled 0.399
But a Tails persistence partition exists on USB drive "__internal" 9.876
After features/support/hooks.rb:326 1.471
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.587
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.107
Then Tails is running from USB drive "__internal" 0.480
When I create a file in the Persistent directory 0.141
And I create a persistent partition with the default settings 24.464
Then the file I created was copied to the Persistent Storage 0.772
When I shutdown Tails and wait for the computer to power off 12.984
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.198
Then persistence for "Persistent" is active 0.357
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 1.095
After features/support/hooks.rb:100 0.010
Tags: @product
55.350
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.641
And the system is very low on memory 3.413
When I create a file in the Persistent directory 1.201
When I try to create a persistent partition 20.744
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.595
And I free up some memory 1.917
And I create a persistent partition with the default settings 13.412
Then the file I created was copied to the Persistent Storage 0.287
After features/support/hooks.rb:326 1.346
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.128
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 24.354
Then Tails is running from USB drive "__internal" 0.610
And all tps features are active 2.324
And all persistent directories have safe access rights 2.582
When I disable the first tps feature 5.597
Then all tps features but the first one are active 2.163
And I shutdown Tails and wait for the computer to power off 8.520
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.456
Then all tps features but the first one are active 2.519
After features/support/hooks.rb:326 0.616
After features/support/hooks.rb:100 0.081
Tags: @product
19.286
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.373
Then persistence for "Persistent" is active 0.106
And I create a file in the Persistent directory 0.155
Then the file I created was copied to the Persistent Storage 0.070
When I disable the first tps feature 6.058
Then persistence for "Persistent" is not active 0.082
And the Persistent directory does not exist 0.063
When I enable the first tps feature 3.211
Then persistence for "Persistent" is active 0.096
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 0.956
After features/support/hooks.rb:100 0.000
Tags: @product
19.726
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.848
Then persistence for "Persistent" is active 0.169
When I create a file in the Persistent directory 0.085
And I disable the first tps feature 5.810
And I delete the data of the Persistent Folder feature 3.745
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:326 0.959
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.267
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.472
And the network is plugged 0.123
And Tor is ready 18.084
And I take note of which tps features are available 0.616
When I write some files expected to persist 1.347
And I shutdown Tails and wait for the computer to power off 8.261
# 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.361
After features/support/hooks.rb:326 0.141
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.704
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.818
And the network is plugged 0.053
And Tor is ready 18.921
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.192
And I shutdown Tails and wait for the computer to power off 8.453
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.959
And I capture all network traffic 0.015
And the network is plugged 0.048
And Tor is ready 18.470
And I switch to the "persistent-con-current" NetworkManager connection 0.350
And the 1st network device has a spoofed MAC address configured 0.147
And no network device leaked the real MAC address 0.272
After features/support/hooks.rb:326 0.696
After features/support/hooks.rb:100 0.046
Tags: @product
55.434
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 10.959
And I enable persistence creation in Tails Greeter 1.190
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.350
Then I create a persistent partition with the default settings using the wizard that was already open 22.933
After features/support/hooks.rb:326 2.803
After features/support/hooks.rb:100 0.000
Tags: @product
4:50.151
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 16.310
When I enable persistence 35.335
Then no persistent Greeter options were restored 14.112
When I set all Greeter options to non-default values 24.113
And I log in to a new session in German (de) after having activated the Persistent Storage 49.524
Then all Greeter options are set to non-default values 1.451
When I cold reboot the computer 7.411
And the computer reboots Tails 58.894
Given I enable persistence 31.904
Then persistent Greeter options were restored 14.573
When I log in to a new session after having activated the Persistent Storage 36.105
Then all Greeter options are set to non-default values 0.414
After features/support/hooks.rb:326 0.745
After features/support/hooks.rb:100 0.008
Tags: @product
3:32.648
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.075
# 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 30.228
And I shutdown Tails and wait for the computer to power off 14.661
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:3.682
And I change the passphrase of the Persistent Storage back to the original 34.000
After features/support/hooks.rb:326 2.700
After features/support/hooks.rb:100 0.010
Tags: @product
51.864
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 10.014
And I log in to a new session without activating the Persistent Storage 20.107
Then persistence is disabled 0.216
But a Tails persistence partition exists on USB drive "__internal" 6.163
And all notifications have disappeared 8.721
When I delete the persistent partition 6.180
Then there is no persistence partition on USB drive "__internal" 0.461
After features/support/hooks.rb:326 0.851
After features/support/hooks.rb:100 0.000
Tags: @product
2:22.589
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 10.204
When I write some dotfile expected to persist 0.241
And I shutdown Tails and wait for the computer to power off 8.474
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.274
Then the expected persistent dotfile is present in the filesystem 0.395
After features/support/hooks.rb:326 0.648
After features/support/hooks.rb:100 0.009
Tags: @product
1:49.968
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.138
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.074
When I try to enable persistence 0.306
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 39.351
When I log in to a new session after having activated the Persistent Storage 45.955
And all notifications have disappeared 7.140
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.794
And all tps features are enabled 2.100
And all tps features but the first one are active 2.106
After features/support/hooks.rb:326 1.088
After features/support/hooks.rb:100 0.000
Tags: @product
5:12.035
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:49.166
And I enable persistence 34.468
And I log in to a new session after having activated the Persistent Storage 46.506
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.765
And persistence is enabled 0.128
After features/support/hooks.rb:326 2.253
After features/support/hooks.rb:100 0.000
Tags: @product
27.746
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 8.560
And I enable persistence but something goes wrong during the LUKS header upgrade 18.515
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.670
After features/support/hooks.rb:326 0.815
After features/support/hooks.rb:100 0.000
Tags: @product
42.265
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.949
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.963
When I enable persistence 28.243
Then the filesystem of the Persistent Storage was repaired 0.108
After features/support/hooks.rb:326 0.786
After features/support/hooks.rb:100 0.000
Tags: @product
23.996
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.909
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.559
When I try to enable persistence 0.412
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.750
When I repair the filesystem of the Persistent Storage 1.362
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.258
And the filesystem of the Persistent Storage was repaired 0.092
When I close the filesystem repair dialog 1.270
Then persistence is successfully enabled 0.381
After features/support/hooks.rb:326 0.917
After features/support/hooks.rb:100 0.000
Tags: @product
24.044
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.243
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.750
And Tails detects disk read failures on the boot device 1.790
When I try to enable persistence 1.755
Then the Welcome Screen tells me that my hardware is probably failing 5.504
After features/support/hooks.rb:326 0.763
After features/support/hooks.rb:100 0.000