Project Number Date
test_Tails_ISO_stable 5395 15 Jan 2025, 19:15

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:2.285 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:18.434
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:37.136
And I update APT using apt 13.018
And I install "python3-behave" using apt 26.001
Then the Tails Persistent Storage behave tests pass 2.278
After features/support/hooks.rb:326 1.462
After features/support/hooks.rb:100 0.000
Tags: @product
42.590
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.555
When I log in to a new session without activating the Persistent Storage 22.523
Then Tails is running from USB drive "__internal" 0.453
And persistence is disabled 0.316
But a Tails persistence partition exists on USB drive "__internal" 7.741
After features/support/hooks.rb:326 1.303
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.101
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 13.885
Then Tails is running from USB drive "__internal" 0.785
When I create a file in the Persistent directory 0.182
And I create a persistent partition with the default settings 23.941
Then the file I created was copied to the Persistent Storage 0.753
When I shutdown Tails and wait for the computer to power off 15.179
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.873
Then persistence for "Persistent" is active 0.407
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:326 1.475
After features/support/hooks.rb:100 0.010
Tags: @product
53.976
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 12.881
And the system is very low on memory 4.277
When I create a file in the Persistent directory 1.507
When I try to create a persistent partition 18.516
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.260
When I close the Persistent Storage app 2.530
And I free up some memory 1.199
And I create a persistent partition with the default settings 12.563
Then the file I created was copied to the Persistent Storage 0.240
After features/support/hooks.rb:326 0.811
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.717
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.931
Then Tails is running from USB drive "__internal" 0.490
And all tps features are active 2.690
And all persistent directories have safe access rights 2.736
When I disable the first tps feature 7.025
Then all tps features but the first one are active 2.066
And I shutdown Tails and wait for the computer to power off 19.732
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.458
Then all tps features but the first one are active 2.586
After features/support/hooks.rb:326 0.947
After features/support/hooks.rb:100 0.011
Tags: @product
20.663
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.842
Then persistence for "Persistent" is active 0.324
And I create a file in the Persistent directory 0.088
Then the file I created was copied to the Persistent Storage 0.106
When I disable the first tps feature 5.696
Then persistence for "Persistent" is not active 0.112
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.283
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:326 0.765
After features/support/hooks.rb:100 0.000
Tags: @product
20.471
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.202
Then persistence for "Persistent" is active 0.144
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 6.170
And I delete the data of the Persistent Folder feature 3.828
Then the file I created does not exist on the Persistent Storage 0.049
After features/support/hooks.rb:326 0.790
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.624
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 10.137
And the network is plugged 0.072
And Tor is ready 22.217
And I take note of which tps features are available 0.615
When I write some files expected to persist 1.597
And I shutdown Tails and wait for the computer to power off 8.959
# 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.024
After features/support/hooks.rb:326 0.122
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.125
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.498
And the network is plugged 0.069
And Tor is ready 18.904
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.267
And I shutdown Tails and wait for the computer to power off 8.788
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.213
And I capture all network traffic 0.010
And the network is plugged 0.081
And Tor is ready 19.652
And I switch to the "persistent-con-current" NetworkManager connection 0.375
And the 1st network device has a spoofed MAC address configured 0.106
And no network device leaked the real MAC address 0.158
After features/support/hooks.rb:326 0.871
After features/support/hooks.rb:100 0.042
Tags: @product
57.305
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.463
And I enable persistence creation in Tails Greeter 1.253
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.108
Then I create a persistent partition with the default settings using the wizard that was already open 23.480
After features/support/hooks.rb:326 2.534
After features/support/hooks.rb:100 0.000
Tags: @product
4:29.824
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.097
When I enable persistence 38.591
Then no persistent Greeter options were restored 13.991
When I set all Greeter options to non-default values 24.983
And I log in to a new session in German (de) after having activated the Persistent Storage 51.988
Then all Greeter options are set to non-default values 0.476
When I cold reboot the computer 7.620
And the computer reboots Tails 1:1.582
Given I enable persistence 17.962
Then persistent Greeter options were restored 0.609
When I log in to a new session after having activated the Persistent Storage 39.386
Then all Greeter options are set to non-default values 0.532
After features/support/hooks.rb:326 0.951
After features/support/hooks.rb:100 0.009
Tags: @product
3:39.536
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.567
# 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 38.281
And I shutdown Tails and wait for the computer to power off 14.527
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:2.425
And I change the passphrase of the Persistent Storage back to the original 33.734
After features/support/hooks.rb:326 2.481
After features/support/hooks.rb:100 0.009
Tags: @product
56.413
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 10.203
And I log in to a new session without activating the Persistent Storage 21.523
Then persistence is disabled 0.271
But a Tails persistence partition exists on USB drive "__internal" 7.821
And all notifications have disappeared 9.273
When I delete the persistent partition 6.846
Then there is no persistence partition on USB drive "__internal" 0.474
After features/support/hooks.rb:326 0.819
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.022
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.972
When I write some dotfile expected to persist 0.065
And I shutdown Tails and wait for the computer to power off 8.927
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.535
Then the expected persistent dotfile is present in the filesystem 0.521
After features/support/hooks.rb:326 0.971
After features/support/hooks.rb:100 0.007
Tags: @product
1:46.886
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 12.096
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 0.271
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.059
When I log in to a new session after having activated the Persistent Storage 43.593
And all notifications have disappeared 9.610
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.323
And all tps features are enabled 2.762
And all tps features but the first one are active 2.091
After features/support/hooks.rb:326 1.230
After features/support/hooks.rb:100 0.000
Tags: @product
4:59.661
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 3:37.822
And I enable persistence 30.466
And I log in to a new session after having activated the Persistent Storage 44.544
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.654
And persistence is enabled 5.174
After features/support/hooks.rb:326 0.786
After features/support/hooks.rb:100 0.000
Tags: @product
29.119
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.161
And I enable persistence but something goes wrong during the LUKS header upgrade 19.143
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.814
After features/support/hooks.rb:326 0.730
After features/support/hooks.rb:100 0.000
Tags: @product
42.015
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.778
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.802
When I enable persistence 24.733
Then the filesystem of the Persistent Storage was repaired 0.098
And persistence is successfully enabled 2.602
After features/support/hooks.rb:326 1.150
After features/support/hooks.rb:100 0.000
Tags: @product
27.200
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.900
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.202
When I try to enable persistence 1.488
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.325
When I repair the filesystem of the Persistent Storage 1.235
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.195
And the filesystem of the Persistent Storage was repaired 0.064
When I close the filesystem repair dialog 1.256
Then persistence is successfully enabled 1.529
After features/support/hooks.rb:326 1.058
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.854
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.549
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.106
When I try to enable persistence 0.274
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.274
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.079
When I log in to a new session 37.990
And all notifications have disappeared 7.922
# 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.798
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.363
When I close the "whisperback" window 2.167
Then the Tor Browser starts 18.909
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.879
After features/support/hooks.rb:326 1.915
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:18.737
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.468
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.476
And Tails detects disk read failures on the boot device 1.744
When I try to enable persistence 1.471
Then the Welcome Screen tells me that my hardware is probably failing 6.081
When I log in to a new session 21.680
And all notifications have disappeared 8.214
Then the Tor Browser starts 21.413
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.184
After features/support/hooks.rb:326 1.169
After features/support/hooks.rb:100 0.000