Project Number Date
test_Tails_ISO_devel 3557 21 Oct 2024, 15:00

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:58.084 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:26.088
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:44.439
And I update APT using apt 12.520
And I install "python3-behave" using apt 25.650
Then the Tails Persistent Storage behave tests pass 3.478
After features/support/hooks.rb:326 1.000
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.475
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 34.072
When I log in to a new session without activating the Persistent Storage 27.125
Then Tails is running from USB drive "__internal" 0.510
And persistence is disabled 0.567
But a Tails persistence partition exists on USB drive "__internal" 10.199
After features/support/hooks.rb:326 1.183
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.909
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 18.095
Then Tails is running from USB drive "__internal" 0.495
When I create a file in the Persistent directory 0.139
And I create a persistent partition with the default settings 24.664
Then the file I created was copied to the Persistent Storage 0.555
When I shutdown Tails and wait for the computer to power off 13.496
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.068
Then persistence for "Persistent" is active 0.324
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 1.319
After features/support/hooks.rb:100 0.011
Tags: @product
1:10.021
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 12.895
And the system is very low on memory 6.785
When I create a file in the Persistent directory 1.395
When I try to create a persistent partition 29.230
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.670
When I close the Persistent Storage app 2.578
And I free up some memory 1.734
And I create a persistent partition with the default settings 14.419
Then the file I created was copied to the Persistent Storage 0.310
After features/support/hooks.rb:326 1.908
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.228
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.161
Then Tails is running from USB drive "__internal" 0.927
And all tps features are active 3.049
And all persistent directories have safe access rights 2.837
When I disable the first tps feature 7.928
Then all tps features but the first one are active 2.382
And I shutdown Tails and wait for the computer to power off 13.562
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.947
Then all tps features but the first one are active 2.430
After features/support/hooks.rb:326 0.925
After features/support/hooks.rb:100 0.008
Tags: @product
23.285
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 11.741
Then persistence for "Persistent" is active 0.690
And I create a file in the Persistent directory 0.196
Then the file I created was copied to the Persistent Storage 0.119
When I disable the first tps feature 6.725
Then persistence for "Persistent" is not active 0.081
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.529
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 0.985
After features/support/hooks.rb:100 0.000
Tags: @product
23.164
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.096
Then persistence for "Persistent" is active 0.232
When I create a file in the Persistent directory 0.145
And I disable the first tps feature 6.775
And I delete the data of the Persistent Folder feature 4.846
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:326 1.042
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.485
Before features/support/hooks.rb:269 0.014
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.373
And the network is plugged 0.190
And Tor is ready 23.524
And I take note of which tps features are available 0.568
When I write some files expected to persist 1.458
And I shutdown Tails and wait for the computer to power off 8.826
# 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.544
After features/support/hooks.rb:326 0.125
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.109
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.231
And the network is plugged 0.086
And Tor is ready 21.229
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.766
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.849
And I capture all network traffic 0.008
And the network is plugged 0.091
And Tor is ready 17.867
And I switch to the "persistent-con-current" NetworkManager connection 0.434
And the 1st network device has a spoofed MAC address configured 0.123
And no network device leaked the real MAC address 0.195
After features/support/hooks.rb:326 1.496
After features/support/hooks.rb:100 0.050
Tags: @product
1:7.008
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.662
And I enable persistence creation in Tails Greeter 1.129
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.125
Then I create a persistent partition with the default settings using the wizard that was already open 29.089
After features/support/hooks.rb:326 1.696
After features/support/hooks.rb:100 0.000
Tags: @product
5:6.696
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.774
When I enable persistence 42.291
Then no persistent Greeter options were restored 14.254
When I set all Greeter options to non-default values 26.770
And I log in to a new session in German (de) after having activated the Persistent Storage 53.606
Then all Greeter options are set to non-default values 0.691
When I cold reboot the computer 8.019
And the computer reboots Tails 1:3.276
Given I enable persistence 31.866
Then persistent Greeter options were restored 14.990
When I log in to a new session after having activated the Persistent Storage 39.483
Then all Greeter options are set to non-default values 0.672
After features/support/hooks.rb:326 2.071
After features/support/hooks.rb:100 0.008
Tags: @product
3:50.925
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.932
# 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.864
And I shutdown Tails and wait for the computer to power off 12.796
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.814
And I change the passphrase of the Persistent Storage back to the original 39.517
After features/support/hooks.rb:326 2.006
After features/support/hooks.rb:100 0.013
Tags: @product
56.207
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.446
And I log in to a new session without activating the Persistent Storage 19.777
Then persistence is disabled 0.340
But a Tails persistence partition exists on USB drive "__internal" 10.189
And all notifications have disappeared 9.567
When I delete the persistent partition 6.411
Then there is no persistence partition on USB drive "__internal" 0.473
After features/support/hooks.rb:326 0.941
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.354
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.144
When I write some dotfile expected to persist 0.081
And I shutdown Tails and wait for the computer to power off 8.790
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.956
Then the expected persistent dotfile is present in the filesystem 0.381
After features/support/hooks.rb:326 0.988
After features/support/hooks.rb:100 0.014
Tags: @product
1:50.005
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.248
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.134
When I try to enable persistence 0.308
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.521
When I log in to a new session after having activated the Persistent Storage 47.576
And all notifications have disappeared 8.629
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.344
And all tps features are enabled 2.562
And all tps features but the first one are active 3.679
After features/support/hooks.rb:326 1.464
After features/support/hooks.rb:100 0.000
Tags: @product
6:7.399
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 4:38.036
And I enable persistence 37.553
And I log in to a new session after having activated the Persistent Storage 49.761
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.735
And persistence is enabled 0.312
After features/support/hooks.rb:326 1.643
After features/support/hooks.rb:100 0.000
Tags: @product
32.915
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 10.414
And I enable persistence but something goes wrong during the LUKS header upgrade 21.588
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.912
After features/support/hooks.rb:326 0.844
After features/support/hooks.rb:100 0.000
Tags: @product
48.222
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.200
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.545
When I enable persistence 32.971
Then the filesystem of the Persistent Storage was repaired 0.103
And persistence is successfully enabled 0.401
After features/support/hooks.rb:326 0.864
After features/support/hooks.rb:100 0.000
Tags: @product
32.486
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.353
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.501
When I try to enable persistence 0.438
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.868
When I repair the filesystem of the Persistent Storage 1.226
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.268
And the filesystem of the Persistent Storage was repaired 0.079
When I close the filesystem repair dialog 1.281
Then persistence is successfully enabled 0.468
After features/support/hooks.rb:326 0.978
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.020
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.562
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.184
When I try to enable persistence 0.332
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.820
When I repair the filesystem of the Persistent Storage 1.322
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.092
When I log in to a new session 45.479
And all notifications have disappeared 9.167
# 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.596
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.050
When I close the "whisperback" window 1.754
Then the Tor Browser starts 13.799
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.856
After features/support/hooks.rb:326 1.781
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:16.075
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.342
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.798
And Tails detects disk read failures on the boot device 1.705
When I try to enable persistence 0.903
Then the Welcome Screen tells me that my hardware is probably failing 6.613
When I log in to a new session 22.291
And all notifications have disappeared 8.599
Then the Tor Browser starts 20.020
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.799
After features/support/hooks.rb:326 1.937
After features/support/hooks.rb:100 0.000