Project Number Date
test_Tails_ISO_devel 3727 06 Mar 2025, 19:46

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 44:3.984 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:24.583
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.365
And I update APT using apt 3:19.430
And I install "python3-behave" using apt 25.573
Then the Tails Persistent Storage behave tests pass 2.214
After features/support/hooks.rb:330 0.663
After features/support/hooks.rb:100 0.000
Tags: @product
46.373
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 15.415
When I log in to a new session without activating the Persistent Storage 23.492
Then Tails is running from USB drive "__internal" 0.481
And persistence is disabled 0.356
But a Tails persistence partition exists on USB drive "__internal" 6.627
After features/support/hooks.rb:330 4.458
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.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 without a persistent partition and logged in 13.614
Then Tails is running from USB drive "__internal" 0.460
When I create a file in the Persistent directory 0.163
And I create a persistent partition with the default settings 27.943
Then the file I created was copied to the Persistent Storage 0.758
When I shutdown Tails and wait for the computer to power off 12.953
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.464
Then persistence for "Persistent" is active 0.455
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.591
After features/support/hooks.rb:100 0.008
Tags: @product
1:6.174
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 without a persistent partition and logged in 11.350
And the system is very low on memory 4.305
When I create a file in the Persistent directory 0.879
When I try to create a persistent partition 30.428
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.496
When I close the Persistent Storage app 2.910
And I free up some memory 1.767
And I create a persistent partition with the default settings 13.289
Then the file I created was copied to the Persistent Storage 0.745
After features/support/hooks.rb:330 1.982
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.128
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 13.036
Then Tails is running from USB drive "__internal" 0.791
And all tps features are active 2.642
And all persistent directories have safe access rights 2.722
When I disable the first tps feature 7.243
Then all tps features but the first one are active 2.123
And I shutdown Tails and wait for the computer to power off 12.692
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.842
Then all tps features but the first one are active 2.034
After features/support/hooks.rb:330 1.753
After features/support/hooks.rb:100 0.008
Tags: @product
22.813
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.603
Then persistence for "Persistent" is active 0.944
And I create a file in the Persistent directory 0.093
Then the file I created was copied to the Persistent Storage 0.082
When I disable the first tps feature 6.385
Then persistence for "Persistent" is not active 0.376
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.116
Then persistence for "Persistent" is active 0.066
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:330 1.379
After features/support/hooks.rb:100 0.000
Tags: @product
22.178
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 enabled and logged in 10.542
Then persistence for "Persistent" is active 0.092
When I create a file in the Persistent directory 0.120
And I disable the first tps feature 6.986
And I delete the data of the Persistent Folder feature 4.371
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:330 1.433
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.675
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 enabled and logged in 10.845
And the network is plugged 0.098
And Tor is ready 20.947
And I take note of which tps features are available 0.658
When I write some files expected to persist 1.563
And I shutdown Tails and wait for the computer to power off 8.832
# 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.729
After features/support/hooks.rb:330 0.181
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.067
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.153
And the network is plugged 0.081
And Tor is ready 22.643
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.201
And I shutdown Tails and wait for the computer to power off 8.709
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.315
And I capture all network traffic 0.009
And the network is plugged 0.078
And Tor is ready 21.334
And I switch to the "persistent-con-current" NetworkManager connection 0.342
And the 1st network device has a spoofed MAC address configured 0.080
And no network device leaked the real MAC address 0.117
After features/support/hooks.rb:330 0.759
After features/support/hooks.rb:100 0.066
Tags: @product
1:0.086
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.177
And I enable persistence creation in Tails Greeter 1.123
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.635
Then I create a persistent partition with the default settings using the wizard that was already open 25.150
After features/support/hooks.rb:330 2.340
After features/support/hooks.rb:100 0.000
Tags: @product
4:32.981
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 12.288
When I enable persistence 44.255
Then no persistent Greeter options were restored 14.330
When I set all Greeter options to non-default values 24.944
And I log in to a new session in German (de) after having activated the Persistent Storage 50.619
Then all Greeter options are set to non-default values 0.471
When I cold reboot the computer 7.466
And the computer reboots Tails 59.821
Given I enable persistence 18.613
Then persistent Greeter options were restored 0.542
When I log in to a new session after having activated the Persistent Storage 39.022
Then all Greeter options are set to non-default values 0.605
After features/support/hooks.rb:330 2.349
After features/support/hooks.rb:100 0.011
Tags: @product
3:43.259
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.036
# 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.138
And I shutdown Tails and wait for the computer to power off 12.586
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.102
And I change the passphrase of the Persistent Storage back to the original 33.394
After features/support/hooks.rb:330 1.605
After features/support/hooks.rb:100 0.010
Tags: @product
56.945
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 9.842
And I log in to a new session without activating the Persistent Storage 20.982
Then persistence is disabled 0.390
But a Tails persistence partition exists on USB drive "__internal" 9.774
And all notifications have disappeared 9.580
When I delete the persistent partition 5.885
Then there is no persistence partition on USB drive "__internal" 0.489
After features/support/hooks.rb:330 1.441
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.414
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 enabled and logged in 10.472
When I write some dotfile expected to persist 0.067
And I shutdown Tails and wait for the computer to power off 10.493
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.880
Then the expected persistent dotfile is present in the filesystem 0.500
After features/support/hooks.rb:330 0.785
After features/support/hooks.rb:100 0.008
Tags: @product
1:35.993
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.262
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.131
When I try to enable persistence 0.281
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.414
When I log in to a new session after having activated the Persistent Storage 40.600
And all notifications have disappeared 7.676
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.231
And all tps features are enabled 2.097
And all tps features but the first one are active 2.298
After features/support/hooks.rb:330 1.558
After features/support/hooks.rb:100 0.000
Tags: @product
5:9.651
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 3:38.626
And I enable persistence 36.867
And I log in to a new session after having activated the Persistent Storage 48.336
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.171
And persistence is enabled 2.649
After features/support/hooks.rb:330 1.746
After features/support/hooks.rb:100 0.000
Tags: @product
33.007
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.737
And I enable persistence but something goes wrong during the LUKS header upgrade 23.471
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.798
After features/support/hooks.rb:330 0.731
After features/support/hooks.rb:100 0.000
Tags: @product
49.139
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.272
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.207
When I enable persistence 27.599
Then the filesystem of the Persistent Storage was repaired 0.076
And persistence is successfully enabled 6.983
After features/support/hooks.rb:330 1.651
After features/support/hooks.rb:100 0.000
Tags: @product
51.285
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.709
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.793
When I try to enable persistence 0.452
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 20.957
When I repair the filesystem of the Persistent Storage 5.064
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.085
And the filesystem of the Persistent Storage was repaired 1.488
When I close the filesystem repair dialog 1.297
Then persistence is successfully enabled 1.435
After features/support/hooks.rb:330 1.867
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.331
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.037
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.122
When I try to enable persistence 0.265
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.870
When I repair the filesystem of the Persistent Storage 2.156
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.090
When I log in to a new session 40.972
And all notifications have disappeared 10.308
# 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.386
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.526
When I close the "whisperback" window 1.710
Then the Tor Browser starts 18.940
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.943
After features/support/hooks.rb:330 3.088
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.000
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.014
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.852
And Tails detects disk read failures on the boot device 1.663
When I try to enable persistence 0.403
Then the Welcome Screen tells me that my hardware is probably failing 31.917
When I log in to a new session 38.510
And all notifications have disappeared 8.400
Then the Tor Browser starts 21.406
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.832
After features/support/hooks.rb:330 2.346
After features/support/hooks.rb:100 0.000