Project Number Date
test_Tails_ISO_devel 3624 27 Dec 2024, 12:28

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 38:15.849 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:13.595
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:32.670
And I update APT using apt 13.462
And I install "python3-behave" using apt 25.536
Then the Tails Persistent Storage behave tests pass 1.925
After features/support/hooks.rb:326 1.674
After features/support/hooks.rb:100 0.000
Tags: @product
42.345
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.253
When I log in to a new session without activating the Persistent Storage 21.010
Then Tails is running from USB drive "__internal" 0.839
And persistence is disabled 0.448
But a Tails persistence partition exists on USB drive "__internal" 8.793
After features/support/hooks.rb:326 1.040
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.357
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 13.303
Then Tails is running from USB drive "__internal" 0.425
When I create a file in the Persistent directory 0.179
And I create a persistent partition with the default settings 24.970
Then the file I created was copied to the Persistent Storage 0.522
When I shutdown Tails and wait for the computer to power off 12.575
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.164
Then persistence for "Persistent" is active 1.144
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 0.952
After features/support/hooks.rb:100 0.013
Tags: @product
1:11.910
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 24.296
And the system is very low on memory 3.850
When I create a file in the Persistent directory 1.290
When I try to create a persistent partition 24.351
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.184
When I close the Persistent Storage app 2.566
And I free up some memory 1.863
And I create a persistent partition with the default settings 13.256
Then the file I created was copied to the Persistent Storage 0.249
After features/support/hooks.rb:326 1.684
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.909
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.491
Then Tails is running from USB drive "__internal" 0.500
And all tps features are active 2.416
And all persistent directories have safe access rights 2.490
When I disable the first tps feature 5.205
Then all tps features but the first one are active 2.430
And I shutdown Tails and wait for the computer to power off 8.670
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.492
Then all tps features but the first one are active 2.210
After features/support/hooks.rb:326 1.057
After features/support/hooks.rb:100 0.068
Tags: @product
18.477
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.407
Then persistence for "Persistent" is active 0.097
And I create a file in the Persistent directory 0.066
Then the file I created was copied to the Persistent Storage 0.086
When I disable the first tps feature 5.243
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.049
When I enable the first tps feature 3.308
Then persistence for "Persistent" is active 0.067
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 1.031
After features/support/hooks.rb:100 0.000
Tags: @product
18.997
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.488
Then persistence for "Persistent" is active 0.109
When I create a file in the Persistent directory 0.068
And I disable the first tps feature 5.585
And I delete the data of the Persistent Folder feature 3.680
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:326 0.900
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.043
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.309
And the network is plugged 0.091
And Tor is ready 18.438
And I take note of which tps features are available 0.643
When I write some files expected to persist 1.486
And I shutdown Tails and wait for the computer to power off 8.498
# 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.574
After features/support/hooks.rb:326 0.154
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.650
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.061
And the network is plugged 0.185
And Tor is ready 20.106
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.178
And I shutdown Tails and wait for the computer to power off 11.085
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.856
And I capture all network traffic 0.005
And the network is plugged 0.082
And Tor is ready 20.411
And I switch to the "persistent-con-current" NetworkManager connection 0.478
And the 1st network device has a spoofed MAC address configured 0.074
And no network device leaked the real MAC address 0.124
After features/support/hooks.rb:326 0.845
After features/support/hooks.rb:100 0.061
Tags: @product
58.224
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.910
And I enable persistence creation in Tails Greeter 1.168
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.972
Then I create a persistent partition with the default settings using the wizard that was already open 22.172
After features/support/hooks.rb:326 1.780
After features/support/hooks.rb:100 0.000
Tags: @product
4:23.550
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.361
When I enable persistence 34.631
Then no persistent Greeter options were restored 14.156
When I set all Greeter options to non-default values 25.228
And I log in to a new session in German (de) after having activated the Persistent Storage 48.547
Then all Greeter options are set to non-default values 0.534
When I cold reboot the computer 7.495
And the computer reboots Tails 1:0.661
Given I enable persistence 18.711
Then persistent Greeter options were restored 0.556
When I log in to a new session after having activated the Persistent Storage 41.242
Then all Greeter options are set to non-default values 0.422
After features/support/hooks.rb:326 1.093
After features/support/hooks.rb:100 0.009
Tags: @product
3:49.508
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.869
# 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.132
And I shutdown Tails and wait for the computer to power off 14.876
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.128
And I change the passphrase of the Persistent Storage back to the original 38.502
After features/support/hooks.rb:326 1.595
After features/support/hooks.rb:100 0.007
Tags: @product
58.937
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.103
And I log in to a new session without activating the Persistent Storage 21.243
Then persistence is disabled 0.210
But a Tails persistence partition exists on USB drive "__internal" 10.743
And all notifications have disappeared 10.486
When I delete the persistent partition 5.746
Then there is no persistence partition on USB drive "__internal" 0.404
After features/support/hooks.rb:326 0.995
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.675
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.452
When I write some dotfile expected to persist 0.083
And I shutdown Tails and wait for the computer to power off 8.327
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.160
Then the expected persistent dotfile is present in the filesystem 0.650
After features/support/hooks.rb:326 1.394
After features/support/hooks.rb:100 0.009
Tags: @product
1:36.638
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.685
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.076
When I try to enable persistence 0.266
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.595
When I log in to a new session after having activated the Persistent Storage 43.345
And all notifications have disappeared 8.393
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.670
And all tps features are enabled 2.244
And all tps features but the first one are active 2.360
After features/support/hooks.rb:326 0.808
After features/support/hooks.rb:100 0.000
Tags: @product
4:48.746
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 3:22.644
And I enable persistence 33.298
And I log in to a new session after having activated the Persistent Storage 47.249
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.897
And persistence is enabled 2.655
After features/support/hooks.rb:326 0.901
After features/support/hooks.rb:100 0.000
Tags: @product
28.327
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 8.471
And I enable persistence but something goes wrong during the LUKS header upgrade 19.131
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.724
After features/support/hooks.rb:326 0.703
After features/support/hooks.rb:100 0.000
Tags: @product
48.791
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.836
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.693
When I enable persistence 29.500
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 2.666
After features/support/hooks.rb:326 0.872
After features/support/hooks.rb:100 0.000
Tags: @product
26.210
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.632
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.917
When I try to enable persistence 0.432
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.792
When I repair the filesystem of the Persistent Storage 1.274
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.419
And the filesystem of the Persistent Storage was repaired 0.100
When I close the filesystem repair dialog 1.256
Then persistence is successfully enabled 1.385
After features/support/hooks.rb:326 0.776
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:42.842
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.936
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.096
When I try to enable persistence 0.260
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.465
When I repair the filesystem of the Persistent Storage 1.269
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.072
When I log in to a new session 37.981
And all notifications have disappeared 8.664
# 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.668
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.155
When I close the "whisperback" window 1.661
Then the Tor Browser starts 13.647
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.962
After features/support/hooks.rb:326 1.490
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:11.111
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.614
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.390
And Tails detects disk read failures on the boot device 1.448
When I try to enable persistence 1.100
Then the Welcome Screen tells me that my hardware is probably failing 5.401
When I log in to a new session 19.735
And all notifications have disappeared 7.240
Then the Tor Browser starts 20.262
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.917
After features/support/hooks.rb:326 1.085
After features/support/hooks.rb:100 0.000