Project Number Date
test_Tails_ISO_devel 3486 19 Aug 2024, 19:48

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 37:31.762 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:30.569
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:41.153
And I update APT using apt 20.473
And I install "python3-behave" using apt 25.636
Then the Tails Persistent Storage behave tests pass 3.306
After features/support/hooks.rb:326 0.742
After features/support/hooks.rb:100 0.000
Tags: @product
59.120
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 21.554
When I log in to a new session without activating the Persistent Storage 23.814
Then Tails is running from USB drive "__internal" 0.676
And persistence is disabled 0.552
But a Tails persistence partition exists on USB drive "__internal" 12.521
After features/support/hooks.rb:326 2.612
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.802
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 16.618
Then Tails is running from USB drive "__internal" 0.411
When I create a file in the Persistent directory 0.134
And I create a persistent partition with the default settings 24.666
Then the file I created was copied to the Persistent Storage 0.638
When I shutdown Tails and wait for the computer to power off 13.810
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.156
Then persistence for "Persistent" is active 0.297
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 0.732
After features/support/hooks.rb:100 0.010
Tags: @product
1:14.765
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.250
And the system is very low on memory 11.860
When I create a file in the Persistent directory 2.043
When I try to create a persistent partition 26.404
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.326
When I close the Persistent Storage app 2.671
And I free up some memory 1.901
And I create a persistent partition with the default settings 18.003
Then the file I created was copied to the Persistent Storage 0.304
After features/support/hooks.rb:326 1.425
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.441
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 11.956
Then Tails is running from USB drive "__internal" 0.595
And all tps features are active 3.249
And all persistent directories have safe access rights 2.977
When I disable the first tps feature 5.641
Then all tps features but the first one are active 2.289
And I shutdown Tails and wait for the computer to power off 17.146
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.684
Then all tps features but the first one are active 2.899
After features/support/hooks.rb:326 0.984
After features/support/hooks.rb:100 0.014
Tags: @product
23.920
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 11.857
Then persistence for "Persistent" is active 0.112
And I create a file in the Persistent directory 0.089
Then the file I created was copied to the Persistent Storage 0.081
When I disable the first tps feature 5.941
Then persistence for "Persistent" is not active 0.086
And the Persistent directory does not exist 0.071
When I enable the first tps feature 5.450
Then persistence for "Persistent" is active 0.131
And the file I created in the Persistent directory exists 0.100
After features/support/hooks.rb:326 0.883
After features/support/hooks.rb:100 0.000
Tags: @product
27.901
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 13.289
Then persistence for "Persistent" is active 0.153
When I create a file in the Persistent directory 0.083
And I disable the first tps feature 10.402
And I delete the data of the Persistent Folder feature 3.893
Then the file I created does not exist on the Persistent Storage 0.079
After features/support/hooks.rb:326 1.146
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.470
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 12.615
And the network is plugged 0.527
And Tor is ready 17.885
And I take note of which tps features are available 0.826
When I write some files expected to persist 1.705
And I shutdown Tails and wait for the computer to power off 8.994
# 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.915
After features/support/hooks.rb:326 0.176
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.954
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.533
And the network is plugged 0.086
And Tor is ready 17.120
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.187
And I shutdown Tails and wait for the computer to power off 8.285
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.593
And I capture all network traffic 0.007
And the network is plugged 0.173
And Tor is ready 19.195
And I switch to the "persistent-con-current" NetworkManager connection 0.422
And the 1st network device has a spoofed MAC address configured 0.135
And no network device leaked the real MAC address 0.211
After features/support/hooks.rb:326 0.826
After features/support/hooks.rb:100 0.061
Tags: @product
1:28.503
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 33.252
And I enable persistence creation in Tails Greeter 1.122
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.488
Then I create a persistent partition with the default settings using the wizard that was already open 29.639
After features/support/hooks.rb:326 1.898
After features/support/hooks.rb:100 0.000
Tags: @product
5:22.402
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 14.271
When I enable persistence 43.809
Then no persistent Greeter options were restored 15.363
When I set all Greeter options to non-default values 28.730
And I log in to a new session in German (de) after having activated the Persistent Storage 53.894
Then all Greeter options are set to non-default values 0.551
When I cold reboot the computer 8.112
And the computer reboots Tails 1:11.756
Given I enable persistence 32.745
Then persistent Greeter options were restored 15.777
When I log in to a new session after having activated the Persistent Storage 36.934
Then all Greeter options are set to non-default values 0.453
After features/support/hooks.rb:326 1.121
After features/support/hooks.rb:100 0.014
Tags: @product
3:40.402
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.390
# 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 33.675
And I shutdown Tails and wait for the computer to power off 14.680
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.895
And I change the passphrase of the Persistent Storage back to the original 33.761
After features/support/hooks.rb:326 2.129
After features/support/hooks.rb:100 0.010
Tags: @product
1:8.314
Before features/support/hooks.rb:269 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.322
And I log in to a new session without activating the Persistent Storage 23.891
Then persistence is disabled 0.208
But a Tails persistence partition exists on USB drive "__internal" 17.348
And all notifications have disappeared 9.969
When I delete the persistent partition 6.336
Then there is no persistence partition on USB drive "__internal" 0.236
After features/support/hooks.rb:326 1.156
After features/support/hooks.rb:100 0.000
Tags: @product
2:34.975
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 15.591
When I write some dotfile expected to persist 0.081
And I shutdown Tails and wait for the computer to power off 8.577
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.374
Then the expected persistent dotfile is present in the filesystem 0.351
After features/support/hooks.rb:326 0.684
After features/support/hooks.rb:100 0.009
Tags: @product
1:41.565
Before features/support/hooks.rb:269 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.747
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.271
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.852
When I log in to a new session after having activated the Persistent Storage 39.669
And all notifications have disappeared 9.205
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.889
And all tps features are enabled 2.564
And all tps features but the first one are active 2.286
After features/support/hooks.rb:326 0.954
After features/support/hooks.rb:100 0.000
Tags: @product
4:57.030
Before features/support/hooks.rb:269 0.009
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:35.482
And I enable persistence 33.857
And I log in to a new session after having activated the Persistent Storage 45.081
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.164
And persistence is enabled 0.443
After features/support/hooks.rb:326 1.936
After features/support/hooks.rb:100 0.000
Tags: @product
29.620
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.339
And I enable persistence but something goes wrong during the LUKS header upgrade 19.550
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.730
After features/support/hooks.rb:326 0.972
After features/support/hooks.rb:100 0.000