Project Number Date
test_Tails_ISO_tca-misc-improvements 17 24 Apr 2025, 19:40

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 46:8.086 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:28.242
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:43.046
And I update APT using apt 15.740
And I install "python3-behave" using apt 26.318
Then the Tails Persistent Storage behave tests pass 3.137
After features/support/hooks.rb:330 0.996
After features/support/hooks.rb:100 0.000
Tags: @product
48.472
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 13.644
When I log in to a new session without activating the Persistent Storage 22.243
Then Tails is running from USB drive "__internal" 0.555
And persistence is disabled 0.405
But a Tails persistence partition exists on USB drive "__internal" 11.622
After features/support/hooks.rb:330 0.962
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.889
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.537
Then Tails is running from USB drive "__internal" 0.483
When I create a file in the Persistent directory 0.134
And I create a persistent partition with the default settings 27.985
Then the file I created was copied to the Persistent Storage 2.726
When I shutdown Tails and wait for the computer to power off 10.791
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.629
Then persistence for "Persistent" is active 0.538
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:330 1.953
After features/support/hooks.rb:100 0.008
Tags: @product
1:7.339
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.196
And the system is very low on memory 3.502
When I create a file in the Persistent directory 1.250
When I try to create a persistent partition 30.409
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.355
When I close the Persistent Storage app 2.573
And I free up some memory 3.352
And I create a persistent partition with the default settings 15.379
Then the file I created was copied to the Persistent Storage 0.320
After features/support/hooks.rb:330 1.979
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.499
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.188
Then Tails is running from USB drive "__internal" 0.647
And all tps features are active 2.990
And all persistent directories have safe access rights 2.794
When I disable the first tps feature 6.725
Then all tps features but the first one are active 2.134
And I shutdown Tails and wait for the computer to power off 13.100
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.692
Then all tps features but the first one are active 3.226
After features/support/hooks.rb:330 0.930
After features/support/hooks.rb:100 0.009
Tags: @product
21.996
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.654
Then persistence for "Persistent" is active 0.700
And I create a file in the Persistent directory 0.106
Then the file I created was copied to the Persistent Storage 0.099
When I disable the first tps feature 6.962
Then persistence for "Persistent" is not active 0.129
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.113
Then persistence for "Persistent" is active 0.087
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:330 1.285
After features/support/hooks.rb:100 0.000
Tags: @product
22.270
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.996
Then persistence for "Persistent" is active 0.071
When I create a file in the Persistent directory 0.066
And I disable the first tps feature 6.886
And I delete the data of the Persistent Folder feature 5.168
Then the file I created does not exist on the Persistent Storage 0.080
After features/support/hooks.rb:330 1.644
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.760
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.214
And the network is plugged 0.089
And Tor is ready 25.473
And I take note of which tps features are available 0.654
When I write some files expected to persist 1.597
And I shutdown Tails and wait for the computer to power off 8.976
# 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.754
After features/support/hooks.rb:330 0.117
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.891
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.265
And the network is plugged 0.131
And Tor is ready 19.718
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.182
And I shutdown Tails and wait for the computer to power off 8.484
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.348
And I capture all network traffic 0.007
And the network is plugged 0.096
And Tor is ready 20.983
And I switch to the "persistent-con-current" NetworkManager connection 0.401
And the 1st network device has a spoofed MAC address configured 0.106
And no network device leaked the real MAC address 0.165
After features/support/hooks.rb:330 0.903
After features/support/hooks.rb:100 0.050
Tags: @product
1:5.784
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 16.791
And I enable persistence creation in Tails Greeter 1.147
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.096
Then I create a persistent partition with the default settings using the wizard that was already open 26.749
After features/support/hooks.rb:330 2.745
After features/support/hooks.rb:100 0.000
Tags: @product
4:36.240
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 12.783
When I enable persistence 40.777
Then no persistent Greeter options were restored 14.425
When I set all Greeter options to non-default values 31.081
And I log in to a new session in German (de) after having activated the Persistent Storage 48.910
Then all Greeter options are set to non-default values 0.622
When I cold reboot the computer 7.890
And the computer reboots Tails 1:2.261
Given I enable persistence 15.300
Then persistent Greeter options were restored 0.644
When I log in to a new session after having activated the Persistent Storage 40.731
Then all Greeter options are set to non-default values 0.812
After features/support/hooks.rb:330 1.462
After features/support/hooks.rb:100 0.007
Tags: @product
4:11.143
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 12.914
# 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 49.066
And I shutdown Tails and wait for the computer to power off 15.324
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:17.730
And I change the passphrase of the Persistent Storage back to the original 36.107
After features/support/hooks.rb:330 4.197
After features/support/hooks.rb:100 0.009
Tags: @product
1:7.293
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.161
And I log in to a new session without activating the Persistent Storage 22.477
Then persistence is disabled 0.406
But a Tails persistence partition exists on USB drive "__internal" 17.501
And all notifications have disappeared 10.439
When I delete the persistent partition 6.067
Then there is no persistence partition on USB drive "__internal" 0.240
After features/support/hooks.rb:330 1.068
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.928
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.606
When I write some dotfile expected to persist 0.168
And I shutdown Tails and wait for the computer to power off 9.003
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.718
Then the expected persistent dotfile is present in the filesystem 0.431
After features/support/hooks.rb:330 1.499
After features/support/hooks.rb:100 0.012
Tags: @product
1:41.010
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 9.777
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.095
When I try to enable persistence 0.297
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.057
When I log in to a new session after having activated the Persistent Storage 40.455
And all notifications have disappeared 8.479
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.229
And all tps features are enabled 2.752
And all tps features but the first one are active 2.865
After features/support/hooks.rb:330 1.539
After features/support/hooks.rb:100 0.000
Tags: @product
8:37.824
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 7:16.546
And I enable persistence 29.528
And I log in to a new session after having activated the Persistent Storage 48.145
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.999
And persistence is enabled 2.605
After features/support/hooks.rb:330 1.055
After features/support/hooks.rb:100 0.000
Tags: @product
31.899
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 12.413
And I enable persistence but something goes wrong during the LUKS header upgrade 18.678
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.807
After features/support/hooks.rb:330 0.854
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.679
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 22.982
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.338
When I enable persistence 33.639
Then the filesystem of the Persistent Storage was repaired 0.083
And persistence is successfully enabled 2.635
After features/support/hooks.rb:330 1.052
After features/support/hooks.rb:100 0.000
Tags: @product
47.168
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.229
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.575
When I try to enable persistence 0.484
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.478
When I repair the filesystem of the Persistent Storage 2.404
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.387
And the filesystem of the Persistent Storage was repaired 3.433
When I close the filesystem repair dialog 1.748
Then persistence is successfully enabled 1.425
After features/support/hooks.rb:330 0.874
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.343
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.873
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.141
When I try to enable persistence 0.313
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.467
When I repair the filesystem of the Persistent Storage 1.792
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 39.734
And all notifications have disappeared 7.651
# 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" 1.536
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.335
When I close the "whisperback" window 1.870
Then the Tor Browser starts 18.773
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.775
After features/support/hooks.rb:330 1.954
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.407
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.846
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.799
And Tails detects disk read failures on the boot device 1.555
When I try to enable persistence 0.604
Then the Welcome Screen tells me that my hardware is probably failing 18.284
When I log in to a new session 48.148
And all notifications have disappeared 9.294
Then the Tor Browser starts 21.161
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.711
After features/support/hooks.rb:330 1.754
After features/support/hooks.rb:100 0.000