Project Number Date
test_Tails_ISO_feature-arti 7 22 Nov 2024, 16:31

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:25.139 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:28.160
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:43.484
And I update APT using apt 15.094
And I install "python3-behave" using apt 26.689
Then the Tails Persistent Storage behave tests pass 2.892
After features/support/hooks.rb:326 1.021
After features/support/hooks.rb:100 0.000
Tags: @product
53.693
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 13.025
When I log in to a new session without activating the Persistent Storage 25.591
Then Tails is running from USB drive "__internal" 0.712
And persistence is disabled 0.517
But a Tails persistence partition exists on USB drive "__internal" 13.846
After features/support/hooks.rb:326 3.563
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.772
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.940
Then Tails is running from USB drive "__internal" 0.608
When I create a file in the Persistent directory 0.143
And I create a persistent partition with the default settings 28.053
Then the file I created was copied to the Persistent Storage 0.714
When I shutdown Tails and wait for the computer to power off 14.362
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.508
Then persistence for "Persistent" is active 1.351
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:326 0.861
After features/support/hooks.rb:100 0.036
Tags: @product
1:6.120
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.371
And the system is very low on memory 4.850
When I create a file in the Persistent directory 1.528
When I try to create a persistent partition 24.403
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.268
When I close the Persistent Storage app 3.995
And I free up some memory 1.691
And I create a persistent partition with the default settings 13.762
Then the file I created was copied to the Persistent Storage 0.248
After features/support/hooks.rb:326 1.240
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.608
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 13.327
Then Tails is running from USB drive "__internal" 0.388
And all tps features are active 2.477
And all persistent directories have safe access rights 2.753
When I disable the first tps feature 6.793
Then all tps features but the first one are active 2.319
And I shutdown Tails and wait for the computer to power off 18.208
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.533
Then all tps features but the first one are active 2.805
After features/support/hooks.rb:326 0.715
After features/support/hooks.rb:100 0.010
Tags: @product
21.244
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.073
Then persistence for "Persistent" is active 0.085
And I create a file in the Persistent directory 0.140
Then the file I created was copied to the Persistent Storage 0.096
When I disable the first tps feature 6.884
Then persistence for "Persistent" is not active 0.098
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.665
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:326 0.821
After features/support/hooks.rb:100 0.000
Tags: @product
22.040
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.816
Then persistence for "Persistent" is active 0.090
When I create a file in the Persistent directory 0.110
And I disable the first tps feature 6.625
And I delete the data of the Persistent Folder feature 4.347
Then the file I created does not exist on the Persistent Storage 0.051
After features/support/hooks.rb:326 0.832
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.655
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.040
And the network is plugged 0.076
And Tor is ready 24.158
And I take note of which tps features are available 0.631
When I write some files expected to persist 1.445
And I shutdown Tails and wait for the computer to power off 8.791
# 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" 24.512
After features/support/hooks.rb:326 0.099
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.156
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 9.503
And the network is plugged 0.111
And Tor is ready 20.702
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 8.788
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.428
And I capture all network traffic 0.007
And the network is plugged 0.117
And Tor is ready 21.740
And I switch to the "persistent-con-current" NetworkManager connection 0.311
And the 1st network device has a spoofed MAC address configured 0.067
And no network device leaked the real MAC address 0.170
After features/support/hooks.rb:326 0.681
After features/support/hooks.rb:100 0.041
Tags: @product
1:7.803
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.383
And I enable persistence creation in Tails Greeter 1.136
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.377
Then I create a persistent partition with the default settings using the wizard that was already open 29.906
After features/support/hooks.rb:326 1.909
After features/support/hooks.rb:100 0.000
Tags: @product
4:53.080
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.962
When I enable persistence 46.612
Then no persistent Greeter options were restored 14.675
When I set all Greeter options to non-default values 26.951
And I log in to a new session in German (de) after having activated the Persistent Storage 55.578
Then all Greeter options are set to non-default values 0.641
When I cold reboot the computer 7.440
And the computer reboots Tails 1:5.613
Given I enable persistence 20.316
Then persistent Greeter options were restored 0.692
When I log in to a new session after having activated the Persistent Storage 41.155
Then all Greeter options are set to non-default values 0.441
After features/support/hooks.rb:326 0.809
After features/support/hooks.rb:100 0.013
Tags: @product
3:51.664
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.645
# 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 32.956
And I shutdown Tails and wait for the computer to power off 13.223
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:20.797
And I change the passphrase of the Persistent Storage back to the original 34.041
After features/support/hooks.rb:326 2.494
After features/support/hooks.rb:100 0.011
Tags: @product
1:20.743
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 25.254
And I log in to a new session without activating the Persistent Storage 25.969
Then persistence is disabled 0.395
But a Tails persistence partition exists on USB drive "__internal" 11.363
And all notifications have disappeared 10.228
When I delete the persistent partition 7.088
Then there is no persistence partition on USB drive "__internal" 0.444
After features/support/hooks.rb:326 0.920
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.786
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.258
When I write some dotfile expected to persist 0.087
And I shutdown Tails and wait for the computer to power off 8.650
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.333
Then the expected persistent dotfile is present in the filesystem 0.456
After features/support/hooks.rb:326 1.004
After features/support/hooks.rb:100 0.010
Tags: @product
1:39.710
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.336
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.305
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.203
When I log in to a new session after having activated the Persistent Storage 33.182
And all notifications have disappeared 8.384
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.220
And all tps features are enabled 2.801
And all tps features but the first one are active 2.186
After features/support/hooks.rb:326 1.088
After features/support/hooks.rb:100 0.000
Tags: @product
7:31.130
Before features/support/hooks.rb:269 0.012
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:50.840
And I enable persistence 45.713
And I log in to a new session after having activated the Persistent Storage 49.839
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.346
And persistence is enabled 3.389
After features/support/hooks.rb:326 1.678
After features/support/hooks.rb:100 0.000
Tags: @product
36.308
Before features/support/hooks.rb:269 0.010
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 11.075
And I enable persistence but something goes wrong during the LUKS header upgrade 24.473
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.760
After features/support/hooks.rb:326 1.108
After features/support/hooks.rb:100 0.000
Tags: @product
46.777
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.092
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.992
When I enable persistence 28.651
Then the filesystem of the Persistent Storage was repaired 0.081
And persistence is successfully enabled 2.958
After features/support/hooks.rb:326 1.164
After features/support/hooks.rb:100 0.000
Tags: @product
30.873
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.396
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.565
When I try to enable persistence 0.431
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.193
When I repair the filesystem of the Persistent Storage 1.184
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.213
And the filesystem of the Persistent Storage was repaired 0.094
When I close the filesystem repair dialog 1.264
Then persistence is successfully enabled 1.528
After features/support/hooks.rb:326 0.834
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:11.573
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 23.449
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.121
When I try to enable persistence 1.404
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.201
When I repair the filesystem of the Persistent Storage 1.804
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.147
When I log in to a new session 43.724
And all notifications have disappeared 8.366
# 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.642
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.326
When I close the "whisperback" window 1.556
Then the Tor Browser starts 16.002
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.824
After features/support/hooks.rb:326 2.406
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:32.232
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.653
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.909
And Tails detects disk read failures on the boot device 1.678
When I try to enable persistence 0.435
Then the Welcome Screen tells me that my hardware is probably failing 17.722
When I log in to a new session 21.561
And all notifications have disappeared 7.452
Then the Tor Browser starts 21.909
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.910
After features/support/hooks.rb:326 1.855
After features/support/hooks.rb:100 0.000