Project Number Date
test_Tails_ISO_devel 3641 09 Jan 2025, 12:39

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 38:23.257 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.767
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:45.838
And I update APT using apt 13.732
And I install "python3-behave" using apt 25.756
Then the Tails Persistent Storage behave tests pass 2.438
After features/support/hooks.rb:326 0.639
After features/support/hooks.rb:100 0.000
Tags: @product
42.298
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 11.452
When I log in to a new session without activating the Persistent Storage 22.235
Then Tails is running from USB drive "__internal" 0.656
And persistence is disabled 0.559
But a Tails persistence partition exists on USB drive "__internal" 7.395
After features/support/hooks.rb:326 1.020
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.812
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.561
Then Tails is running from USB drive "__internal" 0.391
When I create a file in the Persistent directory 0.129
And I create a persistent partition with the default settings 23.477
Then the file I created was copied to the Persistent Storage 0.466
When I shutdown Tails and wait for the computer to power off 12.774
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.341
Then persistence for "Persistent" is active 0.595
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 1.015
After features/support/hooks.rb:100 0.007
Tags: @product
55.637
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.754
And the system is very low on memory 4.080
When I create a file in the Persistent directory 1.040
When I try to create a persistent partition 21.408
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.199
When I close the Persistent Storage app 2.749
And I free up some memory 1.913
And I create a persistent partition with the default settings 13.265
Then the file I created was copied to the Persistent Storage 0.226
After features/support/hooks.rb:326 1.302
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.397
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 13.580
Then Tails is running from USB drive "__internal" 0.402
And all tps features are active 3.538
And all persistent directories have safe access rights 2.315
When I disable the first tps feature 6.980
Then all tps features but the first one are active 2.217
And I shutdown Tails and wait for the computer to power off 10.745
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.373
Then all tps features but the first one are active 2.243
After features/support/hooks.rb:326 0.857
After features/support/hooks.rb:100 0.009
Tags: @product
22.981
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 11.927
Then persistence for "Persistent" is active 0.095
And I create a file in the Persistent directory 0.077
Then the file I created was copied to the Persistent Storage 0.479
When I disable the first tps feature 6.514
Then persistence for "Persistent" is not active 0.080
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.566
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:326 0.796
After features/support/hooks.rb:100 0.000
Tags: @product
21.738
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.338
Then persistence for "Persistent" is active 0.581
When I create a file in the Persistent directory 0.080
And I disable the first tps feature 6.544
And I delete the data of the Persistent Folder feature 4.143
Then the file I created does not exist on the Persistent Storage 0.051
After features/support/hooks.rb:326 0.872
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.186
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.510
And the network is plugged 0.076
And Tor is ready 21.426
And I take note of which tps features are available 0.600
When I write some files expected to persist 1.592
And I shutdown Tails and wait for the computer to power off 8.421
# 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.557
After features/support/hooks.rb:326 0.094
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.781
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.566
And the network is plugged 0.083
And Tor is ready 20.185
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.210
And I shutdown Tails and wait for the computer to power off 8.733
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.714
And I capture all network traffic 0.015
And the network is plugged 0.069
And Tor is ready 19.591
And I switch to the "persistent-con-current" NetworkManager connection 0.408
And the 1st network device has a spoofed MAC address configured 0.082
And no network device leaked the real MAC address 0.119
After features/support/hooks.rb:326 0.594
After features/support/hooks.rb:100 0.071
Tags: @product
56.781
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.341
And I enable persistence creation in Tails Greeter 1.133
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.172
Then I create a persistent partition with the default settings using the wizard that was already open 23.133
After features/support/hooks.rb:326 1.575
After features/support/hooks.rb:100 0.000
Tags: @product
4:12.855
Before features/support/hooks.rb:269 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.336
When I enable persistence 33.803
Then no persistent Greeter options were restored 14.066
When I set all Greeter options to non-default values 23.097
And I log in to a new session in German (de) after having activated the Persistent Storage 44.847
Then all Greeter options are set to non-default values 0.310
When I cold reboot the computer 7.417
And the computer reboots Tails 58.857
Given I enable persistence 17.271
Then persistent Greeter options were restored 0.540
When I log in to a new session after having activated the Persistent Storage 40.659
Then all Greeter options are set to non-default values 0.646
After features/support/hooks.rb:326 1.034
After features/support/hooks.rb:100 0.008
Tags: @product
3:42.399
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.998
# 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 37.737
And I shutdown Tails and wait for the computer to power off 12.662
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.033
And I change the passphrase of the Persistent Storage back to the original 32.967
After features/support/hooks.rb:326 1.932
After features/support/hooks.rb:100 0.008
Tags: @product
50.966
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.413
And I log in to a new session without activating the Persistent Storage 19.859
Then persistence is disabled 0.465
But a Tails persistence partition exists on USB drive "__internal" 7.224
And all notifications have disappeared 8.294
When I delete the persistent partition 5.321
Then there is no persistence partition on USB drive "__internal" 0.388
After features/support/hooks.rb:326 0.735
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.137
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.512
When I write some dotfile expected to persist 0.066
And I shutdown Tails and wait for the computer to power off 8.443
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.771
Then the expected persistent dotfile is present in the filesystem 0.344
After features/support/hooks.rb:326 0.746
After features/support/hooks.rb:100 0.007
Tags: @product
1:39.059
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.622
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.082
When I try to enable persistence 0.273
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.784
When I log in to a new session after having activated the Persistent Storage 43.706
And all notifications have disappeared 8.855
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.141
And all tps features are enabled 2.537
And all tps features but the first one are active 2.055
After features/support/hooks.rb:326 1.322
After features/support/hooks.rb:100 0.000
Tags: @product
4:54.676
Before features/support/hooks.rb:269 0.004
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:26.000
And I enable persistence 33.401
And I log in to a new session after having activated the Persistent Storage 48.168
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.122
And persistence is enabled 3.982
After features/support/hooks.rb:326 0.800
After features/support/hooks.rb:100 0.000
Tags: @product
28.484
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 9.008
And I enable persistence but something goes wrong during the LUKS header upgrade 18.773
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.702
After features/support/hooks.rb:326 0.696
After features/support/hooks.rb:100 0.000
Tags: @product
46.623
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.345
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.853
When I enable persistence 29.726
Then the filesystem of the Persistent Storage was repaired 0.080
And persistence is successfully enabled 2.616
After features/support/hooks.rb:326 1.152
After features/support/hooks.rb:100 0.000
Tags: @product
24.941
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.683
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.945
When I try to enable persistence 1.492
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.606
When I repair the filesystem of the Persistent Storage 1.296
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.170
And the filesystem of the Persistent Storage was repaired 0.074
When I close the filesystem repair dialog 1.222
Then persistence is successfully enabled 1.449
After features/support/hooks.rb:326 2.478
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.076
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.513
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.314
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.306
When I repair the filesystem of the Persistent Storage 1.271
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.114
When I log in to a new session 36.190
And all notifications have disappeared 7.774
# 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" 2.902
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.939
When I close the "whisperback" window 2.576
Then the Tor Browser starts 15.291
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.769
After features/support/hooks.rb:326 2.210
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:13.654
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.532
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.402
And Tails detects disk read failures on the boot device 1.638
When I try to enable persistence 1.454
Then the Welcome Screen tells me that my hardware is probably failing 5.179
When I log in to a new session 20.431
And all notifications have disappeared 8.483
Then the Tor Browser starts 21.608
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.924
After features/support/hooks.rb:326 2.951
After features/support/hooks.rb:100 0.000