Project Number Date
test_Tails_ISO_stable 5128 30 Sep 2024, 18:45

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 40:8.866 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.747
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:39.020
And I update APT using apt 14.221
And I install "python3-behave" using apt 25.695
Then the Tails Persistent Storage behave tests pass 2.809
After features/support/hooks.rb:326 0.747
After features/support/hooks.rb:100 0.000
Tags: @product
47.259
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 12.856
When I log in to a new session without activating the Persistent Storage 26.528
Then Tails is running from USB drive "__internal" 0.590
And persistence is disabled 0.524
But a Tails persistence partition exists on USB drive "__internal" 6.758
After features/support/hooks.rb:326 1.044
After features/support/hooks.rb:100 0.000
Tags: @product
3:27.962
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.516
Then Tails is running from USB drive "__internal" 0.404
When I create a file in the Persistent directory 0.145
And I create a persistent partition with the default settings 27.200
Then the file I created was copied to the Persistent Storage 0.711
When I shutdown Tails and wait for the computer to power off 20.733
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.654
Then persistence for "Persistent" is active 1.522
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 0.770
After features/support/hooks.rb:100 0.011
Tags: @product
1:7.029
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 18.021
And the system is very low on memory 7.441
When I create a file in the Persistent directory 1.560
When I try to create a persistent partition 22.039
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.662
And I free up some memory 1.419
And I create a persistent partition with the default settings 13.458
Then the file I created was copied to the Persistent Storage 0.240
After features/support/hooks.rb:326 1.197
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.994
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 15.786
Then Tails is running from USB drive "__internal" 0.513
And all tps features are active 2.546
And all persistent directories have safe access rights 2.722
When I disable the first tps feature 6.201
Then all tps features but the first one are active 2.225
And I shutdown Tails and wait for the computer to power off 11.252
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.115
Then all tps features but the first one are active 2.629
After features/support/hooks.rb:326 1.061
After features/support/hooks.rb:100 0.012
Tags: @product
20.375
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.493
Then persistence for "Persistent" is active 0.188
And I create a file in the Persistent directory 0.112
Then the file I created was copied to the Persistent Storage 0.103
When I disable the first tps feature 5.835
Then persistence for "Persistent" is not active 0.140
And the Persistent directory does not exist 0.098
When I enable the first tps feature 3.218
Then persistence for "Persistent" is active 0.094
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:326 0.862
After features/support/hooks.rb:100 0.000
Tags: @product
20.568
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.131
Then persistence for "Persistent" is active 0.196
When I create a file in the Persistent directory 0.082
And I disable the first tps feature 6.042
And I delete the data of the Persistent Folder feature 4.067
Then the file I created does not exist on the Persistent Storage 0.047
After features/support/hooks.rb:326 0.885
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.278
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.820
And the network is plugged 0.121
And Tor is ready 20.305
And I take note of which tps features are available 1.228
When I write some files expected to persist 1.673
And I shutdown Tails and wait for the computer to power off 11.044
# 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.084
After features/support/hooks.rb:326 0.141
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.351
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.841
And the network is plugged 0.234
And Tor is ready 20.404
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.218
And I shutdown Tails and wait for the computer to power off 8.802
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.293
And I capture all network traffic 0.017
And the network is plugged 0.106
And Tor is ready 19.611
And I switch to the "persistent-con-current" NetworkManager connection 0.447
And the 1st network device has a spoofed MAC address configured 0.106
And no network device leaked the real MAC address 0.266
After features/support/hooks.rb:326 1.023
After features/support/hooks.rb:100 0.060
Tags: @product
1:4.398
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 13.010
And I enable persistence creation in Tails Greeter 1.174
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.544
Then I create a persistent partition with the default settings using the wizard that was already open 25.669
After features/support/hooks.rb:326 2.192
After features/support/hooks.rb:100 0.000
Tags: @product
5:16.462
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 17.679
When I enable persistence 38.654
Then no persistent Greeter options were restored 14.474
When I set all Greeter options to non-default values 27.060
And I log in to a new session in German (de) after having activated the Persistent Storage 50.865
Then all Greeter options are set to non-default values 0.430
When I cold reboot the computer 7.947
And the computer reboots Tails 1:8.300
Given I enable persistence 36.600
Then persistent Greeter options were restored 14.710
When I log in to a new session after having activated the Persistent Storage 39.267
Then all Greeter options are set to non-default values 0.470
After features/support/hooks.rb:326 0.824
After features/support/hooks.rb:100 0.011
Tags: @product
3:33.137
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 9.779
# 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 34.013
And I shutdown Tails and wait for the computer to power off 12.329
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.429
And I change the passphrase of the Persistent Storage back to the original 32.585
After features/support/hooks.rb:326 1.925
After features/support/hooks.rb:100 0.009
Tags: @product
55.650
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.882
And I log in to a new session without activating the Persistent Storage 21.525
Then persistence is disabled 0.384
But a Tails persistence partition exists on USB drive "__internal" 6.279
And all notifications have disappeared 10.194
When I delete the persistent partition 6.913
Then there is no persistence partition on USB drive "__internal" 0.469
After features/support/hooks.rb:326 0.866
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.518
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.375
When I write some dotfile expected to persist 0.077
And I shutdown Tails and wait for the computer to power off 8.838
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.779
Then the expected persistent dotfile is present in the filesystem 0.447
After features/support/hooks.rb:326 0.874
After features/support/hooks.rb:100 0.007
Tags: @product
1:46.007
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.913
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.076
When I try to enable persistence 0.401
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.285
When I log in to a new session after having activated the Persistent Storage 45.257
And all notifications have disappeared 7.824
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.138
And all tps features are enabled 2.187
And all tps features but the first one are active 1.922
After features/support/hooks.rb:326 1.027
After features/support/hooks.rb:100 0.000
Tags: @product
4:37.797
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:4.817
And I enable persistence 42.054
And I log in to a new session after having activated the Persistent Storage 49.541
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.221
And persistence is enabled 0.163
After features/support/hooks.rb:326 1.442
After features/support/hooks.rb:100 0.000
Tags: @product
32.046
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.976
And I enable persistence but something goes wrong during the LUKS header upgrade 22.011
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.058
After features/support/hooks.rb:326 0.729
After features/support/hooks.rb:100 0.000
Tags: @product
55.716
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 22.015
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.751
When I enable persistence 28.506
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 0.346
After features/support/hooks.rb:326 1.901
After features/support/hooks.rb:100 0.000
Tags: @product
24.150
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 8.835
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.401
When I try to enable persistence 0.446
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.283
When I repair the filesystem of the Persistent Storage 1.258
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.214
And the filesystem of the Persistent Storage was repaired 0.067
When I close the filesystem repair dialog 1.266
Then persistence is successfully enabled 0.376
After features/support/hooks.rb:326 0.886
After features/support/hooks.rb:100 0.000
Tags: @product
1:47.373
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.109
When I try to enable persistence 0.312
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.637
When I repair the filesystem of the Persistent Storage 1.276
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 41.049
And all notifications have disappeared 7.598
# 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" 1.068
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.429
When I close the "whisperback" window 1.816
Then the Tor Browser starts 13.539
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.515
After features/support/hooks.rb:326 2.942
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.039
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.161
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.543
And Tails detects disk read failures on the boot device 0.516
When I try to enable persistence 0.410
Then the Welcome Screen tells me that my hardware is probably failing 5.503
When I log in to a new session 21.212
And all notifications have disappeared 7.780
Then the Tor Browser starts 18.011
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.900
After features/support/hooks.rb:326 1.775
After features/support/hooks.rb:100 0.000