Project Number Date
test_Tails_ISO_feature-arti 68 24 May 2025, 16:47

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 40:54.947 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:5.136
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 2:0.488
And I update APT using apt 35.387
And I install "python3-behave" using apt 26.186
Then the Tails Persistent Storage behave tests pass 3.073
After features/support/hooks.rb:330 0.676
After features/support/hooks.rb:100 0.000
Tags: @product
53.110
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 25.148
When I log in to a new session without activating the Persistent Storage 20.210
Then Tails is running from USB drive "__internal" 0.664
And persistence is disabled 0.223
But a Tails persistence partition exists on USB drive "__internal" 6.863
After features/support/hooks.rb:330 0.863
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.951
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.877
Then Tails is running from USB drive "__internal" 0.389
When I create a file in the Persistent directory 0.112
And I create a persistent partition with the default settings 22.991
Then the file I created was copied to the Persistent Storage 1.788
When I shutdown Tails and wait for the computer to power off 13.218
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.165
Then persistence for "Persistent" is active 0.342
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:330 1.602
After features/support/hooks.rb:100 0.007
Tags: @product
1:5.077
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 10.494
And the system is very low on memory 4.352
When I create a file in the Persistent directory 1.464
When I try to create a persistent partition 29.059
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.202
When I close the Persistent Storage app 2.546
And I free up some memory 3.305
And I create a persistent partition with the default settings 13.375
Then the file I created was copied to the Persistent Storage 0.276
After features/support/hooks.rb:330 2.367
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.396
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 12.219
Then Tails is running from USB drive "__internal" 0.637
And all tps features are active 2.747
And all persistent directories have safe access rights 2.741
When I disable the first tps feature 6.201
Then all tps features but the first one are active 2.243
And I shutdown Tails and wait for the computer to power off 19.801
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.694
Then all tps features but the first one are active 2.108
After features/support/hooks.rb:330 1.361
After features/support/hooks.rb:100 0.008
Tags: @product
19.367
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.823
Then persistence for "Persistent" is active 0.080
And I create a file in the Persistent directory 0.115
Then the file I created was copied to the Persistent Storage 0.088
When I disable the first tps feature 5.905
Then persistence for "Persistent" is not active 0.072
And the Persistent directory does not exist 0.042
When I enable the first tps feature 3.116
Then persistence for "Persistent" is active 0.065
And the file I created in the Persistent directory exists 0.055
After features/support/hooks.rb:330 1.194
After features/support/hooks.rb:100 0.000
Tags: @product
19.528
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.772
Then persistence for "Persistent" is active 0.173
When I create a file in the Persistent directory 0.149
And I disable the first tps feature 5.732
And I delete the data of the Persistent Folder feature 3.652
Then the file I created does not exist on the Persistent Storage 0.048
After features/support/hooks.rb:330 1.236
After features/support/hooks.rb:100 0.000
Tags: @product
1:34.664
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.132
And the network is plugged 0.088
And Tor is ready 50.500
And I take note of which tps features are available 0.634
When I write some files expected to persist 1.438
And I shutdown Tails and wait for the computer to power off 8.567
# 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.301
After features/support/hooks.rb:330 0.149
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.606
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.848
And the network is plugged 0.075
And Tor is ready 17.366
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.226
And I shutdown Tails and wait for the computer to power off 8.550
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.130
And I capture all network traffic 0.004
And the network is plugged 0.095
And Tor is ready 19.700
And I switch to the "persistent-con-current" NetworkManager connection 0.348
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.168
After features/support/hooks.rb:330 0.808
After features/support/hooks.rb:100 0.051
Tags: @product
54.787
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.513
And I enable persistence creation in Tails Greeter 1.203
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.780
Then I create a persistent partition with the default settings using the wizard that was already open 20.290
After features/support/hooks.rb:330 2.706
After features/support/hooks.rb:100 0.000
Tags: @product
4:16.657
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.737
When I enable persistence 29.992
Then no persistent Greeter options were restored 13.804
When I set all Greeter options to non-default values 25.680
And I log in to a new session in German (de) after having activated the Persistent Storage 49.600
Then all Greeter options are set to non-default values 0.633
When I cold reboot the computer 5.470
And the computer reboots Tails 1:0.110
Given I enable persistence 18.049
Then persistent Greeter options were restored 0.535
When I log in to a new session after having activated the Persistent Storage 41.366
Then all Greeter options are set to non-default values 0.676
After features/support/hooks.rb:330 1.527
After features/support/hooks.rb:100 0.007
Tags: @product
3:45.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.627
# 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 34.398
And I shutdown Tails and wait for the computer to power off 12.705
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.069
And I change the passphrase of the Persistent Storage back to the original 34.382
After features/support/hooks.rb:330 2.852
After features/support/hooks.rb:100 0.049
Tags: @product
49.531
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.916
And I log in to a new session without activating the Persistent Storage 18.149
Then persistence is disabled 0.329
But a Tails persistence partition exists on USB drive "__internal" 6.295
And all notifications have disappeared 8.073
When I delete the persistent partition 6.476
Then there is no persistence partition on USB drive "__internal" 1.291
After features/support/hooks.rb:330 0.819
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.625
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 10.321
When I write some dotfile expected to persist 0.093
And I shutdown Tails and wait for the computer to power off 10.469
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.305
Then the expected persistent dotfile is present in the filesystem 0.435
After features/support/hooks.rb:330 0.985
After features/support/hooks.rb:100 0.008
Tags: @product
1:35.326
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.701
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.294
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.913
When I log in to a new session after having activated the Persistent Storage 39.832
And all notifications have disappeared 8.881
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.212
And all tps features are enabled 2.430
And all tps features but the first one are active 1.972
After features/support/hooks.rb:330 1.273
After features/support/hooks.rb:100 0.000
Tags: @product
4:53.895
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:34.061
And I enable persistence 30.034
And I log in to a new session after having activated the Persistent Storage 44.180
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.169
And persistence is enabled 3.449
After features/support/hooks.rb:330 1.124
After features/support/hooks.rb:100 0.000
Tags: @product
26.351
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.604
And I enable persistence but something goes wrong during the LUKS header upgrade 17.090
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.656
After features/support/hooks.rb:330 0.666
After features/support/hooks.rb:100 0.000
Tags: @product
46.357
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.712
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.302
When I enable persistence 26.959
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 4.288
After features/support/hooks.rb:330 1.271
After features/support/hooks.rb:100 0.000
Tags: @product
51.600
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.736
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.409
When I try to enable persistence 1.802
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.866
When I repair the filesystem of the Persistent Storage 5.155
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.624
And the filesystem of the Persistent Storage was repaired 3.401
When I close the filesystem repair dialog 1.224
Then persistence is successfully enabled 1.380
After features/support/hooks.rb:330 1.263
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.297
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.473
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.108
When I try to enable persistence 1.316
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.199
When I repair the filesystem of the Persistent Storage 1.265
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.070
When I log in to a new session 38.007
And all notifications have disappeared 8.263
# 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.339
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.166
When I close the "whisperback" window 1.547
Then the Tor Browser starts 14.054
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.485
After features/support/hooks.rb:330 2.498
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.494
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.416
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.742
And Tails detects disk read failures on the boot device 1.566
When I try to enable persistence 0.473
Then the Welcome Screen tells me that my hardware is probably failing 17.160
When I log in to a new session 47.558
And all notifications have disappeared 7.744
Then the Tor Browser starts 19.464
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.366
After features/support/hooks.rb:330 2.270
After features/support/hooks.rb:100 0.000