Project Number Date
test_Tails_ISO_stable 4545 01 Dec 2023, 12:32

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 33:44.200 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:6.748
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:25.197
And I update APT using apt 17.874
And I install "python3-behave" using apt 19.961
Then the Tails Persistent Storage behave tests pass 3.715
After features/support/hooks.rb:291 0.706
After features/support/hooks.rb:75 0.000
Tags: @product
46.871
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 15.643
When I log in to a new session without activating the Persistent Storage 18.239
Then Tails is running from USB drive "__internal" 0.710
And persistence is disabled 0.206
But a Tails persistence partition exists on USB drive "__internal" 12.071
After features/support/hooks.rb:291 1.070
After features/support/hooks.rb:75 0.000
Tags: @product
2:57.939
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 15.616
Then Tails is running from USB drive "__internal" 0.397
When I create a file in the Persistent directory 0.150
And I create a persistent partition with the default settings 34.198
Then the file I created was copied to the Persistent Storage 0.524
When I shutdown Tails and wait for the computer to power off 12.472
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:54.190
Then persistence for "Persistent" is active 0.314
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:291 1.049
After features/support/hooks.rb:75 0.010
Tags: @product
1:11.788
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 10.603
And the system is very low on memory 2.243
When I create a file in the Persistent directory 0.797
When I try to create a persistent partition 28.619
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.154
When I close the Persistent Storage app 2.608
And I free up some memory 1.261
And I create a persistent partition with the default settings 25.119
Then the file I created was copied to the Persistent Storage 0.383
After features/support/hooks.rb:291 1.728
After features/support/hooks.rb:75 0.000
Tags: @product
2:29.412
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 10.114
Then Tails is running from USB drive "__internal" 0.436
And all tps features are active 2.410
And all persistent directories have safe access rights 2.929
When I disable the first tps feature 16.426
Then all tps features but the first one are active 2.252
And I shutdown Tails and wait for the computer to power off 6.094
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:46.421
Then all tps features but the first one are active 2.326
After features/support/hooks.rb:291 0.691
After features/support/hooks.rb:75 0.036
Tags: @product
42.712
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.195
Then persistence for "Persistent" is active 0.141
And I create a file in the Persistent directory 0.079
Then the file I created was copied to the Persistent Storage 0.091
When I disable the first tps feature 16.717
Then persistence for "Persistent" is not active 0.068
And the Persistent directory does not exist 0.058
When I enable the first tps feature 15.219
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.053
After features/support/hooks.rb:291 0.872
After features/support/hooks.rb:75 0.000
Tags: @product
42.035
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.406
Then persistence for "Persistent" is active 0.155
When I create a file in the Persistent directory 0.075
And I disable the first tps feature 16.880
And I delete the data of the Persistent Folder feature 15.262
Then the file I created does not exist on the Persistent Storage 0.255
After features/support/hooks.rb:291 0.798
After features/support/hooks.rb:75 0.000
Tags: @product
53.169
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 8.958
And the network is plugged 0.043
And Tor is ready 15.257
And I take note of which tps features are available 0.755
When I write some files expected to persist 1.772
And I shutdown Tails and wait for the computer to power off 10.222
# 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.159
After features/support/hooks.rb:291 0.109
After features/support/hooks.rb:75 0.000
Tags: @product
2:45.636
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.242
And the network is plugged 0.041
And Tor is ready 19.986
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.250
And I shutdown Tails and wait for the computer to power off 8.077
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:50.974
And I capture all network traffic 0.019
And the network is plugged 0.034
And Tor is ready 16.161
And I switch to the "persistent-con-current" NetworkManager connection 0.449
And the 1st network device has a spoofed MAC address configured 0.162
And no network device leaked the real MAC address 0.236
After features/support/hooks.rb:291 0.821
After features/support/hooks.rb:75 0.053
Tags: @product
51.180
Before features/support/hooks.rb:245 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.409
And I enable persistence creation in Tails Greeter 1.142
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.723
Then I create a persistent partition with the default settings using the wizard that was already open 18.904
After features/support/hooks.rb:291 1.219
After features/support/hooks.rb:75 0.000
Tags: @product
4:25.127
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 11.825
When I enable persistence 36.700
Then no persistent Greeter options were restored 18.669
When I set all Greeter options to non-default values 22.321
And I log in to a new session in German (de) after having activated the Persistent Storage 34.947
Then all Greeter options are set to non-default values 0.322
When I cold reboot the computer 5.042
And the computer reboots Tails 46.387
Given I enable persistence 50.086
Then persistent Greeter options were restored 14.667
When I log in to a new session after having activated the Persistent Storage 23.896
Then all Greeter options are set to non-default values 0.260
After features/support/hooks.rb:291 0.904
After features/support/hooks.rb:75 0.027
Tags: @product
3:37.818
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.728
# 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 42.082
And I shutdown Tails and wait for the computer to power off 12.679
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:52.885
And I change the passphrase of the Persistent Storage back to the original 40.442
After features/support/hooks.rb:291 1.285
After features/support/hooks.rb:75 0.053
Tags: @product
55.927
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 9.171
And I log in to a new session without activating the Persistent Storage 16.700
Then persistence is disabled 0.210
But a Tails persistence partition exists on USB drive "__internal" 7.057
And all notifications have disappeared 5.527
When I delete the persistent partition 16.898
Then there is no persistence partition on USB drive "__internal" 0.361
After features/support/hooks.rb:291 0.831
After features/support/hooks.rb:75 0.000
Tags: @product
2:9.766
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.772
When I write some dotfile expected to persist 0.072
And I shutdown Tails and wait for the computer to power off 5.227
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:54.336
Then the expected persistent dotfile is present in the filesystem 0.358
After features/support/hooks.rb:291 0.735
After features/support/hooks.rb:75 0.009
Tags: @product
1:24.852
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 9.246
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.073
When I try to enable persistence 0.240
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.516
When I log in to a new session after having activated the Persistent Storage 28.153
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 15.119
And all tps features are enabled 2.388
And all tps features but the first one are active 2.113
After features/support/hooks.rb:291 0.834
After features/support/hooks.rb:75 0.000
Tags: @product
5:3.430
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 3:57.305
And I enable persistence 31.197
And I log in to a new session after having activated the Persistent Storage 33.974
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.788
And persistence is enabled 0.163
After features/support/hooks.rb:291 0.856
After features/support/hooks.rb:75 0.000
Tags: @product
39.780
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.279
And I enable persistence but something goes wrong during the LUKS header upgrade 29.743
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.757
After features/support/hooks.rb:291 0.668
After features/support/hooks.rb:75 0.000