Project Number Date
test_Tails_ISO_20816-block-paths-bwrap 12 16 Mar 2025, 07:25

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 45:46.119 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:22.908
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:41.123
And I update APT using apt 42.930
And I install "python3-behave" using apt 56.474
Then the Tails Persistent Storage behave tests pass 2.380
After features/support/hooks.rb:330 0.922
After features/support/hooks.rb:100 0.000
Tags: @product
50.342
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.845
When I log in to a new session without activating the Persistent Storage 24.673
Then Tails is running from USB drive "__internal" 0.863
And persistence is disabled 0.311
But a Tails persistence partition exists on USB drive "__internal" 12.649
After features/support/hooks.rb:330 2.389
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.557
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 19.491
Then Tails is running from USB drive "__internal" 0.421
When I create a file in the Persistent directory 0.139
And I create a persistent partition with the default settings 24.385
Then the file I created was copied to the Persistent Storage 0.502
When I shutdown Tails and wait for the computer to power off 13.065
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.298
Then persistence for "Persistent" is active 1.185
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.982
After features/support/hooks.rb:100 0.011
Tags: @product
1:9.449
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.503
And the system is very low on memory 4.926
When I create a file in the Persistent directory 0.938
When I try to create a persistent partition 27.669
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.341
When I close the Persistent Storage app 2.711
And I free up some memory 1.762
And I create a persistent partition with the default settings 18.365
Then the file I created was copied to the Persistent Storage 0.230
After features/support/hooks.rb:330 2.552
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.727
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 24.633
Then Tails is running from USB drive "__internal" 1.113
And all tps features are active 2.776
And all persistent directories have safe access rights 2.957
When I disable the first tps feature 6.350
Then all tps features but the first one are active 2.519
And I shutdown Tails and wait for the computer to power off 15.629
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.019
Then all tps features but the first one are active 2.726
After features/support/hooks.rb:330 1.567
After features/support/hooks.rb:100 0.013
Tags: @product
24.546
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.081
Then persistence for "Persistent" is active 0.153
And I create a file in the Persistent directory 0.099
Then the file I created was copied to the Persistent Storage 0.098
When I disable the first tps feature 7.154
Then persistence for "Persistent" is not active 0.119
And the Persistent directory does not exist 0.066
When I enable the first tps feature 3.630
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 1.456
After features/support/hooks.rb:100 0.000
Tags: @product
22.427
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.359
Then persistence for "Persistent" is active 1.322
When I create a file in the Persistent directory 0.241
And I disable the first tps feature 6.114
And I delete the data of the Persistent Folder feature 4.333
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:330 1.660
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.506
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.115
And the network is plugged 0.122
And Tor is ready 21.975
And I take note of which tps features are available 0.659
When I write some files expected to persist 1.807
And I shutdown Tails and wait for the computer to power off 8.705
# 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.120
After features/support/hooks.rb:330 0.110
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.945
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.336
And the network is plugged 0.094
And Tor is ready 17.852
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.271
And I shutdown Tails and wait for the computer to power off 8.588
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.630
And I capture all network traffic 0.010
And the network is plugged 0.079
And Tor is ready 21.470
And I switch to the "persistent-con-current" NetworkManager connection 0.352
And the 1st network device has a spoofed MAC address configured 0.129
And no network device leaked the real MAC address 0.130
After features/support/hooks.rb:330 0.683
After features/support/hooks.rb:100 0.063
Tags: @product
1:6.240
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 19.417
And I enable persistence creation in Tails Greeter 1.110
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.614
Then I create a persistent partition with the default settings using the wizard that was already open 24.098
After features/support/hooks.rb:330 2.789
After features/support/hooks.rb:100 0.000
Tags: @product
4:32.791
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 17.545
When I enable persistence 40.252
Then no persistent Greeter options were restored 14.920
When I set all Greeter options to non-default values 28.734
And I log in to a new session in German (de) after having activated the Persistent Storage 43.716
Then all Greeter options are set to non-default values 0.499
When I cold reboot the computer 7.711
And the computer reboots Tails 1:9.977
Given I enable persistence 20.559
Then persistent Greeter options were restored 0.580
When I log in to a new session after having activated the Persistent Storage 27.824
Then all Greeter options are set to non-default values 0.468
After features/support/hooks.rb:330 2.467
After features/support/hooks.rb:100 0.007
Tags: @product
3:49.499
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.497
# 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 36.047
And I shutdown Tails and wait for the computer to power off 14.730
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.909
And I change the passphrase of the Persistent Storage back to the original 37.314
After features/support/hooks.rb:330 2.078
After features/support/hooks.rb:100 0.011
Tags: @product
1:9.143
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 10.144
And I log in to a new session without activating the Persistent Storage 20.434
Then persistence is disabled 0.791
But a Tails persistence partition exists on USB drive "__internal" 19.245
And all notifications have disappeared 11.507
When I delete the persistent partition 6.765
Then there is no persistence partition on USB drive "__internal" 0.255
After features/support/hooks.rb:330 1.930
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.903
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.629
When I write some dotfile expected to persist 0.128
And I shutdown Tails and wait for the computer to power off 9.226
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.455
Then the expected persistent dotfile is present in the filesystem 0.462
After features/support/hooks.rb:330 0.788
After features/support/hooks.rb:100 0.010
Tags: @product
1:51.956
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 10.754
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.111
When I try to enable persistence 0.281
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.223
When I log in to a new session after having activated the Persistent Storage 44.949
And all notifications have disappeared 10.018
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.388
And all tps features are enabled 2.939
And all tps features but the first one are active 2.288
After features/support/hooks.rb:330 1.851
After features/support/hooks.rb:100 0.000
Tags: @product
7:27.749
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
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:56.283
And I enable persistence 35.874
And I log in to a new session after having activated the Persistent Storage 50.842
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.867
And persistence is enabled 2.880
After features/support/hooks.rb:330 1.836
After features/support/hooks.rb:100 0.000
Tags: @product
40.132
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 17.562
And I enable persistence but something goes wrong during the LUKS header upgrade 21.741
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.828
After features/support/hooks.rb:330 0.818
After features/support/hooks.rb:100 0.000
Tags: @product
52.719
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.536
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.720
When I enable persistence 34.685
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 2.690
After features/support/hooks.rb:330 1.699
After features/support/hooks.rb:100 0.000
Tags: @product
52.886
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.781
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.475
When I try to enable persistence 0.666
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.762
When I repair the filesystem of the Persistent Storage 1.864
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.713
And the filesystem of the Persistent Storage was repaired 1.626
When I close the filesystem repair dialog 1.419
Then persistence is successfully enabled 1.577
After features/support/hooks.rb:330 1.833
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.653
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.577
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.130
When I try to enable persistence 0.379
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.935
When I repair the filesystem of the Persistent Storage 1.259
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 38.861
And all notifications have disappeared 8.188
# 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.691
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.859
When I close the "whisperback" window 1.972
Then the Tor Browser starts 19.901
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.821
After features/support/hooks.rb:330 2.166
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.028
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.603
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.268
And Tails detects disk read failures on the boot device 1.597
When I try to enable persistence 1.448
Then the Welcome Screen tells me that my hardware is probably failing 19.988
When I log in to a new session 48.757
And all notifications have disappeared 9.145
Then the Tor Browser starts 21.333
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.884
After features/support/hooks.rb:330 2.124
After features/support/hooks.rb:100 0.000