Project Number Date
test_Tails_ISO_devel 3383 09 May 2024, 17:21

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 36:29.728 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.804
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.356
And I update APT using apt 20.164
And I install "python3-behave" using apt 25.550
Then the Tails Persistent Storage behave tests pass 2.733
After features/support/hooks.rb:305 0.607
After features/support/hooks.rb:89 0.000
Tags: @product
50.081
Before features/support/hooks.rb:259 0.016
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.632
When I log in to a new session without activating the Persistent Storage 23.715
Then Tails is running from USB drive "__internal" 0.580
And persistence is disabled 0.405
But a Tails persistence partition exists on USB drive "__internal" 12.747
After features/support/hooks.rb:305 2.612
After features/support/hooks.rb:89 0.000
Tags: @product
3:33.701
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 29.159
Then Tails is running from USB drive "__internal" 0.422
When I create a file in the Persistent directory 0.141
And I create a persistent partition with the default settings 24.453
Then the file I created was copied to the Persistent Storage 0.471
When I shutdown Tails and wait for the computer to power off 12.818
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.821
Then persistence for "Persistent" is active 0.342
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:305 0.662
After features/support/hooks.rb:89 0.012
Tags: @product
1:1.350
Before features/support/hooks.rb:259 0.010
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.401
And the system is very low on memory 3.802
When I create a file in the Persistent directory 1.432
When I try to create a persistent partition 26.258
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.207
When I close the Persistent Storage app 2.873
And I free up some memory 1.579
And I create a persistent partition with the default settings 14.421
Then the file I created was copied to the Persistent Storage 0.374
After features/support/hooks.rb:305 1.317
After features/support/hooks.rb:89 0.000
Tags: @product
2:40.984
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 11.443
Then Tails is running from USB drive "__internal" 0.333
And all tps features are active 2.178
And all persistent directories have safe access rights 2.515
When I disable the first tps feature 5.343
Then all tps features but the first one are active 2.109
And I shutdown Tails and wait for the computer to power off 8.679
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.591
Then all tps features but the first one are active 5.789
After features/support/hooks.rb:305 0.701
After features/support/hooks.rb:89 0.009
Tags: @product
21.232
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.379
Then persistence for "Persistent" is active 0.466
And I create a file in the Persistent directory 0.080
Then the file I created was copied to the Persistent Storage 0.070
When I disable the first tps feature 6.737
Then persistence for "Persistent" is not active 0.106
And the Persistent directory does not exist 0.069
When I enable the first tps feature 3.172
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:305 0.674
After features/support/hooks.rb:89 0.000
Tags: @product
20.336
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.782
Then persistence for "Persistent" is active 0.113
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 6.081
And I delete the data of the Persistent Folder feature 4.241
Then the file I created does not exist on the Persistent Storage 0.044
After features/support/hooks.rb:305 0.821
After features/support/hooks.rb:89 0.000
Tags: @product
1:5.603
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.835
And the network is plugged 0.042
And Tor is ready 19.756
And I take note of which tps features are available 0.595
When I write some files expected to persist 1.716
And I shutdown Tails and wait for the computer to power off 8.748
# 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.908
After features/support/hooks.rb:305 0.153
After features/support/hooks.rb:89 0.000
Tags: @product
3:9.207
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.432
And Tor is ready 15.610
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.209
And I shutdown Tails and wait for the computer to power off 9.024
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.333
And I capture all network traffic 0.019
And the network is plugged 0.057
And Tor is ready 21.769
And I switch to the "persistent-con-current" NetworkManager connection 0.351
And the 1st network device has a spoofed MAC address configured 0.065
And no network device leaked the real MAC address 0.247
After features/support/hooks.rb:305 0.712
After features/support/hooks.rb:89 0.057
Tags: @product
1:21.498
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 30.664
And I enable persistence creation in Tails Greeter 1.143
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.486
Then I create a persistent partition with the default settings using the wizard that was already open 29.203
After features/support/hooks.rb:305 2.290
After features/support/hooks.rb:89 0.000
Tags: @product
5:1.758
Before features/support/hooks.rb:259 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 18.325
When I enable persistence 41.705
Then no persistent Greeter options were restored 15.448
When I set all Greeter options to non-default values 21.756
And I log in to a new session in German (de) after having activated the Persistent Storage 51.155
Then all Greeter options are set to non-default values 0.430
When I cold reboot the computer 7.677
And the computer reboots Tails 1:1.482
Given I enable persistence 32.888
Then persistent Greeter options were restored 15.868
When I log in to a new session after having activated the Persistent Storage 34.565
Then all Greeter options are set to non-default values 0.453
After features/support/hooks.rb:305 1.621
After features/support/hooks.rb:89 0.010
Tags: @product
3:40.312
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.335
# 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.477
And I shutdown Tails and wait for the computer to power off 13.331
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:3.309
And I change the passphrase of the Persistent Storage back to the original 36.858
After features/support/hooks.rb:305 2.258
After features/support/hooks.rb:89 0.023
Tags: @product
1:4.387
Before features/support/hooks.rb:259 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 18.433
And I log in to a new session without activating the Persistent Storage 20.666
Then persistence is disabled 0.262
But a Tails persistence partition exists on USB drive "__internal" 10.059
And all notifications have disappeared 8.709
When I delete the persistent partition 5.836
Then there is no persistence partition on USB drive "__internal" 0.419
After features/support/hooks.rb:305 0.784
After features/support/hooks.rb:89 0.000
Tags: @product
2:25.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 10.625
When I write some dotfile expected to persist 0.083
And I shutdown Tails and wait for the computer to power off 11.516
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.445
Then the expected persistent dotfile is present in the filesystem 0.374
After features/support/hooks.rb:305 0.794
After features/support/hooks.rb:89 0.012
Tags: @product
1:41.561
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 10.077
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.102
When I try to enable persistence 0.342
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.617
When I log in to a new session after having activated the Persistent Storage 37.212
And all notifications have disappeared 9.169
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.641
And all tps features are enabled 2.162
And all tps features but the first one are active 2.233
After features/support/hooks.rb:305 1.245
After features/support/hooks.rb:89 0.000
Tags: @product
5:11.379
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:37.850
And I enable persistence 49.145
And I log in to a new session after having activated the Persistent Storage 41.785
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.933
And persistence is enabled 0.663
After features/support/hooks.rb:305 1.786
After features/support/hooks.rb:89 0.000
Tags: @product
35.482
Before features/support/hooks.rb:259 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 13.138
And I enable persistence but something goes wrong during the LUKS header upgrade 21.588
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.755
After features/support/hooks.rb:305 0.750
After features/support/hooks.rb:89 0.000