Project Number Date
test_Tails_ISO_devel 3179 25 Nov 2023, 12:35

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 120 0 0 0 0 120 17 0 17 38:0.225 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:41.926
Before features/support/hooks.rb:245 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:55.157
And I update APT using apt 19.812
And I install "python3-behave" using apt 23.594
Then the Tails Persistent Storage behave tests pass 3.363
After features/support/hooks.rb:290 0.838
After features/support/hooks.rb:75 0.000
Tags: @product
41.362
Before features/support/hooks.rb:245 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.000
When I log in to a new session without activating the Persistent Storage 19.795
Then Tails is running from USB drive "__internal" 0.643
And persistence is disabled 0.190
But a Tails persistence partition exists on USB drive "__internal" 6.730
After features/support/hooks.rb:290 1.041
After features/support/hooks.rb:75 0.000
Tags: @product
2:54.091
Before features/support/hooks.rb:245 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.536
Then Tails is running from USB drive "__internal" 0.525
When I create a file in the Persistent directory 0.200
And I create a persistent partition with the default settings 31.885
Then the file I created was copied to the Persistent Storage 0.944
When I shutdown Tails and wait for the computer to power off 12.109
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:55.478
Then persistence for "Persistent" is active 0.320
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:290 1.052
After features/support/hooks.rb:75 0.011
Tags: @product
1:22.016
Before features/support/hooks.rb:245 0.009
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.142
And the system is very low on memory 2.453
When I create a file in the Persistent directory 0.997
When I try to create a persistent partition 29.115
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.170
When I close the Persistent Storage app 2.983
And I free up some memory 1.964
And I create a persistent partition with the default settings 29.915
Then the file I created was copied to the Persistent Storage 0.273
After features/support/hooks.rb:290 1.856
After features/support/hooks.rb:75 0.000
Tags: @product
3:29.258
Before features/support/hooks.rb:245 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 16.519
Then Tails is running from USB drive "__internal" 0.459
And all tps features are active 27.036
And all persistent directories have safe access rights 3.078
When I disable the first tps feature 16.819
Then all tps features but the first one are active 13.479
And I shutdown Tails and wait for the computer to power off 9.147
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:52.198
Then all tps features but the first one are active 10.519
After features/support/hooks.rb:290 0.681
After features/support/hooks.rb:75 0.010
Tags: @product
43.282
Before features/support/hooks.rb:245 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.090
Then persistence for "Persistent" is active 0.144
And I create a file in the Persistent directory 0.086
Then the file I created was copied to the Persistent Storage 0.089
When I disable the first tps feature 17.301
Then persistence for "Persistent" is not active 0.094
And the Persistent directory does not exist 0.069
When I enable the first tps feature 15.229
Then persistence for "Persistent" is active 0.091
And the file I created in the Persistent directory exists 0.087
After features/support/hooks.rb:290 0.885
After features/support/hooks.rb:75 0.000
Tags: @product
42.776
Before features/support/hooks.rb:245 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.541
Then persistence for "Persistent" is active 0.100
When I create a file in the Persistent directory 0.078
And I disable the first tps feature 16.977
And I delete the data of the Persistent Folder feature 15.816
Then the file I created does not exist on the Persistent Storage 0.262
After features/support/hooks.rb:290 0.964
After features/support/hooks.rb:75 0.000
Tags: @product
1:23.087
Before features/support/hooks.rb:245 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.569
And the network is plugged 0.053
And Tor is ready 48.494
And I take note of which tps features are available 0.769
When I write some files expected to persist 1.848
And I shutdown Tails and wait for the computer to power off 6.106
# 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" 16.245
After features/support/hooks.rb:290 0.164
After features/support/hooks.rb:75 0.000
Tags: @product
2:46.461
Before features/support/hooks.rb:245 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.598
And the network is plugged 0.044
And Tor is ready 16.589
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.258
And I shutdown Tails and wait for the computer to power off 6.072
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.123
And I capture all network traffic 0.010
And the network is plugged 0.054
And Tor is ready 14.752
And I switch to the "persistent-con-current" NetworkManager connection 0.506
And the 1st network device has a spoofed MAC address configured 0.133
And no network device leaked the real MAC address 0.316
After features/support/hooks.rb:290 0.724
After features/support/hooks.rb:75 0.081
Tags: @product
50.335
Before features/support/hooks.rb:245 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 11.659
And I enable persistence creation in Tails Greeter 1.130
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.918
Then I create a persistent partition with the default settings using the wizard that was already open 17.626
After features/support/hooks.rb:290 1.764
After features/support/hooks.rb:75 0.000
Tags: @product
4:30.858
Before features/support/hooks.rb:245 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.535
When I enable persistence 39.679
Then no persistent Greeter options were restored 14.694
When I set all Greeter options to non-default values 26.195
And I log in to a new session in German (de) after having activated the Persistent Storage 35.644
Then all Greeter options are set to non-default values 0.434
When I cold reboot the computer 5.138
And the computer reboots Tails 46.374
Given I enable persistence 50.389
Then persistent Greeter options were restored 14.870
When I log in to a new session after having activated the Persistent Storage 22.619
Then all Greeter options are set to non-default values 0.281
After features/support/hooks.rb:290 0.681
After features/support/hooks.rb:75 0.012
Tags: @product
4:2.983
Before features/support/hooks.rb:245 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.132
# 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 53.100
And I shutdown Tails and wait for the computer to power off 11.947
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:58.430
And I change the passphrase of the Persistent Storage back to the original 50.372
After features/support/hooks.rb:290 2.838
After features/support/hooks.rb:75 0.011
Tags: @product
1:9.964
Before features/support/hooks.rb:245 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 19.005
And I log in to a new session without activating the Persistent Storage 18.192
Then persistence is disabled 0.217
But a Tails persistence partition exists on USB drive "__internal" 8.389
And all notifications have disappeared 5.869
When I delete the persistent partition 17.826
Then there is no persistence partition on USB drive "__internal" 0.463
After features/support/hooks.rb:290 0.851
After features/support/hooks.rb:75 0.000
Tags: @product
2:9.222
Before features/support/hooks.rb:245 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.216
When I write some dotfile expected to persist 0.059
And I shutdown Tails and wait for the computer to power off 5.105
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:53.485
Then the expected persistent dotfile is present in the filesystem 0.355
After features/support/hooks.rb:290 0.725
After features/support/hooks.rb:75 0.016
Tags: @product
1:49.089
Before features/support/hooks.rb:245 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.212
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.070
When I try to enable persistence 0.284
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.248
When I log in to a new session after having activated the Persistent Storage 28.158
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 18.156
And all tps features are enabled 11.162
And all tps features but the first one are active 12.797
After features/support/hooks.rb:290 1.064
After features/support/hooks.rb:75 0.000
Tags: @product
6:0.497
Before features/support/hooks.rb:245 0.009
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:44.878
And I enable persistence 38.196
And I log in to a new session after having activated the Persistent Storage 36.454
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.792
And persistence is enabled 0.175
After features/support/hooks.rb:290 1.158
After features/support/hooks.rb:75 0.000
Tags: @product
43.010
Before features/support/hooks.rb:245 0.008
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 11.359
And I enable persistence but something goes wrong during the LUKS header upgrade 30.777
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.873
After features/support/hooks.rb:290 0.730
After features/support/hooks.rb:75 0.000