Project Number Date
test_Tails_ISO_feature-arti 30 15 Dec 2024, 16:19

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 42:6.793 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.599
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:39.414
And I update APT using apt 14.257
And I install "python3-behave" using apt 25.527
Then the Tails Persistent Storage behave tests pass 2.400
After features/support/hooks.rb:326 1.138
After features/support/hooks.rb:100 0.000
Tags: @product
54.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.967
When I log in to a new session without activating the Persistent Storage 29.868
Then Tails is running from USB drive "__internal" 0.574
And persistence is disabled 0.622
But a Tails persistence partition exists on USB drive "__internal" 11.608
After features/support/hooks.rb:326 1.126
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.389
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 11.992
Then Tails is running from USB drive "__internal" 0.858
When I create a file in the Persistent directory 0.209
And I create a persistent partition with the default settings 24.142
Then the file I created was copied to the Persistent Storage 0.665
When I shutdown Tails and wait for the computer to power off 13.184
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.055
Then persistence for "Persistent" is active 1.213
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 0.966
After features/support/hooks.rb:100 0.009
Tags: @product
1:0.871
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 11.054
And the system is very low on memory 4.742
When I create a file in the Persistent directory 1.102
When I try to create a persistent partition 25.227
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.558
When I close the Persistent Storage app 2.648
And I free up some memory 1.624
And I create a persistent partition with the default settings 13.666
Then the file I created was copied to the Persistent Storage 0.247
After features/support/hooks.rb:326 1.434
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.081
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.130
Then Tails is running from USB drive "__internal" 0.418
And all tps features are active 2.453
And all persistent directories have safe access rights 2.611
When I disable the first tps feature 6.097
Then all tps features but the first one are active 2.216
And I shutdown Tails and wait for the computer to power off 9.099
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.767
Then all tps features but the first one are active 2.287
After features/support/hooks.rb:326 0.884
After features/support/hooks.rb:100 0.010
Tags: @product
21.187
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.218
Then persistence for "Persistent" is active 0.105
And I create a file in the Persistent directory 0.089
Then the file I created was copied to the Persistent Storage 0.075
When I disable the first tps feature 5.996
Then persistence for "Persistent" is not active 0.080
And the Persistent directory does not exist 0.082
When I enable the first tps feature 3.361
Then persistence for "Persistent" is active 0.096
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:326 0.860
After features/support/hooks.rb:100 0.000
Tags: @product
20.357
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 9.872
Then persistence for "Persistent" is active 0.164
When I create a file in the Persistent directory 0.094
And I disable the first tps feature 6.156
And I delete the data of the Persistent Folder feature 3.997
Then the file I created does not exist on the Persistent Storage 0.071
After features/support/hooks.rb:326 1.099
After features/support/hooks.rb:100 0.000
Tags: @product
1:17.124
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.008
And the network is plugged 0.087
And Tor is ready 28.834
And I take note of which tps features are available 0.645
When I write some files expected to persist 1.627
And I shutdown Tails and wait for the computer to power off 9.556
# 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.364
After features/support/hooks.rb:326 0.149
After features/support/hooks.rb:100 0.000
Tags: @product
3:34.807
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.568
And the network is plugged 0.080
And Tor is ready 20.963
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.176
And I shutdown Tails and wait for the computer to power off 11.056
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:31.976
And I capture all network traffic 0.012
And the network is plugged 0.094
And Tor is ready 19.227
And I switch to the "persistent-con-current" NetworkManager connection 0.358
And the 1st network device has a spoofed MAC address configured 0.119
And no network device leaked the real MAC address 0.171
After features/support/hooks.rb:326 0.723
After features/support/hooks.rb:100 0.052
Tags: @product
1:5.322
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 12.684
And I enable persistence creation in Tails Greeter 1.180
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.603
Then I create a persistent partition with the default settings using the wizard that was already open 25.853
After features/support/hooks.rb:326 2.547
After features/support/hooks.rb:100 0.000
Tags: @product
5:0.903
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 16.802
When I enable persistence 52.798
Then no persistent Greeter options were restored 14.741
When I set all Greeter options to non-default values 27.706
And I log in to a new session in German (de) after having activated the Persistent Storage 56.854
Then all Greeter options are set to non-default values 0.526
When I cold reboot the computer 7.817
And the computer reboots Tails 1:1.734
Given I enable persistence 20.547
Then persistent Greeter options were restored 0.567
When I log in to a new session after having activated the Persistent Storage 40.329
Then all Greeter options are set to non-default values 0.477
After features/support/hooks.rb:326 1.038
After features/support/hooks.rb:100 0.009
Tags: @product
3:40.333
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.392
# 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 33.814
And I shutdown Tails and wait for the computer to power off 13.202
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.952
And I change the passphrase of the Persistent Storage back to the original 29.970
After features/support/hooks.rb:326 2.598
After features/support/hooks.rb:100 0.011
Tags: @product
1:2.860
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 10.356
And I log in to a new session without activating the Persistent Storage 22.577
Then persistence is disabled 0.304
But a Tails persistence partition exists on USB drive "__internal" 11.256
And all notifications have disappeared 10.469
When I delete the persistent partition 7.370
Then there is no persistence partition on USB drive "__internal" 0.524
After features/support/hooks.rb:326 0.819
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.721
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.796
When I write some dotfile expected to persist 0.092
And I shutdown Tails and wait for the computer to power off 9.728
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.517
Then the expected persistent dotfile is present in the filesystem 0.586
After features/support/hooks.rb:326 0.652
After features/support/hooks.rb:100 0.011
Tags: @product
1:53.121
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.142
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.097
When I try to enable persistence 0.274
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.468
When I log in to a new session after having activated the Persistent Storage 53.117
And all notifications have disappeared 8.543
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.173
And all tps features are enabled 2.496
And all tps features but the first one are active 2.808
After features/support/hooks.rb:326 1.280
After features/support/hooks.rb:100 0.000
Tags: @product
5:44.589
Before features/support/hooks.rb:269 0.009
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 4:21.404
And I enable persistence 34.484
And I log in to a new session after having activated the Persistent Storage 42.210
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.578
And persistence is enabled 4.911
After features/support/hooks.rb:326 1.119
After features/support/hooks.rb:100 0.000
Tags: @product
29.973
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.206
And I enable persistence but something goes wrong during the LUKS header upgrade 19.952
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.814
After features/support/hooks.rb:326 0.742
After features/support/hooks.rb:100 0.000
Tags: @product
50.959
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.233
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.028
When I enable persistence 33.822
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 2.778
After features/support/hooks.rb:326 1.133
After features/support/hooks.rb:100 0.000
Tags: @product
31.985
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 10.028
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.102
When I try to enable persistence 2.050
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.669
When I repair the filesystem of the Persistent Storage 1.292
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.267
And the filesystem of the Persistent Storage was repaired 0.452
When I close the filesystem repair dialog 1.284
Then persistence is successfully enabled 1.837
After features/support/hooks.rb:326 1.050
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.862
Before features/support/hooks.rb:269 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.734
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.303
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 39.824
When I repair the filesystem of the Persistent Storage 1.416
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.256
And all notifications have disappeared 12.226
# 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.569
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.923
When I close the "whisperback" window 1.482
Then the Tor Browser starts 13.792
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.143
After features/support/hooks.rb:326 4.353
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.099
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.413
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.567
And Tails detects disk read failures on the boot device 0.513
When I try to enable persistence 0.404
Then the Welcome Screen tells me that my hardware is probably failing 5.264
When I log in to a new session 21.980
And all notifications have disappeared 7.140
Then the Tor Browser starts 23.981
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.834
After features/support/hooks.rb:326 2.899
After features/support/hooks.rb:100 0.000