Project Number Date
test_Tails_ISO_devel 3567 29 Oct 2024, 14:05

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 157 0 0 0 0 157 21 0 21 41:50.481 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:46.661
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:5.250
And I update APT using apt 13.316
And I install "python3-behave" using apt 25.586
Then the Tails Persistent Storage behave tests pass 2.508
After features/support/hooks.rb:326 0.907
After features/support/hooks.rb:100 0.000
Tags: @product
52.339
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 15.018
When I log in to a new session without activating the Persistent Storage 28.662
Then Tails is running from USB drive "__internal" 0.736
And persistence is disabled 0.374
But a Tails persistence partition exists on USB drive "__internal" 7.546
After features/support/hooks.rb:326 1.377
After features/support/hooks.rb:100 0.000
Tags: @product
3:39.019
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 18.818
Then Tails is running from USB drive "__internal" 0.464
When I create a file in the Persistent directory 0.149
And I create a persistent partition with the default settings 25.478
Then the file I created was copied to the Persistent Storage 0.557
When I shutdown Tails and wait for the computer to power off 17.753
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:35.351
Then persistence for "Persistent" is active 0.369
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 0.748
After features/support/hooks.rb:100 0.013
Tags: @product
1:8.686
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 14.814
And the system is very low on memory 4.842
When I create a file in the Persistent directory 1.203
When I try to create a persistent partition 29.363
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.233
When I close the Persistent Storage app 2.733
And I free up some memory 1.690
And I create a persistent partition with the default settings 13.533
Then the file I created was copied to the Persistent Storage 0.272
After features/support/hooks.rb:326 1.605
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.342
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 13.199
Then Tails is running from USB drive "__internal" 0.738
And all tps features are active 2.979
And all persistent directories have safe access rights 3.318
When I disable the first tps feature 6.540
Then all tps features but the first one are active 3.073
And I shutdown Tails and wait for the computer to power off 13.998
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.754
Then all tps features but the first one are active 2.738
After features/support/hooks.rb:326 0.737
After features/support/hooks.rb:100 0.012
Tags: @product
22.194
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 11.300
Then persistence for "Persistent" is active 0.613
And I create a file in the Persistent directory 0.115
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 6.497
Then persistence for "Persistent" is not active 0.090
And the Persistent directory does not exist 0.072
When I enable the first tps feature 3.259
Then persistence for "Persistent" is active 0.087
And the file I created in the Persistent directory exists 0.087
After features/support/hooks.rb:326 0.912
After features/support/hooks.rb:100 0.000
Tags: @product
22.432
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 10.584
Then persistence for "Persistent" is active 0.143
When I create a file in the Persistent directory 0.233
And I disable the first tps feature 7.598
And I delete the data of the Persistent Folder feature 3.820
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:326 0.958
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.396
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.105
And the network is plugged 0.081
And Tor is ready 21.095
And I take note of which tps features are available 0.676
When I write some files expected to persist 1.554
And I shutdown Tails and wait for the computer to power off 8.282
# 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.599
After features/support/hooks.rb:326 0.158
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.753
Before features/support/hooks.rb:269 0.016
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.851
And the network is plugged 0.594
And Tor is ready 21.093
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.184
And I shutdown Tails and wait for the computer to power off 10.785
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.653
And I capture all network traffic 0.007
And the network is plugged 0.098
And Tor is ready 20.103
And I switch to the "persistent-con-current" NetworkManager connection 0.453
And the 1st network device has a spoofed MAC address configured 0.418
And no network device leaked the real MAC address 0.509
After features/support/hooks.rb:326 1.506
After features/support/hooks.rb:100 0.058
Tags: @product
1:9.487
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 16.243
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 26.320
Then I create a persistent partition with the default settings using the wizard that was already open 25.776
After features/support/hooks.rb:326 1.913
After features/support/hooks.rb:100 0.000
Tags: @product
5:7.766
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 28.790
When I enable persistence 36.843
Then no persistent Greeter options were restored 14.783
When I set all Greeter options to non-default values 25.357
And I log in to a new session in German (de) after having activated the Persistent Storage 45.201
Then all Greeter options are set to non-default values 0.912
When I cold reboot the computer 7.506
And the computer reboots Tails 1:1.856
Given I enable persistence 32.904
Then persistent Greeter options were restored 14.960
When I log in to a new session after having activated the Persistent Storage 38.166
Then all Greeter options are set to non-default values 0.483
After features/support/hooks.rb:326 1.245
After features/support/hooks.rb:100 0.008
Tags: @product
3:44.148
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 13.893
# 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 34.041
And I shutdown Tails and wait for the computer to power off 12.413
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:5.545
And I change the passphrase of the Persistent Storage back to the original 38.254
After features/support/hooks.rb:326 1.311
After features/support/hooks.rb:100 0.009
Tags: @product
53.365
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 9.054
And I log in to a new session without activating the Persistent Storage 21.340
Then persistence is disabled 0.227
But a Tails persistence partition exists on USB drive "__internal" 6.934
And all notifications have disappeared 8.468
When I delete the persistent partition 6.887
Then there is no persistence partition on USB drive "__internal" 0.453
After features/support/hooks.rb:326 1.118
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.811
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 10.448
When I write some dotfile expected to persist 0.148
And I shutdown Tails and wait for the computer to power off 8.523
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.270
Then the expected persistent dotfile is present in the filesystem 0.421
After features/support/hooks.rb:326 1.058
After features/support/hooks.rb:100 0.009
Tags: @product
1:38.984
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 9.352
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.286
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.965
When I log in to a new session after having activated the Persistent Storage 43.279
And all notifications have disappeared 8.690
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.058
And all tps features are enabled 2.236
And all tps features but the first one are active 2.038
After features/support/hooks.rb:326 1.069
After features/support/hooks.rb:100 0.000
Tags: @product
5:14.770
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:56.580
And I enable persistence 32.732
And I log in to a new session after having activated the Persistent Storage 42.732
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.960
And persistence is enabled 0.763
After features/support/hooks.rb:326 2.234
After features/support/hooks.rb:100 0.000
Tags: @product
29.115
Before features/support/hooks.rb:269 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 8.779
And I enable persistence but something goes wrong during the LUKS header upgrade 19.588
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.748
After features/support/hooks.rb:326 0.707
After features/support/hooks.rb:100 0.000
Tags: @product
44.188
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 9.449
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.153
When I enable persistence 28.149
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 0.344
After features/support/hooks.rb:326 1.059
After features/support/hooks.rb:100 0.000
Tags: @product
24.882
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.104
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.504
When I try to enable persistence 0.440
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.551
When I repair the filesystem of the Persistent Storage 1.320
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.218
And the filesystem of the Persistent Storage was repaired 0.072
When I close the filesystem repair dialog 1.239
Then persistence is successfully enabled 0.430
After features/support/hooks.rb:326 1.077
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.670
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 8.801
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.105
When I try to enable persistence 0.322
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.504
When I repair the filesystem of the Persistent Storage 2.294
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 40.207
And all notifications have disappeared 8.500
# Now both WhisperBack and Tor Browser has started at the same
# time, so we do not know which window is focused. The steps about
# Tor Browser care about that, but the ones about WhisperBack do
# not, so we first deal with WhisperBack and then kill it to
# ensure that Tor Browser is focused.
Then WhisperBack is prefilled for fsck with summary: "Failed to repair the file system of your Persistent Storage" 0.520
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.142
When I close the "whisperback" window 1.522
Then the Tor Browser starts 14.868
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.804
After features/support/hooks.rb:326 2.993
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:23.463
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 22.267
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.853
And Tails detects disk read failures on the boot device 0.622
When I try to enable persistence 0.667
Then the Welcome Screen tells me that my hardware is probably failing 6.076
When I log in to a new session 20.741
And all notifications have disappeared 6.977
Then the Tor Browser starts 19.269
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.987
After features/support/hooks.rb:326 1.433
After features/support/hooks.rb:100 0.000