Project Number Date
test_Tails_ISO_devel 3528 02 Oct 2024, 20:56

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:46.840 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:18.155
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:34.701
And I update APT using apt 14.912
And I install "python3-behave" using apt 26.105
Then the Tails Persistent Storage behave tests pass 2.437
After features/support/hooks.rb:326 0.779
After features/support/hooks.rb:100 0.000
Tags: @product
49.549
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.811
When I log in to a new session without activating the Persistent Storage 23.163
Then Tails is running from USB drive "__internal" 0.758
And persistence is disabled 0.496
But a Tails persistence partition exists on USB drive "__internal" 11.319
After features/support/hooks.rb:326 1.457
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.636
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 16.064
Then Tails is running from USB drive "__internal" 0.657
When I create a file in the Persistent directory 0.179
And I create a persistent partition with the default settings 25.416
Then the file I created was copied to the Persistent Storage 0.897
When I shutdown Tails and wait for the computer to power off 12.668
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.274
Then persistence for "Persistent" is active 0.386
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:326 0.723
After features/support/hooks.rb:100 0.009
Tags: @product
54.226
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 12.154
And the system is very low on memory 4.990
When I create a file in the Persistent directory 0.887
When I try to create a persistent partition 18.667
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.296
When I close the Persistent Storage app 2.552
And I free up some memory 1.206
And I create a persistent partition with the default settings 13.238
Then the file I created was copied to the Persistent Storage 0.232
After features/support/hooks.rb:326 1.354
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.338
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.920
Then Tails is running from USB drive "__internal" 0.452
And all tps features are active 3.247
And all persistent directories have safe access rights 2.441
When I disable the first tps feature 5.368
Then all tps features but the first one are active 2.167
And I shutdown Tails and wait for the computer to power off 10.977
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.117
Then all tps features but the first one are active 2.645
After features/support/hooks.rb:326 0.910
After features/support/hooks.rb:100 0.009
Tags: @product
20.880
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.301
Then persistence for "Persistent" is active 0.309
And I create a file in the Persistent directory 0.070
Then the file I created was copied to the Persistent Storage 0.076
When I disable the first tps feature 5.456
Then persistence for "Persistent" is not active 0.067
And the Persistent directory does not exist 0.095
When I enable the first tps feature 3.341
Then persistence for "Persistent" is active 0.062
And the file I created in the Persistent directory exists 0.098
After features/support/hooks.rb:326 0.898
After features/support/hooks.rb:100 0.000
Tags: @product
19.841
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.841
Then persistence for "Persistent" is active 0.480
When I create a file in the Persistent directory 0.071
And I disable the first tps feature 5.528
And I delete the data of the Persistent Folder feature 3.867
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:326 2.379
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.314
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.028
And the network is plugged 0.117
And Tor is ready 22.747
And I take note of which tps features are available 0.519
When I write some files expected to persist 1.604
And I shutdown Tails and wait for the computer to power off 8.672
# 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.625
After features/support/hooks.rb:326 0.149
After features/support/hooks.rb:100 0.000
Tags: @product
3:37.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 10.228
And the network is plugged 0.080
And Tor is ready 48.337
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.187
And I shutdown Tails and wait for the computer to power off 8.576
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.720
And I capture all network traffic 0.005
And the network is plugged 0.082
And Tor is ready 20.972
And I switch to the "persistent-con-current" NetworkManager connection 0.375
And the 1st network device has a spoofed MAC address configured 0.113
And no network device leaked the real MAC address 0.266
After features/support/hooks.rb:326 0.628
After features/support/hooks.rb:100 0.068
Tags: @product
1:1.935
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 14.058
And I enable persistence creation in Tails Greeter 1.347
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.244
Then I create a persistent partition with the default settings using the wizard that was already open 22.285
After features/support/hooks.rb:326 1.613
After features/support/hooks.rb:100 0.000
Tags: @product
5:8.342
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 16.311
When I enable persistence 44.082
Then no persistent Greeter options were restored 14.402
When I set all Greeter options to non-default values 26.502
And I log in to a new session in German (de) after having activated the Persistent Storage 52.534
Then all Greeter options are set to non-default values 0.237
When I cold reboot the computer 7.674
And the computer reboots Tails 1:0.317
Given I enable persistence 31.797
Then persistent Greeter options were restored 14.862
When I log in to a new session after having activated the Persistent Storage 39.015
Then all Greeter options are set to non-default values 0.602
After features/support/hooks.rb:326 2.136
After features/support/hooks.rb:100 0.009
Tags: @product
3:36.937
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.619
# 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 33.050
And I shutdown Tails and wait for the computer to power off 12.929
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.716
And I change the passphrase of the Persistent Storage back to the original 35.621
After features/support/hooks.rb:326 2.153
After features/support/hooks.rb:100 0.009
Tags: @product
59.446
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.475
And I log in to a new session without activating the Persistent Storage 21.632
Then persistence is disabled 0.494
But a Tails persistence partition exists on USB drive "__internal" 9.815
And all notifications have disappeared 10.766
When I delete the persistent partition 5.760
Then there is no persistence partition on USB drive "__internal" 0.501
After features/support/hooks.rb:326 0.819
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.071
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.339
When I write some dotfile expected to persist 0.059
And I shutdown Tails and wait for the computer to power off 9.006
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.194
Then the expected persistent dotfile is present in the filesystem 0.471
After features/support/hooks.rb:326 0.897
After features/support/hooks.rb:100 0.010
Tags: @product
1:42.685
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.205
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.300
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.040
When I log in to a new session after having activated the Persistent Storage 45.120
And all notifications have disappeared 8.485
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.910
And all tps features are enabled 2.270
And all tps features but the first one are active 2.257
After features/support/hooks.rb:326 0.956
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.280
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 3:4.456
And I enable persistence 33.897
And I log in to a new session after having activated the Persistent Storage 47.596
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.171
And persistence is enabled 0.158
After features/support/hooks.rb:326 2.253
After features/support/hooks.rb:100 0.000
Tags: @product
31.188
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 10.039
And I enable persistence but something goes wrong during the LUKS header upgrade 20.352
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.797
After features/support/hooks.rb:326 0.792
After features/support/hooks.rb:100 0.000
Tags: @product
44.461
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.126
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.234
When I enable persistence 28.488
Then the filesystem of the Persistent Storage was repaired 0.091
And persistence is successfully enabled 0.520
After features/support/hooks.rb:326 0.930
After features/support/hooks.rb:100 0.000
Tags: @product
26.370
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.455
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.573
When I try to enable persistence 1.512
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.302
When I repair the filesystem of the Persistent Storage 1.258
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.218
And the filesystem of the Persistent Storage was repaired 0.333
When I close the filesystem repair dialog 1.277
Then persistence is successfully enabled 0.438
After features/support/hooks.rb:326 1.825
After features/support/hooks.rb:100 0.000
Tags: @product
1:49.732
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 8.702
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.088
When I try to enable persistence 0.275
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.130
When I repair the filesystem of the Persistent Storage 1.266
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.883
When I log in to a new session 34.497
And all notifications have disappeared 7.623
# 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.551
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.312
When I close the "whisperback" window 2.175
Then the Tor Browser starts 14.669
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.553
After features/support/hooks.rb:326 2.748
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.499
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.098
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.503
And Tails detects disk read failures on the boot device 0.482
When I try to enable persistence 1.422
Then the Welcome Screen tells me that my hardware is probably failing 6.122
When I log in to a new session 21.329
And all notifications have disappeared 7.421
Then the Tor Browser starts 20.575
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.543
After features/support/hooks.rb:326 1.075
After features/support/hooks.rb:100 0.000