Project Number Date
test_Tails_ISO_devel 3262 31 Jan 2024, 12:27

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:41.076 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:9.290
Before features/support/hooks.rb:245 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.200
And I update APT using apt 12.430
And I install "python3-behave" using apt 19.543
Then the Tails Persistent Storage behave tests pass 3.115
After features/support/hooks.rb:291 0.782
After features/support/hooks.rb:75 0.000
Tags: @product
58.695
Before features/support/hooks.rb:245 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 31.987
When I log in to a new session without activating the Persistent Storage 21.072
Then Tails is running from USB drive "__internal" 0.354
And persistence is disabled 0.166
But a Tails persistence partition exists on USB drive "__internal" 5.114
After features/support/hooks.rb:291 0.963
After features/support/hooks.rb:75 0.000
Tags: @product
3:35.433
Before features/support/hooks.rb:245 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.409
Then Tails is running from USB drive "__internal" 0.535
When I create a file in the Persistent directory 0.124
And I create a persistent partition with the default settings 31.787
Then the file I created was copied to the Persistent Storage 0.604
When I shutdown Tails and wait for the computer to power off 11.138
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:40.354
Then persistence for "Persistent" is active 0.413
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:291 1.054
After features/support/hooks.rb:75 0.009
Tags: @product
1:5.779
Before features/support/hooks.rb:245 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.251
And the system is very low on memory 2.640
When I create a file in the Persistent directory 1.249
When I try to create a persistent partition 24.698
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.149
When I close the Persistent Storage app 2.488
And I free up some memory 1.454
And I create a persistent partition with the default settings 22.470
Then the file I created was copied to the Persistent Storage 0.375
After features/support/hooks.rb:291 1.125
After features/support/hooks.rb:75 0.000
Tags: @product
3:9.903
Before features/support/hooks.rb:245 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.474
Then Tails is running from USB drive "__internal" 0.333
And all tps features are active 1.995
And all persistent directories have safe access rights 2.235
When I disable the first tps feature 15.569
Then all tps features but the first one are active 1.945
And I shutdown Tails and wait for the computer to power off 16.240
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.070
Then all tps features but the first one are active 2.037
After features/support/hooks.rb:291 0.797
After features/support/hooks.rb:75 0.008
Tags: @product
38.157
Before features/support/hooks.rb:245 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.954
Then persistence for "Persistent" is active 0.071
And I create a file in the Persistent directory 0.059
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 15.342
Then persistence for "Persistent" is not active 0.066
And the Persistent directory does not exist 0.041
When I enable the first tps feature 13.398
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:291 0.714
After features/support/hooks.rb:75 0.000
Tags: @product
38.165
Before features/support/hooks.rb:245 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.894
Then persistence for "Persistent" is active 0.070
When I create a file in the Persistent directory 0.061
And I disable the first tps feature 15.630
And I delete the data of the Persistent Folder feature 13.237
Then the file I created does not exist on the Persistent Storage 0.270
After features/support/hooks.rb:291 0.700
After features/support/hooks.rb:75 0.000
Tags: @product
50.490
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.308
And the network is plugged 0.055
And Tor is ready 19.669
And I take note of which tps features are available 0.452
When I write some files expected to persist 1.428
And I shutdown Tails and wait for the computer to power off 6.083
# 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" 14.491
After features/support/hooks.rb:291 0.102
After features/support/hooks.rb:75 0.000
Tags: @product
3:36.744
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 8.626
And the network is plugged 0.050
And Tor is ready 45.077
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.172
And I shutdown Tails and wait for the computer to power off 8.146
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.922
And I capture all network traffic 0.006
And the network is plugged 0.052
And Tor is ready 19.037
And I switch to the "persistent-con-current" NetworkManager connection 0.346
And the 1st network device has a spoofed MAC address configured 0.098
And no network device leaked the real MAC address 0.207
After features/support/hooks.rb:291 0.626
After features/support/hooks.rb:75 0.063
Tags: @product
47.953
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 10.545
And I enable persistence creation in Tails Greeter 1.581
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.530
Then I create a persistent partition with the default settings using the wizard that was already open 15.296
After features/support/hooks.rb:291 1.514
After features/support/hooks.rb:75 0.000
Tags: @product
5:20.803
Before features/support/hooks.rb:245 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 15.940
When I enable persistence 40.697
Then no persistent Greeter options were restored 14.694
When I set all Greeter options to non-default values 23.185
And I log in to a new session in German (de) after having activated the Persistent Storage 56.557
Then all Greeter options are set to non-default values 0.201
When I cold reboot the computer 6.081
And the computer reboots Tails 59.955
Given I enable persistence 52.005
Then persistent Greeter options were restored 14.779
When I log in to a new session after having activated the Persistent Storage 36.470
Then all Greeter options are set to non-default values 0.234
After features/support/hooks.rb:291 0.829
After features/support/hooks.rb:75 0.009
Tags: @product
4:12.193
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 9.293
# 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 45.841
And I shutdown Tails and wait for the computer to power off 12.926
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:18.633
And I change the passphrase of the Persistent Storage back to the original 45.498
After features/support/hooks.rb:291 1.518
After features/support/hooks.rb:75 0.011
Tags: @product
59.199
Before features/support/hooks.rb:245 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.378
And I log in to a new session without activating the Persistent Storage 20.900
Then persistence is disabled 0.136
But a Tails persistence partition exists on USB drive "__internal" 6.227
And all notifications have disappeared 4.627
When I delete the persistent partition 16.538
Then there is no persistence partition on USB drive "__internal" 0.389
After features/support/hooks.rb:291 1.056
After features/support/hooks.rb:75 0.000
Tags: @product
2:32.777
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.277
When I write some dotfile expected to persist 0.073
And I shutdown Tails and wait for the computer to power off 6.161
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.892
Then the expected persistent dotfile is present in the filesystem 0.373
After features/support/hooks.rb:291 0.981
After features/support/hooks.rb:75 0.008
Tags: @product
1:38.001
Before features/support/hooks.rb:245 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.870
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.071
When I try to enable persistence 0.288
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.322
When I log in to a new session after having activated the Persistent Storage 42.232
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 16.089
And all tps features are enabled 2.307
And all tps features but the first one are active 1.818
After features/support/hooks.rb:291 0.911
After features/support/hooks.rb:75 0.000
Tags: @product
5:46.495
Before features/support/hooks.rb:245 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:27.465
And I enable persistence 32.632
And I log in to a new session after having activated the Persistent Storage 45.269
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.003
And persistence is enabled 0.125
After features/support/hooks.rb:291 1.070
After features/support/hooks.rb:75 0.000
Tags: @product
40.989
Before features/support/hooks.rb:245 0.004
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.893
And I enable persistence but something goes wrong during the LUKS header upgrade 31.474
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.621
After features/support/hooks.rb:291 0.694
After features/support/hooks.rb:75 0.000