Project Number Date
test_Tails_ISO_devel 3363 26 Apr 2024, 13:20

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:40.200 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:28.495
Before features/support/hooks.rb:259 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.885
And I update APT using apt 21.286
And I install "python3-behave" using apt 25.462
Then the Tails Persistent Storage behave tests pass 3.860
After features/support/hooks.rb:305 2.515
After features/support/hooks.rb:89 0.000
Tags: @product
49.218
Before features/support/hooks.rb:259 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.833
When I log in to a new session without activating the Persistent Storage 22.822
Then Tails is running from USB drive "__internal" 0.718
And persistence is disabled 0.515
But a Tails persistence partition exists on USB drive "__internal" 10.327
After features/support/hooks.rb:305 1.841
After features/support/hooks.rb:89 0.000
Tags: @product
3:21.402
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.977
Then Tails is running from USB drive "__internal" 0.424
When I create a file in the Persistent directory 0.194
And I create a persistent partition with the default settings 30.207
Then the file I created was copied to the Persistent Storage 0.718
When I shutdown Tails and wait for the computer to power off 15.063
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.330
Then persistence for "Persistent" is active 0.388
And the file I created in the Persistent directory exists 0.096
After features/support/hooks.rb:305 0.676
After features/support/hooks.rb:89 0.011
Tags: @product
1:5.127
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.708
And the system is very low on memory 4.752
When I create a file in the Persistent directory 1.651
When I try to create a persistent partition 25.000
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.273
When I close the Persistent Storage app 2.524
And I free up some memory 1.588
And I create a persistent partition with the default settings 15.398
Then the file I created was copied to the Persistent Storage 0.229
After features/support/hooks.rb:305 1.553
After features/support/hooks.rb:89 0.000
Tags: @product
2:45.745
Before features/support/hooks.rb:259 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.218
Then Tails is running from USB drive "__internal" 0.387
And all tps features are active 2.367
And all persistent directories have safe access rights 2.471
When I disable the first tps feature 5.769
Then all tps features but the first one are active 2.605
And I shutdown Tails and wait for the computer to power off 12.729
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.846
Then all tps features but the first one are active 2.349
After features/support/hooks.rb:305 0.631
After features/support/hooks.rb:89 0.011
Tags: @product
19.568
Before features/support/hooks.rb:259 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.914
Then persistence for "Persistent" is active 0.276
And I create a file in the Persistent directory 0.081
Then the file I created was copied to the Persistent Storage 0.086
When I disable the first tps feature 5.675
Then persistence for "Persistent" is not active 0.114
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.221
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:305 0.839
After features/support/hooks.rb:89 0.000
Tags: @product
18.752
Before features/support/hooks.rb:259 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.047
Then persistence for "Persistent" is active 0.106
When I create a file in the Persistent directory 0.083
And I disable the first tps feature 5.784
And I delete the data of the Persistent Folder feature 3.670
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:305 1.097
After features/support/hooks.rb:89 0.000
Tags: @product
1:8.442
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.808
And the network is plugged 0.043
And Tor is ready 19.746
And I take note of which tps features are available 0.616
When I write some files expected to persist 1.457
And I shutdown Tails and wait for the computer to power off 9.031
# 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.738
After features/support/hooks.rb:305 0.163
After features/support/hooks.rb:89 0.000
Tags: @product
4:4.544
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.085
And the network is plugged 0.057
And Tor is ready 47.535
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.221
And I shutdown Tails and wait for the computer to power off 8.666
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.444
And I capture all network traffic 0.016
And the network is plugged 0.036
And Tor is ready 47.669
And I switch to the "persistent-con-current" NetworkManager connection 0.409
And the 1st network device has a spoofed MAC address configured 0.076
And no network device leaked the real MAC address 0.325
After features/support/hooks.rb:305 0.703
After features/support/hooks.rb:89 0.053
Tags: @product
1:10.727
Before features/support/hooks.rb:259 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 20.172
And I enable persistence creation in Tails Greeter 2.370
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.988
Then I create a persistent partition with the default settings using the wizard that was already open 26.196
After features/support/hooks.rb:305 1.690
After features/support/hooks.rb:89 0.000
Tags: @product
5:17.337
Before features/support/hooks.rb:259 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.493
When I enable persistence 37.959
Then no persistent Greeter options were restored 15.233
When I set all Greeter options to non-default values 23.290
And I log in to a new session in German (de) after having activated the Persistent Storage 52.658
Then all Greeter options are set to non-default values 0.568
When I cold reboot the computer 8.082
And the computer reboots Tails 1:18.613
Given I enable persistence 32.454
Then persistent Greeter options were restored 15.962
When I log in to a new session after having activated the Persistent Storage 38.047
Then all Greeter options are set to non-default values 0.974
After features/support/hooks.rb:305 1.042
After features/support/hooks.rb:89 0.010
Tags: @product
3:56.230
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.556
# 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 40.531
And I shutdown Tails and wait for the computer to power off 12.550
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:17.265
And I change the passphrase of the Persistent Storage back to the original 34.326
After features/support/hooks.rb:305 2.552
After features/support/hooks.rb:89 0.008
Tags: @product
1:1.024
Before features/support/hooks.rb:259 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.551
And I log in to a new session without activating the Persistent Storage 23.457
Then persistence is disabled 0.444
But a Tails persistence partition exists on USB drive "__internal" 6.237
And all notifications have disappeared 9.260
When I delete the persistent partition 6.693
Then there is no persistence partition on USB drive "__internal" 0.379
After features/support/hooks.rb:305 0.894
After features/support/hooks.rb:89 0.000
Tags: @product
2:25.934
Before features/support/hooks.rb:259 0.022
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.364
When I write some dotfile expected to persist 0.086
And I shutdown Tails and wait for the computer to power off 8.985
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.902
Then the expected persistent dotfile is present in the filesystem 0.595
After features/support/hooks.rb:305 1.028
After features/support/hooks.rb:89 0.014
Tags: @product
1:52.189
Before features/support/hooks.rb:259 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.513
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 0.278
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 40.067
When I log in to a new session after having activated the Persistent Storage 43.892
And all notifications have disappeared 9.028
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.481
And all tps features are enabled 2.569
And all tps features but the first one are active 2.278
After features/support/hooks.rb:305 1.242
After features/support/hooks.rb:89 0.000
Tags: @product
5:1.016
Before features/support/hooks.rb:259 0.006
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:42.321
And I enable persistence 35.932
And I log in to a new session after having activated the Persistent Storage 40.369
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.779
And persistence is enabled 0.612
After features/support/hooks.rb:305 1.377
After features/support/hooks.rb:89 0.000
Tags: @product
34.444
Before features/support/hooks.rb:259 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 10.041
And I enable persistence but something goes wrong during the LUKS header upgrade 23.646
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.756
After features/support/hooks.rb:305 0.775
After features/support/hooks.rb:89 0.000