Project Number Date
test_Tails_ISO_20531-early-reporting-of-bad-devices 10 09 Dec 2024, 19: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 39:30.629 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:14.322
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:32.513
And I update APT using apt 14.122
And I install "python3-behave" using apt 25.522
Then the Tails Persistent Storage behave tests pass 2.163
After features/support/hooks.rb:326 0.658
After features/support/hooks.rb:100 0.000
Tags: @product
52.467
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 15.697
When I log in to a new session without activating the Persistent Storage 25.991
Then Tails is running from USB drive "__internal" 0.851
And persistence is disabled 0.581
But a Tails persistence partition exists on USB drive "__internal" 9.344
After features/support/hooks.rb:326 1.048
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.197
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.612
Then Tails is running from USB drive "__internal" 0.473
When I create a file in the Persistent directory 0.214
And I create a persistent partition with the default settings 21.962
Then the file I created was copied to the Persistent Storage 0.597
When I shutdown Tails and wait for the computer to power off 15.027
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.917
Then persistence for "Persistent" is active 0.310
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:326 0.671
After features/support/hooks.rb:100 0.010
Tags: @product
59.351
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 10.266
And the system is very low on memory 4.677
When I create a file in the Persistent directory 1.253
When I try to create a persistent partition 25.351
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.477
When I close the Persistent Storage app 2.539
And I free up some memory 1.470
And I create a persistent partition with the default settings 13.067
Then the file I created was copied to the Persistent Storage 0.247
After features/support/hooks.rb:326 1.227
After features/support/hooks.rb:100 0.000
Tags: @product
2:48.420
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 13.304
Then Tails is running from USB drive "__internal" 0.502
And all tps features are active 2.415
And all persistent directories have safe access rights 2.586
When I disable the first tps feature 6.139
Then all tps features but the first one are active 2.122
And I shutdown Tails and wait for the computer to power off 13.052
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.440
Then all tps features but the first one are active 2.856
After features/support/hooks.rb:326 0.659
After features/support/hooks.rb:100 0.012
Tags: @product
24.645
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 11.938
Then persistence for "Persistent" is active 0.411
And I create a file in the Persistent directory 0.066
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 6.643
Then persistence for "Persistent" is not active 0.082
And the Persistent directory does not exist 0.050
When I enable the first tps feature 5.235
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 0.810
After features/support/hooks.rb:100 0.000
Tags: @product
20.855
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.627
Then persistence for "Persistent" is active 0.580
When I create a file in the Persistent directory 0.077
And I disable the first tps feature 5.845
And I delete the data of the Persistent Folder feature 3.661
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:326 1.487
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.564
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.325
And the network is plugged 0.070
And Tor is ready 25.493
And I take note of which tps features are available 0.689
When I write some files expected to persist 1.551
And I shutdown Tails and wait for the computer to power off 8.761
# 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.672
After features/support/hooks.rb:326 0.117
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.412
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.803
And the network is plugged 0.093
And Tor is ready 21.410
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.220
And I shutdown Tails and wait for the computer to power off 8.934
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.470
And I capture all network traffic 0.011
And the network is plugged 0.079
And Tor is ready 20.808
And I switch to the "persistent-con-current" NetworkManager connection 0.335
And the 1st network device has a spoofed MAC address configured 0.116
And no network device leaked the real MAC address 0.128
After features/support/hooks.rb:326 0.628
After features/support/hooks.rb:100 0.061
Tags: @product
59.260
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.398
And I enable persistence creation in Tails Greeter 1.108
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.174
Then I create a persistent partition with the default settings using the wizard that was already open 22.579
After features/support/hooks.rb:326 2.105
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.042
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.164
When I enable persistence 35.586
Then no persistent Greeter options were restored 15.065
When I set all Greeter options to non-default values 27.608
And I log in to a new session in German (de) after having activated the Persistent Storage 45.619
Then all Greeter options are set to non-default values 0.329
When I cold reboot the computer 7.600
And the computer reboots Tails 1:7.754
Given I enable persistence 16.440
Then persistent Greeter options were restored 0.511
When I log in to a new session after having activated the Persistent Storage 37.900
Then all Greeter options are set to non-default values 0.462
After features/support/hooks.rb:326 1.504
After features/support/hooks.rb:100 0.011
Tags: @product
3:46.304
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 11.859
# 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.089
And I shutdown Tails and wait for the computer to power off 13.051
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.418
And I change the passphrase of the Persistent Storage back to the original 36.883
After features/support/hooks.rb:326 1.735
After features/support/hooks.rb:100 0.007
Tags: @product
1:3.659
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 10.360
And I log in to a new session without activating the Persistent Storage 24.277
Then persistence is disabled 0.378
But a Tails persistence partition exists on USB drive "__internal" 10.924
And all notifications have disappeared 10.947
When I delete the persistent partition 5.984
Then there is no persistence partition on USB drive "__internal" 0.786
After features/support/hooks.rb:326 1.014
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.864
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.825
When I write some dotfile expected to persist 0.188
And I shutdown Tails and wait for the computer to power off 9.138
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.178
Then the expected persistent dotfile is present in the filesystem 0.533
After features/support/hooks.rb:326 0.772
After features/support/hooks.rb:100 0.012
Tags: @product
1:41.502
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 10.382
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.119
When I try to enable persistence 0.430
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.003
When I log in to a new session after having activated the Persistent Storage 40.659
And all notifications have disappeared 8.678
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.321
And all tps features are enabled 2.619
And all tps features but the first one are active 2.287
After features/support/hooks.rb:326 1.564
After features/support/hooks.rb:100 0.000
Tags: @product
4:37.424
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:9.667
And I enable persistence 32.614
And I log in to a new session after having activated the Persistent Storage 50.506
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.804
And persistence is enabled 2.831
After features/support/hooks.rb:326 1.338
After features/support/hooks.rb:100 0.000
Tags: @product
30.270
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.517
And I enable persistence but something goes wrong during the LUKS header upgrade 19.958
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.794
After features/support/hooks.rb:326 0.808
After features/support/hooks.rb:100 0.000
Tags: @product
47.152
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.887
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.530
When I enable persistence 28.044
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 3.594
After features/support/hooks.rb:326 1.077
After features/support/hooks.rb:100 0.000
Tags: @product
27.294
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.738
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.201
When I try to enable persistence 0.451
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.434
When I repair the filesystem of the Persistent Storage 1.322
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.373
And the filesystem of the Persistent Storage was repaired 0.056
When I close the filesystem repair dialog 1.255
Then persistence is successfully enabled 1.459
After features/support/hooks.rb:326 0.873
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.686
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.798
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.125
When I try to enable persistence 0.395
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.136
When I repair the filesystem of the Persistent Storage 1.241
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.099
When I log in to a new session 43.321
And all notifications have disappeared 9.600
# 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.312
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.670
When I close the "whisperback" window 1.862
Then the Tor Browser starts 19.277
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.844
After features/support/hooks.rb:326 1.889
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:12.928
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.323
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.910
And Tails detects disk read failures on the boot device 0.507
When I try to enable persistence 0.401
Then the Welcome Screen tells me that my hardware is probably failing 5.069
When I log in to a new session 19.998
And all notifications have disappeared 10.290
Then the Tor Browser starts 20.211
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.217
After features/support/hooks.rb:326 1.625
After features/support/hooks.rb:100 0.000