Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 15 02 Aug 2024, 16:31

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 39:23.584 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.448
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.603
And I update APT using apt 18.556
And I install "python3-behave" using apt 26.219
Then the Tails Persistent Storage behave tests pass 3.068
After features/support/hooks.rb:326 0.851
After features/support/hooks.rb:100 0.000
Tags: @product
45.484
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 13.381
When I log in to a new session without activating the Persistent Storage 24.158
Then Tails is running from USB drive "__internal" 0.573
And persistence is disabled 0.317
But a Tails persistence partition exists on USB drive "__internal" 7.053
After features/support/hooks.rb:326 1.092
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.267
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 12.341
Then Tails is running from USB drive "__internal" 0.519
When I create a file in the Persistent directory 0.281
And I create a persistent partition with the default settings 23.484
Then the file I created was copied to the Persistent Storage 0.852
When I shutdown Tails and wait for the computer to power off 12.655
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.742
Then persistence for "Persistent" is active 1.321
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 1.117
After features/support/hooks.rb:100 0.010
Tags: @product
1:1.741
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.522
And the system is very low on memory 6.003
When I create a file in the Persistent directory 1.024
When I try to create a persistent partition 24.218
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.197
When I close the Persistent Storage app 2.540
And I free up some memory 1.320
And I create a persistent partition with the default settings 12.677
Then the file I created was copied to the Persistent Storage 0.235
After features/support/hooks.rb:326 1.226
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.315
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.440
Then Tails is running from USB drive "__internal" 1.122
And all tps features are active 2.597
And all persistent directories have safe access rights 2.688
When I disable the first tps feature 5.492
Then all tps features but the first one are active 2.308
And I shutdown Tails and wait for the computer to power off 11.157
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.188
Then all tps features but the first one are active 2.319
After features/support/hooks.rb:326 0.702
After features/support/hooks.rb:100 0.010
Tags: @product
20.736
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.365
Then persistence for "Persistent" is active 0.088
And I create a file in the Persistent directory 0.392
Then the file I created was copied to the Persistent Storage 0.101
When I disable the first tps feature 6.202
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.046
When I enable the first tps feature 3.331
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.062
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.000
Tags: @product
19.359
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.977
Then persistence for "Persistent" is active 0.074
When I create a file in the Persistent directory 0.071
And I disable the first tps feature 5.286
And I delete the data of the Persistent Folder feature 3.882
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:326 0.887
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.861
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.897
And the network is plugged 0.060
And Tor is ready 18.964
And I take note of which tps features are available 0.732
When I write some files expected to persist 1.640
And I shutdown Tails and wait for the computer to power off 13.233
# 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.332
After features/support/hooks.rb:326 0.174
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.956
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.663
And the network is plugged 0.350
And Tor is ready 20.355
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.259
And I shutdown Tails and wait for the computer to power off 8.519
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.897
And I capture all network traffic 0.011
And the network is plugged 0.040
And Tor is ready 21.064
And I switch to the "persistent-con-current" NetworkManager connection 0.332
And the 1st network device has a spoofed MAC address configured 0.167
And no network device leaked the real MAC address 0.293
After features/support/hooks.rb:326 0.623
After features/support/hooks.rb:100 0.072
Tags: @product
56.497
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 11.941
And I enable persistence creation in Tails Greeter 1.125
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.248
Then I create a persistent partition with the default settings using the wizard that was already open 23.181
After features/support/hooks.rb:326 2.566
After features/support/hooks.rb:100 0.000
Tags: @product
5:6.629
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 13.531
When I enable persistence 36.775
Then no persistent Greeter options were restored 14.520
When I set all Greeter options to non-default values 26.589
And I log in to a new session in German (de) after having activated the Persistent Storage 52.889
Then all Greeter options are set to non-default values 0.577
When I cold reboot the computer 9.940
And the computer reboots Tails 1:3.936
Given I enable persistence 31.961
Then persistent Greeter options were restored 15.111
When I log in to a new session after having activated the Persistent Storage 40.335
Then all Greeter options are set to non-default values 0.459
After features/support/hooks.rb:326 0.830
After features/support/hooks.rb:100 0.012
Tags: @product
4:8.855
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.638
# 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 51.243
And I shutdown Tails and wait for the computer to power off 13.155
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:21.242
And I change the passphrase of the Persistent Storage back to the original 32.576
After features/support/hooks.rb:326 1.859
After features/support/hooks.rb:100 0.011
Tags: @product
59.684
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 13.532
And I log in to a new session without activating the Persistent Storage 22.183
Then persistence is disabled 0.312
But a Tails persistence partition exists on USB drive "__internal" 6.754
And all notifications have disappeared 9.808
When I delete the persistent partition 6.637
Then there is no persistence partition on USB drive "__internal" 0.456
After features/support/hooks.rb:326 0.923
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.575
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 11.521
When I write some dotfile expected to persist 0.240
And I shutdown Tails and wait for the computer to power off 8.898
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.556
Then the expected persistent dotfile is present in the filesystem 0.358
After features/support/hooks.rb:326 0.964
After features/support/hooks.rb:100 0.011
Tags: @product
1:50.495
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.103
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.098
When I try to enable persistence 0.315
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.397
When I log in to a new session after having activated the Persistent Storage 43.150
And all notifications have disappeared 8.808
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.058
And all tps features are enabled 4.421
And all tps features but the first one are active 2.140
After features/support/hooks.rb:326 1.280
After features/support/hooks.rb:100 0.000
Tags: @product
6:1.576
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 4:40.880
And I enable persistence 36.698
And I log in to a new session after having activated the Persistent Storage 40.042
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.853
And persistence is enabled 0.103
After features/support/hooks.rb:326 1.325
After features/support/hooks.rb:100 0.000
Tags: @product
29.242
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 9.027
And I enable persistence but something goes wrong during the LUKS header upgrade 19.458
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.756
After features/support/hooks.rb:326 0.844
After features/support/hooks.rb:100 0.000
Tags: @product
59.590
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 22.943
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.538
When I enable persistence 29.990
Then the filesystem of the Persistent Storage was repaired 0.118
After features/support/hooks.rb:326 0.990
After features/support/hooks.rb:100 0.000
Tags: @product
30.102
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 9.018
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.824
When I try to enable persistence 0.507
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.362
When I repair the filesystem of the Persistent Storage 1.359
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.248
And the filesystem of the Persistent Storage was repaired 0.076
When I close the filesystem repair dialog 1.246
Then persistence is successfully enabled 0.459
After features/support/hooks.rb:326 1.077
After features/support/hooks.rb:100 0.000
Tags: @product
26.162
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.658
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.394
And Tails detects disk read failures on the boot device 1.567
When I try to enable persistence 0.540
Then the Welcome Screen tells me that my hardware is probably failing 9.000
After features/support/hooks.rb:326 0.837
After features/support/hooks.rb:100 0.000