Project Number Date
test_Tails_ISO_stable 5528 24 Mar 2025, 13:05

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 47:42.697 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:18.434
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:36.233
And I update APT using apt 2:14.071
And I install "python3-behave" using apt 25.591
Then the Tails Persistent Storage behave tests pass 2.537
After features/support/hooks.rb:330 0.803
After features/support/hooks.rb:100 0.000
Tags: @product
53.060
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.601
When I log in to a new session without activating the Persistent Storage 29.047
Then Tails is running from USB drive "__internal" 0.785
And persistence is disabled 0.341
But a Tails persistence partition exists on USB drive "__internal" 11.284
After features/support/hooks.rb:330 1.874
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.024
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 without a persistent partition and logged in 18.072
Then Tails is running from USB drive "__internal" 2.269
When I create a file in the Persistent directory 0.325
And I create a persistent partition with the default settings 25.423
Then the file I created was copied to the Persistent Storage 0.580
When I shutdown Tails and wait for the computer to power off 13.622
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.437
Then persistence for "Persistent" is active 1.214
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.789
After features/support/hooks.rb:100 0.009
Tags: @product
1:4.748
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 11.494
And the system is very low on memory 3.415
When I create a file in the Persistent directory 1.860
When I try to create a persistent partition 28.365
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.558
When I close the Persistent Storage app 2.885
And I free up some memory 1.555
And I create a persistent partition with the default settings 14.374
Then the file I created was copied to the Persistent Storage 0.238
After features/support/hooks.rb:330 2.647
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.530
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 14.086
Then Tails is running from USB drive "__internal" 0.615
And all tps features are active 3.256
And all persistent directories have safe access rights 3.035
When I disable the first tps feature 6.525
Then all tps features but the first one are active 2.296
And I shutdown Tails and wait for the computer to power off 13.215
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.238
Then all tps features but the first one are active 2.259
After features/support/hooks.rb:330 0.923
After features/support/hooks.rb:100 0.010
Tags: @product
21.555
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 enabled and logged in 10.953
Then persistence for "Persistent" is active 0.156
And I create a file in the Persistent directory 0.154
Then the file I created was copied to the Persistent Storage 0.142
When I disable the first tps feature 6.619
Then persistence for "Persistent" is not active 0.094
And the Persistent directory does not exist 0.072
When I enable the first tps feature 3.185
Then persistence for "Persistent" is active 0.099
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.698
After features/support/hooks.rb:100 0.000
Tags: @product
20.049
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 9.590
Then persistence for "Persistent" is active 0.283
When I create a file in the Persistent directory 0.075
And I disable the first tps feature 6.342
And I delete the data of the Persistent Folder feature 3.645
Then the file I created does not exist on the Persistent Storage 0.111
After features/support/hooks.rb:330 3.238
After features/support/hooks.rb:100 0.000
Tags: @product
1:42.453
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.409
And the network is plugged 0.085
And Tor is ready 50.706
And I take note of which tps features are available 1.068
When I write some files expected to persist 1.773
And I shutdown Tails and wait for the computer to power off 11.192
# 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" 27.217
After features/support/hooks.rb:330 0.168
After features/support/hooks.rb:100 0.000
Tags: @product
3:27.671
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.133
And the network is plugged 0.083
And Tor is ready 21.261
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.221
And I shutdown Tails and wait for the computer to power off 8.924
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.776
And I capture all network traffic 0.009
And the network is plugged 0.101
And Tor is ready 20.566
And I switch to the "persistent-con-current" NetworkManager connection 0.369
And the 1st network device has a spoofed MAC address configured 0.106
And no network device leaked the real MAC address 0.116
After features/support/hooks.rb:330 0.869
After features/support/hooks.rb:100 0.052
Tags: @product
1:2.543
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 without a persistent partition and stopped at Tails Greeter's login screen 12.610
And I enable persistence creation in Tails Greeter 1.248
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.110
Then I create a persistent partition with the default settings using the wizard that was already open 26.574
After features/support/hooks.rb:330 2.163
After features/support/hooks.rb:100 0.000
Tags: @product
4:31.339
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 12.567
When I enable persistence 42.560
Then no persistent Greeter options were restored 14.587
When I set all Greeter options to non-default values 24.962
And I log in to a new session in German (de) after having activated the Persistent Storage 45.859
Then all Greeter options are set to non-default values 1.512
When I cold reboot the computer 7.675
And the computer reboots Tails 1:1.538
Given I enable persistence 18.215
Then persistent Greeter options were restored 0.688
When I log in to a new session after having activated the Persistent Storage 40.504
Then all Greeter options are set to non-default values 0.666
After features/support/hooks.rb:330 1.820
After features/support/hooks.rb:100 0.010
Tags: @product
3:52.865
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.813
# 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.534
And I shutdown Tails and wait for the computer to power off 13.069
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.109
And I change the passphrase of the Persistent Storage back to the original 37.338
After features/support/hooks.rb:330 1.706
After features/support/hooks.rb:100 0.010
Tags: @product
1:0.708
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 10.791
And I log in to a new session without activating the Persistent Storage 21.841
Then persistence is disabled 0.297
But a Tails persistence partition exists on USB drive "__internal" 11.696
And all notifications have disappeared 9.205
When I delete the persistent partition 6.339
Then there is no persistence partition on USB drive "__internal" 0.536
After features/support/hooks.rb:330 1.678
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.402
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 9.652
When I write some dotfile expected to persist 0.062
And I shutdown Tails and wait for the computer to power off 11.453
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.535
Then the expected persistent dotfile is present in the filesystem 0.699
After features/support/hooks.rb:330 0.850
After features/support/hooks.rb:100 0.008
Tags: @product
1:42.727
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.930
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.319
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.830
When I log in to a new session after having activated the Persistent Storage 40.399
And all notifications have disappeared 8.748
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.345
And all tps features are enabled 2.779
And all tps features but the first one are active 2.289
After features/support/hooks.rb:330 3.559
After features/support/hooks.rb:100 0.000
Tags: @product
7:30.737
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 6:6.048
And I enable persistence 31.528
And I log in to a new session after having activated the Persistent Storage 45.881
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.603
And persistence is enabled 4.675
After features/support/hooks.rb:330 3.991
After features/support/hooks.rb:100 0.000
Tags: @product
49.503
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 12.159
And I enable persistence but something goes wrong during the LUKS header upgrade 36.538
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.805
After features/support/hooks.rb:330 0.772
After features/support/hooks.rb:100 0.000
Tags: @product
50.070
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.548
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.515
When I enable persistence 30.791
Then the filesystem of the Persistent Storage was repaired 0.111
And persistence is successfully enabled 4.103
After features/support/hooks.rb:330 1.666
After features/support/hooks.rb:100 0.000
Tags: @product
58.508
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.119
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.216
When I try to enable persistence 1.562
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.634
When I repair the filesystem of the Persistent Storage 5.197
Then the Welcome Screen tells me that the filesystem was repaired successfully 2.242
And the filesystem of the Persistent Storage was repaired 1.567
When I close the filesystem repair dialog 1.252
Then persistence is successfully enabled 1.716
After features/support/hooks.rb:330 1.598
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.099
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.933
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.105
When I try to enable persistence 0.286
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.922
When I repair the filesystem of the Persistent Storage 1.630
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.265
When I log in to a new session 45.458
And all notifications have disappeared 10.481
# 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.536
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.228
When I close the "whisperback" window 1.690
Then the Tor Browser starts 18.727
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.832
After features/support/hooks.rb:330 2.249
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:7.662
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.939
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.340
And Tails detects disk read failures on the boot device 1.733
When I try to enable persistence 1.539
Then the Welcome Screen tells me that my hardware is probably failing 22.448
When I log in to a new session 51.193
And all notifications have disappeared 9.770
Then the Tor Browser starts 24.860
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.837
After features/support/hooks.rb:330 2.091
After features/support/hooks.rb:100 0.000