Project Number Date
test_Tails_ISO_devel 3190 12 Dec 2023, 12:15

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:50.205 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:6.094
Before features/support/hooks.rb:245 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:25.100
And I update APT using apt 17.112
And I install "python3-behave" using apt 20.134
Then the Tails Persistent Storage behave tests pass 3.747
After features/support/hooks.rb:291 0.787
After features/support/hooks.rb:75 0.000
Tags: @product
38.618
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 12.419
When I log in to a new session without activating the Persistent Storage 18.489
Then Tails is running from USB drive "__internal" 0.360
And persistence is disabled 0.158
But a Tails persistence partition exists on USB drive "__internal" 7.189
After features/support/hooks.rb:291 0.756
After features/support/hooks.rb:75 0.000
Tags: @product
2:58.380
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 13.544
Then Tails is running from USB drive "__internal" 0.399
When I create a file in the Persistent directory 0.131
And I create a persistent partition with the default settings 33.760
Then the file I created was copied to the Persistent Storage 0.764
When I shutdown Tails and wait for the computer to power off 21.771
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:47.607
Then persistence for "Persistent" is active 0.286
And the file I created in the Persistent directory exists 0.115
After features/support/hooks.rb:291 0.764
After features/support/hooks.rb:75 0.023
Tags: @product
1:12.721
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.963
And the system is very low on memory 3.533
When I create a file in the Persistent directory 0.684
When I try to create a persistent partition 27.669
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.580
When I close the Persistent Storage app 2.628
And I free up some memory 1.673
And I create a persistent partition with the default settings 24.720
Then the file I created was copied to the Persistent Storage 0.267
After features/support/hooks.rb:291 1.340
After features/support/hooks.rb:75 0.000
Tags: @product
2:29.202
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.735
Then Tails is running from USB drive "__internal" 0.439
And all tps features are active 2.470
And all persistent directories have safe access rights 2.887
When I disable the first tps feature 16.948
Then all tps features but the first one are active 2.474
And I shutdown Tails and wait for the computer to power off 5.084
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:46.608
Then all tps features but the first one are active 2.553
After features/support/hooks.rb:291 0.618
After features/support/hooks.rb:75 0.009
Tags: @product
41.513
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.487
Then persistence for "Persistent" is active 0.113
And I create a file in the Persistent directory 0.097
Then the file I created was copied to the Persistent Storage 0.102
When I disable the first tps feature 16.556
Then persistence for "Persistent" is not active 0.080
And the Persistent directory does not exist 0.064
When I enable the first tps feature 14.850
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:291 0.760
After features/support/hooks.rb:75 0.000
Tags: @product
41.685
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 9.241
Then persistence for "Persistent" is active 0.115
When I create a file in the Persistent directory 0.074
And I disable the first tps feature 16.692
And I delete the data of the Persistent Folder feature 15.272
Then the file I created does not exist on the Persistent Storage 0.289
After features/support/hooks.rb:291 0.917
After features/support/hooks.rb:75 0.000
Tags: @product
48.932
Before features/support/hooks.rb:245 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.455
And the network is plugged 0.073
And Tor is ready 15.411
And I take note of which tps features are available 0.622
When I write some files expected to persist 1.769
And I shutdown Tails and wait for the computer to power off 5.214
# 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.385
After features/support/hooks.rb:291 0.126
After features/support/hooks.rb:75 0.000
Tags: @product
2:27.394
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 9.822
And the network is plugged 0.050
And Tor is ready 14.084
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.324
And I shutdown Tails and wait for the computer to power off 5.074
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:43.550
And I capture all network traffic 0.018
And the network is plugged 0.055
And Tor is ready 13.641
And I switch to the "persistent-con-current" NetworkManager connection 0.342
And the 1st network device has a spoofed MAC address configured 0.169
And no network device leaked the real MAC address 0.260
After features/support/hooks.rb:291 0.700
After features/support/hooks.rb:75 0.050
Tags: @product
1:2.230
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.295
And I enable persistence creation in Tails Greeter 1.109
And I log in to a new session expecting no warning about the Persistent Storage not being activated 18.749
Then I create a persistent partition with the default settings using the wizard that was already open 31.075
After features/support/hooks.rb:291 1.464
After features/support/hooks.rb:75 0.000
Tags: @product
4:24.886
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.057
When I enable persistence 38.393
Then no persistent Greeter options were restored 17.866
When I set all Greeter options to non-default values 21.854
And I log in to a new session in German (de) after having activated the Persistent Storage 39.973
Then all Greeter options are set to non-default values 0.417
When I cold reboot the computer 5.258
And the computer reboots Tails 45.105
Given I enable persistence 48.301
Then persistent Greeter options were restored 14.818
When I log in to a new session after having activated the Persistent Storage 21.455
Then all Greeter options are set to non-default values 0.384
After features/support/hooks.rb:291 0.655
After features/support/hooks.rb:75 0.011
Tags: @product
3:46.938
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.729
# 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.629
And I shutdown Tails and wait for the computer to power off 10.545
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:45.992
And I change the passphrase of the Persistent Storage back to the original 47.039
After features/support/hooks.rb:291 1.303
After features/support/hooks.rb:75 0.009
Tags: @product
1:4.047
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 10.739
And I log in to a new session without activating the Persistent Storage 17.392
Then persistence is disabled 0.226
But a Tails persistence partition exists on USB drive "__internal" 13.471
And all notifications have disappeared 4.877
When I delete the persistent partition 17.139
Then there is no persistence partition on USB drive "__internal" 0.200
After features/support/hooks.rb:291 0.674
After features/support/hooks.rb:75 0.000
Tags: @product
1:57.150
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.143
When I write some dotfile expected to persist 0.172
And I shutdown Tails and wait for the computer to power off 5.106
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:42.350
Then the expected persistent dotfile is present in the filesystem 0.376
After features/support/hooks.rb:291 0.705
After features/support/hooks.rb:75 0.008
Tags: @product
1:29.485
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.021
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.067
When I try to enable persistence 0.300
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.747
When I log in to a new session after having activated the Persistent Storage 25.652
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 15.279
And all tps features are enabled 2.363
And all tps features but the first one are active 2.053
After features/support/hooks.rb:291 0.727
After features/support/hooks.rb:75 0.000
Tags: @product
5:19.881
Before features/support/hooks.rb:245 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 4:18.249
And I enable persistence 32.952
And I log in to a new session after having activated the Persistent Storage 27.518
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.033
And persistence is enabled 0.127
After features/support/hooks.rb:291 0.754
After features/support/hooks.rb:75 0.000
Tags: @product
41.041
Before features/support/hooks.rb:245 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.845
And I enable persistence but something goes wrong during the LUKS header upgrade 31.413
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.782
After features/support/hooks.rb:291 0.637
After features/support/hooks.rb:75 0.000