Project Number Date
test_Tails_ISO_stable 5260 11 Nov 2024, 12:35

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:34.777 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.313
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.159
And I update APT using apt 14.453
And I install "python3-behave" using apt 25.459
Then the Tails Persistent Storage behave tests pass 2.240
After features/support/hooks.rb:326 0.638
After features/support/hooks.rb:100 0.000
Tags: @product
44.098
Before features/support/hooks.rb:269 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 13.164
When I log in to a new session without activating the Persistent Storage 23.303
Then Tails is running from USB drive "__internal" 0.435
And persistence is disabled 0.408
But a Tails persistence partition exists on USB drive "__internal" 6.786
After features/support/hooks.rb:326 1.009
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.534
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.289
Then Tails is running from USB drive "__internal" 0.477
When I create a file in the Persistent directory 0.117
And I create a persistent partition with the default settings 29.016
Then the file I created was copied to the Persistent Storage 0.685
When I shutdown Tails and wait for the computer to power off 12.687
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.597
Then persistence for "Persistent" is active 0.588
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 1.102
After features/support/hooks.rb:100 0.008
Tags: @product
1:7.308
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.794
And the system is very low on memory 10.351
When I create a file in the Persistent directory 3.034
When I try to create a persistent partition 21.596
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.219
When I close the Persistent Storage app 2.831
And I free up some memory 1.624
And I create a persistent partition with the default settings 14.602
Then the file I created was copied to the Persistent Storage 0.253
After features/support/hooks.rb:326 2.010
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.085
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.824
Then Tails is running from USB drive "__internal" 0.399
And all tps features are active 2.376
And all persistent directories have safe access rights 2.570
When I disable the first tps feature 5.991
Then all tps features but the first one are active 2.205
And I shutdown Tails and wait for the computer to power off 10.954
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.461
Then all tps features but the first one are active 2.301
After features/support/hooks.rb:326 0.837
After features/support/hooks.rb:100 0.008
Tags: @product
20.268
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.701
Then persistence for "Persistent" is active 0.081
And I create a file in the Persistent directory 0.089
Then the file I created was copied to the Persistent Storage 0.101
When I disable the first tps feature 6.616
Then persistence for "Persistent" is not active 0.083
And the Persistent directory does not exist 0.036
When I enable the first tps feature 3.398
Then persistence for "Persistent" is active 0.090
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:326 0.827
After features/support/hooks.rb:100 0.000
Tags: @product
20.356
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.941
Then persistence for "Persistent" is active 0.094
When I create a file in the Persistent directory 0.098
And I disable the first tps feature 5.876
And I delete the data of the Persistent Folder feature 3.826
Then the file I created does not exist on the Persistent Storage 0.517
After features/support/hooks.rb:326 0.908
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.973
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.998
And the network is plugged 0.103
And Tor is ready 22.320
And I take note of which tps features are available 0.616
When I write some files expected to persist 1.563
And I shutdown Tails and wait for the computer to power off 8.850
# 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.520
After features/support/hooks.rb:326 0.096
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.532
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.886
And the network is plugged 0.082
And Tor is ready 19.837
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.225
And I shutdown Tails and wait for the computer to power off 10.627
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.974
And I capture all network traffic 0.005
And the network is plugged 0.073
And Tor is ready 18.904
And I switch to the "persistent-con-current" NetworkManager connection 0.432
And the 1st network device has a spoofed MAC address configured 0.317
And no network device leaked the real MAC address 0.164
After features/support/hooks.rb:326 0.932
After features/support/hooks.rb:100 0.056
Tags: @product
1:29.774
Before features/support/hooks.rb:269 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 41.541
And I enable persistence creation in Tails Greeter 1.116
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.831
Then I create a persistent partition with the default settings using the wizard that was already open 23.284
After features/support/hooks.rb:326 1.615
After features/support/hooks.rb:100 0.000
Tags: @product
4:55.113
Before features/support/hooks.rb:269 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 27.529
When I enable persistence 52.154
Then no persistent Greeter options were restored 13.788
When I set all Greeter options to non-default values 25.558
And I log in to a new session in German (de) after having activated the Persistent Storage 46.810
Then all Greeter options are set to non-default values 0.596
When I cold reboot the computer 8.108
And the computer reboots Tails 1:3.252
Given I enable persistence 17.045
Then persistent Greeter options were restored 0.576
When I log in to a new session after having activated the Persistent Storage 38.871
Then all Greeter options are set to non-default values 0.819
After features/support/hooks.rb:326 1.359
After features/support/hooks.rb:100 0.008
Tags: @product
3:46.166
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.240
# 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 41.558
And I shutdown Tails and wait for the computer to power off 12.866
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.400
And I change the passphrase of the Persistent Storage back to the original 35.100
After features/support/hooks.rb:326 2.534
After features/support/hooks.rb:100 0.008
Tags: @product
1:6.515
Before features/support/hooks.rb:269 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.196
And I log in to a new session without activating the Persistent Storage 22.927
Then persistence is disabled 0.369
But a Tails persistence partition exists on USB drive "__internal" 12.701
And all notifications have disappeared 13.857
When I delete the persistent partition 6.024
Then there is no persistence partition on USB drive "__internal" 0.439
After features/support/hooks.rb:326 0.982
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.863
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.647
When I write some dotfile expected to persist 0.320
And I shutdown Tails and wait for the computer to power off 8.723
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.746
Then the expected persistent dotfile is present in the filesystem 0.424
After features/support/hooks.rb:326 0.764
After features/support/hooks.rb:100 0.021
Tags: @product
1:46.660
Before features/support/hooks.rb:269 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 9.189
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.268
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.785
When I log in to a new session after having activated the Persistent Storage 43.806
And all notifications have disappeared 9.031
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.509
And all tps features are enabled 2.669
And all tps features but the first one are active 2.315
After features/support/hooks.rb:326 1.209
After features/support/hooks.rb:100 0.000
Tags: @product
6:35.001
Before features/support/hooks.rb:269 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 5:0.237
And I enable persistence 42.887
And I log in to a new session after having activated the Persistent Storage 45.467
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.505
And persistence is enabled 2.903
After features/support/hooks.rb:326 1.176
After features/support/hooks.rb:100 0.000
Tags: @product
29.850
Before features/support/hooks.rb:269 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 10.442
And I enable persistence but something goes wrong during the LUKS header upgrade 18.709
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.698
After features/support/hooks.rb:326 0.741
After features/support/hooks.rb:100 0.000
Tags: @product
52.841
Before features/support/hooks.rb:269 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.520
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.459
When I enable persistence 33.005
Then the filesystem of the Persistent Storage was repaired 0.108
And persistence is successfully enabled 2.748
After features/support/hooks.rb:326 1.126
After features/support/hooks.rb:100 0.000
Tags: @product
37.484
Before features/support/hooks.rb:269 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 10.177
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 13.401
When I try to enable persistence 0.447
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.673
When I repair the filesystem of the Persistent Storage 1.297
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.278
And the filesystem of the Persistent Storage was repaired 0.365
When I close the filesystem repair dialog 1.296
Then persistence is successfully enabled 1.547
After features/support/hooks.rb:326 0.772
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.612
Before features/support/hooks.rb:269 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.378
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.114
When I try to enable persistence 0.284
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.757
When I repair the filesystem of the Persistent Storage 1.300
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.081
When I log in to a new session 43.177
And all notifications have disappeared 9.906
# 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.557
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.657
When I close the "whisperback" window 1.738
Then the Tor Browser starts 17.656
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.999
After features/support/hooks.rb:326 2.625
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:17.420
Before features/support/hooks.rb:269 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 10.773
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.714
And Tails detects disk read failures on the boot device 0.535
When I try to enable persistence 0.528
Then the Welcome Screen tells me that my hardware is probably failing 6.011
When I log in to a new session 20.883
And all notifications have disappeared 7.514
Then the Tor Browser starts 21.559
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.898
After features/support/hooks.rb:326 1.302
After features/support/hooks.rb:100 0.000