Project Number Date
test_Tails_ISO_20816-block-paths-bwrap 46 18 Apr 2025, 06:54

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 43:15.876 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:48.849
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.250
And I update APT using apt 42.701
And I install "python3-behave" using apt 23.475
Then the Tails Persistent Storage behave tests pass 3.421
After features/support/hooks.rb:330 1.496
After features/support/hooks.rb:100 0.000
Tags: @product
48.757
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 15.092
When I log in to a new session without activating the Persistent Storage 23.927
Then Tails is running from USB drive "__internal" 0.555
And persistence is disabled 0.475
But a Tails persistence partition exists on USB drive "__internal" 8.706
After features/support/hooks.rb:330 1.966
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.355
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 16.980
Then Tails is running from USB drive "__internal" 0.597
When I create a file in the Persistent directory 0.153
And I create a persistent partition with the default settings 26.497
Then the file I created was copied to the Persistent Storage 2.390
When I shutdown Tails and wait for the computer to power off 13.444
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.754
Then persistence for "Persistent" is active 0.463
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.517
After features/support/hooks.rb:100 0.038
Tags: @product
1:4.990
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.572
And the system is very low on memory 6.702
When I create a file in the Persistent directory 0.880
When I try to create a persistent partition 23.578
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.265
When I close the Persistent Storage app 2.783
And I free up some memory 3.024
And I create a persistent partition with the default settings 12.922
Then the file I created was copied to the Persistent Storage 0.261
After features/support/hooks.rb:330 2.058
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.350
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 16.866
Then Tails is running from USB drive "__internal" 0.402
And all tps features are active 2.552
And all persistent directories have safe access rights 2.517
When I disable the first tps feature 6.236
Then all tps features but the first one are active 3.085
And I shutdown Tails and wait for the computer to power off 15.064
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.355
Then all tps features but the first one are active 2.268
After features/support/hooks.rb:330 1.541
After features/support/hooks.rb:100 0.009
Tags: @product
20.144
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.294
Then persistence for "Persistent" is active 0.078
And I create a file in the Persistent directory 0.082
Then the file I created was copied to the Persistent Storage 0.085
When I disable the first tps feature 6.050
Then persistence for "Persistent" is not active 0.069
And the Persistent directory does not exist 0.071
When I enable the first tps feature 3.232
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.094
After features/support/hooks.rb:330 1.363
After features/support/hooks.rb:100 0.000
Tags: @product
19.734
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 9.416
Then persistence for "Persistent" is active 0.217
When I create a file in the Persistent directory 0.122
And I disable the first tps feature 6.060
And I delete the data of the Persistent Folder feature 3.844
Then the file I created does not exist on the Persistent Storage 0.072
After features/support/hooks.rb:330 1.565
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.713
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.204
And the network is plugged 0.186
And Tor is ready 22.814
And I take note of which tps features are available 0.690
When I write some files expected to persist 1.753
And I shutdown Tails and wait for the computer to power off 10.826
# 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" 26.237
After features/support/hooks.rb:330 0.101
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.267
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 9.356
And the network is plugged 0.090
And Tor is ready 20.857
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.200
And I shutdown Tails and wait for the computer to power off 8.543
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.847
And I capture all network traffic 0.007
And the network is plugged 0.082
And Tor is ready 21.566
And I switch to the "persistent-con-current" NetworkManager connection 0.386
And the 1st network device has a spoofed MAC address configured 0.153
And no network device leaked the real MAC address 0.173
After features/support/hooks.rb:330 0.623
After features/support/hooks.rb:100 0.059
Tags: @product
1:0.105
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 14.274
And I enable persistence creation in Tails Greeter 1.126
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.887
Then I create a persistent partition with the default settings using the wizard that was already open 23.815
After features/support/hooks.rb:330 2.767
After features/support/hooks.rb:100 0.000
Tags: @product
4:33.605
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 12.756
When I enable persistence 47.138
Then no persistent Greeter options were restored 14.823
When I set all Greeter options to non-default values 26.568
And I log in to a new session in German (de) after having activated the Persistent Storage 41.124
Then all Greeter options are set to non-default values 0.654
When I cold reboot the computer 8.068
And the computer reboots Tails 1:1.894
Given I enable persistence 18.527
Then persistent Greeter options were restored 0.550
When I log in to a new session after having activated the Persistent Storage 40.723
Then all Greeter options are set to non-default values 0.775
After features/support/hooks.rb:330 2.104
After features/support/hooks.rb:100 0.013
Tags: @product
4:13.939
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.167
# 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 47.246
And I shutdown Tails and wait for the computer to power off 13.183
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:26.879
And I change the passphrase of the Persistent Storage back to the original 36.462
After features/support/hooks.rb:330 3.154
After features/support/hooks.rb:100 0.010
Tags: @product
58.454
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.998
And I log in to a new session without activating the Persistent Storage 22.426
Then persistence is disabled 0.408
But a Tails persistence partition exists on USB drive "__internal" 8.477
And all notifications have disappeared 9.583
When I delete the persistent partition 6.749
Then there is no persistence partition on USB drive "__internal" 0.810
After features/support/hooks.rb:330 1.544
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.065
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.538
When I write some dotfile expected to persist 0.082
And I shutdown Tails and wait for the computer to power off 11.100
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.941
Then the expected persistent dotfile is present in the filesystem 0.402
After features/support/hooks.rb:330 1.408
After features/support/hooks.rb:100 0.011
Tags: @product
1:43.686
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.342
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.093
When I try to enable persistence 0.303
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.837
When I log in to a new session after having activated the Persistent Storage 42.960
And all notifications have disappeared 7.873
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.866
And all tps features are enabled 6.183
And all tps features but the first one are active 2.225
After features/support/hooks.rb:330 1.684
After features/support/hooks.rb:100 0.000
Tags: @product
5:34.536
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 3:55.695
And I enable persistence 46.325
And I log in to a new session after having activated the Persistent Storage 47.557
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.076
And persistence is enabled 2.880
After features/support/hooks.rb:330 1.801
After features/support/hooks.rb:100 0.000
Tags: @product
29.561
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.243
And I enable persistence but something goes wrong during the LUKS header upgrade 19.475
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.842
After features/support/hooks.rb:330 0.791
After features/support/hooks.rb:100 0.000
Tags: @product
47.248
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.754
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.596
When I enable persistence 28.940
Then the filesystem of the Persistent Storage was repaired 0.093
And persistence is successfully enabled 2.862
After features/support/hooks.rb:330 1.648
After features/support/hooks.rb:100 0.000
Tags: @product
47.818
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.457
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.166
When I try to enable persistence 0.430
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.500
When I repair the filesystem of the Persistent Storage 1.342
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.356
And the filesystem of the Persistent Storage was repaired 3.814
When I close the filesystem repair dialog 1.265
Then persistence is successfully enabled 1.484
After features/support/hooks.rb:330 1.379
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.707
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.824
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.118
When I try to enable persistence 0.273
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.826
When I repair the filesystem of the Persistent Storage 1.297
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 43.804
And all notifications have disappeared 10.339
# 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.877
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.742
When I close the "whisperback" window 1.427
Then the Tor Browser starts 15.247
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.844
After features/support/hooks.rb:330 3.637
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.985
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 11.841
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.347
And Tails detects disk read failures on the boot device 1.754
When I try to enable persistence 0.425
Then the Welcome Screen tells me that my hardware is probably failing 21.740
When I log in to a new session 50.405
And all notifications have disappeared 8.012
Then the Tor Browser starts 22.498
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.959
After features/support/hooks.rb:330 3.254
After features/support/hooks.rb:100 0.000