Project Number Date
test_Tails_ISO_feature-arti 32 17 Apr 2025, 20:29

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 43:20.135 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:20.467
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:38.017
And I update APT using apt 12.655
And I install "python3-behave" using apt 26.951
Then the Tails Persistent Storage behave tests pass 2.843
After features/support/hooks.rb:330 0.843
After features/support/hooks.rb:100 0.000
Tags: @product
47.289
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 12.952
When I log in to a new session without activating the Persistent Storage 24.980
Then Tails is running from USB drive "__internal" 0.537
And persistence is disabled 0.342
But a Tails persistence partition exists on USB drive "__internal" 8.476
After features/support/hooks.rb:330 1.482
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.816
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 15.479
Then Tails is running from USB drive "__internal" 0.514
When I create a file in the Persistent directory 0.147
And I create a persistent partition with the default settings 25.250
Then the file I created was copied to the Persistent Storage 3.004
When I shutdown Tails and wait for the computer to power off 13.716
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.108
Then persistence for "Persistent" is active 0.517
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:330 2.282
After features/support/hooks.rb:100 0.013
Tags: @product
1:9.706
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 without a persistent partition and logged in 12.177
And the system is very low on memory 5.439
When I create a file in the Persistent directory 1.052
When I try to create a persistent partition 30.002
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.340
When I close the Persistent Storage app 2.871
And I free up some memory 3.186
And I create a persistent partition with the default settings 14.325
Then the file I created was copied to the Persistent Storage 0.312
After features/support/hooks.rb:330 2.883
After features/support/hooks.rb:100 0.000
Tags: @product
3:34.923
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.066
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.284
Then Tails is running from USB drive "__internal" 0.676
And all tps features are active 8.495
And all persistent directories have safe access rights 3.000
When I disable the first tps feature 11.001
Then all tps features but the first one are active 14.182
And I shutdown Tails and wait for the computer to power off 16.070
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.856
Then all tps features but the first one are active 2.355
After features/support/hooks.rb:330 1.379
After features/support/hooks.rb:100 0.012
Tags: @product
20.242
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.799
Then persistence for "Persistent" is active 0.096
And I create a file in the Persistent directory 0.065
Then the file I created was copied to the Persistent Storage 0.082
When I disable the first tps feature 5.768
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.144
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.480
After features/support/hooks.rb:100 0.000
Tags: @product
19.414
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.399
Then persistence for "Persistent" is active 0.261
When I create a file in the Persistent directory 0.125
And I disable the first tps feature 5.773
And I delete the data of the Persistent Folder feature 3.775
Then the file I created does not exist on the Persistent Storage 0.078
After features/support/hooks.rb:330 1.727
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.361
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 persistent partition enabled and logged in 10.120
And the network is plugged 0.611
And Tor is ready 18.807
And I take note of which tps features are available 1.295
When I write some files expected to persist 1.629
And I shutdown Tails and wait for the computer to power off 8.383
# 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.514
After features/support/hooks.rb:330 0.118
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.219
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.476
And the network is plugged 0.112
And Tor is ready 18.732
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.207
And I shutdown Tails and wait for the computer to power off 8.695
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.212
And I capture all network traffic 0.011
And the network is plugged 0.111
And Tor is ready 17.963
And I switch to the "persistent-con-current" NetworkManager connection 0.453
And the 1st network device has a spoofed MAC address configured 0.068
And no network device leaked the real MAC address 0.174
After features/support/hooks.rb:330 0.689
After features/support/hooks.rb:100 0.069
Tags: @product
1:1.941
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 13.868
And I enable persistence creation in Tails Greeter 1.148
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.791
Then I create a persistent partition with the default settings using the wizard that was already open 25.133
After features/support/hooks.rb:330 2.968
After features/support/hooks.rb:100 0.000
Tags: @product
4:52.191
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 16.929
When I enable persistence 42.698
Then no persistent Greeter options were restored 14.634
When I set all Greeter options to non-default values 30.306
And I log in to a new session in German (de) after having activated the Persistent Storage 46.664
Then all Greeter options are set to non-default values 0.779
When I cold reboot the computer 7.769
And the computer reboots Tails 1:4.518
Given I enable persistence 24.197
Then persistent Greeter options were restored 0.568
When I log in to a new session after having activated the Persistent Storage 42.807
Then all Greeter options are set to non-default values 0.319
After features/support/hooks.rb:330 2.007
After features/support/hooks.rb:100 0.011
Tags: @product
3:52.716
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 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 33.770
And I shutdown Tails and wait for the computer to power off 14.959
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.268
And I change the passphrase of the Persistent Storage back to the original 34.552
After features/support/hooks.rb:330 2.843
After features/support/hooks.rb:100 0.011
Tags: @product
1:7.148
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.953
And I log in to a new session without activating the Persistent Storage 22.893
Then persistence is disabled 0.451
But a Tails persistence partition exists on USB drive "__internal" 18.969
And all notifications have disappeared 8.692
When I delete the persistent partition 5.948
Then there is no persistence partition on USB drive "__internal" 0.239
After features/support/hooks.rb:330 1.591
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.077
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.511
When I write some dotfile expected to persist 0.099
And I shutdown Tails and wait for the computer to power off 10.682
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.184
Then the expected persistent dotfile is present in the filesystem 0.599
After features/support/hooks.rb:330 1.233
After features/support/hooks.rb:100 0.012
Tags: @product
1:38.547
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 persistent partition and stopped at Tails Greeter's login screen 9.151
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.096
When I try to enable persistence 0.298
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.069
When I log in to a new session after having activated the Persistent Storage 41.163
And all notifications have disappeared 7.799
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.804
And all tps features are enabled 2.460
And all tps features but the first one are active 2.703
After features/support/hooks.rb:330 1.716
After features/support/hooks.rb:100 0.000
Tags: @product
5:38.206
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:6.272
And I enable persistence 42.458
And I log in to a new session after having activated the Persistent Storage 42.712
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.416
And persistence is enabled 4.347
After features/support/hooks.rb:330 2.076
After features/support/hooks.rb:100 0.000
Tags: @product
42.114
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.021
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.700
And I enable persistence but something goes wrong during the LUKS header upgrade 30.421
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.992
After features/support/hooks.rb:330 1.031
After features/support/hooks.rb:100 0.000
Tags: @product
50.850
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 persistent partition and stopped at Tails Greeter's login screen 9.909
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.018
When I enable persistence 29.814
Then the filesystem of the Persistent Storage was repaired 0.113
And persistence is successfully enabled 2.994
After features/support/hooks.rb:330 1.649
After features/support/hooks.rb:100 0.000
Tags: @product
51.949
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.881
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.742
When I try to enable persistence 0.421
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.252
When I repair the filesystem of the Persistent Storage 5.076
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.384
And the filesystem of the Persistent Storage was repaired 2.577
When I close the filesystem repair dialog 1.190
Then persistence is successfully enabled 1.423
After features/support/hooks.rb:330 1.645
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.944
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.598
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.118
When I try to enable persistence 0.339
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.863
When I repair the filesystem of the Persistent Storage 1.271
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 40.004
And all notifications have disappeared 6.049
# 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" 2.467
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.251
When I close the "whisperback" window 1.529
Then the Tor Browser starts 21.380
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.993
After features/support/hooks.rb:330 2.175
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.004
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 persistent partition and stopped at Tails Greeter's login screen 10.332
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.514
And Tails detects disk read failures on the boot device 1.585
When I try to enable persistence 0.471
Then the Welcome Screen tells me that my hardware is probably failing 18.386
When I log in to a new session 45.465
And all notifications have disappeared 7.689
Then the Tor Browser starts 23.679
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.878
After features/support/hooks.rb:330 3.381
After features/support/hooks.rb:100 0.000