Project Number Date
test_Tails_ISO_devel 3532 05 Oct 2024, 12:26

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 157 0 0 0 0 157 21 0 21 37:11.606 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:7.930
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:29.668
And I update APT using apt 12.487
And I install "python3-behave" using apt 22.727
Then the Tails Persistent Storage behave tests pass 3.046
After features/support/hooks.rb:326 0.683
After features/support/hooks.rb:100 0.000
Tags: @product
39.267
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 11.159
When I log in to a new session without activating the Persistent Storage 21.675
Then Tails is running from USB drive "__internal" 0.466
And persistence is disabled 0.370
But a Tails persistence partition exists on USB drive "__internal" 5.595
After features/support/hooks.rb:326 1.511
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.583
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 13.682
Then Tails is running from USB drive "__internal" 0.486
When I create a file in the Persistent directory 0.157
And I create a persistent partition with the default settings 21.885
Then the file I created was copied to the Persistent Storage 0.725
When I shutdown Tails and wait for the computer to power off 12.511
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.702
Then persistence for "Persistent" is active 0.336
And the file I created in the Persistent directory exists 0.095
After features/support/hooks.rb:326 1.035
After features/support/hooks.rb:100 0.008
Tags: @product
55.766
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 10.273
And the system is very low on memory 3.468
When I create a file in the Persistent directory 1.189
When I try to create a persistent partition 24.418
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.134
When I close the Persistent Storage app 2.504
And I free up some memory 1.285
And I create a persistent partition with the default settings 12.258
Then the file I created was copied to the Persistent Storage 0.234
After features/support/hooks.rb:326 1.173
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.569
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 13.300
Then Tails is running from USB drive "__internal" 0.460
And all tps features are active 2.308
And all persistent directories have safe access rights 2.381
When I disable the first tps feature 6.093
Then all tps features but the first one are active 2.089
And I shutdown Tails and wait for the computer to power off 10.554
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.181
Then all tps features but the first one are active 2.198
After features/support/hooks.rb:326 0.581
After features/support/hooks.rb:100 0.008
Tags: @product
19.980
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.063
Then persistence for "Persistent" is active 0.084
And I create a file in the Persistent directory 0.118
Then the file I created was copied to the Persistent Storage 0.108
When I disable the first tps feature 5.594
Then persistence for "Persistent" is not active 0.161
And the Persistent directory does not exist 0.627
When I enable the first tps feature 3.090
Then persistence for "Persistent" is active 0.067
And the file I created in the Persistent directory exists 0.062
After features/support/hooks.rb:326 1.008
After features/support/hooks.rb:100 0.000
Tags: @product
19.885
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.084
Then persistence for "Persistent" is active 0.113
When I create a file in the Persistent directory 0.074
And I disable the first tps feature 5.999
And I delete the data of the Persistent Folder feature 3.565
Then the file I created does not exist on the Persistent Storage 0.046
After features/support/hooks.rb:326 1.006
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.351
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.010
And the network is plugged 0.079
And Tor is ready 21.681
And I take note of which tps features are available 0.578
When I write some files expected to persist 1.453
And I shutdown Tails and wait for the computer to power off 8.325
# 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.222
After features/support/hooks.rb:326 0.107
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.167
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.109
And the network is plugged 0.067
And Tor is ready 15.858
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.431
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.745
And I capture all network traffic 0.014
And the network is plugged 0.078
And Tor is ready 20.054
And I switch to the "persistent-con-current" NetworkManager connection 0.382
And the 1st network device has a spoofed MAC address configured 0.101
And no network device leaked the real MAC address 0.133
After features/support/hooks.rb:326 0.570
After features/support/hooks.rb:100 0.078
Tags: @product
53.862
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 10.762
And I enable persistence creation in Tails Greeter 1.096
And I log in to a new session expecting no warning about the Persistent Storage not being activated 18.858
Then I create a persistent partition with the default settings using the wizard that was already open 23.144
After features/support/hooks.rb:326 1.993
After features/support/hooks.rb:100 0.000
Tags: @product
4:44.641
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 11.393
When I enable persistence 34.521
Then no persistent Greeter options were restored 14.015
When I set all Greeter options to non-default values 26.077
And I log in to a new session in German (de) after having activated the Persistent Storage 44.120
Then all Greeter options are set to non-default values 0.691
When I cold reboot the computer 7.347
And the computer reboots Tails 57.736
Given I enable persistence 31.603
Then persistent Greeter options were restored 14.770
When I log in to a new session after having activated the Persistent Storage 41.878
Then all Greeter options are set to non-default values 0.486
After features/support/hooks.rb:326 0.885
After features/support/hooks.rb:100 0.008
Tags: @product
3:35.114
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.695
# 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.314
And I shutdown Tails and wait for the computer to power off 12.601
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:3.609
And I change the passphrase of the Persistent Storage back to the original 26.893
After features/support/hooks.rb:326 2.333
After features/support/hooks.rb:100 0.007
Tags: @product
51.237
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 9.542
And I log in to a new session without activating the Persistent Storage 20.470
Then persistence is disabled 0.360
But a Tails persistence partition exists on USB drive "__internal" 4.765
And all notifications have disappeared 8.713
When I delete the persistent partition 7.022
Then there is no persistence partition on USB drive "__internal" 0.362
After features/support/hooks.rb:326 0.751
After features/support/hooks.rb:100 0.000
Tags: @product
2:19.675
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.828
When I write some dotfile expected to persist 0.061
And I shutdown Tails and wait for the computer to power off 8.419
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.061
Then the expected persistent dotfile is present in the filesystem 0.305
After features/support/hooks.rb:326 1.060
After features/support/hooks.rb:100 0.009
Tags: @product
1:30.098
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.711
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.088
When I try to enable persistence 0.278
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.931
When I log in to a new session after having activated the Persistent Storage 35.011
And all notifications have disappeared 7.269
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.189
And all tps features are enabled 2.549
And all tps features but the first one are active 2.068
After features/support/hooks.rb:326 1.223
After features/support/hooks.rb:100 0.000
Tags: @product
4:45.820
Before features/support/hooks.rb:269 0.005
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:24.099
And I enable persistence 33.414
And I log in to a new session after having activated the Persistent Storage 47.116
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.088
And persistence is enabled 0.101
After features/support/hooks.rb:326 1.311
After features/support/hooks.rb:100 0.000
Tags: @product
27.946
Before features/support/hooks.rb:269 0.004
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.625
And I enable persistence but something goes wrong during the LUKS header upgrade 18.616
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.703
After features/support/hooks.rb:326 0.782
After features/support/hooks.rb:100 0.000
Tags: @product
41.828
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.110
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.999
When I enable persistence 27.301
Then the filesystem of the Persistent Storage was repaired 0.084
And persistence is successfully enabled 0.331
After features/support/hooks.rb:326 1.009
After features/support/hooks.rb:100 0.000
Tags: @product
23.097
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.728
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.518
When I try to enable persistence 0.394
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.198
When I repair the filesystem of the Persistent Storage 1.245
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.240
And the filesystem of the Persistent Storage was repaired 0.059
When I close the filesystem repair dialog 1.284
Then persistence is successfully enabled 0.426
After features/support/hooks.rb:326 0.801
After features/support/hooks.rb:100 0.000
Tags: @product
1:36.960
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.858
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.143
When I try to enable persistence 0.298
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.327
When I repair the filesystem of the Persistent Storage 1.272
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 29.475
And all notifications have disappeared 7.322
# Now both WhisperBack and Tor Browser has started at the same
# time, so we do not know which window is focused. The steps about
# Tor Browser care about that, but the ones about WhisperBack do
# not, so we first deal with WhisperBack and then kill it to
# ensure that Tor Browser is focused.
Then WhisperBack is prefilled for fsck with summary: "Failed to repair the file system of your Persistent Storage" 0.759
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.194
When I close the "whisperback" window 1.982
Then the Tor Browser starts 12.768
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.482
After features/support/hooks.rb:326 2.801
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.820
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.539
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.537
And Tails detects disk read failures on the boot device 1.607
When I try to enable persistence 0.492
Then the Welcome Screen tells me that my hardware is probably failing 5.298
When I log in to a new session 20.303
And all notifications have disappeared 7.395
Then the Tor Browser starts 19.108
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.536
After features/support/hooks.rb:326 1.237
After features/support/hooks.rb:100 0.000