Project Number Date
test_Tails_ISO_devel 3393 18 May 2024, 13:47

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 121 0 0 0 0 121 17 0 17 35:54.997 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:35.736
Before features/support/hooks.rb:259 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:46.876
And I update APT using apt 19.523
And I install "python3-behave" using apt 26.026
Then the Tails Persistent Storage behave tests pass 3.310
After features/support/hooks.rb:305 0.755
After features/support/hooks.rb:89 0.000
Tags: @product
47.749
Before features/support/hooks.rb:259 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 17.452
When I log in to a new session without activating the Persistent Storage 22.231
Then Tails is running from USB drive "__internal" 0.610
And persistence is disabled 0.421
But a Tails persistence partition exists on USB drive "__internal" 7.033
After features/support/hooks.rb:305 0.929
After features/support/hooks.rb:89 0.000
Tags: @product
3:18.811
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.830
Then Tails is running from USB drive "__internal" 0.642
When I create a file in the Persistent directory 0.131
And I create a persistent partition with the default settings 32.117
Then the file I created was copied to the Persistent Storage 0.759
When I shutdown Tails and wait for the computer to power off 15.600
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.368
Then persistence for "Persistent" is active 0.289
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:305 0.698
After features/support/hooks.rb:89 0.009
Tags: @product
1:9.272
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.474
And the system is very low on memory 7.394
When I create a file in the Persistent directory 1.819
When I try to create a persistent partition 26.168
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.216
When I close the Persistent Storage app 2.668
And I free up some memory 1.818
And I create a persistent partition with the default settings 15.484
Then the file I created was copied to the Persistent Storage 0.226
After features/support/hooks.rb:305 1.491
After features/support/hooks.rb:89 0.000
Tags: @product
2:47.057
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.475
Then Tails is running from USB drive "__internal" 0.431
And all tps features are active 2.319
And all persistent directories have safe access rights 2.551
When I disable the first tps feature 5.622
Then all tps features but the first one are active 2.185
And I shutdown Tails and wait for the computer to power off 18.226
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.831
Then all tps features but the first one are active 2.412
After features/support/hooks.rb:305 0.923
After features/support/hooks.rb:89 0.012
Tags: @product
19.639
Before features/support/hooks.rb:259 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.315
Then persistence for "Persistent" is active 0.069
And I create a file in the Persistent directory 0.102
Then the file I created was copied to the Persistent Storage 0.085
When I disable the first tps feature 5.588
Then persistence for "Persistent" is not active 0.094
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.144
Then persistence for "Persistent" is active 0.090
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:305 0.897
After features/support/hooks.rb:89 0.000
Tags: @product
19.812
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.565
Then persistence for "Persistent" is active 0.121
When I create a file in the Persistent directory 0.109
And I disable the first tps feature 5.404
And I delete the data of the Persistent Folder feature 3.556
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:305 0.965
After features/support/hooks.rb:89 0.000
Tags: @product
1:5.031
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.536
And the network is plugged 0.056
And Tor is ready 19.806
And I take note of which tps features are available 0.600
When I write some files expected to persist 1.396
And I shutdown Tails and wait for the computer to power off 8.874
# 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.759
After features/support/hooks.rb:305 0.106
After features/support/hooks.rb:89 0.000
Tags: @product
3:10.227
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.166
And the network is plugged 0.035
And Tor is ready 19.840
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.265
And I shutdown Tails and wait for the computer to power off 9.046
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.100
And I capture all network traffic 0.007
And the network is plugged 0.040
And Tor is ready 21.031
And I switch to the "persistent-con-current" NetworkManager connection 0.305
And the 1st network device has a spoofed MAC address configured 0.112
And no network device leaked the real MAC address 0.276
After features/support/hooks.rb:305 0.647
After features/support/hooks.rb:89 0.064
Tags: @product
1:17.196
Before features/support/hooks.rb:259 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 20.524
And I enable persistence creation in Tails Greeter 1.184
And I log in to a new session expecting no warning about the Persistent Storage not being activated 29.867
Then I create a persistent partition with the default settings using the wizard that was already open 25.619
After features/support/hooks.rb:305 1.597
After features/support/hooks.rb:89 0.000
Tags: @product
4:48.892
Before features/support/hooks.rb:259 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 13.435
When I enable persistence 36.706
Then no persistent Greeter options were restored 15.075
When I set all Greeter options to non-default values 22.161
And I log in to a new session in German (de) after having activated the Persistent Storage 50.203
Then all Greeter options are set to non-default values 0.499
When I cold reboot the computer 7.540
And the computer reboots Tails 57.903
Given I enable persistence 31.132
Then persistent Greeter options were restored 15.406
When I log in to a new session after having activated the Persistent Storage 37.515
Then all Greeter options are set to non-default values 1.313
After features/support/hooks.rb:305 0.852
After features/support/hooks.rb:89 0.010
Tags: @product
3:49.126
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.115
# 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 41.324
And I shutdown Tails and wait for the computer to power off 14.754
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.879
And I change the passphrase of the Persistent Storage back to the original 33.052
After features/support/hooks.rb:305 2.786
After features/support/hooks.rb:89 0.011
Tags: @product
57.116
Before features/support/hooks.rb:259 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.083
And I log in to a new session without activating the Persistent Storage 23.648
Then persistence is disabled 0.374
But a Tails persistence partition exists on USB drive "__internal" 5.501
And all notifications have disappeared 10.465
When I delete the persistent partition 6.697
Then there is no persistence partition on USB drive "__internal" 0.345
After features/support/hooks.rb:305 0.850
After features/support/hooks.rb:89 0.000
Tags: @product
2:26.565
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.875
When I write some dotfile expected to persist 0.121
And I shutdown Tails and wait for the computer to power off 10.524
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.701
Then the expected persistent dotfile is present in the filesystem 0.342
After features/support/hooks.rb:305 0.631
After features/support/hooks.rb:89 0.012
Tags: @product
1:35.524
Before features/support/hooks.rb:259 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.218
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.290
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.922
When I log in to a new session after having activated the Persistent Storage 36.798
And all notifications have disappeared 7.739
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.784
And all tps features are enabled 2.500
And all tps features but the first one are active 2.186
After features/support/hooks.rb:305 1.014
After features/support/hooks.rb:89 0.000
Tags: @product
4:49.279
Before features/support/hooks.rb:259 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:33.648
And I enable persistence 36.576
And I log in to a new session after having activated the Persistent Storage 36.747
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.813
And persistence is enabled 0.493
After features/support/hooks.rb:305 1.386
After features/support/hooks.rb:89 0.000
Tags: @product
37.957
Before features/support/hooks.rb:259 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 8.740
And I enable persistence but something goes wrong during the LUKS header upgrade 28.433
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.782
After features/support/hooks.rb:305 0.739
After features/support/hooks.rb:89 0.000