Project Number Date
test_Tails_ISO_devel 3739 14 Mar 2025, 13:39

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 49:40.969 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
7:32.897
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:11.295
And I update APT using apt 4:22.479
And I install "python3-behave" using apt 56.400
Then the Tails Persistent Storage behave tests pass 2.721
After features/support/hooks.rb:330 0.713
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.190
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 28.565
When I log in to a new session without activating the Persistent Storage 25.205
Then Tails is running from USB drive "__internal" 0.623
And persistence is disabled 0.345
But a Tails persistence partition exists on USB drive "__internal" 9.451
After features/support/hooks.rb:330 1.773
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.472
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 without a persistent partition and logged in 16.277
Then Tails is running from USB drive "__internal" 0.617
When I create a file in the Persistent directory 0.168
And I create a persistent partition with the default settings 27.553
Then the file I created was copied to the Persistent Storage 0.564
When I shutdown Tails and wait for the computer to power off 12.547
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.335
Then persistence for "Persistent" is active 0.336
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.653
After features/support/hooks.rb:100 0.012
Tags: @product
1:6.709
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 without a persistent partition and logged in 13.601
And the system is very low on memory 4.807
When I create a file in the Persistent directory 1.184
When I try to create a persistent partition 28.451
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.295
When I close the Persistent Storage app 2.597
And I free up some memory 1.534
And I create a persistent partition with the default settings 13.534
Then the file I created was copied to the Persistent Storage 0.702
After features/support/hooks.rb:330 2.088
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.724
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 12.568
Then Tails is running from USB drive "__internal" 1.346
And all tps features are active 3.712
And all persistent directories have safe access rights 2.946
When I disable the first tps feature 6.845
Then all tps features but the first one are active 2.244
And I shutdown Tails and wait for the computer to power off 13.801
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.999
Then all tps features but the first one are active 2.259
After features/support/hooks.rb:330 1.127
After features/support/hooks.rb:100 0.008
Tags: @product
23.690
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.012
Then persistence for "Persistent" is active 0.081
And I create a file in the Persistent directory 0.063
Then the file I created was copied to the Persistent Storage 0.152
When I disable the first tps feature 9.756
Then persistence for "Persistent" is not active 0.111
And the Persistent directory does not exist 0.074
When I enable the first tps feature 3.258
Then persistence for "Persistent" is active 0.092
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:330 1.605
After features/support/hooks.rb:100 0.000
Tags: @product
21.515
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.482
Then persistence for "Persistent" is active 0.243
When I create a file in the Persistent directory 0.136
And I disable the first tps feature 6.641
And I delete the data of the Persistent Folder feature 3.930
Then the file I created does not exist on the Persistent Storage 0.081
After features/support/hooks.rb:330 1.620
After features/support/hooks.rb:100 0.000
Tags: @product
1:37.030
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.310
And the network is plugged 0.101
And Tor is ready 49.957
And I take note of which tps features are available 0.693
When I write some files expected to persist 1.686
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" 25.305
After features/support/hooks.rb:330 0.160
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.702
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.852
And the network is plugged 0.082
And Tor is ready 21.553
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.200
And I shutdown Tails and wait for the computer to power off 8.782
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.025
And I capture all network traffic 0.008
And the network is plugged 0.105
And Tor is ready 20.480
And I switch to the "persistent-con-current" NetworkManager connection 0.346
And the 1st network device has a spoofed MAC address configured 0.096
And no network device leaked the real MAC address 0.166
After features/support/hooks.rb:330 0.680
After features/support/hooks.rb:100 0.054
Tags: @product
1:13.371
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 15.633
And I enable persistence creation in Tails Greeter 1.171
And I log in to a new session expecting no warning about the Persistent Storage not being activated 29.413
Then I create a persistent partition with the default settings using the wizard that was already open 27.153
After features/support/hooks.rb:330 2.004
After features/support/hooks.rb:100 0.000
Tags: @product
4:35.963
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 25.229
When I enable persistence 35.371
Then no persistent Greeter options were restored 14.505
When I set all Greeter options to non-default values 26.881
And I log in to a new session in German (de) after having activated the Persistent Storage 46.218
Then all Greeter options are set to non-default values 0.718
When I cold reboot the computer 7.437
And the computer reboots Tails 1:3.016
Given I enable persistence 19.203
Then persistent Greeter options were restored 0.605
When I log in to a new session after having activated the Persistent Storage 36.426
Then all Greeter options are set to non-default values 0.348
After features/support/hooks.rb:330 1.324
After features/support/hooks.rb:100 0.010
Tags: @product
4:27.062
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 12.603
# 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 44.765
And I shutdown Tails and wait for the computer to power off 12.991
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:38.530
And I change the passphrase of the Persistent Storage back to the original 38.170
After features/support/hooks.rb:330 1.495
After features/support/hooks.rb:100 0.055
Tags: @product
53.834
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 9.638
And I log in to a new session without activating the Persistent Storage 21.300
Then persistence is disabled 0.305
But a Tails persistence partition exists on USB drive "__internal" 5.974
And all notifications have disappeared 9.445
When I delete the persistent partition 6.778
Then there is no persistence partition on USB drive "__internal" 0.390
After features/support/hooks.rb:330 1.353
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.789
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.883
When I write some dotfile expected to persist 0.064
And I shutdown Tails and wait for the computer to power off 11.183
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.224
Then the expected persistent dotfile is present in the filesystem 0.434
After features/support/hooks.rb:330 1.179
After features/support/hooks.rb:100 0.007
Tags: @product
1:47.827
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.809
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.306
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.424
When I log in to a new session after having activated the Persistent Storage 40.724
And all notifications have disappeared 8.748
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.237
And all tps features are enabled 3.395
And all tps features but the first one are active 3.087
After features/support/hooks.rb:330 2.012
After features/support/hooks.rb:100 0.000
Tags: @product
6:23.238
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 4:40.174
And I enable persistence 46.478
And I log in to a new session after having activated the Persistent Storage 47.850
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.709
And persistence is enabled 4.025
After features/support/hooks.rb:330 1.646
After features/support/hooks.rb:100 0.000
Tags: @product
31.678
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 10.091
And I enable persistence but something goes wrong during the LUKS header upgrade 20.795
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.790
After features/support/hooks.rb:330 0.785
After features/support/hooks.rb:100 0.000
Tags: @product
51.975
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.299
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.479
When I enable persistence 32.499
Then the filesystem of the Persistent Storage was repaired 0.113
And persistence is successfully enabled 2.581
After features/support/hooks.rb:330 1.725
After features/support/hooks.rb:100 0.000
Tags: @product
52.907
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 8.786
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.655
When I try to enable persistence 0.418
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.326
When I repair the filesystem of the Persistent Storage 1.892
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.503
And the filesystem of the Persistent Storage was repaired 1.481
When I close the filesystem repair dialog 1.252
Then persistence is successfully enabled 1.590
After features/support/hooks.rb:330 1.624
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.797
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.852
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.114
When I try to enable persistence 0.266
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.834
When I repair the filesystem of the Persistent Storage 1.391
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.099
When I log in to a new session 36.476
And all notifications have disappeared 7.980
# 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.521
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.188
When I close the "whisperback" window 1.470
Then the Tor Browser starts 21.628
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.972
After features/support/hooks.rb:330 2.004
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.590
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.177
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.218
And Tails detects disk read failures on the boot device 1.622
When I try to enable persistence 0.418
Then the Welcome Screen tells me that my hardware is probably failing 20.687
When I log in to a new session 51.446
And all notifications have disappeared 8.699
Then the Tor Browser starts 22.419
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.901
After features/support/hooks.rb:330 2.348
After features/support/hooks.rb:100 0.000