Project Number Date
test_Tails_ISO_stable 5304 29 Nov 2024, 12:50

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:24.039 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.282
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:38.165
And I update APT using apt 14.343
And I install "python3-behave" using apt 25.935
Then the Tails Persistent Storage behave tests pass 2.838
After features/support/hooks.rb:326 1.561
After features/support/hooks.rb:100 0.000
Tags: @product
54.221
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 12.259
When I log in to a new session without activating the Persistent Storage 28.511
Then Tails is running from USB drive "__internal" 0.712
And persistence is disabled 0.474
But a Tails persistence partition exists on USB drive "__internal" 12.263
After features/support/hooks.rb:326 1.276
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.707
Before features/support/hooks.rb:269 0.012
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.386
Then Tails is running from USB drive "__internal" 0.480
When I create a file in the Persistent directory 0.145
And I create a persistent partition with the default settings 24.952
Then the file I created was copied to the Persistent Storage 0.713
When I shutdown Tails and wait for the computer to power off 12.700
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.672
Then persistence for "Persistent" is active 0.587
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.007
Tags: @product
1:12.216
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.909
And the system is very low on memory 8.296
When I create a file in the Persistent directory 1.738
When I try to create a persistent partition 31.626
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.363
When I close the Persistent Storage app 2.904
And I free up some memory 2.131
And I create a persistent partition with the default settings 12.972
Then the file I created was copied to the Persistent Storage 0.274
After features/support/hooks.rb:326 1.578
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.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.978
Then Tails is running from USB drive "__internal" 0.448
And all tps features are active 2.475
And all persistent directories have safe access rights 2.461
When I disable the first tps feature 6.488
Then all tps features but the first one are active 2.274
And I shutdown Tails and wait for the computer to power off 10.569
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.128
Then all tps features but the first one are active 2.330
After features/support/hooks.rb:326 1.002
After features/support/hooks.rb:100 0.009
Tags: @product
21.473
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 10.065
Then persistence for "Persistent" is active 0.472
And I create a file in the Persistent directory 0.070
Then the file I created was copied to the Persistent Storage 0.064
When I disable the first tps feature 6.472
Then persistence for "Persistent" is not active 0.125
And the Persistent directory does not exist 0.069
When I enable the first tps feature 3.981
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 0.795
After features/support/hooks.rb:100 0.000
Tags: @product
20.469
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.711
Then persistence for "Persistent" is active 0.103
When I create a file in the Persistent directory 0.072
And I disable the first tps feature 6.032
And I delete the data of the Persistent Folder feature 4.493
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:326 0.845
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.358
Before features/support/hooks.rb:269 0.013
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.056
And the network is plugged 0.091
And Tor is ready 22.834
And I take note of which tps features are available 0.631
When I write some files expected to persist 1.606
And I shutdown Tails and wait for the computer to power off 8.606
# 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.531
After features/support/hooks.rb:326 0.117
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.283
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 9.921
And the network is plugged 0.492
And Tor is ready 18.773
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.175
And I shutdown Tails and wait for the computer to power off 8.447
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.794
And I capture all network traffic 0.012
And the network is plugged 0.071
And Tor is ready 19.019
And I switch to the "persistent-con-current" NetworkManager connection 0.351
And the 1st network device has a spoofed MAC address configured 0.090
And no network device leaked the real MAC address 0.131
After features/support/hooks.rb:326 0.838
After features/support/hooks.rb:100 0.058
Tags: @product
1:5.514
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 14.243
And I enable persistence creation in Tails Greeter 1.136
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.993
Then I create a persistent partition with the default settings using the wizard that was already open 29.141
After features/support/hooks.rb:326 1.716
After features/support/hooks.rb:100 0.000
Tags: @product
4:31.676
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 18.130
When I enable persistence 41.702
Then no persistent Greeter options were restored 14.498
When I set all Greeter options to non-default values 23.496
And I log in to a new session in German (de) after having activated the Persistent Storage 45.502
Then all Greeter options are set to non-default values 0.493
When I cold reboot the computer 9.661
And the computer reboots Tails 1:1.202
Given I enable persistence 18.187
Then persistent Greeter options were restored 0.492
When I log in to a new session after having activated the Persistent Storage 37.983
Then all Greeter options are set to non-default values 0.325
After features/support/hooks.rb:326 0.850
After features/support/hooks.rb:100 0.009
Tags: @product
3:40.772
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.615
# 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 36.836
And I shutdown Tails and wait for the computer to power off 12.847
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.789
And I change the passphrase of the Persistent Storage back to the original 33.683
After features/support/hooks.rb:326 2.152
After features/support/hooks.rb:100 0.008
Tags: @product
1:9.085
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.629
And I log in to a new session without activating the Persistent Storage 27.196
Then persistence is disabled 0.265
But a Tails persistence partition exists on USB drive "__internal" 12.164
And all notifications have disappeared 10.204
When I delete the persistent partition 8.071
Then there is no persistence partition on USB drive "__internal" 0.552
After features/support/hooks.rb:326 1.355
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.233
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 11.923
When I write some dotfile expected to persist 0.211
And I shutdown Tails and wait for the computer to power off 10.713
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.045
Then the expected persistent dotfile is present in the filesystem 0.339
After features/support/hooks.rb:326 0.928
After features/support/hooks.rb:100 0.008
Tags: @product
1:39.648
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.437
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.103
When I try to enable persistence 0.308
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 40.838
And all notifications have disappeared 8.719
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.126
And all tps features are enabled 2.674
And all tps features but the first one are active 2.399
After features/support/hooks.rb:326 1.151
After features/support/hooks.rb:100 0.000
Tags: @product
4:52.884
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:26.173
And I enable persistence 32.847
And I log in to a new session after having activated the Persistent Storage 47.902
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.849
And persistence is enabled 3.112
After features/support/hooks.rb:326 0.752
After features/support/hooks.rb:100 0.000
Tags: @product
28.470
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 8.614
And I enable persistence but something goes wrong during the LUKS header upgrade 19.069
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.786
After features/support/hooks.rb:326 0.884
After features/support/hooks.rb:100 0.000
Tags: @product
53.989
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.248
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.552
When I enable persistence 33.384
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 2.711
After features/support/hooks.rb:326 0.888
After features/support/hooks.rb:100 0.000
Tags: @product
26.527
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.140
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.269
When I try to enable persistence 0.420
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.533
When I repair the filesystem of the Persistent Storage 1.213
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.185
And the filesystem of the Persistent Storage was repaired 0.100
When I close the filesystem repair dialog 1.268
Then persistence is successfully enabled 1.394
After features/support/hooks.rb:326 0.820
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:14.943
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 35.432
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.092
When I try to enable persistence 0.363
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.981
When I repair the filesystem of the Persistent Storage 1.243
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.076
When I log in to a new session 42.087
And all notifications have disappeared 6.842
# 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.823
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.344
When I close the "whisperback" window 1.508
Then the Tor Browser starts 14.545
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.603
After features/support/hooks.rb:326 1.446
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:22.123
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 8.827
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.143
And Tails detects disk read failures on the boot device 1.628
When I try to enable persistence 0.528
Then the Welcome Screen tells me that my hardware is probably failing 6.403
When I log in to a new session 23.498
And all notifications have disappeared 8.894
Then the Tor Browser starts 22.522
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.676
After features/support/hooks.rb:326 1.158
After features/support/hooks.rb:100 0.000