Project Number Date
test_Tails_ISO_20816-block-paths-bwrap 5 08 Mar 2025, 06: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 42:57.073 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:14.235
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:34.818
And I update APT using apt 3:13.363
And I install "python3-behave" using apt 22.548
Then the Tails Persistent Storage behave tests pass 3.504
After features/support/hooks.rb:330 0.831
After features/support/hooks.rb:100 0.000
Tags: @product
46.424
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 11.602
When I log in to a new session without activating the Persistent Storage 25.642
Then Tails is running from USB drive "__internal" 0.597
And persistence is disabled 0.266
But a Tails persistence partition exists on USB drive "__internal" 8.316
After features/support/hooks.rb:330 1.935
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.085
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 without a persistent partition and logged in 11.425
Then Tails is running from USB drive "__internal" 0.397
When I create a file in the Persistent directory 0.124
And I create a persistent partition with the default settings 21.257
Then the file I created was copied to the Persistent Storage 0.576
When I shutdown Tails and wait for the computer to power off 12.523
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.272
Then persistence for "Persistent" is active 0.425
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 0.662
After features/support/hooks.rb:100 0.024
Tags: @product
1:5.278
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 without a persistent partition and logged in 11.500
And the system is very low on memory 3.865
When I create a file in the Persistent directory 0.737
When I try to create a persistent partition 29.429
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.957
When I close the Persistent Storage app 2.727
And I free up some memory 1.489
And I create a persistent partition with the default settings 14.333
Then the file I created was copied to the Persistent Storage 0.238
After features/support/hooks.rb:330 2.211
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.861
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.600
Then Tails is running from USB drive "__internal" 0.751
And all tps features are active 2.255
And all persistent directories have safe access rights 2.529
When I disable the first tps feature 5.977
Then all tps features but the first one are active 2.110
And I shutdown Tails and wait for the computer to power off 10.930
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.585
Then all tps features but the first one are active 2.120
After features/support/hooks.rb:330 0.917
After features/support/hooks.rb:100 0.008
Tags: @product
19.795
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.933
Then persistence for "Persistent" is active 0.098
And I create a file in the Persistent directory 0.100
Then the file I created was copied to the Persistent Storage 0.077
When I disable the first tps feature 6.006
Then persistence for "Persistent" is not active 0.085
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.285
Then persistence for "Persistent" is active 0.095
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:330 1.445
After features/support/hooks.rb:100 0.000
Tags: @product
20.570
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 9.854
Then persistence for "Persistent" is active 0.097
When I create a file in the Persistent directory 0.085
And I disable the first tps feature 6.860
And I delete the data of the Persistent Folder feature 3.619
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:330 1.471
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.182
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.418
And the network is plugged 0.082
And Tor is ready 19.024
And I take note of which tps features are available 0.593
When I write some files expected to persist 1.482
And I shutdown Tails and wait for the computer to power off 8.507
# 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.074
After features/support/hooks.rb:330 0.189
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.813
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.689
And the network is plugged 0.121
And Tor is ready 17.900
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.237
And I shutdown Tails and wait for the computer to power off 8.546
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.120
And I capture all network traffic 0.004
And the network is plugged 0.085
And Tor is ready 20.562
And I switch to the "persistent-con-current" NetworkManager connection 0.333
And the 1st network device has a spoofed MAC address configured 0.083
And no network device leaked the real MAC address 0.127
After features/support/hooks.rb:330 0.714
After features/support/hooks.rb:100 0.056
Tags: @product
53.207
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 without a persistent partition and stopped at Tails Greeter's login screen 11.758
And I enable persistence creation in Tails Greeter 1.109
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.261
Then I create a persistent partition with the default settings using the wizard that was already open 21.079
After features/support/hooks.rb:330 1.746
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.089
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 11.227
When I enable persistence 43.176
Then no persistent Greeter options were restored 14.042
When I set all Greeter options to non-default values 27.909
And I log in to a new session in German (de) after having activated the Persistent Storage 42.961
Then all Greeter options are set to non-default values 3.640
When I cold reboot the computer 7.520
And the computer reboots Tails 1:1.156
Given I enable persistence 18.142
Then persistent Greeter options were restored 0.548
When I log in to a new session after having activated the Persistent Storage 39.146
Then all Greeter options are set to non-default values 0.617
After features/support/hooks.rb:330 2.179
After features/support/hooks.rb:100 0.010
Tags: @product
3:46.911
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.997
# 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 37.336
And I shutdown Tails and wait for the computer to power off 12.308
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.510
And I change the passphrase of the Persistent Storage back to the original 34.758
After features/support/hooks.rb:330 2.197
After features/support/hooks.rb:100 0.007
Tags: @product
54.107
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.554
And I log in to a new session without activating the Persistent Storage 20.891
Then persistence is disabled 0.391
But a Tails persistence partition exists on USB drive "__internal" 6.344
And all notifications have disappeared 9.608
When I delete the persistent partition 6.957
Then there is no persistence partition on USB drive "__internal" 0.359
After features/support/hooks.rb:330 1.168
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.589
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.471
When I write some dotfile expected to persist 0.072
And I shutdown Tails and wait for the computer to power off 8.336
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.341
Then the expected persistent dotfile is present in the filesystem 0.366
After features/support/hooks.rb:330 1.387
After features/support/hooks.rb:100 0.009
Tags: @product
1:39.476
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 and stopped at Tails Greeter's login screen 9.036
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.265
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.749
When I log in to a new session after having activated the Persistent Storage 42.245
And all notifications have disappeared 9.003
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.445
And all tps features are enabled 2.350
And all tps features but the first one are active 2.302
After features/support/hooks.rb:330 1.470
After features/support/hooks.rb:100 0.000
Tags: @product
5:12.478
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:49.225
And I enable persistence 31.372
And I log in to a new session after having activated the Persistent Storage 44.447
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 5.100
And persistence is enabled 2.332
After features/support/hooks.rb:330 1.516
After features/support/hooks.rb:100 0.000
Tags: @product
31.628
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.496
And I enable persistence but something goes wrong during the LUKS header upgrade 21.377
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.754
After features/support/hooks.rb:330 0.757
After features/support/hooks.rb:100 0.000
Tags: @product
42.418
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.315
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.716
When I enable persistence 25.760
Then the filesystem of the Persistent Storage was repaired 0.081
And persistence is successfully enabled 2.544
After features/support/hooks.rb:330 1.632
After features/support/hooks.rb:100 0.000
Tags: @product
49.214
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.545
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.399
When I try to enable persistence 0.408
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.542
When I repair the filesystem of the Persistent Storage 1.311
Then the Welcome Screen tells me that the filesystem was repaired successfully 3.987
And the filesystem of the Persistent Storage was repaired 2.265
When I close the filesystem repair dialog 1.238
Then persistence is successfully enabled 1.515
After features/support/hooks.rb:330 1.808
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.197
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.827
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.096
When I try to enable persistence 0.267
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.148
When I repair the filesystem of the Persistent Storage 1.234
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.069
When I log in to a new session 39.854
And all notifications have disappeared 10.721
# 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.631
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.738
When I close the "whisperback" window 1.397
Then the Tor Browser starts 14.407
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.804
After features/support/hooks.rb:330 2.176
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.503
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.415
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.987
And Tails detects disk read failures on the boot device 1.531
When I try to enable persistence 0.382
Then the Welcome Screen tells me that my hardware is probably failing 18.668
When I log in to a new session 46.915
And all notifications have disappeared 8.587
Then the Tor Browser starts 21.022
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.992
After features/support/hooks.rb:330 4.374
After features/support/hooks.rb:100 0.000