Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 35 22 Aug 2024, 20:02

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 140 0 0 0 0 140 20 0 20 38:41.628 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:24.564
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:35.221
And I update APT using apt 20.856
And I install "python3-behave" using apt 25.721
Then the Tails Persistent Storage behave tests pass 2.764
After features/support/hooks.rb:326 0.908
After features/support/hooks.rb:100 0.000
Tags: @product
47.143
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 14.735
When I log in to a new session without activating the Persistent Storage 23.414
Then Tails is running from USB drive "__internal" 0.686
And persistence is disabled 0.477
But a Tails persistence partition exists on USB drive "__internal" 7.828
After features/support/hooks.rb:326 1.041
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.316
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.876
Then Tails is running from USB drive "__internal" 0.478
When I create a file in the Persistent directory 0.168
And I create a persistent partition with the default settings 23.292
Then the file I created was copied to the Persistent Storage 0.709
When I shutdown Tails and wait for the computer to power off 15.237
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.073
Then persistence for "Persistent" is active 0.344
And the file I created in the Persistent directory exists 0.134
After features/support/hooks.rb:326 1.192
After features/support/hooks.rb:100 0.035
Tags: @product
1:0.645
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.130
And the system is very low on memory 6.439
When I create a file in the Persistent directory 1.212
When I try to create a persistent partition 20.855
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.365
When I close the Persistent Storage app 2.590
And I free up some memory 1.249
And I create a persistent partition with the default settings 14.194
Then the file I created was copied to the Persistent Storage 0.607
After features/support/hooks.rb:326 1.367
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.062
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 25.247
Then Tails is running from USB drive "__internal" 0.339
And all tps features are active 3.255
And all persistent directories have safe access rights 2.565
When I disable the first tps feature 5.151
Then all tps features but the first one are active 1.975
And I shutdown Tails and wait for the computer to power off 9.362
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.820
Then all tps features but the first one are active 2.344
After features/support/hooks.rb:326 1.027
After features/support/hooks.rb:100 0.010
Tags: @product
18.907
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.883
Then persistence for "Persistent" is active 0.083
And I create a file in the Persistent directory 0.085
Then the file I created was copied to the Persistent Storage 0.062
When I disable the first tps feature 5.430
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.056
When I enable the first tps feature 3.095
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:326 0.996
After features/support/hooks.rb:100 0.000
Tags: @product
19.865
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 9.451
Then persistence for "Persistent" is active 0.093
When I create a file in the Persistent directory 0.084
And I disable the first tps feature 5.960
And I delete the data of the Persistent Folder feature 4.200
Then the file I created does not exist on the Persistent Storage 0.074
After features/support/hooks.rb:326 1.194
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.267
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.035
And the network is plugged 0.073
And Tor is ready 17.763
And I take note of which tps features are available 0.604
When I write some files expected to persist 1.487
And I shutdown Tails and wait for the computer to power off 8.784
# 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.518
After features/support/hooks.rb:326 0.223
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.681
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.908
And the network is plugged 0.085
And Tor is ready 17.773
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.201
And I shutdown Tails and wait for the computer to power off 11.110
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.247
And I capture all network traffic 0.009
And the network is plugged 0.075
And Tor is ready 19.504
And I switch to the "persistent-con-current" NetworkManager connection 0.429
And the 1st network device has a spoofed MAC address configured 0.128
And no network device leaked the real MAC address 0.207
After features/support/hooks.rb:326 0.940
After features/support/hooks.rb:100 0.041
Tags: @product
1:11.443
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 12.942
And I enable persistence creation in Tails Greeter 1.500
And I log in to a new session expecting no warning about the Persistent Storage not being activated 33.525
Then I create a persistent partition with the default settings using the wizard that was already open 23.474
After features/support/hooks.rb:326 3.615
After features/support/hooks.rb:100 0.000
Tags: @product
4:56.369
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.726
When I enable persistence 40.224
Then no persistent Greeter options were restored 14.505
When I set all Greeter options to non-default values 25.619
And I log in to a new session in German (de) after having activated the Persistent Storage 47.790
Then all Greeter options are set to non-default values 0.634
When I cold reboot the computer 7.438
And the computer reboots Tails 1:1.385
Given I enable persistence 33.287
Then persistent Greeter options were restored 14.852
When I log in to a new session after having activated the Persistent Storage 37.509
Then all Greeter options are set to non-default values 0.395
After features/support/hooks.rb:326 1.307
After features/support/hooks.rb:100 0.012
Tags: @product
3:59.600
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 10.404
# 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 32.538
And I shutdown Tails and wait for the computer to power off 12.340
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:26.505
And I change the passphrase of the Persistent Storage back to the original 37.811
After features/support/hooks.rb:326 2.236
After features/support/hooks.rb:100 0.025
Tags: @product
56.530
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 10.185
And I log in to a new session without activating the Persistent Storage 22.114
Then persistence is disabled 0.460
But a Tails persistence partition exists on USB drive "__internal" 8.770
And all notifications have disappeared 8.272
When I delete the persistent partition 5.825
Then there is no persistence partition on USB drive "__internal" 0.901
After features/support/hooks.rb:326 1.758
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.778
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.972
When I write some dotfile expected to persist 0.073
And I shutdown Tails and wait for the computer to power off 8.781
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.501
Then the expected persistent dotfile is present in the filesystem 0.450
After features/support/hooks.rb:326 0.775
After features/support/hooks.rb:100 0.012
Tags: @product
1:48.774
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.390
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.105
When I try to enable persistence 0.280
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.896
When I log in to a new session after having activated the Persistent Storage 48.655
And all notifications have disappeared 8.482
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.212
And all tps features are enabled 2.512
And all tps features but the first one are active 2.238
After features/support/hooks.rb:326 2.159
After features/support/hooks.rb:100 0.000
Tags: @product
5:40.217
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 4:10.112
And I enable persistence 38.878
And I log in to a new session after having activated the Persistent Storage 47.545
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.554
And persistence is enabled 0.126
After features/support/hooks.rb:326 2.345
After features/support/hooks.rb:100 0.000
Tags: @product
29.699
Before features/support/hooks.rb:269 0.008
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.987
And I enable persistence but something goes wrong during the LUKS header upgrade 18.923
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.788
After features/support/hooks.rb:326 0.774
After features/support/hooks.rb:100 0.000
Tags: @product
47.709
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 9.159
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.752
When I enable persistence 31.299
Then the filesystem of the Persistent Storage was repaired 0.116
And persistence is successfully enabled 0.380
After features/support/hooks.rb:326 0.995
After features/support/hooks.rb:100 0.000
Tags: @product
28.410
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 9.281
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.531
When I try to enable persistence 1.475
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.255
When I repair the filesystem of the Persistent Storage 1.389
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.303
And the filesystem of the Persistent Storage was repaired 0.411
When I close the filesystem repair dialog 1.339
Then persistence is successfully enabled 0.424
After features/support/hooks.rb:326 0.850
After features/support/hooks.rb:100 0.000
Tags: @product
25.642
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.742
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.839
And Tails detects disk read failures on the boot device 1.665
When I try to enable persistence 0.434
Then the Welcome Screen tells me that my hardware is probably failing 6.959
After features/support/hooks.rb:326 0.679
After features/support/hooks.rb:100 0.000