Project Number Date
test_Tails_ISO_devel 3603 05 Dec 2024, 12:39

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:4.815 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:24.612
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:42.013
And I update APT using apt 14.084
And I install "python3-behave" using apt 25.593
Then the Tails Persistent Storage behave tests pass 2.921
After features/support/hooks.rb:326 0.852
After features/support/hooks.rb:100 0.000
Tags: @product
46.535
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 13.445
When I log in to a new session without activating the Persistent Storage 23.526
Then Tails is running from USB drive "__internal" 0.510
And persistence is disabled 0.440
But a Tails persistence partition exists on USB drive "__internal" 8.612
After features/support/hooks.rb:326 1.121
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.285
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.393
Then Tails is running from USB drive "__internal" 0.565
When I create a file in the Persistent directory 0.133
And I create a persistent partition with the default settings 26.980
Then the file I created was copied to the Persistent Storage 0.633
When I shutdown Tails and wait for the computer to power off 12.920
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.304
Then persistence for "Persistent" is active 0.284
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 0.736
After features/support/hooks.rb:100 0.012
Tags: @product
1:2.598
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 11.620
And the system is very low on memory 6.247
When I create a file in the Persistent directory 1.157
When I try to create a persistent partition 26.952
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.153
When I close the Persistent Storage app 2.639
And I free up some memory 1.283
And I create a persistent partition with the default settings 12.298
Then the file I created was copied to the Persistent Storage 0.246
After features/support/hooks.rb:326 1.516
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.951
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 17.226
Then Tails is running from USB drive "__internal" 0.441
And all tps features are active 2.398
And all persistent directories have safe access rights 2.674
When I disable the first tps feature 6.263
Then all tps features but the first one are active 2.558
And I shutdown Tails and wait for the computer to power off 11.265
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.978
Then all tps features but the first one are active 2.144
After features/support/hooks.rb:326 0.692
After features/support/hooks.rb:100 0.009
Tags: @product
19.277
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.808
Then persistence for "Persistent" is active 0.085
And I create a file in the Persistent directory 0.072
Then the file I created was copied to the Persistent Storage 0.060
When I disable the first tps feature 5.571
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.074
When I enable the first tps feature 3.363
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:326 1.131
After features/support/hooks.rb:100 0.000
Tags: @product
21.518
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.586
Then persistence for "Persistent" is active 0.232
When I create a file in the Persistent directory 0.089
And I disable the first tps feature 6.195
And I delete the data of the Persistent Folder feature 4.312
Then the file I created does not exist on the Persistent Storage 0.101
After features/support/hooks.rb:326 4.591
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.492
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.354
And the network is plugged 0.090
And Tor is ready 23.848
And I take note of which tps features are available 0.576
When I write some files expected to persist 1.577
And I shutdown Tails and wait for the computer to power off 9.048
# 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.997
After features/support/hooks.rb:326 0.120
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.634
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.325
And the network is plugged 0.068
And Tor is ready 18.142
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.265
And I shutdown Tails and wait for the computer to power off 8.367
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.636
And I capture all network traffic 0.005
And the network is plugged 0.074
And Tor is ready 19.083
And I switch to the "persistent-con-current" NetworkManager connection 0.398
And the 1st network device has a spoofed MAC address configured 0.115
And no network device leaked the real MAC address 0.151
After features/support/hooks.rb:326 0.654
After features/support/hooks.rb:100 0.087
Tags: @product
1:10.157
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 15.544
And I enable persistence creation in Tails Greeter 1.147
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 28.921
After features/support/hooks.rb:326 1.847
After features/support/hooks.rb:100 0.000
Tags: @product
4:50.424
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 12.136
When I enable persistence 50.147
Then no persistent Greeter options were restored 14.482
When I set all Greeter options to non-default values 26.621
And I log in to a new session in German (de) after having activated the Persistent Storage 51.082
Then all Greeter options are set to non-default values 0.611
When I cold reboot the computer 9.838
And the computer reboots Tails 1:6.932
Given I enable persistence 20.306
Then persistent Greeter options were restored 0.537
When I log in to a new session after having activated the Persistent Storage 37.421
Then all Greeter options are set to non-default values 0.305
After features/support/hooks.rb:326 1.025
After features/support/hooks.rb:100 0.011
Tags: @product
3:44.470
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.483
# 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.929
And I shutdown Tails and wait for the computer to power off 14.801
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.783
And I change the passphrase of the Persistent Storage back to the original 34.473
After features/support/hooks.rb:326 1.984
After features/support/hooks.rb:100 0.008
Tags: @product
1:8.138
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 10.034
And I log in to a new session without activating the Persistent Storage 22.330
Then persistence is disabled 0.559
But a Tails persistence partition exists on USB drive "__internal" 20.597
And all notifications have disappeared 8.751
When I delete the persistent partition 5.647
Then there is no persistence partition on USB drive "__internal" 0.217
After features/support/hooks.rb:326 0.991
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.942
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.489
When I write some dotfile expected to persist 0.230
And I shutdown Tails and wait for the computer to power off 8.607
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.285
Then the expected persistent dotfile is present in the filesystem 0.329
After features/support/hooks.rb:326 0.813
After features/support/hooks.rb:100 0.010
Tags: @product
1:40.106
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.213
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.072
When I try to enable persistence 0.342
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.947
When I log in to a new session after having activated the Persistent Storage 43.627
And all notifications have disappeared 8.203
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.805
And all tps features are enabled 2.340
And all tps features but the first one are active 2.553
After features/support/hooks.rb:326 1.212
After features/support/hooks.rb:100 0.000
Tags: @product
4:53.783
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 3:32.459
And I enable persistence 32.999
And I log in to a new session after having activated the Persistent Storage 44.089
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.567
And persistence is enabled 2.667
After features/support/hooks.rb:326 1.166
After features/support/hooks.rb:100 0.000
Tags: @product
29.683
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 9.633
And I enable persistence but something goes wrong during the LUKS header upgrade 19.187
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.862
After features/support/hooks.rb:326 0.814
After features/support/hooks.rb:100 0.000
Tags: @product
42.907
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.664
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.682
When I enable persistence 25.968
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 2.507
After features/support/hooks.rb:326 1.134
After features/support/hooks.rb:100 0.000
Tags: @product
25.232
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.704
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.610
When I try to enable persistence 0.434
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.180
When I repair the filesystem of the Persistent Storage 1.256
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.221
And the filesystem of the Persistent Storage was repaired 0.061
When I close the filesystem repair dialog 1.238
Then persistence is successfully enabled 1.524
After features/support/hooks.rb:326 0.839
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:45.842
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.966
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.094
When I try to enable persistence 0.266
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.155
When I repair the filesystem of the Persistent Storage 1.289
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.079
When I log in to a new session 31.742
And all notifications have disappeared 7.899
# 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.898
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.395
When I close the "whisperback" window 1.777
Then the Tor Browser starts 14.735
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.541
After features/support/hooks.rb:326 2.340
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:13.219
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.128
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.711
And Tails detects disk read failures on the boot device 1.490
When I try to enable persistence 0.445
Then the Welcome Screen tells me that my hardware is probably failing 5.682
When I log in to a new session 19.972
And all notifications have disappeared 7.517
Then the Tor Browser starts 22.280
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.989
After features/support/hooks.rb:326 1.585
After features/support/hooks.rb:100 0.000