Project Number Date
test_Tails_ISO_devel 3289 20 Feb 2024, 12:36

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 43:13.876 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:5.109
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:28.256
And I update APT using apt 11.867
And I install "python3-behave" using apt 22.640
Then the Tails Persistent Storage behave tests pass 2.345
After features/support/hooks.rb:291 1.080
After features/support/hooks.rb:75 0.000
Tags: @product
43.700
Before features/support/hooks.rb:245 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 15.635
When I log in to a new session without activating the Persistent Storage 21.828
Then Tails is running from USB drive "__internal" 0.296
And persistence is disabled 0.292
But a Tails persistence partition exists on USB drive "__internal" 5.648
After features/support/hooks.rb:291 0.878
After features/support/hooks.rb:75 0.000
Tags: @product
3:53.501
Before features/support/hooks.rb:245 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.240
Then Tails is running from USB drive "__internal" 0.485
When I create a file in the Persistent directory 0.131
And I create a persistent partition with the default settings 30.020
Then the file I created was copied to the Persistent Storage 0.753
When I shutdown Tails and wait for the computer to power off 10.070
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:0.368
Then persistence for "Persistent" is active 0.359
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:291 0.869
After features/support/hooks.rb:75 0.009
Tags: @product
1:8.415
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.592
And the system is very low on memory 2.670
When I create a file in the Persistent directory 0.977
When I try to create a persistent partition 26.192
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.314
When I close the Persistent Storage app 2.825
And I free up some memory 1.614
And I create a persistent partition with the default settings 23.015
Then the file I created was copied to the Persistent Storage 0.213
After features/support/hooks.rb:291 1.274
After features/support/hooks.rb:75 0.000
Tags: @product
3:38.200
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.646
Then Tails is running from USB drive "__internal" 0.574
And all tps features are active 2.442
And all persistent directories have safe access rights 2.971
When I disable the first tps feature 15.520
Then all tps features but the first one are active 1.990
And I shutdown Tails and wait for the computer to power off 8.203
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:52.465
Then all tps features but the first one are active 4.385
After features/support/hooks.rb:291 0.871
After features/support/hooks.rb:75 0.011
Tags: @product
38.755
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.376
Then persistence for "Persistent" is active 0.157
And I create a file in the Persistent directory 0.114
Then the file I created was copied to the Persistent Storage 0.091
When I disable the first tps feature 15.331
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.054
When I enable the first tps feature 13.403
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:291 1.355
After features/support/hooks.rb:75 0.000
Tags: @product
40.113
Before features/support/hooks.rb:245 0.026
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.455
Then persistence for "Persistent" is active 0.067
When I create a file in the Persistent directory 0.188
And I disable the first tps feature 15.287
And I delete the data of the Persistent Folder feature 14.766
Then the file I created does not exist on the Persistent Storage 0.346
After features/support/hooks.rb:291 1.473
After features/support/hooks.rb:75 0.000
Tags: @product
1:24.865
Before features/support/hooks.rb:245 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.981
And the network is plugged 0.036
And Tor is ready 49.578
And I take note of which tps features are available 0.643
When I write some files expected to persist 1.587
And I shutdown Tails and wait for the computer to power off 7.157
# 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.881
After features/support/hooks.rb:291 0.197
After features/support/hooks.rb:75 0.000
Tags: @product
3:46.854
Before features/support/hooks.rb:245 0.013
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.358
And the network is plugged 0.044
And Tor is ready 19.010
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.174
And I shutdown Tails and wait for the computer to power off 8.062
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:47.752
And I capture all network traffic 0.006
And the network is plugged 0.468
And Tor is ready 21.079
And I switch to the "persistent-con-current" NetworkManager connection 0.492
And the 1st network device has a spoofed MAC address configured 0.099
And no network device leaked the real MAC address 0.305
After features/support/hooks.rb:291 0.680
After features/support/hooks.rb:75 0.061
Tags: @product
1:11.151
Before features/support/hooks.rb:245 0.009
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 28.268
And I enable persistence creation in Tails Greeter 1.335
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.207
Then I create a persistent partition with the default settings using the wizard that was already open 19.340
After features/support/hooks.rb:291 1.754
After features/support/hooks.rb:75 0.000
Tags: @product
6:26.276
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 13.096
When I enable persistence 41.980
Then no persistent Greeter options were restored 14.750
When I set all Greeter options to non-default values 27.235
And I log in to a new session in German (de) after having activated the Persistent Storage 1:27.293
Then all Greeter options are set to non-default values 0.214
When I cold reboot the computer 6.031
And the computer reboots Tails 59.532
Given I enable persistence 52.411
Then persistent Greeter options were restored 15.214
When I log in to a new session after having activated the Persistent Storage 1:8.219
Then all Greeter options are set to non-default values 0.296
After features/support/hooks.rb:291 0.928
After features/support/hooks.rb:75 0.011
Tags: @product
4:49.405
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.560
# 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.384
And I shutdown Tails and wait for the computer to power off 11.876
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:52.195
And I change the passphrase of the Persistent Storage back to the original 50.387
After features/support/hooks.rb:291 1.779
After features/support/hooks.rb:75 0.008
Tags: @product
1:9.629
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 20.010
And I log in to a new session without activating the Persistent Storage 21.083
Then persistence is disabled 0.233
But a Tails persistence partition exists on USB drive "__internal" 7.146
And all notifications have disappeared 5.463
When I delete the persistent partition 15.162
Then there is no persistence partition on USB drive "__internal" 0.529
After features/support/hooks.rb:291 1.232
After features/support/hooks.rb:75 0.000
Tags: @product
3:6.791
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.666
When I write some dotfile expected to persist 0.153
And I shutdown Tails and wait for the computer to power off 7.170
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:49.389
Then the expected persistent dotfile is present in the filesystem 0.412
After features/support/hooks.rb:291 0.928
After features/support/hooks.rb:75 0.007
Tags: @product
2:11.308
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 9.368
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.401
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.609
When I log in to a new session after having activated the Persistent Storage 1:13.021
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 15.499
And all tps features are enabled 2.403
And all tps features but the first one are active 1.918
After features/support/hooks.rb:291 0.817
After features/support/hooks.rb:75 0.000
Tags: @product
5:39.356
Before features/support/hooks.rb:245 0.005
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:48.467
And I enable persistence 35.144
And I log in to a new session after having activated the Persistent Storage 1:14.906
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.729
And persistence is enabled 0.109
After features/support/hooks.rb:291 0.653
After features/support/hooks.rb:75 0.000
Tags: @product
40.439
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 9.917
And I enable persistence but something goes wrong during the LUKS header upgrade 29.781
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.740
After features/support/hooks.rb:291 0.646
After features/support/hooks.rb:75 0.000