Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 23 10 Aug 2024, 06:43

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 40:6.133 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.705
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:38.355
And I update APT using apt 19.046
And I install "python3-behave" using apt 25.736
Then the Tails Persistent Storage behave tests pass 2.567
After features/support/hooks.rb:326 0.728
After features/support/hooks.rb:100 0.000
Tags: @product
49.406
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 14.363
When I log in to a new session without activating the Persistent Storage 26.397
Then Tails is running from USB drive "__internal" 0.499
And persistence is disabled 0.314
But a Tails persistence partition exists on USB drive "__internal" 7.831
After features/support/hooks.rb:326 1.199
After features/support/hooks.rb:100 0.000
Tags: @product
3:33.427
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 18.514
Then Tails is running from USB drive "__internal" 0.580
When I create a file in the Persistent directory 0.145
And I create a persistent partition with the default settings 24.616
Then the file I created was copied to the Persistent Storage 0.643
When I shutdown Tails and wait for the computer to power off 12.642
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:35.718
Then persistence for "Persistent" is active 0.472
And the file I created in the Persistent directory exists 0.093
After features/support/hooks.rb:326 0.871
After features/support/hooks.rb:100 0.030
Tags: @product
1:4.148
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.613
And the system is very low on memory 5.561
When I create a file in the Persistent directory 1.611
When I try to create a persistent partition 26.302
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.154
When I close the Persistent Storage app 2.566
And I free up some memory 1.551
And I create a persistent partition with the default settings 14.499
Then the file I created was copied to the Persistent Storage 0.287
After features/support/hooks.rb:326 1.615
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.441
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 12.811
Then Tails is running from USB drive "__internal" 0.620
And all tps features are active 2.592
And all persistent directories have safe access rights 2.895
When I disable the first tps feature 6.574
Then all tps features but the first one are active 4.045
And I shutdown Tails and wait for the computer to power off 13.520
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.972
Then all tps features but the first one are active 2.407
After features/support/hooks.rb:326 0.618
After features/support/hooks.rb:100 0.010
Tags: @product
23.066
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.189
Then persistence for "Persistent" is active 0.102
And I create a file in the Persistent directory 0.141
Then the file I created was copied to the Persistent Storage 0.115
When I disable the first tps feature 6.960
Then persistence for "Persistent" is not active 0.086
And the Persistent directory does not exist 0.083
When I enable the first tps feature 4.228
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 0.699
After features/support/hooks.rb:100 0.000
Tags: @product
24.412
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.427
Then persistence for "Persistent" is active 0.107
When I create a file in the Persistent directory 0.081
And I disable the first tps feature 7.655
And I delete the data of the Persistent Folder feature 6.084
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:326 0.757
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.421
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.015
And the network is plugged 0.091
And Tor is ready 24.093
And I take note of which tps features are available 0.619
When I write some files expected to persist 1.758
And I shutdown Tails and wait for the computer to power off 8.411
# 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.431
After features/support/hooks.rb:326 0.128
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.552
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 11.978
And the network is plugged 0.146
And Tor is ready 20.933
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.189
And I shutdown Tails and wait for the computer to power off 8.601
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.112
And I capture all network traffic 0.005
And the network is plugged 0.074
And Tor is ready 21.635
And I switch to the "persistent-con-current" NetworkManager connection 0.459
And the 1st network device has a spoofed MAC address configured 0.128
And no network device leaked the real MAC address 0.285
After features/support/hooks.rb:326 0.656
After features/support/hooks.rb:100 0.078
Tags: @product
57.053
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 11.918
And I enable persistence creation in Tails Greeter 1.510
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.410
Then I create a persistent partition with the default settings using the wizard that was already open 22.214
After features/support/hooks.rb:326 1.642
After features/support/hooks.rb:100 0.000
Tags: @product
5:12.988
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 15.565
When I enable persistence 42.310
Then no persistent Greeter options were restored 14.464
When I set all Greeter options to non-default values 27.995
And I log in to a new session in German (de) after having activated the Persistent Storage 53.624
Then all Greeter options are set to non-default values 0.709
When I cold reboot the computer 7.792
And the computer reboots Tails 1:3.110
Given I enable persistence 34.183
Then persistent Greeter options were restored 14.923
When I log in to a new session after having activated the Persistent Storage 37.543
Then all Greeter options are set to non-default values 0.767
After features/support/hooks.rb:326 1.592
After features/support/hooks.rb:100 0.010
Tags: @product
4:3.183
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.792
# 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 41.114
And I shutdown Tails and wait for the computer to power off 13.009
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:22.060
And I change the passphrase of the Persistent Storage back to the original 36.206
After features/support/hooks.rb:326 2.214
After features/support/hooks.rb:100 0.012
Tags: @product
58.251
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.783
And I log in to a new session without activating the Persistent Storage 23.596
Then persistence is disabled 0.260
But a Tails persistence partition exists on USB drive "__internal" 8.147
And all notifications have disappeared 8.539
When I delete the persistent partition 6.353
Then there is no persistence partition on USB drive "__internal" 0.570
After features/support/hooks.rb:326 0.837
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.604
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.903
When I write some dotfile expected to persist 0.067
And I shutdown Tails and wait for the computer to power off 10.551
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.537
Then the expected persistent dotfile is present in the filesystem 0.544
After features/support/hooks.rb:326 1.178
After features/support/hooks.rb:100 0.008
Tags: @product
1:46.545
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 10.457
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.341
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.189
When I log in to a new session after having activated the Persistent Storage 42.205
And all notifications have disappeared 8.094
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.819
And all tps features are enabled 2.809
And all tps features but the first one are active 2.541
After features/support/hooks.rb:326 0.922
After features/support/hooks.rb:100 0.000
Tags: @product
6:28.634
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 5:11.650
And I enable persistence 32.562
And I log in to a new session after having activated the Persistent Storage 42.410
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.744
And persistence is enabled 0.266
After features/support/hooks.rb:326 1.835
After features/support/hooks.rb:100 0.000
Tags: @product
29.897
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.543
And I enable persistence but something goes wrong during the LUKS header upgrade 19.441
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.912
After features/support/hooks.rb:326 0.873
After features/support/hooks.rb:100 0.000
Tags: @product
44.281
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.053
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.528
When I enable persistence 28.586
Then the filesystem of the Persistent Storage was repaired 0.112
After features/support/hooks.rb:326 0.737
After features/support/hooks.rb:100 0.000
Tags: @product
26.193
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.483
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.144
When I try to enable persistence 0.386
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.787
When I repair the filesystem of the Persistent Storage 1.279
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.294
And the filesystem of the Persistent Storage was repaired 0.085
When I close the filesystem repair dialog 1.224
Then persistence is successfully enabled 0.507
After features/support/hooks.rb:326 1.329
After features/support/hooks.rb:100 0.000
Tags: @product
22.916
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.359
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.344
And Tails detects disk read failures on the boot device 1.611
When I try to enable persistence 0.397
Then the Welcome Screen tells me that my hardware is probably failing 5.203
After features/support/hooks.rb:326 0.679
After features/support/hooks.rb:100 0.000