Project Number Date
test_Tails_ISO_devel 3288 19 Feb 2024, 15:17

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 40:24.707 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:4.528
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:28.033
And I update APT using apt 12.935
And I install "python3-behave" using apt 20.617
Then the Tails Persistent Storage behave tests pass 2.942
After features/support/hooks.rb:291 1.217
After features/support/hooks.rb:75 0.000
Tags: @product
37.539
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.162
When I log in to a new session without activating the Persistent Storage 20.977
Then Tails is running from USB drive "__internal" 0.320
And persistence is disabled 0.170
But a Tails persistence partition exists on USB drive "__internal" 4.908
After features/support/hooks.rb:291 0.801
After features/support/hooks.rb:75 0.000
Tags: @product
3:53.202
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.465
Then Tails is running from USB drive "__internal" 0.446
When I create a file in the Persistent directory 0.125
And I create a persistent partition with the default settings 28.911
Then the file I created was copied to the Persistent Storage 0.634
When I shutdown Tails and wait for the computer to power off 11.207
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:57.813
Then persistence for "Persistent" is active 0.490
And the file I created in the Persistent directory exists 0.107
After features/support/hooks.rb:291 0.768
After features/support/hooks.rb:75 0.010
Tags: @product
1:5.812
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.167
And the system is very low on memory 2.832
When I create a file in the Persistent directory 1.318
When I try to create a persistent partition 23.489
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.135
When I close the Persistent Storage app 2.864
And I free up some memory 1.597
And I create a persistent partition with the default settings 22.143
Then the file I created was copied to the Persistent Storage 0.264
After features/support/hooks.rb:291 1.427
After features/support/hooks.rb:75 0.000
Tags: @product
3:30.918
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.720
Then Tails is running from USB drive "__internal" 0.718
And all tps features are active 1.684
And all persistent directories have safe access rights 2.562
When I disable the first tps feature 16.241
Then all tps features but the first one are active 1.751
And I shutdown Tails and wait for the computer to power off 7.092
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:49.386
Then all tps features but the first one are active 1.760
After features/support/hooks.rb:291 0.893
After features/support/hooks.rb:75 0.009
Tags: @product
37.908
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.478
Then persistence for "Persistent" is active 0.080
And I create a file in the Persistent directory 0.087
Then the file I created was copied to the Persistent Storage 0.066
When I disable the first tps feature 15.223
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.056
When I enable the first tps feature 12.698
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:291 1.166
After features/support/hooks.rb:75 0.000
Tags: @product
37.676
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 8.577
Then persistence for "Persistent" is active 0.108
When I create a file in the Persistent directory 0.101
And I disable the first tps feature 14.978
And I delete the data of the Persistent Folder feature 13.651
Then the file I created does not exist on the Persistent Storage 0.258
After features/support/hooks.rb:291 0.994
After features/support/hooks.rb:75 0.000
Tags: @product
53.083
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.722
And the network is plugged 0.025
And Tor is ready 19.219
And I take note of which tps features are available 0.798
When I write some files expected to persist 1.446
And I shutdown Tails and wait for the computer to power off 7.100
# 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.770
After features/support/hooks.rb:291 0.113
After features/support/hooks.rb:75 0.000
Tags: @product
3:43.046
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.536
And the network is plugged 0.027
And Tor is ready 16.024
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.205
And I shutdown Tails and wait for the computer to power off 8.061
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:50.707
And I capture all network traffic 0.006
And the network is plugged 0.035
And Tor is ready 18.752
And I switch to the "persistent-con-current" NetworkManager connection 0.374
And the 1st network device has a spoofed MAC address configured 0.073
And no network device leaked the real MAC address 0.241
After features/support/hooks.rb:291 0.603
After features/support/hooks.rb:75 0.043
Tags: @product
47.886
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.324
And I enable persistence creation in Tails Greeter 1.169
And I log in to a new session expecting no warning about the Persistent Storage not being activated 17.484
Then I create a persistent partition with the default settings using the wizard that was already open 17.907
After features/support/hooks.rb:291 1.693
After features/support/hooks.rb:75 0.000
Tags: @product
6:8.332
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 11.677
When I enable persistence 38.256
Then no persistent Greeter options were restored 14.715
When I set all Greeter options to non-default values 22.119
And I log in to a new session in German (de) after having activated the Persistent Storage 1:19.248
Then all Greeter options are set to non-default values 0.378
When I cold reboot the computer 7.054
And the computer reboots Tails 59.192
Given I enable persistence 50.353
Then persistent Greeter options were restored 14.818
When I log in to a new session after having activated the Persistent Storage 1:10.315
Then all Greeter options are set to non-default values 0.201
After features/support/hooks.rb:291 0.747
After features/support/hooks.rb:75 0.007
Tags: @product
4:44.575
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.048
# 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 52.259
And I shutdown Tails and wait for the computer to power off 11.685
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:45.544
And I change the passphrase of the Persistent Storage back to the original 46.037
After features/support/hooks.rb:291 2.309
After features/support/hooks.rb:75 0.008
Tags: @product
1:26.359
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 41.268
And I log in to a new session without activating the Persistent Storage 19.736
Then persistence is disabled 0.180
But a Tails persistence partition exists on USB drive "__internal" 4.217
And all notifications have disappeared 5.649
When I delete the persistent partition 14.840
Then there is no persistence partition on USB drive "__internal" 0.466
After features/support/hooks.rb:291 0.700
After features/support/hooks.rb:75 0.000
Tags: @product
3:10.530
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.036
When I write some dotfile expected to persist 0.066
And I shutdown Tails and wait for the computer to power off 7.099
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:51.935
Then the expected persistent dotfile is present in the filesystem 0.393
After features/support/hooks.rb:291 0.653
After features/support/hooks.rb:75 0.009
Tags: @product
2:13.399
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.940
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.123
When I try to enable persistence 0.341
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.555
When I log in to a new session after having activated the Persistent Storage 1:13.731
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 15.703
And all tps features are enabled 2.190
And all tps features but the first one are active 1.812
After features/support/hooks.rb:291 0.965
After features/support/hooks.rb:75 0.000
Tags: @product
4:10.654
Before features/support/hooks.rb:245 0.004
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:14.975
And I enable persistence 32.903
And I log in to a new session after having activated the Persistent Storage 1:21.902
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.772
And persistence is enabled 0.099
After features/support/hooks.rb:291 1.248
After features/support/hooks.rb:75 0.000
Tags: @product
39.252
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.678
And I enable persistence but something goes wrong during the LUKS header upgrade 29.870
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.703
After features/support/hooks.rb:291 0.631
After features/support/hooks.rb:75 0.000