Project Number Date
test_Tails_ISO_stable 4802 20 Apr 2024, 16:32

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:29.168 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:33.665
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:44.217
And I update APT using apt 19.962
And I install "python3-behave" using apt 25.900
Then the Tails Persistent Storage behave tests pass 3.584
After features/support/hooks.rb:305 0.925
After features/support/hooks.rb:89 0.000
Tags: @product
50.312
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 16.109
When I log in to a new session without activating the Persistent Storage 26.449
Then Tails is running from USB drive "__internal" 0.557
And persistence is disabled 0.616
But a Tails persistence partition exists on USB drive "__internal" 6.578
After features/support/hooks.rb:305 1.129
After features/support/hooks.rb:89 0.000
Tags: @product
3:21.080
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 12.380
Then Tails is running from USB drive "__internal" 0.867
When I create a file in the Persistent directory 0.172
And I create a persistent partition with the default settings 26.360
Then the file I created was copied to the Persistent Storage 0.628
When I shutdown Tails and wait for the computer to power off 12.988
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.236
Then persistence for "Persistent" is active 0.370
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:305 0.740
After features/support/hooks.rb:89 0.009
Tags: @product
1:8.808
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 12.672
And the system is very low on memory 4.312
When I create a file in the Persistent directory 1.445
When I try to create a persistent partition 26.891
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.290
When I close the Persistent Storage app 2.498
And I free up some memory 1.676
And I create a persistent partition with the default settings 18.537
Then the file I created was copied to the Persistent Storage 0.483
After features/support/hooks.rb:305 1.462
After features/support/hooks.rb:89 0.000
Tags: @product
2:45.168
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.975
Then Tails is running from USB drive "__internal" 0.517
And all tps features are active 2.391
And all persistent directories have safe access rights 2.603
When I disable the first tps feature 5.027
Then all tps features but the first one are active 2.145
And I shutdown Tails and wait for the computer to power off 8.829
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.521
Then all tps features but the first one are active 2.155
After features/support/hooks.rb:305 0.643
After features/support/hooks.rb:89 0.007
Tags: @product
21.392
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 11.413
Then persistence for "Persistent" is active 0.075
And I create a file in the Persistent directory 0.076
Then the file I created was copied to the Persistent Storage 0.086
When I disable the first tps feature 5.759
Then persistence for "Persistent" is not active 0.084
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.681
Then persistence for "Persistent" is active 0.089
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:305 1.170
After features/support/hooks.rb:89 0.000
Tags: @product
21.409
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.897
Then persistence for "Persistent" is active 0.068
When I create a file in the Persistent directory 0.099
And I disable the first tps feature 5.327
And I delete the data of the Persistent Folder feature 3.947
Then the file I created does not exist on the Persistent Storage 0.068
After features/support/hooks.rb:305 1.006
After features/support/hooks.rb:89 0.000
Tags: @product
1:4.792
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.653
And the network is plugged 0.044
And Tor is ready 18.529
And I take note of which tps features are available 0.637
When I write some files expected to persist 1.547
And I shutdown Tails and wait for the computer to power off 9.429
# 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.950
After features/support/hooks.rb:305 0.146
After features/support/hooks.rb:89 0.000
Tags: @product
3:10.356
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.752
And the network is plugged 0.061
And Tor is ready 16.538
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.224
And I shutdown Tails and wait for the computer to power off 8.832
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.773
And I capture all network traffic 0.007
And the network is plugged 0.184
And Tor is ready 22.223
And I switch to the "persistent-con-current" NetworkManager connection 0.430
And the 1st network device has a spoofed MAC address configured 0.075
And no network device leaked the real MAC address 0.251
After features/support/hooks.rb:305 0.644
After features/support/hooks.rb:89 0.046
Tags: @product
1:9.209
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 12.237
And I enable persistence creation in Tails Greeter 1.159
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.105
Then I create a persistent partition with the default settings using the wizard that was already open 33.706
After features/support/hooks.rb:305 1.907
After features/support/hooks.rb:89 0.000
Tags: @product
5:33.172
Before features/support/hooks.rb:259 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 21.275
When I enable persistence 41.995
Then no persistent Greeter options were restored 15.576
When I set all Greeter options to non-default values 22.981
And I log in to a new session in German (de) after having activated the Persistent Storage 55.886
Then all Greeter options are set to non-default values 0.694
When I cold reboot the computer 9.971
And the computer reboots Tails 1:15.046
Given I enable persistence 36.998
Then persistent Greeter options were restored 15.702
When I log in to a new session after having activated the Persistent Storage 36.126
Then all Greeter options are set to non-default values 0.915
After features/support/hooks.rb:305 1.380
After features/support/hooks.rb:89 0.009
Tags: @product
3:51.513
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 9.863
# 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 32.500
And I shutdown Tails and wait for the computer to power off 13.218
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:23.692
And I change the passphrase of the Persistent Storage back to the original 32.237
After features/support/hooks.rb:305 2.392
After features/support/hooks.rb:89 0.019
Tags: @product
1:2.452
Before features/support/hooks.rb:259 0.025
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.180
And I log in to a new session without activating the Persistent Storage 21.833
Then persistence is disabled 0.351
But a Tails persistence partition exists on USB drive "__internal" 11.717
And all notifications have disappeared 10.231
When I delete the persistent partition 5.635
Then there is no persistence partition on USB drive "__internal" 0.501
After features/support/hooks.rb:305 0.977
After features/support/hooks.rb:89 0.000
Tags: @product
2:34.147
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.148
When I write some dotfile expected to persist 0.072
And I shutdown Tails and wait for the computer to power off 11.000
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.548
Then the expected persistent dotfile is present in the filesystem 0.377
After features/support/hooks.rb:305 0.818
After features/support/hooks.rb:89 0.009
Tags: @product
1:43.817
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 11.492
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.281
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.532
When I log in to a new session after having activated the Persistent Storage 38.479
And all notifications have disappeared 8.941
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.483
And all tps features are enabled 2.785
And all tps features but the first one are active 3.744
After features/support/hooks.rb:305 1.497
After features/support/hooks.rb:89 0.000
Tags: @product
8:22.180
Before features/support/hooks.rb:259 0.004
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 7:1.372
And I enable persistence 34.759
And I log in to a new session after having activated the Persistent Storage 43.081
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.452
And persistence is enabled 0.513
After features/support/hooks.rb:305 1.546
After features/support/hooks.rb:89 0.000
Tags: @product
35.689
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.712
And I enable persistence but something goes wrong during the LUKS header upgrade 22.196
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.780
After features/support/hooks.rb:305 0.849
After features/support/hooks.rb:89 0.000