Project Number Date
test_Tails_ISO_stable 5123 27 Sep 2024, 12:38

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 40:27.798 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:30.322
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:48.977
And I update APT using apt 14.371
And I install "python3-behave" using apt 22.952
Then the Tails Persistent Storage behave tests pass 4.021
After features/support/hooks.rb:326 1.615
After features/support/hooks.rb:100 0.000
Tags: @product
44.473
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 16.119
When I log in to a new session without activating the Persistent Storage 21.085
Then Tails is running from USB drive "__internal" 0.513
And persistence is disabled 0.376
But a Tails persistence partition exists on USB drive "__internal" 6.379
After features/support/hooks.rb:326 1.111
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.969
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 13.063
Then Tails is running from USB drive "__internal" 0.378
When I create a file in the Persistent directory 0.135
And I create a persistent partition with the default settings 22.753
Then the file I created was copied to the Persistent Storage 0.816
When I shutdown Tails and wait for the computer to power off 12.514
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.788
Then persistence for "Persistent" is active 0.433
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:326 1.297
After features/support/hooks.rb:100 0.008
Tags: @product
1:4.113
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 11.225
And the system is very low on memory 6.761
When I create a file in the Persistent directory 1.122
When I try to create a persistent partition 27.640
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.183
When I close the Persistent Storage app 2.562
And I free up some memory 1.857
And I create a persistent partition with the default settings 12.529
Then the file I created was copied to the Persistent Storage 0.231
After features/support/hooks.rb:326 1.509
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.286
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.927
Then Tails is running from USB drive "__internal" 0.483
And all tps features are active 2.534
And all persistent directories have safe access rights 2.634
When I disable the first tps feature 6.450
Then all tps features but the first one are active 2.138
And I shutdown Tails and wait for the computer to power off 10.816
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.961
Then all tps features but the first one are active 2.339
After features/support/hooks.rb:326 0.671
After features/support/hooks.rb:100 0.009
Tags: @product
22.021
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.932
Then persistence for "Persistent" is active 0.369
And I create a file in the Persistent directory 0.091
Then the file I created was copied to the Persistent Storage 0.098
When I disable the first tps feature 6.426
Then persistence for "Persistent" is not active 0.099
And the Persistent directory does not exist 0.048
When I enable the first tps feature 3.780
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:326 0.909
After features/support/hooks.rb:100 0.000
Tags: @product
24.926
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 14.273
Then persistence for "Persistent" is active 0.140
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 6.545
And I delete the data of the Persistent Folder feature 3.826
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:326 0.882
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.829
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.413
And the network is plugged 0.076
And Tor is ready 19.412
And I take note of which tps features are available 0.620
When I write some files expected to persist 1.350
And I shutdown Tails and wait for the computer to power off 8.803
# 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.152
After features/support/hooks.rb:326 0.105
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.293
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.877
And the network is plugged 0.082
And Tor is ready 21.904
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.185
And I shutdown Tails and wait for the computer to power off 8.688
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.072
And I capture all network traffic 0.006
And the network is plugged 0.098
And Tor is ready 20.664
And I switch to the "persistent-con-current" NetworkManager connection 0.420
And the 1st network device has a spoofed MAC address configured 0.069
And no network device leaked the real MAC address 0.221
After features/support/hooks.rb:326 0.541
After features/support/hooks.rb:100 0.058
Tags: @product
1:30.089
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 45.828
And I enable persistence creation in Tails Greeter 1.154
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.206
Then I create a persistent partition with the default settings using the wizard that was already open 22.898
After features/support/hooks.rb:326 1.561
After features/support/hooks.rb:100 0.000
Tags: @product
4:54.992
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.051
When I enable persistence 37.583
Then no persistent Greeter options were restored 14.158
When I set all Greeter options to non-default values 25.934
And I log in to a new session in German (de) after having activated the Persistent Storage 50.003
Then all Greeter options are set to non-default values 0.344
When I cold reboot the computer 7.347
And the computer reboots Tails 59.189
Given I enable persistence 34.312
Then persistent Greeter options were restored 14.700
When I log in to a new session after having activated the Persistent Storage 37.973
Then all Greeter options are set to non-default values 0.393
After features/support/hooks.rb:326 0.910
After features/support/hooks.rb:100 0.009
Tags: @product
3:34.156
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.134
# 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 32.817
And I shutdown Tails and wait for the computer to power off 14.908
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.141
And I change the passphrase of the Persistent Storage back to the original 28.153
After features/support/hooks.rb:326 1.792
After features/support/hooks.rb:100 0.009
Tags: @product
1:2.773
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 9.847
And I log in to a new session without activating the Persistent Storage 22.708
Then persistence is disabled 0.747
But a Tails persistence partition exists on USB drive "__internal" 8.915
And all notifications have disappeared 12.857
When I delete the persistent partition 7.231
Then there is no persistence partition on USB drive "__internal" 0.466
After features/support/hooks.rb:326 0.888
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.563
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.197
When I write some dotfile expected to persist 0.218
And I shutdown Tails and wait for the computer to power off 11.453
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.364
Then the expected persistent dotfile is present in the filesystem 0.329
After features/support/hooks.rb:326 0.985
After features/support/hooks.rb:100 0.011
Tags: @product
1:42.592
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.062
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.280
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.657
When I log in to a new session after having activated the Persistent Storage 47.726
And all notifications have disappeared 7.816
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.283
And all tps features are enabled 2.489
And all tps features but the first one are active 2.194
After features/support/hooks.rb:326 1.499
After features/support/hooks.rb:100 0.000
Tags: @product
4:59.736
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 3:38.054
And I enable persistence 32.876
And I log in to a new session after having activated the Persistent Storage 47.022
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.617
And persistence is enabled 0.165
After features/support/hooks.rb:326 1.582
After features/support/hooks.rb:100 0.000
Tags: @product
54.115
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.356
And I enable persistence but something goes wrong during the LUKS header upgrade 43.902
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.855
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.000
Tags: @product
49.063
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.559
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.387
When I enable persistence 32.485
Then the filesystem of the Persistent Storage was repaired 0.143
And persistence is successfully enabled 0.489
After features/support/hooks.rb:326 2.713
After features/support/hooks.rb:100 0.000
Tags: @product
26.769
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 9.020
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.612
When I try to enable persistence 0.448
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.546
When I repair the filesystem of the Persistent Storage 1.263
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.180
And the filesystem of the Persistent Storage was repaired 0.068
When I close the filesystem repair dialog 1.232
Then persistence is successfully enabled 0.397
After features/support/hooks.rb:326 1.240
After features/support/hooks.rb:100 0.000
Tags: @product
1:42.876
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.444
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.090
When I try to enable persistence 0.277
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.918
When I repair the filesystem of the Persistent Storage 1.269
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.438
When I log in to a new session 36.413
And all notifications have disappeared 6.903
# 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.121
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.291
When I close the "whisperback" window 1.652
Then the Tor Browser starts 14.256
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.799
After features/support/hooks.rb:326 2.224
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.833
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.857
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.004
And Tails detects disk read failures on the boot device 1.682
When I try to enable persistence 0.425
Then the Welcome Screen tells me that my hardware is probably failing 6.173
When I log in to a new session 21.512
And all notifications have disappeared 7.330
Then the Tor Browser starts 19.038
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.808
After features/support/hooks.rb:326 1.624
After features/support/hooks.rb:100 0.000