Project Number Date
test_Tails_ISO_devel 3510 10 Sep 2024, 12:50

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 38:1.018 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:35.072
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:49.960
And I update APT using apt 15.359
And I install "python3-behave" using apt 26.353
Then the Tails Persistent Storage behave tests pass 3.399
After features/support/hooks.rb:326 1.042
After features/support/hooks.rb:100 0.000
Tags: @product
53.987
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 17.821
When I log in to a new session without activating the Persistent Storage 24.998
Then Tails is running from USB drive "__internal" 0.582
And persistence is disabled 2.079
But a Tails persistence partition exists on USB drive "__internal" 8.506
After features/support/hooks.rb:326 1.162
After features/support/hooks.rb:100 0.000
Tags: @product
3:42.098
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.637
Then Tails is running from USB drive "__internal" 0.721
When I create a file in the Persistent directory 0.148
And I create a persistent partition with the default settings 26.006
Then the file I created was copied to the Persistent Storage 0.616
When I shutdown Tails and wait for the computer to power off 13.206
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:45.356
Then persistence for "Persistent" is active 0.331
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 0.860
After features/support/hooks.rb:100 0.009
Tags: @product
1:22.964
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 26.250
And the system is very low on memory 12.435
When I create a file in the Persistent directory 1.018
When I try to create a persistent partition 20.461
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.257
When I close the Persistent Storage app 2.582
And I free up some memory 1.317
And I create a persistent partition with the default settings 18.393
Then the file I created was copied to the Persistent Storage 0.246
After features/support/hooks.rb:326 1.171
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.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 18.626
Then Tails is running from USB drive "__internal" 0.822
And all tps features are active 2.988
And all persistent directories have safe access rights 3.049
When I disable the first tps feature 6.081
Then all tps features but the first one are active 2.521
And I shutdown Tails and wait for the computer to power off 13.690
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.167
Then all tps features but the first one are active 3.005
After features/support/hooks.rb:326 0.853
After features/support/hooks.rb:100 0.013
Tags: @product
23.239
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.778
Then persistence for "Persistent" is active 0.262
And I create a file in the Persistent directory 0.091
Then the file I created was copied to the Persistent Storage 0.093
When I disable the first tps feature 7.347
Then persistence for "Persistent" is not active 0.108
And the Persistent directory does not exist 0.130
When I enable the first tps feature 3.257
Then persistence for "Persistent" is active 0.093
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 1.318
After features/support/hooks.rb:100 0.000
Tags: @product
21.104
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.389
Then persistence for "Persistent" is active 0.108
When I create a file in the Persistent directory 0.159
And I disable the first tps feature 5.614
And I delete the data of the Persistent Folder feature 3.770
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:326 1.155
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.385
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.727
And the network is plugged 0.108
And Tor is ready 21.328
And I take note of which tps features are available 0.570
When I write some files expected to persist 1.427
And I shutdown Tails and wait for the computer to power off 8.570
# 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" 26.651
After features/support/hooks.rb:326 0.166
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.769
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 14.771
And the network is plugged 0.088
And Tor is ready 20.363
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.281
And I shutdown Tails and wait for the computer to power off 8.792
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.177
And I capture all network traffic 0.009
And the network is plugged 0.115
And Tor is ready 19.466
And I switch to the "persistent-con-current" NetworkManager connection 0.376
And the 1st network device has a spoofed MAC address configured 0.090
And no network device leaked the real MAC address 0.234
After features/support/hooks.rb:326 0.656
After features/support/hooks.rb:100 0.049
Tags: @product
1:3.510
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.382
And I enable persistence creation in Tails Greeter 1.147
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.561
Then I create a persistent partition with the default settings using the wizard that was already open 27.418
After features/support/hooks.rb:326 1.692
After features/support/hooks.rb:100 0.000
Tags: @product
5:16.637
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 17.461
When I enable persistence 41.900
Then no persistent Greeter options were restored 15.920
When I set all Greeter options to non-default values 28.135
And I log in to a new session in German (de) after having activated the Persistent Storage 55.403
Then all Greeter options are set to non-default values 0.706
When I cold reboot the computer 7.675
And the computer reboots Tails 1:3.878
Given I enable persistence 33.061
Then persistent Greeter options were restored 15.718
When I log in to a new session after having activated the Persistent Storage 36.274
Then all Greeter options are set to non-default values 0.500
After features/support/hooks.rb:326 0.761
After features/support/hooks.rb:100 0.007
Tags: @product
3:53.672
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.858
# 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.916
And I shutdown Tails and wait for the computer to power off 15.068
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.742
And I change the passphrase of the Persistent Storage back to the original 39.086
After features/support/hooks.rb:326 2.645
After features/support/hooks.rb:100 0.017
Tags: @product
1:6.224
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 11.991
And I log in to a new session without activating the Persistent Storage 24.079
Then persistence is disabled 0.369
But a Tails persistence partition exists on USB drive "__internal" 11.438
And all notifications have disappeared 9.780
When I delete the persistent partition 8.012
Then there is no persistence partition on USB drive "__internal" 0.552
After features/support/hooks.rb:326 0.967
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.343
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.651
When I write some dotfile expected to persist 0.186
And I shutdown Tails and wait for the computer to power off 8.538
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.536
Then the expected persistent dotfile is present in the filesystem 0.431
After features/support/hooks.rb:326 0.784
After features/support/hooks.rb:100 0.009
Tags: @product
1:51.977
Before features/support/hooks.rb:269 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 9.948
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.280
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.786
When I log in to a new session after having activated the Persistent Storage 47.432
And all notifications have disappeared 9.841
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.922
And all tps features are enabled 2.447
And all tps features but the first one are active 2.225
After features/support/hooks.rb:326 1.439
After features/support/hooks.rb:100 0.000
Tags: @product
4:56.532
Before features/support/hooks.rb:269 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:39.198
And I enable persistence 31.207
And I log in to a new session after having activated the Persistent Storage 43.458
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.379
And persistence is enabled 0.288
After features/support/hooks.rb:326 1.063
After features/support/hooks.rb:100 0.000
Tags: @product
31.545
Before features/support/hooks.rb:269 0.008
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.824
And I enable persistence but something goes wrong during the LUKS header upgrade 20.945
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.774
After features/support/hooks.rb:326 0.896
After features/support/hooks.rb:100 0.000