Project Number Date
test_Tails_ISO_devel 3611 13 Dec 2024, 12:55

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 40:31.982 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.514
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:44.726
And I update APT using apt 13.937
And I install "python3-behave" using apt 25.833
Then the Tails Persistent Storage behave tests pass 3.015
After features/support/hooks.rb:326 0.606
After features/support/hooks.rb:100 0.000
Tags: @product
42.134
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 12.586
When I log in to a new session without activating the Persistent Storage 21.897
Then Tails is running from USB drive "__internal" 0.436
And persistence is disabled 0.279
But a Tails persistence partition exists on USB drive "__internal" 6.934
After features/support/hooks.rb:326 2.789
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.800
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 12.297
Then Tails is running from USB drive "__internal" 0.388
When I create a file in the Persistent directory 0.127
And I create a persistent partition with the default settings 22.705
Then the file I created was copied to the Persistent Storage 0.721
When I shutdown Tails and wait for the computer to power off 10.843
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.570
Then persistence for "Persistent" is active 1.065
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 0.702
After features/support/hooks.rb:100 0.011
Tags: @product
1:9.888
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.735
And the system is very low on memory 5.134
When I create a file in the Persistent directory 1.314
When I try to create a persistent partition 31.779
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.431
When I close the Persistent Storage app 2.866
And I free up some memory 1.804
And I create a persistent partition with the default settings 12.582
Then the file I created was copied to the Persistent Storage 0.240
After features/support/hooks.rb:326 1.654
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.246
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.868
Then Tails is running from USB drive "__internal" 2.898
And all tps features are active 2.313
And all persistent directories have safe access rights 2.483
When I disable the first tps feature 5.727
Then all tps features but the first one are active 2.302
And I shutdown Tails and wait for the computer to power off 10.590
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.937
Then all tps features but the first one are active 2.126
After features/support/hooks.rb:326 0.928
After features/support/hooks.rb:100 0.010
Tags: @product
18.674
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 9.294
Then persistence for "Persistent" is active 0.139
And I create a file in the Persistent directory 0.101
Then the file I created was copied to the Persistent Storage 0.084
When I disable the first tps feature 5.709
Then persistence for "Persistent" is not active 0.068
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.085
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.060
After features/support/hooks.rb:326 0.736
After features/support/hooks.rb:100 0.000
Tags: @product
18.987
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 9.598
Then persistence for "Persistent" is active 0.082
When I create a file in the Persistent directory 0.120
And I disable the first tps feature 5.541
And I delete the data of the Persistent Folder feature 3.592
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:326 1.301
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.140
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 9.567
And the network is plugged 0.241
And Tor is ready 21.032
And I take note of which tps features are available 0.597
When I write some files expected to persist 1.429
And I shutdown Tails and wait for the computer to power off 8.560
# 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.711
After features/support/hooks.rb:326 0.137
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.414
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.000
And the network is plugged 0.077
And Tor is ready 48.313
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.228
And I shutdown Tails and wait for the computer to power off 8.391
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.166
And I capture all network traffic 0.007
And the network is plugged 0.073
And Tor is ready 19.610
And I switch to the "persistent-con-current" NetworkManager connection 0.353
And the 1st network device has a spoofed MAC address configured 0.074
And no network device leaked the real MAC address 0.118
After features/support/hooks.rb:326 0.871
After features/support/hooks.rb:100 0.056
Tags: @product
1:5.934
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 17.247
And I enable persistence creation in Tails Greeter 1.366
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.007
Then I create a persistent partition with the default settings using the wizard that was already open 24.313
After features/support/hooks.rb:326 1.944
After features/support/hooks.rb:100 0.000
Tags: @product
4:36.084
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 12.373
When I enable persistence 42.953
Then no persistent Greeter options were restored 14.437
When I set all Greeter options to non-default values 27.575
And I log in to a new session in German (de) after having activated the Persistent Storage 48.496
Then all Greeter options are set to non-default values 0.631
When I cold reboot the computer 7.950
And the computer reboots Tails 1:2.817
Given I enable persistence 18.775
Then persistent Greeter options were restored 0.509
When I log in to a new session after having activated the Persistent Storage 39.024
Then all Greeter options are set to non-default values 0.540
After features/support/hooks.rb:326 0.823
After features/support/hooks.rb:100 0.009
Tags: @product
3:42.567
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 12.489
# 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 31.479
And I shutdown Tails and wait for the computer to power off 14.657
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.416
And I change the passphrase of the Persistent Storage back to the original 36.524
After features/support/hooks.rb:326 1.762
After features/support/hooks.rb:100 0.009
Tags: @product
1:8.157
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.838
And I log in to a new session without activating the Persistent Storage 22.052
Then persistence is disabled 0.471
But a Tails persistence partition exists on USB drive "__internal" 10.542
And all notifications have disappeared 11.258
When I delete the persistent partition 5.549
Then there is no persistence partition on USB drive "__internal" 0.444
After features/support/hooks.rb:326 0.934
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.282
Before features/support/hooks.rb:269 0.029
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.776
When I write some dotfile expected to persist 0.158
And I shutdown Tails and wait for the computer to power off 8.773
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.193
Then the expected persistent dotfile is present in the filesystem 0.380
After features/support/hooks.rb:326 0.752
After features/support/hooks.rb:100 0.038
Tags: @product
1:36.197
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.579
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.283
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.901
When I log in to a new session after having activated the Persistent Storage 40.774
And all notifications have disappeared 8.342
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.861
And all tps features are enabled 2.353
And all tps features but the first one are active 2.015
After features/support/hooks.rb:326 1.058
After features/support/hooks.rb:100 0.000
Tags: @product
5:45.344
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 4:21.185
And I enable persistence 32.136
And I log in to a new session after having activated the Persistent Storage 45.745
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.959
And persistence is enabled 4.316
After features/support/hooks.rb:326 1.371
After features/support/hooks.rb:100 0.000
Tags: @product
30.231
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 8.690
And I enable persistence but something goes wrong during the LUKS header upgrade 20.737
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.803
After features/support/hooks.rb:326 0.742
After features/support/hooks.rb:100 0.000
Tags: @product
46.088
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.015
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.882
When I enable persistence 29.478
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 2.625
After features/support/hooks.rb:326 1.180
After features/support/hooks.rb:100 0.000
Tags: @product
25.923
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.030
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.757
When I try to enable persistence 0.409
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.213
When I repair the filesystem of the Persistent Storage 1.248
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.290
And the filesystem of the Persistent Storage was repaired 0.119
When I close the filesystem repair dialog 1.291
Then persistence is successfully enabled 1.562
After features/support/hooks.rb:326 0.906
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:44.771
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 9.605
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.107
When I try to enable persistence 0.270
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.539
When I repair the filesystem of the Persistent Storage 1.237
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.916
When I log in to a new session 29.844
And all notifications have disappeared 8.061
# 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.633
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.286
When I close the "whisperback" window 1.962
Then the Tor Browser starts 17.386
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.920
After features/support/hooks.rb:326 5.753
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:10.597
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.964
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.901
And Tails detects disk read failures on the boot device 0.552
When I try to enable persistence 0.452
Then the Welcome Screen tells me that my hardware is probably failing 5.564
When I log in to a new session 20.644
And all notifications have disappeared 8.045
Then the Tor Browser starts 19.716
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.756
After features/support/hooks.rb:326 3.246
After features/support/hooks.rb:100 0.000