Project Number Date
test_Tails_ISO_devel 3533 06 Oct 2024, 12:38

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 38:9.820 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:14.445
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:35.257
And I update APT using apt 13.906
And I install "python3-behave" using apt 22.622
Then the Tails Persistent Storage behave tests pass 2.658
After features/support/hooks.rb:326 0.717
After features/support/hooks.rb:100 0.000
Tags: @product
44.380
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 11.546
When I log in to a new session without activating the Persistent Storage 25.639
Then Tails is running from USB drive "__internal" 0.777
And persistence is disabled 0.371
But a Tails persistence partition exists on USB drive "__internal" 6.045
After features/support/hooks.rb:326 1.098
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.227
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.755
Then Tails is running from USB drive "__internal" 0.486
When I create a file in the Persistent directory 0.150
And I create a persistent partition with the default settings 24.938
Then the file I created was copied to the Persistent Storage 0.756
When I shutdown Tails and wait for the computer to power off 12.610
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.192
Then persistence for "Persistent" is active 0.265
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 0.892
After features/support/hooks.rb:100 0.007
Tags: @product
1:6.765
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 14.385
And the system is very low on memory 6.517
When I create a file in the Persistent directory 0.839
When I try to create a persistent partition 25.943
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.168
When I close the Persistent Storage app 2.533
And I free up some memory 2.133
And I create a persistent partition with the default settings 14.008
Then the file I created was copied to the Persistent Storage 0.234
After features/support/hooks.rb:326 1.611
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.417
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.160
Then Tails is running from USB drive "__internal" 0.360
And all tps features are active 2.252
And all persistent directories have safe access rights 2.500
When I disable the first tps feature 5.943
Then all tps features but the first one are active 2.071
And I shutdown Tails and wait for the computer to power off 10.746
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.072
Then all tps features but the first one are active 2.308
After features/support/hooks.rb:326 1.058
After features/support/hooks.rb:100 0.007
Tags: @product
18.456
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.642
Then persistence for "Persistent" is active 0.237
And I create a file in the Persistent directory 0.065
Then the file I created was copied to the Persistent Storage 0.070
When I disable the first tps feature 5.038
Then persistence for "Persistent" is not active 0.116
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.074
Then persistence for "Persistent" is active 0.092
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:326 1.146
After features/support/hooks.rb:100 0.000
Tags: @product
19.094
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.608
Then persistence for "Persistent" is active 0.084
When I create a file in the Persistent directory 0.069
And I disable the first tps feature 5.654
And I delete the data of the Persistent Folder feature 3.613
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:326 0.938
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.969
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.217
And the network is plugged 0.097
And Tor is ready 16.948
And I take note of which tps features are available 0.618
When I write some files expected to persist 1.424
And I shutdown Tails and wait for the computer to power off 8.638
# 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.024
After features/support/hooks.rb:326 0.089
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.596
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.344
And the network is plugged 0.084
And Tor is ready 16.865
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.237
And I shutdown Tails and wait for the computer to power off 8.309
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.891
And I capture all network traffic 0.015
And the network is plugged 0.091
And Tor is ready 20.158
And I switch to the "persistent-con-current" NetworkManager connection 0.369
And the 1st network device has a spoofed MAC address configured 0.101
And no network device leaked the real MAC address 0.126
After features/support/hooks.rb:326 0.870
After features/support/hooks.rb:100 0.050
Tags: @product
59.923
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 13.538
And I enable persistence creation in Tails Greeter 1.112
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.012
Then I create a persistent partition with the default settings using the wizard that was already open 21.260
After features/support/hooks.rb:326 1.550
After features/support/hooks.rb:100 0.000
Tags: @product
4:39.660
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 11.530
When I enable persistence 35.376
Then no persistent Greeter options were restored 14.367
When I set all Greeter options to non-default values 24.963
And I log in to a new session in German (de) after having activated the Persistent Storage 42.371
Then all Greeter options are set to non-default values 0.715
When I cold reboot the computer 7.134
And the computer reboots Tails 58.931
Given I enable persistence 31.507
Then persistent Greeter options were restored 14.780
When I log in to a new session after having activated the Persistent Storage 37.412
Then all Greeter options are set to non-default values 0.567
After features/support/hooks.rb:326 1.070
After features/support/hooks.rb:100 0.007
Tags: @product
3:31.378
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.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 30.093
And I shutdown Tails and wait for the computer to power off 12.327
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.055
And I change the passphrase of the Persistent Storage back to the original 33.206
After features/support/hooks.rb:326 1.973
After features/support/hooks.rb:100 0.009
Tags: @product
57.330
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.250
And I log in to a new session without activating the Persistent Storage 21.439
Then persistence is disabled 0.376
But a Tails persistence partition exists on USB drive "__internal" 9.907
And all notifications have disappeared 8.985
When I delete the persistent partition 5.841
Then there is no persistence partition on USB drive "__internal" 0.529
After features/support/hooks.rb:326 0.899
After features/support/hooks.rb:100 0.000
Tags: @product
2:22.339
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.828
When I write some dotfile expected to persist 0.057
And I shutdown Tails and wait for the computer to power off 8.591
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.469
Then the expected persistent dotfile is present in the filesystem 0.393
After features/support/hooks.rb:326 0.668
After features/support/hooks.rb:100 0.009
Tags: @product
1:37.678
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.943
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 0.271
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.525
When I log in to a new session after having activated the Persistent Storage 43.239
And all notifications have disappeared 8.378
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.479
And all tps features but the first one are active 1.970
After features/support/hooks.rb:326 1.352
After features/support/hooks.rb:100 0.000
Tags: @product
4:51.599
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:30.791
And I enable persistence 33.800
And I log in to a new session after having activated the Persistent Storage 45.324
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.439
And persistence is enabled 0.245
After features/support/hooks.rb:326 2.369
After features/support/hooks.rb:100 0.000
Tags: @product
29.066
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.865
And I enable persistence but something goes wrong during the LUKS header upgrade 19.279
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.921
After features/support/hooks.rb:326 0.937
After features/support/hooks.rb:100 0.000
Tags: @product
43.615
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.119
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.201
When I enable persistence 28.845
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 0.356
After features/support/hooks.rb:326 1.058
After features/support/hooks.rb:100 0.000
Tags: @product
25.423
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.828
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.085
When I try to enable persistence 0.386
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.964
When I repair the filesystem of the Persistent Storage 1.240
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.240
And the filesystem of the Persistent Storage was repaired 0.065
When I close the filesystem repair dialog 1.254
Then persistence is successfully enabled 0.357
After features/support/hooks.rb:326 0.755
After features/support/hooks.rb:100 0.000
Tags: @product
1:43.396
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.755
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.090
When I try to enable persistence 0.263
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.109
When I repair the filesystem of the Persistent Storage 5.000
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.071
When I log in to a new session 36.350
And all notifications have disappeared 6.946
# 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.603
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.353
When I close the "whisperback" window 1.779
Then the Tor Browser starts 14.553
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.517
After features/support/hooks.rb:326 1.348
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.056
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.816
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.294
And Tails detects disk read failures on the boot device 1.516
When I try to enable persistence 0.422
Then the Welcome Screen tells me that my hardware is probably failing 5.380
When I log in to a new session 20.140
And all notifications have disappeared 7.142
Then the Tor Browser starts 19.829
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.513
After features/support/hooks.rb:326 1.443
After features/support/hooks.rb:100 0.000