Project Number Date
test_Tails_ISO_devel 3617 20 Dec 2024, 12:36

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 42:17.426 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:31.933
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:48.230
And I update APT using apt 14.279
And I install "python3-behave" using apt 26.251
Then the Tails Persistent Storage behave tests pass 3.172
After features/support/hooks.rb:326 0.746
After features/support/hooks.rb:100 0.000
Tags: @product
56.478
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 14.821
When I log in to a new session without activating the Persistent Storage 25.472
Then Tails is running from USB drive "__internal" 0.567
And persistence is disabled 0.340
But a Tails persistence partition exists on USB drive "__internal" 15.276
After features/support/hooks.rb:326 1.674
After features/support/hooks.rb:100 0.000
Tags: @product
4:38.063
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 1:19.061
Then Tails is running from USB drive "__internal" 0.494
When I create a file in the Persistent directory 0.129
And I create a persistent partition with the default settings 30.412
Then the file I created was copied to the Persistent Storage 0.774
When I shutdown Tails and wait for the computer to power off 13.182
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.537
Then persistence for "Persistent" is active 0.395
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 0.720
After features/support/hooks.rb:100 0.040
Tags: @product
1:2.147
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 10.388
And the system is very low on memory 3.077
When I create a file in the Persistent directory 1.830
When I try to create a persistent partition 24.903
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 4.477
When I close the Persistent Storage app 2.647
And I free up some memory 1.504
And I create a persistent partition with the default settings 13.059
Then the file I created was copied to the Persistent Storage 0.258
After features/support/hooks.rb:326 1.395
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.699
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 11.495
Then Tails is running from USB drive "__internal" 0.795
And all tps features are active 2.389
And all persistent directories have safe access rights 2.580
When I disable the first tps feature 5.726
Then all tps features but the first one are active 2.090
And I shutdown Tails and wait for the computer to power off 9.071
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.705
Then all tps features but the first one are active 2.843
After features/support/hooks.rb:326 0.896
After features/support/hooks.rb:100 0.012
Tags: @product
21.456
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 10.320
Then persistence for "Persistent" is active 0.535
And I create a file in the Persistent directory 0.080
Then the file I created was copied to the Persistent Storage 0.085
When I disable the first tps feature 6.260
Then persistence for "Persistent" is not active 0.115
And the Persistent directory does not exist 0.081
When I enable the first tps feature 3.776
Then persistence for "Persistent" is active 0.097
And the file I created in the Persistent directory exists 0.103
After features/support/hooks.rb:326 1.245
After features/support/hooks.rb:100 0.000
Tags: @product
19.840
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.664
Then persistence for "Persistent" is active 0.104
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 6.226
And I delete the data of the Persistent Folder feature 3.716
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:326 1.248
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.956
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 9.836
And the network is plugged 0.087
And Tor is ready 19.504
And I take note of which tps features are available 0.597
When I write some files expected to persist 1.512
And I shutdown Tails and wait for the computer to power off 8.519
# 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.898
After features/support/hooks.rb:326 0.143
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.554
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 10.255
And the network is plugged 0.086
And Tor is ready 21.460
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.248
And I shutdown Tails and wait for the computer to power off 11.296
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.733
And I capture all network traffic 0.007
And the network is plugged 0.082
And Tor is ready 19.782
And I switch to the "persistent-con-current" NetworkManager connection 0.382
And the 1st network device has a spoofed MAC address configured 0.088
And no network device leaked the real MAC address 0.131
After features/support/hooks.rb:326 0.647
After features/support/hooks.rb:100 0.058
Tags: @product
1:2.087
Before features/support/hooks.rb:269 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.747
And I enable persistence creation in Tails Greeter 1.367
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.823
Then I create a persistent partition with the default settings using the wizard that was already open 26.148
After features/support/hooks.rb:326 1.988
After features/support/hooks.rb:100 0.000
Tags: @product
4:44.030
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 12.025
When I enable persistence 42.654
Then no persistent Greeter options were restored 14.927
When I set all Greeter options to non-default values 27.476
And I log in to a new session in German (de) after having activated the Persistent Storage 53.291
Then all Greeter options are set to non-default values 0.623
When I cold reboot the computer 7.704
And the computer reboots Tails 1:4.614
Given I enable persistence 18.987
Then persistent Greeter options were restored 0.654
When I log in to a new session after having activated the Persistent Storage 40.456
Then all Greeter options are set to non-default values 0.612
After features/support/hooks.rb:326 1.193
After features/support/hooks.rb:100 0.008
Tags: @product
4:0.069
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.110
# 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.956
And I shutdown Tails and wait for the computer to power off 12.623
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:25.313
And I change the passphrase of the Persistent Storage back to the original 39.066
After features/support/hooks.rb:326 1.570
After features/support/hooks.rb:100 0.007
Tags: @product
1:0.066
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 10.476
And I log in to a new session without activating the Persistent Storage 21.955
Then persistence is disabled 0.531
But a Tails persistence partition exists on USB drive "__internal" 10.860
And all notifications have disappeared 8.990
When I delete the persistent partition 6.810
Then there is no persistence partition on USB drive "__internal" 0.439
After features/support/hooks.rb:326 1.092
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.338
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 9.785
When I write some dotfile expected to persist 0.064
And I shutdown Tails and wait for the computer to power off 8.708
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.335
Then the expected persistent dotfile is present in the filesystem 0.444
After features/support/hooks.rb:326 0.811
After features/support/hooks.rb:100 0.012
Tags: @product
1:45.296
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.448
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.280
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.418
When I log in to a new session after having activated the Persistent Storage 49.607
And all notifications have disappeared 7.652
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.418
And all tps features are enabled 2.293
And all tps features but the first one are active 2.096
After features/support/hooks.rb:326 1.300
After features/support/hooks.rb:100 0.000
Tags: @product
5:26.361
Before features/support/hooks.rb:269 0.005
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.842
And I enable persistence 40.232
And I log in to a new session after having activated the Persistent Storage 43.761
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.753
And persistence is enabled 3.772
After features/support/hooks.rb:326 1.739
After features/support/hooks.rb:100 0.000
Tags: @product
32.864
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 9.655
And I enable persistence but something goes wrong during the LUKS header upgrade 22.488
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.720
After features/support/hooks.rb:326 1.287
After features/support/hooks.rb:100 0.000
Tags: @product
47.053
Before features/support/hooks.rb:269 0.015
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.143
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.617
When I enable persistence 28.432
Then the filesystem of the Persistent Storage was repaired 0.098
And persistence is successfully enabled 2.761
After features/support/hooks.rb:326 3.205
After features/support/hooks.rb:100 0.000
Tags: @product
25.474
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 8.610
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.065
When I try to enable persistence 0.507
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.058
When I repair the filesystem of the Persistent Storage 1.295
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.221
And the filesystem of the Persistent Storage was repaired 0.059
When I close the filesystem repair dialog 1.259
Then persistence is successfully enabled 1.394
After features/support/hooks.rb:326 1.337
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.356
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 9.286
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.266
When I repair the filesystem of the Persistent Storage 1.190
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.091
When I log in to a new session 40.299
And all notifications have disappeared 8.124
# 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.728
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.215
When I close the "whisperback" window 1.732
Then the Tor Browser starts 18.907
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.085
After features/support/hooks.rb:326 2.895
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:16.297
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 8.543
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.522
And Tails detects disk read failures on the boot device 1.729
When I try to enable persistence 0.425
Then the Welcome Screen tells me that my hardware is probably failing 6.517
When I log in to a new session 21.258
And all notifications have disappeared 7.713
Then the Tor Browser starts 22.845
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.741
After features/support/hooks.rb:326 1.002
After features/support/hooks.rb:100 0.000