Project Number Date
test_Tails_ISO_stable 5137 03 Oct 2024, 13:57

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 44:50.410 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:41.184
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:58.670
And I update APT using apt 14.462
And I install "python3-behave" using apt 25.710
Then the Tails Persistent Storage behave tests pass 2.341
After features/support/hooks.rb:326 0.708
After features/support/hooks.rb:100 0.000
Tags: @product
45.723
Before features/support/hooks.rb:269 0.014
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.701
When I log in to a new session without activating the Persistent Storage 24.201
Then Tails is running from USB drive "__internal" 0.387
And persistence is disabled 0.464
But a Tails persistence partition exists on USB drive "__internal" 7.967
After features/support/hooks.rb:326 1.046
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.196
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 15.041
Then Tails is running from USB drive "__internal" 0.486
When I create a file in the Persistent directory 0.129
And I create a persistent partition with the default settings 23.122
Then the file I created was copied to the Persistent Storage 1.122
When I shutdown Tails and wait for the computer to power off 12.918
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:32.030
Then persistence for "Persistent" is active 0.278
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 1.228
After features/support/hooks.rb:100 0.009
Tags: @product
1:20.075
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 28.214
And the system is very low on memory 7.055
When I create a file in the Persistent directory 1.100
When I try to create a persistent partition 24.458
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.217
When I close the Persistent Storage app 2.546
And I free up some memory 1.812
And I create a persistent partition with the default settings 14.102
Then the file I created was copied to the Persistent Storage 0.569
After features/support/hooks.rb:326 1.415
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.765
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 14.339
Then Tails is running from USB drive "__internal" 0.943
And all tps features are active 2.584
And all persistent directories have safe access rights 2.730
When I disable the first tps feature 6.613
Then all tps features but the first one are active 2.458
And I shutdown Tails and wait for the computer to power off 18.406
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.303
Then all tps features but the first one are active 2.384
After features/support/hooks.rb:326 0.699
After features/support/hooks.rb:100 0.011
Tags: @product
21.783
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.741
Then persistence for "Persistent" is active 0.791
And I create a file in the Persistent directory 0.070
Then the file I created was copied to the Persistent Storage 0.060
When I disable the first tps feature 6.562
Then persistence for "Persistent" is not active 0.120
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.205
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.087
After features/support/hooks.rb:326 1.002
After features/support/hooks.rb:100 0.000
Tags: @product
35.245
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 24.966
Then persistence for "Persistent" is active 0.108
When I create a file in the Persistent directory 0.118
And I disable the first tps feature 6.278
And I delete the data of the Persistent Folder feature 3.711
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:326 0.994
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.269
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.572
And the network is plugged 0.092
And Tor is ready 21.938
And I take note of which tps features are available 0.730
When I write some files expected to persist 1.762
And I shutdown Tails and wait for the computer to power off 10.984
# 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" 26.188
After features/support/hooks.rb:326 0.157
After features/support/hooks.rb:100 0.000
Tags: @product
3:47.630
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.307
And the network is plugged 0.077
And Tor is ready 19.933
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 11.087
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.771
And I capture all network traffic 0.009
And the network is plugged 0.079
And Tor is ready 50.406
And I switch to the "persistent-con-current" NetworkManager connection 0.359
And the 1st network device has a spoofed MAC address configured 0.086
And no network device leaked the real MAC address 0.274
After features/support/hooks.rb:326 0.639
After features/support/hooks.rb:100 0.059
Tags: @product
1:3.948
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 14.430
And I enable persistence creation in Tails Greeter 1.657
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.851
Then I create a persistent partition with the default settings using the wizard that was already open 23.009
After features/support/hooks.rb:326 1.956
After features/support/hooks.rb:100 0.000
Tags: @product
5:2.725
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.523
When I enable persistence 41.634
Then no persistent Greeter options were restored 14.831
When I set all Greeter options to non-default values 26.504
And I log in to a new session in German (de) after having activated the Persistent Storage 50.136
Then all Greeter options are set to non-default values 0.382
When I cold reboot the computer 7.456
And the computer reboots Tails 1:2.486
Given I enable persistence 30.147
Then persistent Greeter options were restored 15.118
When I log in to a new session after having activated the Persistent Storage 40.640
Then all Greeter options are set to non-default values 0.862
After features/support/hooks.rb:326 1.617
After features/support/hooks.rb:100 0.010
Tags: @product
3:45.921
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 11.726
# 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 38.448
And I shutdown Tails and wait for the computer to power off 12.591
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:15.855
And I change the passphrase of the Persistent Storage back to the original 27.298
After features/support/hooks.rb:326 1.621
After features/support/hooks.rb:100 0.010
Tags: @product
57.942
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 11.276
And I log in to a new session without activating the Persistent Storage 22.828
Then persistence is disabled 0.383
But a Tails persistence partition exists on USB drive "__internal" 7.023
And all notifications have disappeared 9.410
When I delete the persistent partition 6.546
Then there is no persistence partition on USB drive "__internal" 0.472
After features/support/hooks.rb:326 0.923
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.981
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 12.482
When I write some dotfile expected to persist 0.225
And I shutdown Tails and wait for the computer to power off 9.140
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.768
Then the expected persistent dotfile is present in the filesystem 0.363
After features/support/hooks.rb:326 0.640
After features/support/hooks.rb:100 0.008
Tags: @product
1:55.180
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 11.678
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 1.372
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.907
When I log in to a new session after having activated the Persistent Storage 47.072
And all notifications have disappeared 10.442
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.706
And all tps features are enabled 2.671
And all tps features but the first one are active 2.243
After features/support/hooks.rb:326 1.009
After features/support/hooks.rb:100 0.000
Tags: @product
6:49.136
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:21.113
And I enable persistence 38.000
And I log in to a new session after having activated the Persistent Storage 46.989
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.582
And persistence is enabled 0.451
After features/support/hooks.rb:326 1.613
After features/support/hooks.rb:100 0.000
Tags: @product
34.789
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 13.790
And I enable persistence but something goes wrong during the LUKS header upgrade 20.152
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.846
After features/support/hooks.rb:326 0.845
After features/support/hooks.rb:100 0.000
Tags: @product
47.977
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.286
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.711
When I enable persistence 32.521
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 0.367
After features/support/hooks.rb:326 1.636
After features/support/hooks.rb:100 0.000
Tags: @product
26.051
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.859
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.695
When I try to enable persistence 0.440
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.240
When I repair the filesystem of the Persistent Storage 1.228
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.593
And the filesystem of the Persistent Storage was repaired 0.087
When I close the filesystem repair dialog 1.397
Then persistence is successfully enabled 0.508
After features/support/hooks.rb:326 0.963
After features/support/hooks.rb:100 0.000
Tags: @product
1:52.663
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.469
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.213
When I try to enable persistence 0.339
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.268
When I repair the filesystem of the Persistent Storage 1.325
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.076
When I log in to a new session 39.844
And all notifications have disappeared 8.127
# 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.162
When I close the "whisperback" window 1.651
Then the Tor Browser starts 16.975
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.603
After features/support/hooks.rb:326 3.140
After features/support/hooks.rb:100 0.000
Tags: @product
1:20.216
Before features/support/hooks.rb:269 0.018
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.705
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.800
And Tails detects disk read failures on the boot device 1.640
When I try to enable persistence 1.595
Then the Welcome Screen tells me that my hardware is probably failing 5.780
When I log in to a new session 21.666
And all notifications have disappeared 6.023
Then the Tor Browser starts 21.734
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 1.269
After features/support/hooks.rb:326 1.297
After features/support/hooks.rb:100 0.000