Project Number Date
test_Tails_ISO_devel 3388 15 May 2024, 14: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 34:43.582 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.917
Before features/support/hooks.rb:259 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:32.309
And I update APT using apt 19.074
And I install "python3-behave" using apt 29.235
Then the Tails Persistent Storage behave tests pass 3.298
After features/support/hooks.rb:305 0.674
After features/support/hooks.rb:89 0.000
Tags: @product
52.660
Before features/support/hooks.rb:259 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 16.829
When I log in to a new session without activating the Persistent Storage 27.649
Then Tails is running from USB drive "__internal" 0.498
And persistence is disabled 0.309
But a Tails persistence partition exists on USB drive "__internal" 7.372
After features/support/hooks.rb:305 1.971
After features/support/hooks.rb:89 0.000
Tags: @product
3:11.582
Before features/support/hooks.rb:259 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.331
Then Tails is running from USB drive "__internal" 0.379
When I create a file in the Persistent directory 0.131
And I create a persistent partition with the default settings 27.081
Then the file I created was copied to the Persistent Storage 0.511
When I shutdown Tails and wait for the computer to power off 15.076
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.700
Then persistence for "Persistent" is active 0.303
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:305 0.802
After features/support/hooks.rb:89 0.037
Tags: @product
1:3.849
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.988
And the system is very low on memory 5.344
When I create a file in the Persistent directory 2.218
When I try to create a persistent partition 24.900
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.362
When I close the Persistent Storage app 2.500
And I free up some memory 1.593
And I create a persistent partition with the default settings 14.714
Then the file I created was copied to the Persistent Storage 0.224
After features/support/hooks.rb:305 1.441
After features/support/hooks.rb:89 0.000
Tags: @product
2:35.255
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.628
Then Tails is running from USB drive "__internal" 0.402
And all tps features are active 2.110
And all persistent directories have safe access rights 2.389
When I disable the first tps feature 5.493
Then all tps features but the first one are active 1.899
And I shutdown Tails and wait for the computer to power off 8.806
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.400
Then all tps features but the first one are active 2.124
After features/support/hooks.rb:305 0.659
After features/support/hooks.rb:89 0.011
Tags: @product
20.049
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 9.656
Then persistence for "Persistent" is active 0.168
And I create a file in the Persistent directory 0.094
Then the file I created was copied to the Persistent Storage 0.059
When I disable the first tps feature 6.678
Then persistence for "Persistent" is not active 0.081
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.096
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:305 0.790
After features/support/hooks.rb:89 0.000
Tags: @product
19.194
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.422
Then persistence for "Persistent" is active 0.221
When I create a file in the Persistent directory 0.071
And I disable the first tps feature 5.830
And I delete the data of the Persistent Folder feature 3.584
Then the file I created does not exist on the Persistent Storage 0.064
After features/support/hooks.rb:305 1.033
After features/support/hooks.rb:89 0.000
Tags: @product
1:3.044
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 9.661
And the network is plugged 0.035
And Tor is ready 17.973
And I take note of which tps features are available 0.584
When I write some files expected to persist 1.407
And I shutdown Tails and wait for the computer to power off 8.515
# 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.866
After features/support/hooks.rb:305 0.168
After features/support/hooks.rb:89 0.000
Tags: @product
3:12.045
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 10.062
And the network is plugged 0.059
And Tor is ready 17.054
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.230
And I shutdown Tails and wait for the computer to power off 9.008
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.360
And I capture all network traffic 0.031
And the network is plugged 0.043
And Tor is ready 19.427
And I switch to the "persistent-con-current" NetworkManager connection 0.391
And the 1st network device has a spoofed MAC address configured 0.096
And no network device leaked the real MAC address 0.279
After features/support/hooks.rb:305 0.659
After features/support/hooks.rb:89 0.061
Tags: @product
1:6.687
Before features/support/hooks.rb:259 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 12.883
And I enable persistence creation in Tails Greeter 1.114
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.585
Then I create a persistent partition with the default settings using the wizard that was already open 30.104
After features/support/hooks.rb:305 1.877
After features/support/hooks.rb:89 0.000
Tags: @product
4:58.445
Before features/support/hooks.rb:259 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 12.742
When I enable persistence 37.813
Then no persistent Greeter options were restored 15.616
When I set all Greeter options to non-default values 23.574
And I log in to a new session in German (de) after having activated the Persistent Storage 50.861
Then all Greeter options are set to non-default values 0.427
When I cold reboot the computer 7.751
And the computer reboots Tails 1:4.908
Given I enable persistence 32.062
Then persistent Greeter options were restored 15.583
When I log in to a new session after having activated the Persistent Storage 36.673
Then all Greeter options are set to non-default values 0.430
After features/support/hooks.rb:305 0.922
After features/support/hooks.rb:89 0.011
Tags: @product
3:34.516
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 9.866
# 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.919
And I shutdown Tails and wait for the computer to power off 14.408
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:0.714
And I change the passphrase of the Persistent Storage back to the original 30.606
After features/support/hooks.rb:305 2.490
After features/support/hooks.rb:89 0.008
Tags: @product
1:22.527
Before features/support/hooks.rb:259 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 37.137
And I log in to a new session without activating the Persistent Storage 23.021
Then persistence is disabled 0.213
But a Tails persistence partition exists on USB drive "__internal" 5.918
And all notifications have disappeared 9.312
When I delete the persistent partition 6.508
Then there is no persistence partition on USB drive "__internal" 0.416
After features/support/hooks.rb:305 0.780
After features/support/hooks.rb:89 0.000
Tags: @product
2:21.056
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 9.198
When I write some dotfile expected to persist 0.078
And I shutdown Tails and wait for the computer to power off 8.583
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.831
Then the expected persistent dotfile is present in the filesystem 0.364
After features/support/hooks.rb:305 0.688
After features/support/hooks.rb:89 0.034
Tags: @product
1:37.327
Before features/support/hooks.rb:259 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.886
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.091
When I try to enable persistence 0.278
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.008
When I log in to a new session after having activated the Persistent Storage 39.252
And all notifications have disappeared 8.191
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.437
And all tps features are enabled 2.096
And all tps features but the first one are active 2.084
After features/support/hooks.rb:305 1.383
After features/support/hooks.rb:89 0.000
Tags: @product
4:6.443
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 2:47.083
And I enable persistence 32.518
And I log in to a new session after having activated the Persistent Storage 44.752
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.649
And persistence is enabled 0.439
After features/support/hooks.rb:305 1.490
After features/support/hooks.rb:89 0.000
Tags: @product
34.978
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 12.135
And I enable persistence but something goes wrong during the LUKS header upgrade 22.114
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.728
After features/support/hooks.rb:305 0.727
After features/support/hooks.rb:89 0.000