Project Number Date
test_Tails_ISO_devel 3630 02 Jan 2025, 12:27

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 38:41.646 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:13.886
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:32.557
And I update APT using apt 13.653
And I install "python3-behave" using apt 25.486
Then the Tails Persistent Storage behave tests pass 2.189
After features/support/hooks.rb:326 0.672
After features/support/hooks.rb:100 0.000
Tags: @product
45.454
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 11.276
When I log in to a new session without activating the Persistent Storage 22.301
Then Tails is running from USB drive "__internal" 0.852
And persistence is disabled 0.315
But a Tails persistence partition exists on USB drive "__internal" 10.709
After features/support/hooks.rb:326 1.524
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.963
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.535
Then Tails is running from USB drive "__internal" 0.514
When I create a file in the Persistent directory 0.120
And I create a persistent partition with the default settings 23.801
Then the file I created was copied to the Persistent Storage 0.571
When I shutdown Tails and wait for the computer to power off 13.189
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.633
Then persistence for "Persistent" is active 0.513
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:326 0.978
After features/support/hooks.rb:100 0.008
Tags: @product
1:2.760
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.198
And the system is very low on memory 5.623
When I create a file in the Persistent directory 0.919
When I try to create a persistent partition 26.632
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.354
When I close the Persistent Storage app 2.514
And I free up some memory 1.813
And I create a persistent partition with the default settings 13.478
Then the file I created was copied to the Persistent Storage 0.225
After features/support/hooks.rb:326 1.763
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.561
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.342
Then Tails is running from USB drive "__internal" 0.637
And all tps features are active 2.171
And all persistent directories have safe access rights 2.448
When I disable the first tps feature 5.994
Then all tps features but the first one are active 2.066
And I shutdown Tails and wait for the computer to power off 10.754
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.791
Then all tps features but the first one are active 2.355
After features/support/hooks.rb:326 0.700
After features/support/hooks.rb:100 0.008
Tags: @product
19.049
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.262
Then persistence for "Persistent" is active 0.123
And I create a file in the Persistent directory 0.121
Then the file I created was copied to the Persistent Storage 0.082
When I disable the first tps feature 5.582
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.048
When I enable the first tps feature 3.615
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:326 1.117
After features/support/hooks.rb:100 0.000
Tags: @product
19.618
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.083
Then persistence for "Persistent" is active 0.753
When I create a file in the Persistent directory 0.099
And I disable the first tps feature 6.080
And I delete the data of the Persistent Folder feature 3.544
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:326 0.877
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.986
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 8.827
And the network is plugged 0.074
And Tor is ready 20.289
And I take note of which tps features are available 0.652
When I write some files expected to persist 1.449
And I shutdown Tails and wait for the computer to power off 8.633
# 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.058
After features/support/hooks.rb:326 0.143
After features/support/hooks.rb:100 0.000
Tags: @product
3:36.437
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.431
And the network is plugged 0.085
And Tor is ready 47.262
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.183
And I shutdown Tails and wait for the computer to power off 8.374
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.426
And I capture all network traffic 0.008
And the network is plugged 0.080
And Tor is ready 20.009
And I switch to the "persistent-con-current" NetworkManager connection 0.320
And the 1st network device has a spoofed MAC address configured 0.117
And no network device leaked the real MAC address 0.135
After features/support/hooks.rb:326 0.669
After features/support/hooks.rb:100 0.086
Tags: @product
1:3.179
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.888
And I enable persistence creation in Tails Greeter 1.110
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.931
Then I create a persistent partition with the default settings using the wizard that was already open 29.248
After features/support/hooks.rb:326 2.901
After features/support/hooks.rb:100 0.000
Tags: @product
4:29.377
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 11.184
When I enable persistence 38.517
Then no persistent Greeter options were restored 14.293
When I set all Greeter options to non-default values 24.900
And I log in to a new session in German (de) after having activated the Persistent Storage 54.872
Then all Greeter options are set to non-default values 0.462
When I cold reboot the computer 9.502
And the computer reboots Tails 58.892
Given I enable persistence 17.260
Then persistent Greeter options were restored 0.545
When I log in to a new session after having activated the Persistent Storage 38.524
Then all Greeter options are set to non-default values 0.419
After features/support/hooks.rb:326 0.972
After features/support/hooks.rb:100 0.009
Tags: @product
3:37.555
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.075
# 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 31.881
And I shutdown Tails and wait for the computer to power off 12.487
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.989
And I change the passphrase of the Persistent Storage back to the original 35.120
After features/support/hooks.rb:326 1.539
After features/support/hooks.rb:100 0.008
Tags: @product
58.647
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.675
And I log in to a new session without activating the Persistent Storage 22.929
Then persistence is disabled 0.442
But a Tails persistence partition exists on USB drive "__internal" 9.315
And all notifications have disappeared 10.030
When I delete the persistent partition 5.881
Then there is no persistence partition on USB drive "__internal" 0.372
After features/support/hooks.rb:326 0.789
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.131
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 9.215
When I write some dotfile expected to persist 0.069
And I shutdown Tails and wait for the computer to power off 8.447
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.057
Then the expected persistent dotfile is present in the filesystem 0.340
After features/support/hooks.rb:326 0.694
After features/support/hooks.rb:100 0.009
Tags: @product
1:36.803
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.021
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.284
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.294
When I log in to a new session after having activated the Persistent Storage 40.968
And all notifications have disappeared 8.797
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.825
And all tps features are enabled 2.537
And all tps features but the first one are active 1.988
After features/support/hooks.rb:326 1.370
After features/support/hooks.rb:100 0.000
Tags: @product
4:42.263
Before features/support/hooks.rb:269 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:15.945
And I enable persistence 35.355
And I log in to a new session after having activated the Persistent Storage 46.455
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.956
And persistence is enabled 2.551
After features/support/hooks.rb:326 1.191
After features/support/hooks.rb:100 0.000
Tags: @product
29.169
Before features/support/hooks.rb:269 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.546
And I enable persistence but something goes wrong during the LUKS header upgrade 19.879
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.743
After features/support/hooks.rb:326 0.711
After features/support/hooks.rb:100 0.000
Tags: @product
48.140
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 8.613
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.520
When I enable persistence 31.234
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 2.685
After features/support/hooks.rb:326 0.827
After features/support/hooks.rb:100 0.000
Tags: @product
25.680
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 9.150
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.053
When I try to enable persistence 0.511
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.922
When I repair the filesystem of the Persistent Storage 1.230
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.186
And the filesystem of the Persistent Storage was repaired 0.062
When I close the filesystem repair dialog 1.255
Then persistence is successfully enabled 1.307
After features/support/hooks.rb:326 0.729
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.957
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 8.761
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.108
When I try to enable persistence 0.286
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.248
When I repair the filesystem of the Persistent Storage 1.237
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.137
When I log in to a new session 38.210
And all notifications have disappeared 7.825
# 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.047
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.247
When I close the "whisperback" window 1.643
Then the Tor Browser starts 18.339
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.862
After features/support/hooks.rb:326 2.298
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:13.022
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 8.774
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.482
And Tails detects disk read failures on the boot device 1.527
When I try to enable persistence 0.395
Then the Welcome Screen tells me that my hardware is probably failing 5.086
When I log in to a new session 22.437
And all notifications have disappeared 7.129
Then the Tor Browser starts 21.417
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.769
After features/support/hooks.rb:326 1.426
After features/support/hooks.rb:100 0.000