Project Number Date
test_Tails_ISO_devel 3513 11 Sep 2024, 12:34

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:7.323 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.155
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:35.500
And I update APT using apt 14.966
And I install "python3-behave" using apt 25.928
Then the Tails Persistent Storage behave tests pass 2.759
After features/support/hooks.rb:326 0.733
After features/support/hooks.rb:100 0.000
Tags: @product
48.334
Before features/support/hooks.rb:269 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 13.251
When I log in to a new session without activating the Persistent Storage 28.072
Then Tails is running from USB drive "__internal" 0.546
And persistence is disabled 0.412
But a Tails persistence partition exists on USB drive "__internal" 6.051
After features/support/hooks.rb:326 0.985
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.979
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.317
Then Tails is running from USB drive "__internal" 0.421
When I create a file in the Persistent directory 0.161
And I create a persistent partition with the default settings 27.321
Then the file I created was copied to the Persistent Storage 0.653
When I shutdown Tails and wait for the computer to power off 15.455
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.232
Then persistence for "Persistent" is active 0.358
And the file I created in the Persistent directory exists 0.058
After features/support/hooks.rb:326 0.872
After features/support/hooks.rb:100 0.009
Tags: @product
1:5.973
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.200
And the system is very low on memory 5.028
When I create a file in the Persistent directory 0.982
When I try to create a persistent partition 28.197
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.308
When I close the Persistent Storage app 2.773
And I free up some memory 1.949
And I create a persistent partition with the default settings 15.244
Then the file I created was copied to the Persistent Storage 0.288
After features/support/hooks.rb:326 1.308
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.602
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.449
Then Tails is running from USB drive "__internal" 0.995
And all tps features are active 2.389
And all persistent directories have safe access rights 2.501
When I disable the first tps feature 5.381
Then all tps features but the first one are active 2.021
And I shutdown Tails and wait for the computer to power off 9.004
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.610
Then all tps features but the first one are active 2.248
After features/support/hooks.rb:326 0.982
After features/support/hooks.rb:100 0.010
Tags: @product
20.092
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.156
Then persistence for "Persistent" is active 0.208
And I create a file in the Persistent directory 0.103
Then the file I created was copied to the Persistent Storage 0.067
When I disable the first tps feature 6.130
Then persistence for "Persistent" is not active 0.085
And the Persistent directory does not exist 0.058
When I enable the first tps feature 3.144
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:326 0.778
After features/support/hooks.rb:100 0.000
Tags: @product
22.483
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.138
Then persistence for "Persistent" is active 0.142
When I create a file in the Persistent directory 0.155
And I disable the first tps feature 7.066
And I delete the data of the Persistent Folder feature 3.879
Then the file I created does not exist on the Persistent Storage 0.102
After features/support/hooks.rb:326 0.901
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.860
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.072
And the network is plugged 0.097
And Tor is ready 19.746
And I take note of which tps features are available 0.604
When I write some files expected to persist 1.598
And I shutdown Tails and wait for the computer to power off 10.860
# 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.879
After features/support/hooks.rb:326 0.108
After features/support/hooks.rb:100 0.000
Tags: @product
3:43.962
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.107
And the network is plugged 0.081
And Tor is ready 22.014
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.271
And I shutdown Tails and wait for the computer to power off 9.227
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.690
And I capture all network traffic 0.008
And the network is plugged 0.086
And Tor is ready 47.646
And I switch to the "persistent-con-current" NetworkManager connection 0.377
And the 1st network device has a spoofed MAC address configured 0.128
And no network device leaked the real MAC address 0.322
After features/support/hooks.rb:326 0.663
After features/support/hooks.rb:100 0.048
Tags: @product
1:9.591
Before features/support/hooks.rb:269 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 18.134
And I enable persistence creation in Tails Greeter 1.127
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.336
Then I create a persistent partition with the default settings using the wizard that was already open 24.992
After features/support/hooks.rb:326 2.073
After features/support/hooks.rb:100 0.000
Tags: @product
5:21.335
Before features/support/hooks.rb:269 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 15.200
When I enable persistence 37.768
Then no persistent Greeter options were restored 15.845
When I set all Greeter options to non-default values 27.337
And I log in to a new session in German (de) after having activated the Persistent Storage 1:1.661
Then all Greeter options are set to non-default values 0.556
When I cold reboot the computer 9.826
And the computer reboots Tails 1:1.752
Given I enable persistence 38.117
Then persistent Greeter options were restored 16.008
When I log in to a new session after having activated the Persistent Storage 36.911
Then all Greeter options are set to non-default values 0.349
After features/support/hooks.rb:326 0.971
After features/support/hooks.rb:100 0.008
Tags: @product
3:59.794
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.512
# 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 38.335
And I shutdown Tails and wait for the computer to power off 14.739
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:27.303
And I change the passphrase of the Persistent Storage back to the original 26.902
After features/support/hooks.rb:326 2.954
After features/support/hooks.rb:100 0.008
Tags: @product
1:4.406
Before features/support/hooks.rb:269 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 15.457
And I log in to a new session without activating the Persistent Storage 25.431
Then persistence is disabled 0.465
But a Tails persistence partition exists on USB drive "__internal" 7.779
And all notifications have disappeared 8.475
When I delete the persistent partition 6.208
Then there is no persistence partition on USB drive "__internal" 0.588
After features/support/hooks.rb:326 0.909
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.908
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.004
When I write some dotfile expected to persist 0.076
And I shutdown Tails and wait for the computer to power off 8.823
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.655
Then the expected persistent dotfile is present in the filesystem 0.347
After features/support/hooks.rb:326 0.622
After features/support/hooks.rb:100 0.010
Tags: @product
1:44.769
Before features/support/hooks.rb:269 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 9.356
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.323
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.462
When I log in to a new session after having activated the Persistent Storage 46.196
And all notifications have disappeared 8.605
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.944
And all tps features are enabled 2.452
And all tps features but the first one are active 2.347
After features/support/hooks.rb:326 1.204
After features/support/hooks.rb:100 0.000
Tags: @product
6:1.400
Before features/support/hooks.rb:269 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 4:36.454
And I enable persistence 31.077
And I log in to a new session after having activated the Persistent Storage 52.347
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.390
And persistence is enabled 0.130
After features/support/hooks.rb:326 1.319
After features/support/hooks.rb:100 0.000
Tags: @product
30.670
Before features/support/hooks.rb:269 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 9.750
And I enable persistence but something goes wrong during the LUKS header upgrade 20.127
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.793
After features/support/hooks.rb:326 0.799
After features/support/hooks.rb:100 0.000