Project Number Date
test_Tails_ISO_20531-early-reporting-of-bad-devices 13 11 Dec 2024, 15:32

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 44:57.652 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:26.452
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.448
And I update APT using apt 13.398
And I install "python3-behave" using apt 25.439
Then the Tails Persistent Storage behave tests pass 2.166
After features/support/hooks.rb:326 0.689
After features/support/hooks.rb:100 0.000
Tags: @product
45.227
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.030
When I log in to a new session without activating the Persistent Storage 23.297
Then Tails is running from USB drive "__internal" 0.377
And persistence is disabled 0.248
But a Tails persistence partition exists on USB drive "__internal" 8.273
After features/support/hooks.rb:326 1.034
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.962
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 19.961
Then Tails is running from USB drive "__internal" 0.655
When I create a file in the Persistent directory 0.190
And I create a persistent partition with the default settings 25.801
Then the file I created was copied to the Persistent Storage 0.734
When I shutdown Tails and wait for the computer to power off 13.370
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.798
Then persistence for "Persistent" is active 0.373
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 0.877
After features/support/hooks.rb:100 0.009
Tags: @product
1:1.640
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 10.875
And the system is very low on memory 4.634
When I create a file in the Persistent directory 1.230
When I try to create a persistent partition 25.495
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.393
When I close the Persistent Storage app 2.578
And I free up some memory 1.643
And I create a persistent partition with the default settings 14.551
Then the file I created was copied to the Persistent Storage 0.236
After features/support/hooks.rb:326 1.033
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.720
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 14.824
Then Tails is running from USB drive "__internal" 1.006
And all tps features are active 2.970
And all persistent directories have safe access rights 3.141
When I disable the first tps feature 5.706
Then all tps features but the first one are active 2.315
And I shutdown Tails and wait for the computer to power off 15.672
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.486
Then all tps features but the first one are active 2.595
After features/support/hooks.rb:326 0.747
After features/support/hooks.rb:100 0.007
Tags: @product
19.526
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.843
Then persistence for "Persistent" is active 0.322
And I create a file in the Persistent directory 0.112
Then the file I created was copied to the Persistent Storage 0.068
When I disable the first tps feature 5.722
Then persistence for "Persistent" is not active 0.065
And the Persistent directory does not exist 0.051
When I enable the first tps feature 3.193
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:326 0.902
After features/support/hooks.rb:100 0.000
Tags: @product
20.483
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.661
Then persistence for "Persistent" is active 0.435
When I create a file in the Persistent directory 0.101
And I disable the first tps feature 6.383
And I delete the data of the Persistent Folder feature 3.841
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:326 0.863
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.995
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.753
And the network is plugged 0.209
And Tor is ready 19.376
And I take note of which tps features are available 0.619
When I write some files expected to persist 1.430
And I shutdown Tails and wait for the computer to power off 8.712
# 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.893
After features/support/hooks.rb:326 0.137
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.961
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.213
And the network is plugged 0.122
And Tor is ready 17.637
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.181
And I shutdown Tails and wait for the computer to power off 8.338
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.970
And I capture all network traffic 0.005
And the network is plugged 0.082
And Tor is ready 20.599
And I switch to the "persistent-con-current" NetworkManager connection 0.407
And the 1st network device has a spoofed MAC address configured 0.256
And no network device leaked the real MAC address 0.146
After features/support/hooks.rb:326 1.047
After features/support/hooks.rb:100 0.070
Tags: @product
1:11.610
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 16.891
And I enable persistence creation in Tails Greeter 1.152
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.418
Then I create a persistent partition with the default settings using the wizard that was already open 28.148
After features/support/hooks.rb:326 1.850
After features/support/hooks.rb:100 0.000
Tags: @product
4:48.115
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 13.352
When I enable persistence 46.684
Then no persistent Greeter options were restored 15.421
When I set all Greeter options to non-default values 26.365
And I log in to a new session in German (de) after having activated the Persistent Storage 52.765
Then all Greeter options are set to non-default values 0.523
When I cold reboot the computer 7.759
And the computer reboots Tails 1:4.664
Given I enable persistence 21.537
Then persistent Greeter options were restored 0.558
When I log in to a new session after having activated the Persistent Storage 38.036
Then all Greeter options are set to non-default values 0.445
After features/support/hooks.rb:326 1.595
After features/support/hooks.rb:100 0.010
Tags: @product
4:16.674
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.355
# 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.616
And I shutdown Tails and wait for the computer to power off 12.578
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:33.103
And I change the passphrase of the Persistent Storage back to the original 43.021
After features/support/hooks.rb:326 1.944
After features/support/hooks.rb:100 0.013
Tags: @product
1:6.207
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 12.292
And I log in to a new session without activating the Persistent Storage 25.109
Then persistence is disabled 0.444
But a Tails persistence partition exists on USB drive "__internal" 13.056
And all notifications have disappeared 9.456
When I delete the persistent partition 5.375
Then there is no persistence partition on USB drive "__internal" 0.472
After features/support/hooks.rb:326 0.868
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.737
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.986
When I write some dotfile expected to persist 0.089
And I shutdown Tails and wait for the computer to power off 8.732
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.235
Then the expected persistent dotfile is present in the filesystem 0.693
After features/support/hooks.rb:326 0.756
After features/support/hooks.rb:100 0.009
Tags: @product
1:55.892
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.519
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.125
When I try to enable persistence 0.379
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.281
When I log in to a new session after having activated the Persistent Storage 52.188
And all notifications have disappeared 8.205
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.017
And all tps features are enabled 2.945
And all tps features but the first one are active 2.230
After features/support/hooks.rb:326 0.943
After features/support/hooks.rb:100 0.000
Tags: @product
8:22.502
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 6:42.401
And I enable persistence 44.645
And I log in to a new session after having activated the Persistent Storage 51.126
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.454
And persistence is enabled 2.873
After features/support/hooks.rb:326 2.036
After features/support/hooks.rb:100 0.000
Tags: @product
32.957
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.106
And I enable persistence but something goes wrong during the LUKS header upgrade 22.843
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.007
After features/support/hooks.rb:326 0.901
After features/support/hooks.rb:100 0.000
Tags: @product
46.454
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.476
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.128
When I enable persistence 28.890
Then the filesystem of the Persistent Storage was repaired 0.113
And persistence is successfully enabled 2.845
After features/support/hooks.rb:326 3.256
After features/support/hooks.rb:100 0.000
Tags: @product
29.726
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.738
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.796
When I try to enable persistence 0.467
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.032
When I repair the filesystem of the Persistent Storage 1.324
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.277
And the filesystem of the Persistent Storage was repaired 0.071
When I close the filesystem repair dialog 1.332
Then persistence is successfully enabled 1.684
After features/support/hooks.rb:326 1.110
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.615
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 10.681
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.091
When I try to enable persistence 1.472
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.168
When I repair the filesystem of the Persistent Storage 1.327
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.092
When I log in to a new session 37.055
And all notifications have disappeared 8.208
# 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.535
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.336
When I close the "whisperback" window 1.612
Then the Tor Browser starts 22.074
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.957
After features/support/hooks.rb:326 3.674
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:22.187
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.287
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.003
And Tails detects disk read failures on the boot device 1.606
When I try to enable persistence 1.480
Then the Welcome Screen tells me that my hardware is probably failing 6.921
When I log in to a new session 21.447
And all notifications have disappeared 7.354
Then the Tor Browser starts 24.086
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.999
After features/support/hooks.rb:326 1.489
After features/support/hooks.rb:100 0.000