Project Number Date
test_Tails_ISO_devel 3551 17 Oct 2024, 12:54

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 49:57.548 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:30.500
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:47.152
And I update APT using apt 13.754
And I install "python3-behave" using apt 25.844
Then the Tails Persistent Storage behave tests pass 3.749
After features/support/hooks.rb:326 1.518
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.963
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 21.174
When I log in to a new session without activating the Persistent Storage 27.556
Then Tails is running from USB drive "__internal" 0.620
And persistence is disabled 0.441
But a Tails persistence partition exists on USB drive "__internal" 12.172
After features/support/hooks.rb:326 1.625
After features/support/hooks.rb:100 0.000
Tags: @product
3:39.278
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 23.940
Then Tails is running from USB drive "__internal" 0.532
When I create a file in the Persistent directory 0.159
And I create a persistent partition with the default settings 31.921
Then the file I created was copied to the Persistent Storage 0.736
When I shutdown Tails and wait for the computer to power off 15.543
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.830
Then persistence for "Persistent" is active 1.533
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 0.883
After features/support/hooks.rb:100 0.026
Tags: @product
1:13.058
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 12.331
And the system is very low on memory 4.155
When I create a file in the Persistent directory 1.726
When I try to create a persistent partition 28.712
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.293
When I close the Persistent Storage app 2.631
And I free up some memory 1.845
And I create a persistent partition with the default settings 21.044
Then the file I created was copied to the Persistent Storage 0.316
After features/support/hooks.rb:326 2.149
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.154
Before features/support/hooks.rb:269 0.018
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.012
Then Tails is running from USB drive "__internal" 1.090
And all tps features are active 4.190
And all persistent directories have safe access rights 3.079
When I disable the first tps feature 8.035
Then all tps features but the first one are active 3.536
And I shutdown Tails and wait for the computer to power off 13.827
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.957
Then all tps features but the first one are active 2.424
After features/support/hooks.rb:326 0.849
After features/support/hooks.rb:100 0.023
Tags: @product
21.363
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.646
Then persistence for "Persistent" is active 0.101
And I create a file in the Persistent directory 0.093
Then the file I created was copied to the Persistent Storage 0.074
When I disable the first tps feature 5.982
Then persistence for "Persistent" is not active 0.067
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.181
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 1.114
After features/support/hooks.rb:100 0.000
Tags: @product
20.730
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 10.182
Then persistence for "Persistent" is active 0.112
When I create a file in the Persistent directory 0.273
And I disable the first tps feature 6.231
And I delete the data of the Persistent Folder feature 3.867
Then the file I created does not exist on the Persistent Storage 0.064
After features/support/hooks.rb:326 1.230
After features/support/hooks.rb:100 0.000
Tags: @product
1:20.266
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 25.057
And the network is plugged 0.117
And Tor is ready 18.689
And I take note of which tps features are available 0.609
When I write some files expected to persist 1.486
And I shutdown Tails and wait for the computer to power off 8.514
# 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.791
After features/support/hooks.rb:326 0.164
After features/support/hooks.rb:100 0.000
Tags: @product
3:53.899
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.664
And the network is plugged 1.098
And Tor is ready 21.168
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.206
And I shutdown Tails and wait for the computer to power off 11.098
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.962
And I capture all network traffic 0.008
And the network is plugged 0.104
And Tor is ready 49.988
And I switch to the "persistent-con-current" NetworkManager connection 0.309
And the 1st network device has a spoofed MAC address configured 0.116
And no network device leaked the real MAC address 0.171
After features/support/hooks.rb:326 0.567
After features/support/hooks.rb:100 0.048
Tags: @product
1:39.305
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 40.287
And I enable persistence creation in Tails Greeter 1.115
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.057
Then I create a persistent partition with the default settings using the wizard that was already open 33.844
After features/support/hooks.rb:326 3.633
After features/support/hooks.rb:100 0.000
Tags: @product
5:23.918
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 18.064
When I enable persistence 44.599
Then no persistent Greeter options were restored 14.198
When I set all Greeter options to non-default values 26.840
And I log in to a new session in German (de) after having activated the Persistent Storage 55.294
Then all Greeter options are set to non-default values 0.466
When I cold reboot the computer 9.817
And the computer reboots Tails 1:6.702
Given I enable persistence 33.830
Then persistent Greeter options were restored 15.678
When I log in to a new session after having activated the Persistent Storage 37.888
Then all Greeter options are set to non-default values 0.537
After features/support/hooks.rb:326 1.476
After features/support/hooks.rb:100 0.012
Tags: @product
3:50.125
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 12.035
# 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 37.661
And I shutdown Tails and wait for the computer to power off 12.947
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.885
And I change the passphrase of the Persistent Storage back to the original 32.595
After features/support/hooks.rb:326 1.677
After features/support/hooks.rb:100 0.010
Tags: @product
1:8.666
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 16.469
And I log in to a new session without activating the Persistent Storage 23.553
Then persistence is disabled 0.293
But a Tails persistence partition exists on USB drive "__internal" 10.103
And all notifications have disappeared 11.117
When I delete the persistent partition 6.611
Then there is no persistence partition on USB drive "__internal" 0.517
After features/support/hooks.rb:326 0.889
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.617
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 10.730
When I write some dotfile expected to persist 0.095
And I shutdown Tails and wait for the computer to power off 11.354
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.697
Then the expected persistent dotfile is present in the filesystem 0.739
After features/support/hooks.rb:326 1.182
After features/support/hooks.rb:100 0.019
Tags: @product
2:26.217
Before features/support/hooks.rb:269 0.019
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.619
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.103
When I try to enable persistence 0.329
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 54.789
When I log in to a new session after having activated the Persistent Storage 47.986
And all notifications have disappeared 10.042
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.259
And all tps features are enabled 10.562
And all tps features but the first one are active 4.524
After features/support/hooks.rb:326 0.899
After features/support/hooks.rb:100 0.000
Tags: @product
10:8.342
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 8:37.283
And I enable persistence 40.033
And I log in to a new session after having activated the Persistent Storage 49.692
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.186
And persistence is enabled 0.146
After features/support/hooks.rb:326 1.300
After features/support/hooks.rb:100 0.000
Tags: @product
28.771
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 8.759
And I enable persistence but something goes wrong during the LUKS header upgrade 19.198
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.813
After features/support/hooks.rb:326 1.005
After features/support/hooks.rb:100 0.000
Tags: @product
48.977
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.053
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.723
When I enable persistence 33.704
Then the filesystem of the Persistent Storage was repaired 0.109
And persistence is successfully enabled 0.386
After features/support/hooks.rb:326 1.141
After features/support/hooks.rb:100 0.000
Tags: @product
28.755
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.187
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.223
When I try to enable persistence 0.466
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 9.273
When I repair the filesystem of the Persistent Storage 1.244
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.231
And the filesystem of the Persistent Storage was repaired 0.398
When I close the filesystem repair dialog 1.296
Then persistence is successfully enabled 0.433
After features/support/hooks.rb:326 0.790
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.790
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.090
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.128
When I try to enable persistence 0.334
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.265
When I repair the filesystem of the Persistent Storage 2.503
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.079
When I log in to a new session 43.488
And all notifications have disappeared 10.019
# 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.618
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.607
When I close the "whisperback" window 1.522
Then the Tor Browser starts 14.269
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.863
After features/support/hooks.rb:326 2.760
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:28.844
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.998
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.729
And Tails detects disk read failures on the boot device 1.850
When I try to enable persistence 0.487
Then the Welcome Screen tells me that my hardware is probably failing 8.704
When I log in to a new session 21.696
And all notifications have disappeared 8.607
Then the Tor Browser starts 26.788
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.981
After features/support/hooks.rb:326 2.135
After features/support/hooks.rb:100 0.000