Project Number Date
test_Tails_ISO_devel 3396 21 May 2024, 13:28

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 121 0 0 0 0 121 17 0 17 38:2.011 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:28.836
Before features/support/hooks.rb:259 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:42.023
And I update APT using apt 18.806
And I install "python3-behave" using apt 25.682
Then the Tails Persistent Storage behave tests pass 2.324
After features/support/hooks.rb:305 0.753
After features/support/hooks.rb:89 0.000
Tags: @product
1:30.481
Before features/support/hooks.rb:259 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 51.672
When I log in to a new session without activating the Persistent Storage 27.053
Then Tails is running from USB drive "__internal" 0.638
And persistence is disabled 0.351
But a Tails persistence partition exists on USB drive "__internal" 10.765
After features/support/hooks.rb:305 1.173
After features/support/hooks.rb:89 0.000
Tags: @product
3:31.100
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 31.502
Then Tails is running from USB drive "__internal" 0.566
When I create a file in the Persistent directory 0.187
And I create a persistent partition with the default settings 24.857
Then the file I created was copied to the Persistent Storage 0.583
When I shutdown Tails and wait for the computer to power off 12.806
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.173
Then persistence for "Persistent" is active 0.364
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:305 0.911
After features/support/hooks.rb:89 0.011
Tags: @product
55.175
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.542
And the system is very low on memory 4.683
When I create a file in the Persistent directory 0.841
When I try to create a persistent partition 20.262
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.323
When I close the Persistent Storage app 2.581
And I free up some memory 1.277
And I create a persistent partition with the default settings 14.426
Then the file I created was copied to the Persistent Storage 0.236
After features/support/hooks.rb:305 1.043
After features/support/hooks.rb:89 0.000
Tags: @product
2:45.623
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.235
Then Tails is running from USB drive "__internal" 1.200
And all tps features are active 2.463
And all persistent directories have safe access rights 2.711
When I disable the first tps feature 5.286
Then all tps features but the first one are active 2.448
And I shutdown Tails and wait for the computer to power off 10.604
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.311
Then all tps features but the first one are active 2.361
After features/support/hooks.rb:305 0.627
After features/support/hooks.rb:89 0.011
Tags: @product
19.235
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.699
Then persistence for "Persistent" is active 0.191
And I create a file in the Persistent directory 0.082
Then the file I created was copied to the Persistent Storage 0.091
When I disable the first tps feature 5.857
Then persistence for "Persistent" is not active 0.066
And the Persistent directory does not exist 0.043
When I enable the first tps feature 3.071
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.060
After features/support/hooks.rb:305 0.714
After features/support/hooks.rb:89 0.000
Tags: @product
27.709
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 17.468
Then persistence for "Persistent" is active 0.087
When I create a file in the Persistent directory 0.063
And I disable the first tps feature 5.793
And I delete the data of the Persistent Folder feature 4.227
Then the file I created does not exist on the Persistent Storage 0.070
After features/support/hooks.rb:305 0.810
After features/support/hooks.rb:89 0.000
Tags: @product
1:0.992
Before features/support/hooks.rb:259 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.949
And the network is plugged 0.034
And Tor is ready 15.394
And I take note of which tps features are available 0.592
When I write some files expected to persist 1.509
And I shutdown Tails and wait for the computer to power off 8.568
# 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" 24.943
After features/support/hooks.rb:305 0.161
After features/support/hooks.rb:89 0.000
Tags: @product
3:34.980
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 28.633
And the network is plugged 0.061
And Tor is ready 17.901
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.195
And I shutdown Tails and wait for the computer to power off 10.892
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.743
And I capture all network traffic 0.008
And the network is plugged 0.048
And Tor is ready 21.797
And I switch to the "persistent-con-current" NetworkManager connection 0.351
And the 1st network device has a spoofed MAC address configured 0.095
And no network device leaked the real MAC address 0.252
After features/support/hooks.rb:305 0.671
After features/support/hooks.rb:89 0.052
Tags: @product
1:8.435
Before features/support/hooks.rb:259 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 14.080
And I enable persistence creation in Tails Greeter 1.165
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.260
Then I create a persistent partition with the default settings using the wizard that was already open 27.930
After features/support/hooks.rb:305 1.910
After features/support/hooks.rb:89 0.000
Tags: @product
4:55.201
Before features/support/hooks.rb:259 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 13.198
When I enable persistence 37.895
Then no persistent Greeter options were restored 15.897
When I set all Greeter options to non-default values 23.684
And I log in to a new session in German (de) after having activated the Persistent Storage 47.144
Then all Greeter options are set to non-default values 2.482
When I cold reboot the computer 7.681
And the computer reboots Tails 1:1.246
Given I enable persistence 33.041
Then persistent Greeter options were restored 15.884
When I log in to a new session after having activated the Persistent Storage 36.451
Then all Greeter options are set to non-default values 0.591
After features/support/hooks.rb:305 1.393
After features/support/hooks.rb:89 0.010
Tags: @product
3:31.308
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.129
# 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 30.734
And I shutdown Tails and wait for the computer to power off 14.304
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.158
And I change the passphrase of the Persistent Storage back to the original 28.982
After features/support/hooks.rb:305 1.953
After features/support/hooks.rb:89 0.011
Tags: @product
56.544
Before features/support/hooks.rb:259 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.165
And I log in to a new session without activating the Persistent Storage 20.240
Then persistence is disabled 0.401
But a Tails persistence partition exists on USB drive "__internal" 7.724
And all notifications have disappeared 10.657
When I delete the persistent partition 6.893
Then there is no persistence partition on USB drive "__internal" 0.461
After features/support/hooks.rb:305 0.917
After features/support/hooks.rb:89 0.000
Tags: @product
2:45.241
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.913
When I write some dotfile expected to persist 0.078
And I shutdown Tails and wait for the computer to power off 11.881
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.914
Then the expected persistent dotfile is present in the filesystem 0.453
After features/support/hooks.rb:305 0.738
After features/support/hooks.rb:89 0.020
Tags: @product
1:43.930
Before features/support/hooks.rb:259 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 8.841
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.140
When I try to enable persistence 0.263
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.470
When I log in to a new session after having activated the Persistent Storage 40.967
And all notifications have disappeared 9.612
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.747
And all tps features are enabled 3.522
And all tps features but the first one are active 2.363
After features/support/hooks.rb:305 1.157
After features/support/hooks.rb:89 0.000
Tags: @product
5:56.737
Before features/support/hooks.rb:259 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:32.903
And I enable persistence 36.707
And I log in to a new session after having activated the Persistent Storage 44.974
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.805
And persistence is enabled 0.347
After features/support/hooks.rb:305 2.478
After features/support/hooks.rb:89 0.000
Tags: @product
30.475
Before features/support/hooks.rb:259 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 8.716
And I enable persistence but something goes wrong during the LUKS header upgrade 20.793
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.965
After features/support/hooks.rb:305 0.745
After features/support/hooks.rb:89 0.000