Project Number Date
test_Tails_ISO_stable 5575 14 Apr 2025, 22:17

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 45:8.434 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:57.983
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:49.885
And I update APT using apt 2:42.000
And I install "python3-behave" using apt 2:23.277
Then the Tails Persistent Storage behave tests pass 2.820
After features/support/hooks.rb:330 0.635
After features/support/hooks.rb:100 0.000
Tags: @product
50.911
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 11.618
When I log in to a new session without activating the Persistent Storage 29.043
Then Tails is running from USB drive "__internal" 0.581
And persistence is disabled 0.368
But a Tails persistence partition exists on USB drive "__internal" 9.299
After features/support/hooks.rb:330 1.385
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.763
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 15.485
Then Tails is running from USB drive "__internal" 1.637
When I create a file in the Persistent directory 0.138
And I create a persistent partition with the default settings 24.763
Then the file I created was copied to the Persistent Storage 2.098
When I shutdown Tails and wait for the computer to power off 15.009
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.024
Then persistence for "Persistent" is active 0.521
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:330 1.083
After features/support/hooks.rb:100 0.009
Tags: @product
57.147
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 logged in 10.795
And the system is very low on memory 2.948
When I create a file in the Persistent directory 0.882
When I try to create a persistent partition 23.073
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.245
When I close the Persistent Storage app 2.567
And I free up some memory 3.484
And I create a persistent partition with the default settings 12.909
Then the file I created was copied to the Persistent Storage 0.241
After features/support/hooks.rb:330 2.452
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.035
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 13.395
Then Tails is running from USB drive "__internal" 0.645
And all tps features are active 2.522
And all persistent directories have safe access rights 2.499
When I disable the first tps feature 5.611
Then all tps features but the first one are active 2.415
And I shutdown Tails and wait for the computer to power off 14.804
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.056
Then all tps features but the first one are active 2.085
After features/support/hooks.rb:330 1.539
After features/support/hooks.rb:100 0.007
Tags: @product
19.802
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.201
Then persistence for "Persistent" is active 0.100
And I create a file in the Persistent directory 0.162
Then the file I created was copied to the Persistent Storage 0.091
When I disable the first tps feature 5.874
Then persistence for "Persistent" is not active 0.082
And the Persistent directory does not exist 0.049
When I enable the first tps feature 3.079
Then persistence for "Persistent" is active 0.087
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 1.392
After features/support/hooks.rb:100 0.000
Tags: @product
19.902
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.604
Then persistence for "Persistent" is active 0.313
When I create a file in the Persistent directory 0.118
And I disable the first tps feature 6.139
And I delete the data of the Persistent Folder feature 3.663
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 1.397
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.766
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.833
And the network is plugged 0.118
And Tor is ready 21.357
And I take note of which tps features are available 0.659
When I write some files expected to persist 1.631
And I shutdown Tails and wait for the computer to power off 8.590
# 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.574
After features/support/hooks.rb:330 0.091
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.383
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.337
And the network is plugged 0.071
And Tor is ready 23.894
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.290
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:4.981
And I capture all network traffic 0.005
And the network is plugged 0.081
And Tor is ready 22.639
And I switch to the "persistent-con-current" NetworkManager connection 0.488
And the 1st network device has a spoofed MAC address configured 0.096
And no network device leaked the real MAC address 0.121
After features/support/hooks.rb:330 0.561
After features/support/hooks.rb:100 0.041
Tags: @product
58.838
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.494
And I enable persistence creation in Tails Greeter 1.137
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.130
Then I create a persistent partition with the default settings using the wizard that was already open 22.076
After features/support/hooks.rb:330 2.499
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.385
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 11.617
When I enable persistence 34.689
Then no persistent Greeter options were restored 15.739
When I set all Greeter options to non-default values 26.451
And I log in to a new session in German (de) after having activated the Persistent Storage 52.847
Then all Greeter options are set to non-default values 0.391
When I cold reboot the computer 8.012
And the computer reboots Tails 59.389
Given I enable persistence 18.052
Then persistent Greeter options were restored 0.564
When I log in to a new session after having activated the Persistent Storage 38.038
Then all Greeter options are set to non-default values 0.590
After features/support/hooks.rb:330 1.581
After features/support/hooks.rb:100 0.009
Tags: @product
3:51.753
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.962
# 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 49.584
And I shutdown Tails and wait for the computer to power off 14.478
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.496
And I change the passphrase of the Persistent Storage back to the original 33.231
After features/support/hooks.rb:330 2.674
After features/support/hooks.rb:100 0.015
Tags: @product
58.269
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 10.077
And I log in to a new session without activating the Persistent Storage 22.799
Then persistence is disabled 0.390
But a Tails persistence partition exists on USB drive "__internal" 7.728
And all notifications have disappeared 9.420
When I delete the persistent partition 6.906
Then there is no persistence partition on USB drive "__internal" 0.946
After features/support/hooks.rb:330 1.521
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.138
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.696
When I write some dotfile expected to persist 0.074
And I shutdown Tails and wait for the computer to power off 8.601
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.282
Then the expected persistent dotfile is present in the filesystem 0.483
After features/support/hooks.rb:330 1.331
After features/support/hooks.rb:100 0.010
Tags: @product
1:41.014
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.786
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.090
When I try to enable persistence 0.259
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.192
When I log in to a new session after having activated the Persistent Storage 42.827
And all notifications have disappeared 8.534
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.834
And all tps features are enabled 3.300
And all tps features but the first one are active 2.189
After features/support/hooks.rb:330 1.202
After features/support/hooks.rb:100 0.000
Tags: @product
4:58.780
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:39.090
And I enable persistence 30.978
And I log in to a new session after having activated the Persistent Storage 43.691
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.779
And persistence is enabled 3.240
After features/support/hooks.rb:330 1.649
After features/support/hooks.rb:100 0.000
Tags: @product
31.245
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 9.436
And I enable persistence but something goes wrong during the LUKS header upgrade 21.007
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.802
After features/support/hooks.rb:330 0.684
After features/support/hooks.rb:100 0.000
Tags: @product
47.928
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.164
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.924
When I enable persistence 27.180
Then the filesystem of the Persistent Storage was repaired 0.108
And persistence is successfully enabled 6.551
After features/support/hooks.rb:330 1.479
After features/support/hooks.rb:100 0.000
Tags: @product
48.960
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.877
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.973
When I try to enable persistence 0.379
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.766
When I repair the filesystem of the Persistent Storage 1.287
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.683
And the filesystem of the Persistent Storage was repaired 4.302
When I close the filesystem repair dialog 1.276
Then persistence is successfully enabled 1.414
After features/support/hooks.rb:330 1.448
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.284
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.023
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.101
When I try to enable persistence 0.263
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.869
When I repair the filesystem of the Persistent Storage 1.296
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.094
When I log in to a new session 40.835
And all notifications have disappeared 8.769
# 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.409
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.105
When I close the "whisperback" window 1.530
Then the Tor Browser starts 21.135
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.851
After features/support/hooks.rb:330 2.612
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.135
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 10.512
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.106
And Tails detects disk read failures on the boot device 1.618
When I try to enable persistence 0.444
Then the Welcome Screen tells me that my hardware is probably failing 18.022
When I log in to a new session 48.485
And all notifications have disappeared 9.224
Then the Tor Browser starts 19.883
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.837
After features/support/hooks.rb:330 1.944
After features/support/hooks.rb:100 0.000