Project Number Date
test_Tails_ISO_20816-block-paths-bwrap 2 05 Mar 2025, 07:06

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 39:31.377 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:11.172
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:30.933
And I update APT using apt 12.649
And I install "python3-behave" using apt 25.491
Then the Tails Persistent Storage behave tests pass 2.097
After features/support/hooks.rb:330 0.681
After features/support/hooks.rb:100 0.000
Tags: @product
43.076
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 and stopped at Tails Greeter's login screen 10.836
When I log in to a new session without activating the Persistent Storage 20.922
Then Tails is running from USB drive "__internal" 0.574
And persistence is disabled 0.367
But a Tails persistence partition exists on USB drive "__internal" 10.374
After features/support/hooks.rb:330 1.720
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.101
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.673
Then Tails is running from USB drive "__internal" 0.365
When I create a file in the Persistent directory 0.140
And I create a persistent partition with the default settings 21.743
Then the file I created was copied to the Persistent Storage 0.779
When I shutdown Tails and wait for the computer to power off 12.478
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.374
Then persistence for "Persistent" is active 0.455
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:330 1.366
After features/support/hooks.rb:100 0.008
Tags: @product
1:6.271
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 14.212
And the system is very low on memory 4.043
When I create a file in the Persistent directory 1.686
When I try to create a persistent partition 28.645
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.375
When I close the Persistent Storage app 2.542
And I free up some memory 1.581
And I create a persistent partition with the default settings 12.965
Then the file I created was copied to the Persistent Storage 0.217
After features/support/hooks.rb:330 2.572
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.884
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 11.838
Then Tails is running from USB drive "__internal" 0.721
And all tps features are active 2.188
And all persistent directories have safe access rights 2.533
When I disable the first tps feature 5.926
Then all tps features but the first one are active 1.939
And I shutdown Tails and wait for the computer to power off 12.912
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.739
Then all tps features but the first one are active 2.084
After features/support/hooks.rb:330 1.123
After features/support/hooks.rb:100 0.009
Tags: @product
19.813
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.085
Then persistence for "Persistent" is active 0.139
And I create a file in the Persistent directory 0.265
Then the file I created was copied to the Persistent Storage 0.114
When I disable the first tps feature 5.828
Then persistence for "Persistent" is not active 0.083
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.100
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.024
After features/support/hooks.rb:100 0.000
Tags: @product
19.205
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 9.241
Then persistence for "Persistent" is active 0.123
When I create a file in the Persistent directory 0.060
And I disable the first tps feature 5.994
And I delete the data of the Persistent Folder feature 3.730
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:330 1.227
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.159
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 8.860
And the network is plugged 0.068
And Tor is ready 21.810
And I take note of which tps features are available 0.553
When I write some files expected to persist 1.434
And I shutdown Tails and wait for the computer to power off 8.481
# 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.950
After features/support/hooks.rb:330 0.110
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.070
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 9.455
And the network is plugged 0.085
And Tor is ready 21.046
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.696
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.179
And I capture all network traffic 0.009
And the network is plugged 0.080
And Tor is ready 19.597
And I switch to the "persistent-con-current" NetworkManager connection 0.459
And the 1st network device has a spoofed MAC address configured 0.128
And no network device leaked the real MAC address 0.125
After features/support/hooks.rb:330 0.617
After features/support/hooks.rb:100 0.065
Tags: @product
58.933
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 stopped at Tails Greeter's login screen 13.356
And I enable persistence creation in Tails Greeter 1.141
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.677
Then I create a persistent partition with the default settings using the wizard that was already open 23.757
After features/support/hooks.rb:330 2.710
After features/support/hooks.rb:100 0.000
Tags: @product
4:14.646
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 11.066
When I enable persistence 31.831
Then no persistent Greeter options were restored 14.299
When I set all Greeter options to non-default values 23.264
And I log in to a new session in German (de) after having activated the Persistent Storage 51.671
Then all Greeter options are set to non-default values 0.585
When I cold reboot the computer 7.296
And the computer reboots Tails 1:0.285
Given I enable persistence 15.691
Then persistent Greeter options were restored 0.491
When I log in to a new session after having activated the Persistent Storage 37.612
Then all Greeter options are set to non-default values 0.550
After features/support/hooks.rb:330 2.147
After features/support/hooks.rb:100 0.007
Tags: @product
3:34.214
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.758
# 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 33.094
And I shutdown Tails and wait for the computer to power off 10.351
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:2.455
And I change the passphrase of the Persistent Storage back to the original 38.554
After features/support/hooks.rb:330 2.232
After features/support/hooks.rb:100 0.009
Tags: @product
53.416
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 and stopped at Tails Greeter's login screen 9.585
And I log in to a new session without activating the Persistent Storage 20.070
Then persistence is disabled 0.192
But a Tails persistence partition exists on USB drive "__internal" 7.310
And all notifications have disappeared 8.891
When I delete the persistent partition 6.926
Then there is no persistence partition on USB drive "__internal" 0.439
After features/support/hooks.rb:330 0.767
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.752
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 9.149
When I write some dotfile expected to persist 0.085
And I shutdown Tails and wait for the computer to power off 8.599
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.456
Then the expected persistent dotfile is present in the filesystem 0.461
After features/support/hooks.rb:330 1.255
After features/support/hooks.rb:100 0.009
Tags: @product
1:31.752
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 and stopped at Tails Greeter's login screen 9.027
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.071
When I try to enable persistence 0.277
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.660
When I log in to a new session after having activated the Persistent Storage 38.499
And all notifications have disappeared 7.889
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.933
And all tps features are enabled 2.116
And all tps features but the first one are active 2.277
After features/support/hooks.rb:330 1.505
After features/support/hooks.rb:100 0.000
Tags: @product
5:46.695
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:25.148
And I enable persistence 32.003
And I log in to a new session after having activated the Persistent Storage 45.302
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.164
And persistence is enabled 3.076
After features/support/hooks.rb:330 1.072
After features/support/hooks.rb:100 0.000
Tags: @product
27.835
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 9.039
And I enable persistence but something goes wrong during the LUKS header upgrade 18.071
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.723
After features/support/hooks.rb:330 0.689
After features/support/hooks.rb:100 0.000
Tags: @product
42.170
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 9.283
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.693
When I enable persistence 25.237
Then the filesystem of the Persistent Storage was repaired 0.097
And persistence is successfully enabled 2.857
After features/support/hooks.rb:330 1.209
After features/support/hooks.rb:100 0.000
Tags: @product
45.639
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.201
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.044
When I try to enable persistence 0.417
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 20.941
When I repair the filesystem of the Persistent Storage 5.056
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.115
And the filesystem of the Persistent Storage was repaired 1.046
When I close the filesystem repair dialog 1.246
Then persistence is successfully enabled 1.569
After features/support/hooks.rb:330 1.432
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:45.786
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 8.708
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.090
When I try to enable persistence 0.271
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.136
When I repair the filesystem of the Persistent Storage 1.238
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.078
When I log in to a new session 39.978
And all notifications have disappeared 9.082
# 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.905
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.914
When I close the "whisperback" window 1.412
Then the Tor Browser starts 19.093
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.875
After features/support/hooks.rb:330 3.778
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.778
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 and stopped at Tails Greeter's login screen 8.711
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.407
And Tails detects disk read failures on the boot device 1.615
When I try to enable persistence 1.501
Then the Welcome Screen tells me that my hardware is probably failing 21.710
When I log in to a new session 43.254
And all notifications have disappeared 8.215
Then the Tor Browser starts 20.382
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.979
After features/support/hooks.rb:330 1.788
After features/support/hooks.rb:100 0.000