Project Number Date
test_Tails_ISO_stable 5327 11 Dec 2024, 12:46

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 46:7.012 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.240
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:40.203
And I update APT using apt 14.929
And I install "python3-behave" using apt 25.719
Then the Tails Persistent Storage behave tests pass 2.388
After features/support/hooks.rb:326 1.085
After features/support/hooks.rb:100 0.000
Tags: @product
46.575
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 13.744
When I log in to a new session without activating the Persistent Storage 23.507
Then Tails is running from USB drive "__internal" 0.472
And persistence is disabled 0.319
But a Tails persistence partition exists on USB drive "__internal" 8.531
After features/support/hooks.rb:326 1.078
After features/support/hooks.rb:100 0.000
Tags: @product
3:27.478
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 15.059
Then Tails is running from USB drive "__internal" 0.528
When I create a file in the Persistent directory 0.252
And I create a persistent partition with the default settings 31.104
Then the file I created was copied to the Persistent Storage 0.710
When I shutdown Tails and wait for the computer to power off 12.722
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.126
Then persistence for "Persistent" is active 0.798
And the file I created in the Persistent directory exists 0.175
After features/support/hooks.rb:326 1.200
After features/support/hooks.rb:100 0.008
Tags: @product
1:7.028
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 11.127
And the system is very low on memory 6.560
When I create a file in the Persistent directory 1.025
When I try to create a persistent partition 29.872
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.244
When I close the Persistent Storage app 2.745
And I free up some memory 1.690
And I create a persistent partition with the default settings 13.518
Then the file I created was copied to the Persistent Storage 0.243
After features/support/hooks.rb:326 1.715
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.945
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.313
Then Tails is running from USB drive "__internal" 0.660
And all tps features are active 2.308
And all persistent directories have safe access rights 2.596
When I disable the first tps feature 5.358
Then all tps features but the first one are active 2.153
And I shutdown Tails and wait for the computer to power off 10.896
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.369
Then all tps features but the first one are active 2.289
After features/support/hooks.rb:326 1.008
After features/support/hooks.rb:100 0.010
Tags: @product
19.884
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.557
Then persistence for "Persistent" is active 0.158
And I create a file in the Persistent directory 0.160
Then the file I created was copied to the Persistent Storage 0.098
When I disable the first tps feature 5.683
Then persistence for "Persistent" is not active 0.108
And the Persistent directory does not exist 0.081
When I enable the first tps feature 3.874
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:326 0.844
After features/support/hooks.rb:100 0.000
Tags: @product
20.056
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.807
Then persistence for "Persistent" is active 0.201
When I create a file in the Persistent directory 0.116
And I disable the first tps feature 5.825
And I delete the data of the Persistent Folder feature 4.041
Then the file I created does not exist on the Persistent Storage 0.064
After features/support/hooks.rb:326 1.254
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.506
Before features/support/hooks.rb:269 0.020
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.019
And the network is plugged 0.191
And Tor is ready 22.829
And I take note of which tps features are available 1.992
When I write some files expected to persist 1.680
And I shutdown Tails and wait for the computer to power off 8.653
# 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" 25.140
After features/support/hooks.rb:326 0.104
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.681
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.675
And the network is plugged 0.069
And Tor is ready 20.760
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.214
And I shutdown Tails and wait for the computer to power off 8.814
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.462
And I capture all network traffic 0.016
And the network is plugged 0.091
And Tor is ready 21.007
And I switch to the "persistent-con-current" NetworkManager connection 0.351
And the 1st network device has a spoofed MAC address configured 0.083
And no network device leaked the real MAC address 0.132
After features/support/hooks.rb:326 0.695
After features/support/hooks.rb:100 0.061
Tags: @product
1:1.436
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 13.314
And I enable persistence creation in Tails Greeter 1.131
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.731
Then I create a persistent partition with the default settings using the wizard that was already open 24.258
After features/support/hooks.rb:326 1.843
After features/support/hooks.rb:100 0.000
Tags: @product
4:53.395
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 14.481
When I enable persistence 44.623
Then no persistent Greeter options were restored 14.355
When I set all Greeter options to non-default values 26.709
And I log in to a new session in German (de) after having activated the Persistent Storage 54.670
Then all Greeter options are set to non-default values 0.478
When I cold reboot the computer 7.517
And the computer reboots Tails 1:6.363
Given I enable persistence 19.819
Then persistent Greeter options were restored 0.618
When I log in to a new session after having activated the Persistent Storage 43.459
Then all Greeter options are set to non-default values 0.296
After features/support/hooks.rb:326 1.502
After features/support/hooks.rb:100 0.010
Tags: @product
3:56.203
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.416
# 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 35.302
And I shutdown Tails and wait for the computer to power off 13.000
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.434
And I change the passphrase of the Persistent Storage back to the original 43.049
After features/support/hooks.rb:326 1.908
After features/support/hooks.rb:100 0.010
Tags: @product
1:9.088
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 13.876
And I log in to a new session without activating the Persistent Storage 24.345
Then persistence is disabled 0.317
But a Tails persistence partition exists on USB drive "__internal" 11.116
And all notifications have disappeared 12.681
When I delete the persistent partition 6.296
Then there is no persistence partition on USB drive "__internal" 0.453
After features/support/hooks.rb:326 0.914
After features/support/hooks.rb:100 0.000
Tags: @product
2:34.108
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.137
When I write some dotfile expected to persist 0.096
And I shutdown Tails and wait for the computer to power off 11.222
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.215
Then the expected persistent dotfile is present in the filesystem 0.436
After features/support/hooks.rb:326 0.687
After features/support/hooks.rb:100 0.011
Tags: @product
1:52.355
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 8.903
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.082
When I try to enable persistence 0.282
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.796
When I log in to a new session after having activated the Persistent Storage 50.540
And all notifications have disappeared 7.736
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.229
And all tps features are enabled 2.699
And all tps features but the first one are active 2.083
After features/support/hooks.rb:326 1.275
After features/support/hooks.rb:100 0.000
Tags: @product
9:21.299
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 7:44.979
And I enable persistence 39.993
And I log in to a new session after having activated the Persistent Storage 48.524
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.829
And persistence is enabled 2.971
After features/support/hooks.rb:326 0.945
After features/support/hooks.rb:100 0.000
Tags: @product
47.707
Before features/support/hooks.rb:269 0.008
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 19.854
And I enable persistence but something goes wrong during the LUKS header upgrade 27.057
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.795
After features/support/hooks.rb:326 0.806
After features/support/hooks.rb:100 0.000
Tags: @product
53.973
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.302
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.635
When I enable persistence 30.013
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 2.931
After features/support/hooks.rb:326 0.873
After features/support/hooks.rb:100 0.000
Tags: @product
32.788
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.232
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.175
When I try to enable persistence 0.499
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.424
When I repair the filesystem of the Persistent Storage 1.310
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.249
And the filesystem of the Persistent Storage was repaired 0.083
When I close the filesystem repair dialog 1.287
Then persistence is successfully enabled 1.525
After features/support/hooks.rb:326 0.835
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.569
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.337
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.118
When I try to enable persistence 0.295
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.601
When I repair the filesystem of the Persistent Storage 1.265
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 41.010
And all notifications have disappeared 9.293
# 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" 1.072
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.644
When I close the "whisperback" window 1.503
Then the Tor Browser starts 13.486
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.857
After features/support/hooks.rb:326 2.203
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:20.688
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.570
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.939
And Tails detects disk read failures on the boot device 1.567
When I try to enable persistence 1.478
Then the Welcome Screen tells me that my hardware is probably failing 6.215
When I log in to a new session 22.261
And all notifications have disappeared 7.703
Then the Tor Browser starts 21.261
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.691
After features/support/hooks.rb:326 1.138
After features/support/hooks.rb:100 0.000