Project Number Date
test_Tails_ISO_20263-test-suite-without-spice 4 11 Mar 2025, 04:03

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:21.381 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:12.461
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:33.898
And I update APT using apt 13.351
And I install "python3-behave" using apt 22.309
Then the Tails Persistent Storage behave tests pass 2.900
After features/support/hooks.rb:330 0.852
After features/support/hooks.rb:100 0.000
Tags: @product
42.068
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 10.835
When I log in to a new session without activating the Persistent Storage 24.607
Then Tails is running from USB drive "__internal" 0.403
And persistence is disabled 0.237
But a Tails persistence partition exists on USB drive "__internal" 5.984
After features/support/hooks.rb:330 1.834
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.085
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 13.676
Then Tails is running from USB drive "__internal" 0.897
When I create a file in the Persistent directory 0.201
And I create a persistent partition with the default settings 23.069
Then the file I created was copied to the Persistent Storage 0.655
When I shutdown Tails and wait for the computer to power off 12.863
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.284
Then persistence for "Persistent" is active 0.372
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:330 1.753
After features/support/hooks.rb:100 0.007
Tags: @product
59.870
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 11.073
And the system is very low on memory 4.957
When I create a file in the Persistent directory 0.889
When I try to create a persistent partition 22.903
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.055
When I close the Persistent Storage app 2.628
And I free up some memory 1.383
And I create a persistent partition with the default settings 14.690
Then the file I created was copied to the Persistent Storage 0.287
After features/support/hooks.rb:330 1.806
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.733
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 13.185
Then Tails is running from USB drive "__internal" 0.854
And all tps features are active 2.612
And all persistent directories have safe access rights 2.791
When I disable the first tps feature 6.770
Then all tps features but the first one are active 2.204
And I shutdown Tails and wait for the computer to power off 15.771
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.352
Then all tps features but the first one are active 2.190
After features/support/hooks.rb:330 1.240
After features/support/hooks.rb:100 0.010
Tags: @product
24.726
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 11.028
Then persistence for "Persistent" is active 0.285
And I create a file in the Persistent directory 0.073
Then the file I created was copied to the Persistent Storage 0.068
When I disable the first tps feature 9.334
Then persistence for "Persistent" is not active 0.089
And the Persistent directory does not exist 0.063
When I enable the first tps feature 3.624
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:330 1.302
After features/support/hooks.rb:100 0.000
Tags: @product
21.562
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 9.284
Then persistence for "Persistent" is active 0.450
When I create a file in the Persistent directory 0.144
And I disable the first tps feature 7.389
And I delete the data of the Persistent Folder feature 4.221
Then the file I created does not exist on the Persistent Storage 0.070
After features/support/hooks.rb:330 1.265
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.472
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.785
And the network is plugged 0.118
And Tor is ready 20.221
And I take note of which tps features are available 0.628
When I write some files expected to persist 1.530
And I shutdown Tails and wait for the computer to power off 8.898
# 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.287
After features/support/hooks.rb:330 0.147
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.187
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.632
And the network is plugged 0.135
And Tor is ready 21.783
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.204
And I shutdown Tails and wait for the computer to power off 8.906
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.839
And I capture all network traffic 0.010
And the network is plugged 0.075
And Tor is ready 18.842
And I switch to the "persistent-con-current" NetworkManager connection 0.373
And the 1st network device has a spoofed MAC address configured 0.248
And no network device leaked the real MAC address 0.135
After features/support/hooks.rb:330 0.681
After features/support/hooks.rb:100 0.061
Tags: @product
57.175
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 12.278
And I enable persistence creation in Tails Greeter 1.452
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.443
Then I create a persistent partition with the default settings using the wizard that was already open 21.001
After features/support/hooks.rb:330 1.512
After features/support/hooks.rb:100 0.000
Tags: @product
4:34.696
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 11.053
When I enable persistence 41.665
Then no persistent Greeter options were restored 14.670
When I set all Greeter options to non-default values 27.454
And I log in to a new session in German (de) after having activated the Persistent Storage 53.265
Then all Greeter options are set to non-default values 0.466
When I cold reboot the computer 8.082
And the computer reboots Tails 1:0.557
Given I enable persistence 17.602
Then persistent Greeter options were restored 0.616
When I log in to a new session after having activated the Persistent Storage 38.622
Then all Greeter options are set to non-default values 0.640
After features/support/hooks.rb:330 1.399
After features/support/hooks.rb:100 0.008
Tags: @product
3:42.010
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.165
# 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 32.945
And I shutdown Tails and wait for the computer to power off 13.217
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:2.725
And I change the passphrase of the Persistent Storage back to the original 42.956
After features/support/hooks.rb:330 1.717
After features/support/hooks.rb:100 0.011
Tags: @product
55.457
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.967
And I log in to a new session without activating the Persistent Storage 23.562
Then persistence is disabled 0.217
But a Tails persistence partition exists on USB drive "__internal" 5.362
And all notifications have disappeared 8.974
When I delete the persistent partition 6.957
Then there is no persistence partition on USB drive "__internal" 0.414
After features/support/hooks.rb:330 1.699
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.705
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.346
When I write some dotfile expected to persist 0.371
And I shutdown Tails and wait for the computer to power off 10.905
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.694
Then the expected persistent dotfile is present in the filesystem 0.386
After features/support/hooks.rb:330 1.081
After features/support/hooks.rb:100 0.008
Tags: @product
1:39.286
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.174
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.171
When I try to enable persistence 1.614
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.011
When I log in to a new session after having activated the Persistent Storage 44.054
And all notifications have disappeared 6.256
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.263
And all tps features are enabled 2.338
And all tps features but the first one are active 2.401
After features/support/hooks.rb:330 1.512
After features/support/hooks.rb:100 0.000
Tags: @product
5:1.212
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 3:34.615
And I enable persistence 33.219
And I log in to a new session after having activated the Persistent Storage 47.501
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.897
And persistence is enabled 3.978
After features/support/hooks.rb:330 1.669
After features/support/hooks.rb:100 0.000
Tags: @product
31.349
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 8.678
And I enable persistence but something goes wrong during the LUKS header upgrade 21.936
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.735
After features/support/hooks.rb:330 0.753
After features/support/hooks.rb:100 0.000
Tags: @product
46.268
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.010
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.880
When I enable persistence 27.322
Then the filesystem of the Persistent Storage was repaired 0.109
And persistence is successfully enabled 2.945
After features/support/hooks.rb:330 3.444
After features/support/hooks.rb:100 0.000
Tags: @product
52.026
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.314
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.645
When I try to enable persistence 0.670
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.070
When I repair the filesystem of the Persistent Storage 1.326
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.003
And the filesystem of the Persistent Storage was repaired 1.269
When I close the filesystem repair dialog 1.297
Then persistence is successfully enabled 1.427
After features/support/hooks.rb:330 1.699
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.590
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 8.675
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.188
When I try to enable persistence 0.404
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.106
When I repair the filesystem of the Persistent Storage 1.261
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.089
When I log in to a new session 48.493
And all notifications have disappeared 10.293
# 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.512
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.686
When I close the "whisperback" window 1.744
Then the Tor Browser starts 9.142
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.990
After features/support/hooks.rb:330 2.256
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.432
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.996
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.461
And Tails detects disk read failures on the boot device 0.517
When I try to enable persistence 0.637
Then the Welcome Screen tells me that my hardware is probably failing 20.100
When I log in to a new session 50.881
And all notifications have disappeared 4.978
Then the Tor Browser starts 20.988
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.870
After features/support/hooks.rb:330 2.348
After features/support/hooks.rb:100 0.000