Project Number Date
test_Tails_ISO_devel 3217 30 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 32:45.049 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:3.525
Before features/support/hooks.rb:245 0.009
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:21.705
And I update APT using apt 18.430
And I install "python3-behave" using apt 19.875
Then the Tails Persistent Storage behave tests pass 3.514
After features/support/hooks.rb:291 0.806
After features/support/hooks.rb:75 0.000
Tags: @product
36.454
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 12.025
When I log in to a new session without activating the Persistent Storage 18.080
Then Tails is running from USB drive "__internal" 0.410
And persistence is disabled 0.218
But a Tails persistence partition exists on USB drive "__internal" 5.719
After features/support/hooks.rb:291 0.793
After features/support/hooks.rb:75 0.000
Tags: @product
2:46.167
Before features/support/hooks.rb:245 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.024
Then Tails is running from USB drive "__internal" 0.524
When I create a file in the Persistent directory 0.155
And I create a persistent partition with the default settings 31.197
Then the file I created was copied to the Persistent Storage 0.480
When I shutdown Tails and wait for the computer to power off 9.113
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:49.284
Then persistence for "Persistent" is active 0.304
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:291 0.657
After features/support/hooks.rb:75 0.010
Tags: @product
1:10.179
Before features/support/hooks.rb:245 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.455
And the system is very low on memory 3.620
When I create a file in the Persistent directory 1.250
When I try to create a persistent partition 26.195
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.335
When I close the Persistent Storage app 2.580
And I free up some memory 1.068
And I create a persistent partition with the default settings 24.387
Then the file I created was copied to the Persistent Storage 0.285
After features/support/hooks.rb:291 0.818
After features/support/hooks.rb:75 0.000
Tags: @product
2:30.330
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.804
Then Tails is running from USB drive "__internal" 0.466
And all tps features are active 2.457
And all persistent directories have safe access rights 2.560
When I disable the first tps feature 17.567
Then all tps features but the first one are active 2.333
And I shutdown Tails and wait for the computer to power off 5.072
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:46.669
Then all tps features but the first one are active 2.398
After features/support/hooks.rb:291 0.673
After features/support/hooks.rb:75 0.047
Tags: @product
42.211
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.633
Then persistence for "Persistent" is active 0.099
And I create a file in the Persistent directory 0.094
Then the file I created was copied to the Persistent Storage 0.082
When I disable the first tps feature 16.924
Then persistence for "Persistent" is not active 0.089
And the Persistent directory does not exist 0.060
When I enable the first tps feature 15.079
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:291 0.802
After features/support/hooks.rb:75 0.000
Tags: @product
42.019
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.272
Then persistence for "Persistent" is active 0.088
When I create a file in the Persistent directory 0.086
And I disable the first tps feature 17.033
And I delete the data of the Persistent Folder feature 15.271
Then the file I created does not exist on the Persistent Storage 0.266
After features/support/hooks.rb:291 0.825
After features/support/hooks.rb:75 0.000
Tags: @product
51.140
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.765
And the network is plugged 0.043
And Tor is ready 17.160
And I take note of which tps features are available 0.785
When I write some files expected to persist 1.804
And I shutdown Tails and wait for the computer to power off 6.051
# 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" 15.528
After features/support/hooks.rb:291 0.119
After features/support/hooks.rb:75 0.000
Tags: @product
2:38.354
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.105
And the network is plugged 0.042
And Tor is ready 14.628
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.221
And I shutdown Tails and wait for the computer to power off 7.074
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:51.497
And I capture all network traffic 0.009
And the network is plugged 0.061
And Tor is ready 14.801
And I switch to the "persistent-con-current" NetworkManager connection 0.451
And the 1st network device has a spoofed MAC address configured 0.200
And no network device leaked the real MAC address 0.259
After features/support/hooks.rb:291 0.643
After features/support/hooks.rb:75 0.092
Tags: @product
1:9.241
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.391
And I enable persistence creation in Tails Greeter 1.102
And I log in to a new session expecting no warning about the Persistent Storage not being activated 39.872
Then I create a persistent partition with the default settings using the wizard that was already open 16.875
After features/support/hooks.rb:291 1.239
After features/support/hooks.rb:75 0.000
Tags: @product
4:15.609
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 10.876
When I enable persistence 36.272
Then no persistent Greeter options were restored 14.071
When I set all Greeter options to non-default values 22.579
And I log in to a new session in German (de) after having activated the Persistent Storage 35.241
Then all Greeter options are set to non-default values 0.402
When I cold reboot the computer 7.025
And the computer reboots Tails 45.022
Given I enable persistence 49.800
Then persistent Greeter options were restored 14.233
When I log in to a new session after having activated the Persistent Storage 19.765
Then all Greeter options are set to non-default values 0.318
After features/support/hooks.rb:291 0.677
After features/support/hooks.rb:75 0.010
Tags: @product
3:48.078
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.599
# 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.900
And I shutdown Tails and wait for the computer to power off 11.598
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:53.743
And I change the passphrase of the Persistent Storage back to the original 47.235
After features/support/hooks.rb:291 1.995
After features/support/hooks.rb:75 0.010
Tags: @product
55.244
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 10.033
And I log in to a new session without activating the Persistent Storage 17.604
Then persistence is disabled 0.249
But a Tails persistence partition exists on USB drive "__internal" 5.971
And all notifications have disappeared 4.214
When I delete the persistent partition 16.852
Then there is no persistence partition on USB drive "__internal" 0.317
After features/support/hooks.rb:291 0.725
After features/support/hooks.rb:75 0.000
Tags: @product
2:4.549
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.201
When I write some dotfile expected to persist 0.090
And I shutdown Tails and wait for the computer to power off 5.097
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:49.837
Then the expected persistent dotfile is present in the filesystem 0.322
After features/support/hooks.rb:291 0.647
After features/support/hooks.rb:75 0.009
Tags: @product
1:21.274
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 8.903
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.058
When I try to enable persistence 0.285
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 25.875
When I log in to a new session after having activated the Persistent Storage 23.563
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 18.070
And all tps features are enabled 2.375
And all tps features but the first one are active 2.142
After features/support/hooks.rb:291 1.245
After features/support/hooks.rb:75 0.000
Tags: @product
4:31.441
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 3:24.504
And I enable persistence 32.306
And I log in to a new session after having activated the Persistent Storage 33.549
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.886
And persistence is enabled 0.194
After features/support/hooks.rb:291 0.763
After features/support/hooks.rb:75 0.000
Tags: @product
39.228
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.703
And I enable persistence but something goes wrong during the LUKS header upgrade 29.738
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.786
After features/support/hooks.rb:291 0.653
After features/support/hooks.rb:75 0.000