Project Number Date
test_Tails_ISO_feature-arti 19 05 Apr 2025, 16:55

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:21.134 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:16.136
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:36.726
And I update APT using apt 2:12.503
And I install "python3-behave" using apt 23.497
Then the Tails Persistent Storage behave tests pass 3.408
After features/support/hooks.rb:330 1.090
After features/support/hooks.rb:100 0.000
Tags: @product
50.161
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.281
When I log in to a new session without activating the Persistent Storage 29.522
Then Tails is running from USB drive "__internal" 0.747
And persistence is disabled 0.494
But a Tails persistence partition exists on USB drive "__internal" 8.114
After features/support/hooks.rb:330 1.676
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.315
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 16.097
Then Tails is running from USB drive "__internal" 0.398
When I create a file in the Persistent directory 0.130
And I create a persistent partition with the default settings 20.974
Then the file I created was copied to the Persistent Storage 2.461
When I shutdown Tails and wait for the computer to power off 14.827
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.821
Then persistence for "Persistent" is active 0.547
And the file I created in the Persistent directory exists 0.056
After features/support/hooks.rb:330 1.932
After features/support/hooks.rb:100 0.007
Tags: @product
58.324
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 10.862
And the system is very low on memory 3.123
When I create a file in the Persistent directory 2.070
When I try to create a persistent partition 22.800
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.981
When I close the Persistent Storage app 2.528
And I free up some memory 3.037
And I create a persistent partition with the default settings 12.637
Then the file I created was copied to the Persistent Storage 0.283
After features/support/hooks.rb:330 2.076
After features/support/hooks.rb:100 0.000
Tags: @product
2:48.228
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 12.271
Then Tails is running from USB drive "__internal" 0.728
And all tps features are active 2.782
And all persistent directories have safe access rights 2.598
When I disable the first tps feature 5.918
Then all tps features but the first one are active 2.116
And I shutdown Tails and wait for the computer to power off 14.934
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.899
Then all tps features but the first one are active 1.978
After features/support/hooks.rb:330 1.325
After features/support/hooks.rb:100 0.007
Tags: @product
19.396
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.130
Then persistence for "Persistent" is active 0.145
And I create a file in the Persistent directory 0.071
Then the file I created was copied to the Persistent Storage 0.101
When I disable the first tps feature 5.627
Then persistence for "Persistent" is not active 0.067
And the Persistent directory does not exist 0.053
When I enable the first tps feature 3.058
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:330 1.245
After features/support/hooks.rb:100 0.000
Tags: @product
19.499
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.761
Then persistence for "Persistent" is active 0.191
When I create a file in the Persistent directory 0.126
And I disable the first tps feature 5.716
And I delete the data of the Persistent Folder feature 3.646
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:330 1.398
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.405
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.558
And the network is plugged 0.088
And Tor is ready 23.028
And I take note of which tps features are available 0.666
When I write some files expected to persist 1.448
And I shutdown Tails and wait for the computer to power off 8.512
# 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.101
After features/support/hooks.rb:330 0.127
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.432
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.706
And the network is plugged 0.089
And Tor is ready 19.792
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.218
And I shutdown Tails and wait for the computer to power off 8.557
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.599
And I capture all network traffic 0.005
And the network is plugged 0.104
And Tor is ready 23.773
And I switch to the "persistent-con-current" NetworkManager connection 0.294
And the 1st network device has a spoofed MAC address configured 0.107
And no network device leaked the real MAC address 0.182
After features/support/hooks.rb:330 0.563
After features/support/hooks.rb:100 0.046
Tags: @product
53.499
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.871
And I enable persistence creation in Tails Greeter 1.136
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.411
Then I create a persistent partition with the default settings using the wizard that was already open 21.080
After features/support/hooks.rb:330 2.803
After features/support/hooks.rb:100 0.000
Tags: @product
4:44.367
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.847
When I enable persistence 36.677
Then no persistent Greeter options were restored 14.117
When I set all Greeter options to non-default values 28.153
And I log in to a new session in German (de) after having activated the Persistent Storage 55.770
Then all Greeter options are set to non-default values 0.439
When I cold reboot the computer 7.273
And the computer reboots Tails 1:12.149
Given I enable persistence 17.773
Then persistent Greeter options were restored 0.562
When I log in to a new session after having activated the Persistent Storage 36.188
Then all Greeter options are set to non-default values 0.413
After features/support/hooks.rb:330 2.417
After features/support/hooks.rb:100 0.005
Tags: @product
3:49.524
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.376
# 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 36.061
And I shutdown Tails and wait for the computer to power off 14.520
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:13.310
And I change the passphrase of the Persistent Storage back to the original 35.256
After features/support/hooks.rb:330 3.629
After features/support/hooks.rb:100 0.021
Tags: @product
59.449
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 10.016
And I log in to a new session without activating the Persistent Storage 23.281
Then persistence is disabled 0.721
But a Tails persistence partition exists on USB drive "__internal" 9.989
And all notifications have disappeared 8.462
When I delete the persistent partition 6.168
Then there is no persistence partition on USB drive "__internal" 0.808
After features/support/hooks.rb:330 1.151
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.909
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 10.425
When I write some dotfile expected to persist 0.109
And I shutdown Tails and wait for the computer to power off 10.894
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.064
Then the expected persistent dotfile is present in the filesystem 0.414
After features/support/hooks.rb:330 1.302
After features/support/hooks.rb:100 0.006
Tags: @product
1:38.917
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 10.046
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.076
When I try to enable persistence 0.244
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.031
When I log in to a new session after having activated the Persistent Storage 41.571
And all notifications have disappeared 8.115
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.692
And all tps features are enabled 2.915
And all tps features but the first one are active 2.223
After features/support/hooks.rb:330 1.552
After features/support/hooks.rb:100 0.000
Tags: @product
4:51.081
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 3:33.362
And I enable persistence 31.086
And I log in to a new session after having activated the Persistent Storage 41.384
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.791
And persistence is enabled 3.455
After features/support/hooks.rb:330 1.299
After features/support/hooks.rb:100 0.000
Tags: @product
31.538
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
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.339
And I enable persistence but something goes wrong during the LUKS header upgrade 22.395
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.804
After features/support/hooks.rb:330 0.701
After features/support/hooks.rb:100 0.000
Tags: @product
43.159
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.289
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.511
When I enable persistence 25.837
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 2.427
After features/support/hooks.rb:330 1.237
After features/support/hooks.rb:100 0.000
Tags: @product
49.458
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.081
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.782
When I try to enable persistence 1.567
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.395
When I repair the filesystem of the Persistent Storage 2.159
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.571
And the filesystem of the Persistent Storage was repaired 3.153
When I close the filesystem repair dialog 1.213
Then persistence is successfully enabled 1.534
After features/support/hooks.rb:330 1.673
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.305
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.170
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.107
When I try to enable persistence 0.269
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.641
When I repair the filesystem of the Persistent Storage 1.308
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.076
When I log in to a new session 36.800
And all notifications have disappeared 8.988
# 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.780
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.518
When I close the "whisperback" window 1.309
Then the Tor Browser starts 20.445
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.887
After features/support/hooks.rb:330 2.951
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.022
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.938
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.621
And Tails detects disk read failures on the boot device 0.451
When I try to enable persistence 0.446
Then the Welcome Screen tells me that my hardware is probably failing 17.649
When I log in to a new session 53.343
And all notifications have disappeared 10.018
Then the Tor Browser starts 20.542
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.009
After features/support/hooks.rb:330 2.346
After features/support/hooks.rb:100 0.000