Project Number Date
test_Tails_ISO_devel 3290 20 Feb 2024, 18:04

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 42:2.718 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:9.318
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:23.676
And I update APT using apt 21.134
And I install "python3-behave" using apt 20.768
Then the Tails Persistent Storage behave tests pass 3.739
After features/support/hooks.rb:291 0.712
After features/support/hooks.rb:75 0.000
Tags: @product
34.561
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.059
When I log in to a new session without activating the Persistent Storage 16.039
Then Tails is running from USB drive "__internal" 0.527
And persistence is disabled 0.315
But a Tails persistence partition exists on USB drive "__internal" 5.619
After features/support/hooks.rb:291 0.866
After features/support/hooks.rb:75 0.000
Tags: @product
3:51.050
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 11.216
Then Tails is running from USB drive "__internal" 0.365
When I create a file in the Persistent directory 0.149
And I create a persistent partition with the default settings 31.191
Then the file I created was copied to the Persistent Storage 1.311
When I shutdown Tails and wait for the computer to power off 11.163
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:55.195
Then persistence for "Persistent" is active 0.363
And the file I created in the Persistent directory exists 0.094
After features/support/hooks.rb:291 0.825
After features/support/hooks.rb:75 0.008
Tags: @product
1:9.662
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 12.734
And the system is very low on memory 3.086
When I create a file in the Persistent directory 0.890
When I try to create a persistent partition 24.447
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.438
When I close the Persistent Storage app 2.549
And I free up some memory 1.622
And I create a persistent partition with the default settings 23.620
Then the file I created was copied to the Persistent Storage 0.272
After features/support/hooks.rb:291 1.387
After features/support/hooks.rb:75 0.000
Tags: @product
3:35.449
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 10.214
Then Tails is running from USB drive "__internal" 0.410
And all tps features are active 2.131
And all persistent directories have safe access rights 2.589
When I disable the first tps feature 16.271
Then all tps features but the first one are active 2.066
And I shutdown Tails and wait for the computer to power off 9.283
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:49.922
Then all tps features but the first one are active 2.560
After features/support/hooks.rb:291 0.829
After features/support/hooks.rb:75 0.009
Tags: @product
38.650
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 8.999
Then persistence for "Persistent" is active 0.062
And I create a file in the Persistent directory 0.069
Then the file I created was copied to the Persistent Storage 0.081
When I disable the first tps feature 16.012
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.122
When I enable the first tps feature 13.073
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:291 0.745
After features/support/hooks.rb:75 0.000
Tags: @product
40.328
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.294
Then persistence for "Persistent" is active 0.084
When I create a file in the Persistent directory 0.075
And I disable the first tps feature 16.975
And I delete the data of the Persistent Folder feature 13.679
Then the file I created does not exist on the Persistent Storage 0.217
After features/support/hooks.rb:291 0.737
After features/support/hooks.rb:75 0.000
Tags: @product
56.718
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.706
And the network is plugged 0.036
And Tor is ready 20.657
And I take note of which tps features are available 0.564
When I write some files expected to persist 1.401
And I shutdown Tails and wait for the computer to power off 8.060
# 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.291
After features/support/hooks.rb:291 0.143
After features/support/hooks.rb:75 0.000
Tags: @product
3:38.215
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.195
And the network is plugged 0.053
And Tor is ready 15.991
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.183
And I shutdown Tails and wait for the computer to power off 9.157
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:44.756
And I capture all network traffic 0.015
And the network is plugged 0.037
And Tor is ready 18.071
And I switch to the "persistent-con-current" NetworkManager connection 0.407
And the 1st network device has a spoofed MAC address configured 0.087
And no network device leaked the real MAC address 0.258
After features/support/hooks.rb:291 0.675
After features/support/hooks.rb:75 0.058
Tags: @product
53.679
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.901
And I enable persistence creation in Tails Greeter 1.097
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.016
Then I create a persistent partition with the default settings using the wizard that was already open 20.663
After features/support/hooks.rb:291 1.690
After features/support/hooks.rb:75 0.000
Tags: @product
6:19.951
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 14.720
When I enable persistence 42.493
Then no persistent Greeter options were restored 15.210
When I set all Greeter options to non-default values 26.468
And I log in to a new session in German (de) after having activated the Persistent Storage 1:15.608
Then all Greeter options are set to non-default values 0.335
When I cold reboot the computer 9.179
And the computer reboots Tails 1:7.944
Given I enable persistence 51.679
Then persistent Greeter options were restored 14.583
When I log in to a new session after having activated the Persistent Storage 1:1.438
Then all Greeter options are set to non-default values 0.290
After features/support/hooks.rb:291 1.296
After features/support/hooks.rb:75 0.011
Tags: @product
4:44.781
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.025
# 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 47.668
And I shutdown Tails and wait for the computer to power off 12.893
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:45.357
And I change the passphrase of the Persistent Storage back to the original 48.835
After features/support/hooks.rb:291 2.262
After features/support/hooks.rb:75 0.009
Tags: @product
1:1.064
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 11.174
And I log in to a new session without activating the Persistent Storage 16.303
Then persistence is disabled 0.343
But a Tails persistence partition exists on USB drive "__internal" 8.326
And all notifications have disappeared 8.447
When I delete the persistent partition 15.901
Then there is no persistence partition on USB drive "__internal" 0.567
After features/support/hooks.rb:291 0.942
After features/support/hooks.rb:75 0.000
Tags: @product
3:11.322
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 11.062
When I write some dotfile expected to persist 0.072
And I shutdown Tails and wait for the computer to power off 6.075
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:53.771
Then the expected persistent dotfile is present in the filesystem 0.341
After features/support/hooks.rb:291 0.798
After features/support/hooks.rb:75 0.018
Tags: @product
2:13.837
Before features/support/hooks.rb:245 0.015
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.836
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.305
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.092
When I log in to a new session after having activated the Persistent Storage 1:6.807
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 15.144
And all tps features are enabled 2.485
And all tps features but the first one are active 2.087
After features/support/hooks.rb:291 1.394
After features/support/hooks.rb:75 0.000
Tags: @product
5:42.889
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:55.264
And I enable persistence 42.240
And I log in to a new session after having activated the Persistent Storage 1:3.849
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.213
And persistence is enabled 0.321
After features/support/hooks.rb:291 1.678
After features/support/hooks.rb:75 0.000
Tags: @product
41.236
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.559
And I enable persistence but something goes wrong during the LUKS header upgrade 30.955
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.721
After features/support/hooks.rb:291 1.192
After features/support/hooks.rb:75 0.000