Project Number Date
test_Tails_ISO_feature-arti 20 05 Dec 2024, 16:37

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 48:41.436 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:46.930
Before features/support/hooks.rb:269 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:58.870
And I update APT using apt 15.961
And I install "python3-behave" using apt 28.623
Then the Tails Persistent Storage behave tests pass 3.474
After features/support/hooks.rb:326 2.736
After features/support/hooks.rb:100 0.000
Tags: @product
57.078
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 15.120
When I log in to a new session without activating the Persistent Storage 24.181
Then Tails is running from USB drive "__internal" 0.831
And persistence is disabled 0.933
But a Tails persistence partition exists on USB drive "__internal" 16.011
After features/support/hooks.rb:326 2.032
After features/support/hooks.rb:100 0.000
Tags: @product
3:31.897
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 14.396
Then Tails is running from USB drive "__internal" 0.445
When I create a file in the Persistent directory 0.152
And I create a persistent partition with the default settings 28.106
Then the file I created was copied to the Persistent Storage 0.701
When I shutdown Tails and wait for the computer to power off 12.959
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.010
Then persistence for "Persistent" is active 1.056
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:326 1.330
After features/support/hooks.rb:100 0.012
Tags: @product
1:6.545
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.687
And the system is very low on memory 5.317
When I create a file in the Persistent directory 1.625
When I try to create a persistent partition 27.453
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.371
When I close the Persistent Storage app 2.580
And I free up some memory 1.713
And I create a persistent partition with the default settings 13.541
Then the file I created was copied to the Persistent Storage 0.253
After features/support/hooks.rb:326 1.383
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.903
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 12.050
Then Tails is running from USB drive "__internal" 0.469
And all tps features are active 2.759
And all persistent directories have safe access rights 3.009
When I disable the first tps feature 6.616
Then all tps features but the first one are active 2.133
And I shutdown Tails and wait for the computer to power off 11.393
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.072
Then all tps features but the first one are active 2.398
After features/support/hooks.rb:326 0.666
After features/support/hooks.rb:100 0.010
Tags: @product
20.540
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.187
Then persistence for "Persistent" is active 0.116
And I create a file in the Persistent directory 0.079
Then the file I created was copied to the Persistent Storage 0.080
When I disable the first tps feature 6.300
Then persistence for "Persistent" is not active 0.094
And the Persistent directory does not exist 0.068
When I enable the first tps feature 3.429
Then persistence for "Persistent" is active 0.112
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 0.843
After features/support/hooks.rb:100 0.000
Tags: @product
20.110
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 9.621
Then persistence for "Persistent" is active 0.092
When I create a file in the Persistent directory 0.072
And I disable the first tps feature 6.291
And I delete the data of the Persistent Folder feature 3.948
Then the file I created does not exist on the Persistent Storage 0.083
After features/support/hooks.rb:326 0.797
After features/support/hooks.rb:100 0.000
Tags: @product
1:25.692
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 23.468
And the network is plugged 0.077
And Tor is ready 25.602
And I take note of which tps features are available 0.762
When I write some files expected to persist 1.824
And I shutdown Tails and wait for the computer to power off 8.801
# 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.155
After features/support/hooks.rb:326 0.109
After features/support/hooks.rb:100 0.000
Tags: @product
3:40.188
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.939
And the network is plugged 0.086
And Tor is ready 19.911
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.195
And I shutdown Tails and wait for the computer to power off 8.548
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:41.318
And I capture all network traffic 0.010
And the network is plugged 0.117
And Tor is ready 19.250
And I switch to the "persistent-con-current" NetworkManager connection 0.437
And the 1st network device has a spoofed MAC address configured 0.120
And no network device leaked the real MAC address 0.251
After features/support/hooks.rb:326 0.772
After features/support/hooks.rb:100 0.058
Tags: @product
1:9.190
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 14.324
And I enable persistence creation in Tails Greeter 1.132
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.337
Then I create a persistent partition with the default settings using the wizard that was already open 27.395
After features/support/hooks.rb:326 1.763
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.506
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 14.080
When I enable persistence 41.821
Then no persistent Greeter options were restored 14.565
When I set all Greeter options to non-default values 25.492
And I log in to a new session in German (de) after having activated the Persistent Storage 52.265
Then all Greeter options are set to non-default values 0.823
When I cold reboot the computer 10.176
And the computer reboots Tails 1:8.142
Given I enable persistence 18.078
Then persistent Greeter options were restored 0.582
When I log in to a new session after having activated the Persistent Storage 34.126
Then all Greeter options are set to non-default values 0.349
After features/support/hooks.rb:326 1.271
After features/support/hooks.rb:100 0.013
Tags: @product
4:18.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 10.655
# 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 44.231
And I shutdown Tails and wait for the computer to power off 12.820
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:24.509
And I change the passphrase of the Persistent Storage back to the original 45.970
After features/support/hooks.rb:326 1.584
After features/support/hooks.rb:100 0.011
Tags: @product
1:12.010
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 13.420
And I log in to a new session without activating the Persistent Storage 25.055
Then persistence is disabled 0.670
But a Tails persistence partition exists on USB drive "__internal" 12.036
And all notifications have disappeared 14.033
When I delete the persistent partition 6.105
Then there is no persistence partition on USB drive "__internal" 0.688
After features/support/hooks.rb:326 1.003
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.733
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.561
When I write some dotfile expected to persist 0.125
And I shutdown Tails and wait for the computer to power off 11.541
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.124
Then the expected persistent dotfile is present in the filesystem 0.381
After features/support/hooks.rb:326 1.446
After features/support/hooks.rb:100 0.015
Tags: @product
2:4.416
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 14.505
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.108
When I try to enable persistence 0.305
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.133
When I log in to a new session after having activated the Persistent Storage 50.343
And all notifications have disappeared 10.598
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.579
And all tps features are enabled 2.968
And all tps features but the first one are active 2.872
After features/support/hooks.rb:326 1.401
After features/support/hooks.rb:100 0.000
Tags: @product
10:13.140
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:27.672
And I enable persistence 51.041
And I log in to a new session after having activated the Persistent Storage 48.362
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.983
And persistence is enabled 3.081
After features/support/hooks.rb:326 1.580
After features/support/hooks.rb:100 0.000
Tags: @product
31.101
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 10.090
And I enable persistence but something goes wrong during the LUKS header upgrade 20.158
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.853
After features/support/hooks.rb:326 0.773
After features/support/hooks.rb:100 0.000
Tags: @product
50.761
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.431
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.241
When I enable persistence 33.160
Then the filesystem of the Persistent Storage was repaired 0.102
And persistence is successfully enabled 2.824
After features/support/hooks.rb:326 0.913
After features/support/hooks.rb:100 0.000
Tags: @product
28.617
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.698
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.986
When I try to enable persistence 0.414
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.847
When I repair the filesystem of the Persistent Storage 1.292
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.292
And the filesystem of the Persistent Storage was repaired 0.205
When I close the filesystem repair dialog 1.284
Then persistence is successfully enabled 1.595
After features/support/hooks.rb:326 0.930
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.202
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 8.881
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.299
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 37.500
When I repair the filesystem of the Persistent Storage 1.334
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.166
When I log in to a new session 41.151
And all notifications have disappeared 10.365
# 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.565
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.880
When I close the "whisperback" window 1.633
Then the Tor Browser starts 20.339
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.972
After features/support/hooks.rb:326 2.280
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:24.679
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.104
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.832
And Tails detects disk read failures on the boot device 1.751
When I try to enable persistence 0.453
Then the Welcome Screen tells me that my hardware is probably failing 7.211
When I log in to a new session 21.320
And all notifications have disappeared 9.732
Then the Tor Browser starts 26.422
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.851
After features/support/hooks.rb:326 3.707
After features/support/hooks.rb:100 0.000