Project Number Date
test_Tails_ISO_devel 3415 04 Jun 2024, 18:47

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 40:52.028 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:43.256
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:54.269
And I update APT using apt 19.662
And I install "python3-behave" using apt 25.619
Then the Tails Persistent Storage behave tests pass 3.704
After features/support/hooks.rb:315 0.704
After features/support/hooks.rb:100 0.000
Tags: @product
45.648
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.090
When I log in to a new session without activating the Persistent Storage 22.763
Then Tails is running from USB drive "__internal" 0.372
And persistence is disabled 0.362
But a Tails persistence partition exists on USB drive "__internal" 8.058
After features/support/hooks.rb:315 1.822
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.973
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.811
Then Tails is running from USB drive "__internal" 0.593
When I create a file in the Persistent directory 0.250
And I create a persistent partition with the default settings 23.490
Then the file I created was copied to the Persistent Storage 0.618
When I shutdown Tails and wait for the computer to power off 13.318
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.395
Then persistence for "Persistent" is active 0.414
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:315 0.941
After features/support/hooks.rb:100 0.010
Tags: @product
1:16.879
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 29.531
And the system is very low on memory 4.909
When I create a file in the Persistent directory 0.862
When I try to create a persistent partition 23.843
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.248
When I close the Persistent Storage app 2.579
And I free up some memory 1.945
And I create a persistent partition with the default settings 12.684
Then the file I created was copied to the Persistent Storage 0.274
After features/support/hooks.rb:315 1.611
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.626
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 25.397
Then Tails is running from USB drive "__internal" 0.677
And all tps features are active 2.922
And all persistent directories have safe access rights 2.995
When I disable the first tps feature 5.765
Then all tps features but the first one are active 2.884
And I shutdown Tails and wait for the computer to power off 11.377
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.920
Then all tps features but the first one are active 2.684
After features/support/hooks.rb:315 0.996
After features/support/hooks.rb:100 0.038
Tags: @product
23.116
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 13.514
Then persistence for "Persistent" is active 0.088
And I create a file in the Persistent directory 0.110
Then the file I created was copied to the Persistent Storage 0.089
When I disable the first tps feature 5.771
Then persistence for "Persistent" is not active 0.079
And the Persistent directory does not exist 0.058
When I enable the first tps feature 3.241
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:315 0.801
After features/support/hooks.rb:100 0.000
Tags: @product
19.413
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 9.595
Then persistence for "Persistent" is active 0.096
When I create a file in the Persistent directory 0.075
And I disable the first tps feature 5.857
And I delete the data of the Persistent Folder feature 3.732
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:315 0.888
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.550
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 9.562
And the network is plugged 0.059
And Tor is ready 23.464
And I take note of which tps features are available 0.648
When I write some files expected to persist 1.698
And I shutdown Tails and wait for the computer to power off 8.884
# 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" 25.232
After features/support/hooks.rb:315 0.117
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.486
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.003
And the network is plugged 0.040
And Tor is ready 19.356
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.213
And I shutdown Tails and wait for the computer to power off 8.520
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.637
And I capture all network traffic 0.007
And the network is plugged 0.049
And Tor is ready 20.973
And I switch to the "persistent-con-current" NetworkManager connection 0.353
And the 1st network device has a spoofed MAC address configured 0.072
And no network device leaked the real MAC address 0.257
After features/support/hooks.rb:315 1.009
After features/support/hooks.rb:100 0.094
Tags: @product
1:9.088
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 15.626
And I enable persistence creation in Tails Greeter 1.454
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.800
Then I create a persistent partition with the default settings using the wizard that was already open 26.205
After features/support/hooks.rb:315 2.052
After features/support/hooks.rb:100 0.000
Tags: @product
6:2.401
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 22.780
When I enable persistence 42.373
Then no persistent Greeter options were restored 18.202
When I set all Greeter options to non-default values 35.490
And I log in to a new session in German (de) after having activated the Persistent Storage 1:4.227
Then all Greeter options are set to non-default values 0.510
When I cold reboot the computer 10.098
And the computer reboots Tails 1:4.001
Given I enable persistence 43.420
Then persistent Greeter options were restored 16.412
When I log in to a new session after having activated the Persistent Storage 44.330
Then all Greeter options are set to non-default values 0.554
After features/support/hooks.rb:315 1.095
After features/support/hooks.rb:100 0.010
Tags: @product
4:9.811
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 12.896
# 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.977
And I shutdown Tails and wait for the computer to power off 13.994
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:30.472
And I change the passphrase of the Persistent Storage back to the original 33.469
After features/support/hooks.rb:315 1.472
After features/support/hooks.rb:100 0.011
Tags: @product
1:36.173
Before features/support/hooks.rb:269 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 43.164
And I log in to a new session without activating the Persistent Storage 22.875
Then persistence is disabled 0.437
But a Tails persistence partition exists on USB drive "__internal" 10.802
And all notifications have disappeared 12.852
When I delete the persistent partition 5.629
Then there is no persistence partition on USB drive "__internal" 0.411
After features/support/hooks.rb:315 0.957
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.227
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.357
When I write some dotfile expected to persist 0.120
And I shutdown Tails and wait for the computer to power off 11.222
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.870
Then the expected persistent dotfile is present in the filesystem 0.655
After features/support/hooks.rb:315 0.706
After features/support/hooks.rb:100 0.011
Tags: @product
1:48.944
Before features/support/hooks.rb:269 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 9.056
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.097
When I try to enable persistence 0.284
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.487
When I log in to a new session after having activated the Persistent Storage 46.229
And all notifications have disappeared 9.926
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.857
And all tps features are enabled 2.753
And all tps features but the first one are active 2.251
After features/support/hooks.rb:315 1.278
After features/support/hooks.rb:100 0.000
Tags: @product
6:27.182
Before features/support/hooks.rb:269 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 4:59.584
And I enable persistence 37.766
And I log in to a new session after having activated the Persistent Storage 47.904
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.740
And persistence is enabled 0.186
After features/support/hooks.rb:315 1.815
After features/support/hooks.rb:100 0.000
Tags: @product
42.248
Before features/support/hooks.rb:269 0.010
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 12.354
And I enable persistence but something goes wrong during the LUKS header upgrade 28.949
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.944
After features/support/hooks.rb:315 0.851
After features/support/hooks.rb:100 0.000