Project Number Date
test_Tails_ISO_devel 3701 19 Feb 2025, 15:13

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 39:25.838 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.727
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.681
And I update APT using apt 13.398
And I install "python3-behave" using apt 25.487
Then the Tails Persistent Storage behave tests pass 2.160
After features/support/hooks.rb:326 0.645
After features/support/hooks.rb:100 0.000
Tags: @product
39.326
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 11.195
When I log in to a new session without activating the Persistent Storage 20.726
Then Tails is running from USB drive "__internal" 0.811
And persistence is disabled 0.413
But a Tails persistence partition exists on USB drive "__internal" 6.178
After features/support/hooks.rb:326 0.939
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.827
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.562
Then Tails is running from USB drive "__internal" 0.480
When I create a file in the Persistent directory 0.152
And I create a persistent partition with the default settings 23.351
Then the file I created was copied to the Persistent Storage 0.605
When I shutdown Tails and wait for the computer to power off 12.498
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.349
Then persistence for "Persistent" is active 0.753
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 0.762
After features/support/hooks.rb:100 0.007
Tags: @product
1:12.237
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.326
And the system is very low on memory 3.572
When I create a file in the Persistent directory 4.185
When I try to create a persistent partition 33.402
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.153
When I close the Persistent Storage app 2.552
And I free up some memory 1.876
And I create a persistent partition with the default settings 14.918
Then the file I created was copied to the Persistent Storage 0.248
After features/support/hooks.rb:326 1.465
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.538
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 30.579
Then Tails is running from USB drive "__internal" 0.789
And all tps features are active 2.538
And all persistent directories have safe access rights 2.488
When I disable the first tps feature 6.133
Then all tps features but the first one are active 2.193
And I shutdown Tails and wait for the computer to power off 10.522
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.220
Then all tps features but the first one are active 2.071
After features/support/hooks.rb:326 0.652
After features/support/hooks.rb:100 0.009
Tags: @product
19.685
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.517
Then persistence for "Persistent" is active 0.079
And I create a file in the Persistent directory 0.212
Then the file I created was copied to the Persistent Storage 0.065
When I disable the first tps feature 5.563
Then persistence for "Persistent" is not active 0.086
And the Persistent directory does not exist 0.071
When I enable the first tps feature 3.859
Then persistence for "Persistent" is active 0.138
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:326 0.990
After features/support/hooks.rb:100 0.000
Tags: @product
19.491
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 9.339
Then persistence for "Persistent" is active 0.359
When I create a file in the Persistent directory 0.144
And I disable the first tps feature 5.772
And I delete the data of the Persistent Folder feature 3.815
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:326 1.094
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.954
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 9.440
And the network is plugged 0.102
And Tor is ready 20.631
And I take note of which tps features are available 0.653
When I write some files expected to persist 1.394
And I shutdown Tails and wait for the computer to power off 8.759
# 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" 23.971
After features/support/hooks.rb:326 0.116
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.233
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.614
And the network is plugged 0.075
And Tor is ready 18.593
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.216
And I shutdown Tails and wait for the computer to power off 8.540
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.030
And I capture all network traffic 0.005
And the network is plugged 0.090
And Tor is ready 20.425
And I switch to the "persistent-con-current" NetworkManager connection 0.398
And the 1st network device has a spoofed MAC address configured 0.088
And no network device leaked the real MAC address 0.153
After features/support/hooks.rb:326 0.585
After features/support/hooks.rb:100 0.071
Tags: @product
55.443
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.767
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 20.436
Then I create a persistent partition with the default settings using the wizard that was already open 22.090
After features/support/hooks.rb:326 1.412
After features/support/hooks.rb:100 0.000
Tags: @product
4:20.140
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 11.221
When I enable persistence 38.407
Then no persistent Greeter options were restored 14.216
When I set all Greeter options to non-default values 23.411
And I log in to a new session in German (de) after having activated the Persistent Storage 50.214
Then all Greeter options are set to non-default values 0.526
When I cold reboot the computer 7.403
And the computer reboots Tails 58.790
Given I enable persistence 17.554
Then persistent Greeter options were restored 0.569
When I log in to a new session after having activated the Persistent Storage 37.129
Then all Greeter options are set to non-default values 0.695
After features/support/hooks.rb:326 1.806
After features/support/hooks.rb:100 0.007
Tags: @product
3:38.131
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.905
# 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.950
And I shutdown Tails and wait for the computer to power off 12.765
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.589
And I change the passphrase of the Persistent Storage back to the original 36.921
After features/support/hooks.rb:326 1.988
After features/support/hooks.rb:100 0.008
Tags: @product
59.247
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.646
And I log in to a new session without activating the Persistent Storage 25.550
Then persistence is disabled 0.304
But a Tails persistence partition exists on USB drive "__internal" 5.871
And all notifications have disappeared 10.391
When I delete the persistent partition 7.061
Then there is no persistence partition on USB drive "__internal" 0.421
After features/support/hooks.rb:326 0.771
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.754
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 9.482
When I write some dotfile expected to persist 0.076
And I shutdown Tails and wait for the computer to power off 8.720
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.960
Then the expected persistent dotfile is present in the filesystem 0.515
After features/support/hooks.rb:326 0.616
After features/support/hooks.rb:100 0.008
Tags: @product
1:30.538
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 8.669
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 0.267
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.586
When I log in to a new session after having activated the Persistent Storage 33.703
And all notifications have disappeared 7.704
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.507
And all tps features are enabled 2.902
And all tps features but the first one are active 2.121
After features/support/hooks.rb:326 1.302
After features/support/hooks.rb:100 0.000
Tags: @product
4:59.736
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:32.106
And I enable persistence 34.900
And I log in to a new session after having activated the Persistent Storage 47.098
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.258
And persistence is enabled 2.372
After features/support/hooks.rb:326 1.017
After features/support/hooks.rb:100 0.000
Tags: @product
30.581
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 8.484
And I enable persistence but something goes wrong during the LUKS header upgrade 21.305
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.791
After features/support/hooks.rb:326 0.683
After features/support/hooks.rb:100 0.000
Tags: @product
44.434
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.941
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.652
When I enable persistence 26.363
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 3.387
After features/support/hooks.rb:326 0.832
After features/support/hooks.rb:100 0.000
Tags: @product
48.391
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.391
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.130
When I try to enable persistence 0.407
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.404
When I repair the filesystem of the Persistent Storage 5.106
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.919
And the filesystem of the Persistent Storage was repaired 2.262
When I close the filesystem repair dialog 1.246
Then persistence is successfully enabled 1.522
After features/support/hooks.rb:326 0.837
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.920
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 8.892
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.110
When I try to enable persistence 0.259
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.503
When I repair the filesystem of the Persistent Storage 1.254
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 35.990
And all notifications have disappeared 7.737
# 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.519
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.341
When I close the "whisperback" window 1.687
Then the Tor Browser starts 20.811
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.737
After features/support/hooks.rb:326 3.377
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.493
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 8.840
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.983
And Tails detects disk read failures on the boot device 1.583
When I try to enable persistence 0.389
Then the Welcome Screen tells me that my hardware is probably failing 17.623
When I log in to a new session 45.395
And all notifications have disappeared 7.857
Then the Tor Browser starts 19.919
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.900
After features/support/hooks.rb:326 2.586
After features/support/hooks.rb:100 0.000