Project Number Date
test_Tails_ISO_stable 5316 06 Dec 2024, 09:01

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:24.616 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.861
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.129
And I update APT using apt 14.610
And I install "python3-behave" using apt 25.697
Then the Tails Persistent Storage behave tests pass 2.423
After features/support/hooks.rb:326 0.653
After features/support/hooks.rb:100 0.000
Tags: @product
49.563
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 14.277
When I log in to a new session without activating the Persistent Storage 22.561
Then Tails is running from USB drive "__internal" 0.707
And persistence is disabled 0.376
But a Tails persistence partition exists on USB drive "__internal" 11.639
After features/support/hooks.rb:326 1.386
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.984
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 13.760
Then Tails is running from USB drive "__internal" 0.362
When I create a file in the Persistent directory 0.136
And I create a persistent partition with the default settings 28.028
Then the file I created was copied to the Persistent Storage 0.793
When I shutdown Tails and wait for the computer to power off 14.203
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.184
Then persistence for "Persistent" is active 0.415
And the file I created in the Persistent directory exists 0.097
After features/support/hooks.rb:326 1.234
After features/support/hooks.rb:100 0.011
Tags: @product
1:12.771
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 13.688
And the system is very low on memory 4.928
When I create a file in the Persistent directory 0.816
When I try to create a persistent partition 33.059
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.895
When I close the Persistent Storage app 2.638
And I free up some memory 1.623
And I create a persistent partition with the default settings 13.974
Then the file I created was copied to the Persistent Storage 1.148
After features/support/hooks.rb:326 1.794
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.589
Before features/support/hooks.rb:269 0.013
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.488
Then Tails is running from USB drive "__internal" 0.754
And all tps features are active 2.740
And all persistent directories have safe access rights 2.715
When I disable the first tps feature 6.202
Then all tps features but the first one are active 2.347
And I shutdown Tails and wait for the computer to power off 9.262
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.423
Then all tps features but the first one are active 2.654
After features/support/hooks.rb:326 0.873
After features/support/hooks.rb:100 0.009
Tags: @product
19.670
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.564
Then persistence for "Persistent" is active 0.138
And I create a file in the Persistent directory 0.208
Then the file I created was copied to the Persistent Storage 0.119
When I disable the first tps feature 6.129
Then persistence for "Persistent" is not active 0.090
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.172
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.092
After features/support/hooks.rb:326 0.964
After features/support/hooks.rb:100 0.000
Tags: @product
21.883
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.175
Then persistence for "Persistent" is active 0.317
When I create a file in the Persistent directory 0.235
And I disable the first tps feature 7.411
And I delete the data of the Persistent Folder feature 3.679
Then the file I created does not exist on the Persistent Storage 0.064
After features/support/hooks.rb:326 1.655
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.820
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.293
And the network is plugged 0.111
And Tor is ready 21.840
And I take note of which tps features are available 0.600
When I write some files expected to persist 1.725
And I shutdown Tails and wait for the computer to power off 9.091
# 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.157
After features/support/hooks.rb:326 0.112
After features/support/hooks.rb:100 0.000
Tags: @product
3:33.253
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 23.980
And the network is plugged 0.282
And Tor is ready 20.224
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.224
And I shutdown Tails and wait for the computer to power off 8.344
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.770
And I capture all network traffic 0.007
And the network is plugged 0.102
And Tor is ready 21.606
And I switch to the "persistent-con-current" NetworkManager connection 0.408
And the 1st network device has a spoofed MAC address configured 0.096
And no network device leaked the real MAC address 0.203
After features/support/hooks.rb:326 0.711
After features/support/hooks.rb:100 0.076
Tags: @product
1:9.684
Before features/support/hooks.rb:269 0.014
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 18.093
And I enable persistence creation in Tails Greeter 1.326
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.026
Then I create a persistent partition with the default settings using the wizard that was already open 25.237
After features/support/hooks.rb:326 1.462
After features/support/hooks.rb:100 0.000
Tags: @product
5:7.988
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 16.702
When I enable persistence 48.658
Then no persistent Greeter options were restored 14.744
When I set all Greeter options to non-default values 29.355
And I log in to a new session in German (de) after having activated the Persistent Storage 54.580
Then all Greeter options are set to non-default values 1.310
When I cold reboot the computer 10.099
And the computer reboots Tails 1:8.569
Given I enable persistence 20.527
Then persistent Greeter options were restored 0.591
When I log in to a new session after having activated the Persistent Storage 42.599
Then all Greeter options are set to non-default values 0.249
After features/support/hooks.rb:326 0.692
After features/support/hooks.rb:100 0.010
Tags: @product
3:38.857
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.818
# 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 34.908
And I shutdown Tails and wait for the computer to power off 12.655
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.333
And I change the passphrase of the Persistent Storage back to the original 29.141
After features/support/hooks.rb:326 2.897
After features/support/hooks.rb:100 0.011
Tags: @product
1:22.754
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 27.914
And I log in to a new session without activating the Persistent Storage 23.344
Then persistence is disabled 0.471
But a Tails persistence partition exists on USB drive "__internal" 11.144
And all notifications have disappeared 11.243
When I delete the persistent partition 8.125
Then there is no persistence partition on USB drive "__internal" 0.511
After features/support/hooks.rb:326 1.094
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.889
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 12.229
When I write some dotfile expected to persist 0.164
And I shutdown Tails and wait for the computer to power off 8.943
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.082
Then the expected persistent dotfile is present in the filesystem 0.469
After features/support/hooks.rb:326 1.918
After features/support/hooks.rb:100 0.016
Tags: @product
1:52.798
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 11.053
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.107
When I try to enable persistence 0.275
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.375
When I log in to a new session after having activated the Persistent Storage 52.907
And all notifications have disappeared 7.927
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.215
And all tps features are enabled 2.503
And all tps features but the first one are active 2.432
After features/support/hooks.rb:326 0.886
After features/support/hooks.rb:100 0.000
Tags: @product
5:21.540
Before features/support/hooks.rb:269 0.006
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:52.690
And I enable persistence 36.733
And I log in to a new session after having activated the Persistent Storage 46.431
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.745
And persistence is enabled 2.940
After features/support/hooks.rb:326 2.517
After features/support/hooks.rb:100 0.000
Tags: @product
34.666
Before features/support/hooks.rb:269 0.006
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.152
And I enable persistence but something goes wrong during the LUKS header upgrade 24.673
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.841
After features/support/hooks.rb:326 0.775
After features/support/hooks.rb:100 0.000
Tags: @product
51.437
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.565
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.556
When I enable persistence 32.218
Then the filesystem of the Persistent Storage was repaired 0.136
And persistence is successfully enabled 2.960
After features/support/hooks.rb:326 0.914
After features/support/hooks.rb:100 0.000
Tags: @product
26.124
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.145
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.043
When I try to enable persistence 0.410
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.264
When I repair the filesystem of the Persistent Storage 1.280
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.205
And the filesystem of the Persistent Storage was repaired 0.097
When I close the filesystem repair dialog 1.199
Then persistence is successfully enabled 1.477
After features/support/hooks.rb:326 0.755
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.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 9.816
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.100
When I try to enable persistence 0.278
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 42.883
When I repair the filesystem of the Persistent Storage 1.257
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 40.571
And all notifications have disappeared 7.341
# 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.543
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.245
When I close the "whisperback" window 1.496
Then the Tor Browser starts 14.513
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.964
After features/support/hooks.rb:326 1.999
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:18.386
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.590
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.843
And Tails detects disk read failures on the boot device 1.646
When I try to enable persistence 0.445
Then the Welcome Screen tells me that my hardware is probably failing 7.085
When I log in to a new session 22.399
And all notifications have disappeared 7.345
Then the Tor Browser starts 22.085
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.945
After features/support/hooks.rb:326 4.120
After features/support/hooks.rb:100 0.000