Project Number Date
test_Tails_ISO_devel 3261 30 Jan 2024, 17:14

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 31:20.673 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:59.856
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:17.753
And I update APT using apt 18.756
And I install "python3-behave" using apt 20.351
Then the Tails Persistent Storage behave tests pass 2.995
After features/support/hooks.rb:291 0.642
After features/support/hooks.rb:75 0.000
Tags: @product
48.602
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.942
When I log in to a new session without activating the Persistent Storage 29.621
Then Tails is running from USB drive "__internal" 0.444
And persistence is disabled 0.222
But a Tails persistence partition exists on USB drive "__internal" 6.371
After features/support/hooks.rb:291 1.041
After features/support/hooks.rb:75 0.000
Tags: @product
2:37.555
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 11.124
Then Tails is running from USB drive "__internal" 0.381
When I create a file in the Persistent directory 0.126
And I create a persistent partition with the default settings 29.856
Then the file I created was copied to the Persistent Storage 0.549
When I shutdown Tails and wait for the computer to power off 9.218
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:45.976
Then persistence for "Persistent" is active 0.259
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:291 0.768
After features/support/hooks.rb:75 0.009
Tags: @product
1:9.140
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 9.947
And the system is very low on memory 2.146
When I create a file in the Persistent directory 1.115
When I try to create a persistent partition 27.694
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.126
When I close the Persistent Storage app 2.605
And I free up some memory 1.530
And I create a persistent partition with the default settings 23.769
Then the file I created was copied to the Persistent Storage 0.206
After features/support/hooks.rb:291 1.254
After features/support/hooks.rb:75 0.000
Tags: @product
2:35.889
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.547
Then Tails is running from USB drive "__internal" 0.453
And all tps features are active 2.326
And all persistent directories have safe access rights 2.667
When I disable the first tps feature 16.423
Then all tps features but the first one are active 2.089
And I shutdown Tails and wait for the computer to power off 5.196
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:54.777
Then all tps features but the first one are active 2.407
After features/support/hooks.rb:291 0.642
After features/support/hooks.rb:75 0.009
Tags: @product
40.606
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 8.649
Then persistence for "Persistent" is active 0.077
And I create a file in the Persistent directory 0.109
Then the file I created was copied to the Persistent Storage 0.098
When I disable the first tps feature 16.537
Then persistence for "Persistent" is not active 0.064
And the Persistent directory does not exist 0.064
When I enable the first tps feature 14.862
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:291 0.857
After features/support/hooks.rb:75 0.000
Tags: @product
41.238
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.058
Then persistence for "Persistent" is active 0.111
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 16.677
And I delete the data of the Persistent Folder feature 15.080
Then the file I created does not exist on the Persistent Storage 0.230
After features/support/hooks.rb:291 0.850
After features/support/hooks.rb:75 0.000
Tags: @product
52.017
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 8.567
And the network is plugged 0.042
And Tor is ready 17.087
And I take note of which tps features are available 0.724
When I write some files expected to persist 1.829
And I shutdown Tails and wait for the computer to power off 9.053
# 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" 14.712
After features/support/hooks.rb:291 0.119
After features/support/hooks.rb:75 0.000
Tags: @product
2:34.557
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 8.878
And the network is plugged 0.107
And Tor is ready 13.569
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.246
And I shutdown Tails and wait for the computer to power off 5.138
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:51.576
And I capture all network traffic 0.013
And the network is plugged 0.064
And Tor is ready 14.218
And I switch to the "persistent-con-current" NetworkManager connection 0.427
And the 1st network device has a spoofed MAC address configured 0.122
And no network device leaked the real MAC address 0.193
After features/support/hooks.rb:291 0.627
After features/support/hooks.rb:75 0.050
Tags: @product
43.644
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.045
And I enable persistence creation in Tails Greeter 1.096
And I log in to a new session expecting no warning about the Persistent Storage not being activated 14.664
Then I create a persistent partition with the default settings using the wizard that was already open 16.839
After features/support/hooks.rb:291 1.179
After features/support/hooks.rb:75 0.000
Tags: @product
4:13.326
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 10.842
When I enable persistence 36.119
Then no persistent Greeter options were restored 14.089
When I set all Greeter options to non-default values 21.032
And I log in to a new session in German (de) after having activated the Persistent Storage 33.396
Then all Greeter options are set to non-default values 0.375
When I cold reboot the computer 5.195
And the computer reboots Tails 47.343
Given I enable persistence 49.020
Then persistent Greeter options were restored 14.692
When I log in to a new session after having activated the Persistent Storage 20.865
Then all Greeter options are set to non-default values 0.351
After features/support/hooks.rb:291 0.801
After features/support/hooks.rb:75 0.044
Tags: @product
3:35.620
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.101
# 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 48.940
And I shutdown Tails and wait for the computer to power off 10.624
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:42.831
And I change the passphrase of the Persistent Storage back to the original 44.121
After features/support/hooks.rb:291 2.359
After features/support/hooks.rb:75 0.009
Tags: @product
53.538
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.702
And I log in to a new session without activating the Persistent Storage 15.872
Then persistence is disabled 0.187
But a Tails persistence partition exists on USB drive "__internal" 5.887
And all notifications have disappeared 4.853
When I delete the persistent partition 16.700
Then there is no persistence partition on USB drive "__internal" 0.335
After features/support/hooks.rb:291 1.010
After features/support/hooks.rb:75 0.000
Tags: @product
1:57.983
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 8.768
When I write some dotfile expected to persist 0.119
And I shutdown Tails and wait for the computer to power off 5.181
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:43.620
Then the expected persistent dotfile is present in the filesystem 0.294
After features/support/hooks.rb:291 0.850
After features/support/hooks.rb:75 0.012
Tags: @product
1:16.096
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 8.740
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.057
When I try to enable persistence 0.242
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 23.060
When I log in to a new session after having activated the Persistent Storage 24.656
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 14.772
And all tps features are enabled 2.429
And all tps features but the first one are active 2.136
After features/support/hooks.rb:291 0.917
After features/support/hooks.rb:75 0.000
Tags: @product
4:2.655
Before features/support/hooks.rb:245 0.005
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 2:57.570
And I enable persistence 30.973
And I log in to a new session after having activated the Persistent Storage 33.266
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.696
And persistence is enabled 0.147
After features/support/hooks.rb:291 0.881
After features/support/hooks.rb:75 0.000
Tags: @product
38.342
Before features/support/hooks.rb:245 0.005
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.515
And I enable persistence but something goes wrong during the LUKS header upgrade 29.053
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.773
After features/support/hooks.rb:291 0.639
After features/support/hooks.rb:75 0.000