Project Number Date
test_Tails_ISO_devel 3539 09 Oct 2024, 19:05

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 43:52.475 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:26.422
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:40.939
And I update APT using apt 14.105
And I install "python3-behave" using apt 28.717
Then the Tails Persistent Storage behave tests pass 2.660
After features/support/hooks.rb:326 1.798
After features/support/hooks.rb:100 0.000
Tags: @product
54.670
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 19.679
When I log in to a new session without activating the Persistent Storage 25.269
Then Tails is running from USB drive "__internal" 0.592
And persistence is disabled 0.690
But a Tails persistence partition exists on USB drive "__internal" 8.437
After features/support/hooks.rb:326 1.258
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.702
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 15.888
Then Tails is running from USB drive "__internal" 0.699
When I create a file in the Persistent directory 0.179
And I create a persistent partition with the default settings 26.459
Then the file I created was copied to the Persistent Storage 0.555
When I shutdown Tails and wait for the computer to power off 13.266
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:31.084
Then persistence for "Persistent" is active 0.481
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:326 0.901
After features/support/hooks.rb:100 0.008
Tags: @product
57.626
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.447
And the system is very low on memory 6.011
When I create a file in the Persistent directory 1.254
When I try to create a persistent partition 21.444
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.493
When I close the Persistent Storage app 2.573
And I free up some memory 1.402
And I create a persistent partition with the default settings 12.735
Then the file I created was copied to the Persistent Storage 0.262
After features/support/hooks.rb:326 1.055
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.394
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.381
Then Tails is running from USB drive "__internal" 0.630
And all tps features are active 2.729
And all persistent directories have safe access rights 2.759
When I disable the first tps feature 5.951
Then all tps features but the first one are active 2.253
And I shutdown Tails and wait for the computer to power off 10.628
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.708
Then all tps features but the first one are active 2.351
After features/support/hooks.rb:326 0.898
After features/support/hooks.rb:100 0.009
Tags: @product
19.792
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.975
Then persistence for "Persistent" is active 0.097
And I create a file in the Persistent directory 0.075
Then the file I created was copied to the Persistent Storage 0.091
When I disable the first tps feature 6.044
Then persistence for "Persistent" is not active 0.086
And the Persistent directory does not exist 0.058
When I enable the first tps feature 3.201
Then persistence for "Persistent" is active 0.082
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 1.067
After features/support/hooks.rb:100 0.000
Tags: @product
20.040
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.166
Then persistence for "Persistent" is active 0.142
When I create a file in the Persistent directory 0.059
And I disable the first tps feature 5.940
And I delete the data of the Persistent Folder feature 3.669
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:326 1.150
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.317
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.741
And the network is plugged 0.081
And Tor is ready 21.617
And I take note of which tps features are available 0.619
When I write some files expected to persist 1.617
And I shutdown Tails and wait for the computer to power off 8.630
# 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.008
After features/support/hooks.rb:326 0.150
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.134
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.632
And the network is plugged 0.076
And Tor is ready 18.641
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.236
And I shutdown Tails and wait for the computer to power off 8.851
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.749
And I capture all network traffic 0.007
And the network is plugged 0.092
And Tor is ready 21.260
And I switch to the "persistent-con-current" NetworkManager connection 0.328
And the 1st network device has a spoofed MAC address configured 0.117
And no network device leaked the real MAC address 0.139
After features/support/hooks.rb:326 0.652
After features/support/hooks.rb:100 0.066
Tags: @product
1:1.806
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 11.782
And I enable persistence creation in Tails Greeter 1.659
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.980
Then I create a persistent partition with the default settings using the wizard that was already open 24.383
After features/support/hooks.rb:326 2.002
After features/support/hooks.rb:100 0.000
Tags: @product
5:21.562
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.082
When I enable persistence 43.038
Then no persistent Greeter options were restored 14.921
When I set all Greeter options to non-default values 31.206
And I log in to a new session in German (de) after having activated the Persistent Storage 53.491
Then all Greeter options are set to non-default values 0.584
When I cold reboot the computer 10.442
And the computer reboots Tails 1:5.634
Given I enable persistence 32.561
Then persistent Greeter options were restored 15.613
When I log in to a new session after having activated the Persistent Storage 41.412
Then all Greeter options are set to non-default values 0.572
After features/support/hooks.rb:326 1.316
After features/support/hooks.rb:100 0.010
Tags: @product
4:3.399
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.095
# 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 36.900
And I shutdown Tails and wait for the computer to power off 12.771
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:27.059
And I change the passphrase of the Persistent Storage back to the original 36.572
After features/support/hooks.rb:326 1.683
After features/support/hooks.rb:100 0.012
Tags: @product
1:8.206
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.747
And I log in to a new session without activating the Persistent Storage 24.517
Then persistence is disabled 0.439
But a Tails persistence partition exists on USB drive "__internal" 11.981
And all notifications have disappeared 12.847
When I delete the persistent partition 6.206
Then there is no persistence partition on USB drive "__internal" 0.466
After features/support/hooks.rb:326 1.025
After features/support/hooks.rb:100 0.000
Tags: @product
2:34.175
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.936
When I write some dotfile expected to persist 0.127
And I shutdown Tails and wait for the computer to power off 9.055
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.654
Then the expected persistent dotfile is present in the filesystem 0.402
After features/support/hooks.rb:326 0.821
After features/support/hooks.rb:100 0.009
Tags: @product
1:47.088
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 9.586
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.080
When I try to enable persistence 0.279
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.562
When I log in to a new session after having activated the Persistent Storage 46.998
And all notifications have disappeared 8.576
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.769
And all tps features are enabled 3.154
And all tps features but the first one are active 3.080
After features/support/hooks.rb:326 2.034
After features/support/hooks.rb:100 0.000
Tags: @product
7:18.779
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 5:44.920
And I enable persistence 43.843
And I log in to a new session after having activated the Persistent Storage 48.797
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.116
And persistence is enabled 0.101
After features/support/hooks.rb:326 1.525
After features/support/hooks.rb:100 0.000
Tags: @product
29.259
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.003
And I enable persistence but something goes wrong during the LUKS header upgrade 19.381
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.874
After features/support/hooks.rb:326 0.744
After features/support/hooks.rb:100 0.000
Tags: @product
46.835
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.105
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.191
When I enable persistence 31.020
Then the filesystem of the Persistent Storage was repaired 0.104
And persistence is successfully enabled 0.413
After features/support/hooks.rb:326 1.353
After features/support/hooks.rb:100 0.000
Tags: @product
25.793
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 9.328
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.176
When I try to enable persistence 0.438
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.620
When I repair the filesystem of the Persistent Storage 1.294
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.229
And the filesystem of the Persistent Storage was repaired 0.084
When I close the filesystem repair dialog 1.230
Then persistence is successfully enabled 0.390
After features/support/hooks.rb:326 0.842
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.344
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 8.904
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.118
When I try to enable persistence 0.629
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.769
When I repair the filesystem of the Persistent Storage 1.278
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.095
When I log in to a new session 41.989
And all notifications have disappeared 10.081
# 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.446
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.480
When I close the "whisperback" window 1.513
Then the Tor Browser starts 15.372
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.663
After features/support/hooks.rb:326 2.767
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:20.119
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 8.925
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.044
And Tails detects disk read failures on the boot device 1.612
When I try to enable persistence 0.419
Then the Welcome Screen tells me that my hardware is probably failing 6.235
When I log in to a new session 21.344
And all notifications have disappeared 10.609
Then the Tor Browser starts 24.109
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.818
After features/support/hooks.rb:326 2.397
After features/support/hooks.rb:100 0.000