Project Number Date
test_Tails_ISO_stable 5160 08 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:36.219 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.925
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:39.277
And I update APT using apt 14.947
And I install "python3-behave" using apt 25.467
Then the Tails Persistent Storage behave tests pass 2.232
After features/support/hooks.rb:326 0.748
After features/support/hooks.rb:100 0.000
Tags: @product
43.074
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.579
When I log in to a new session without activating the Persistent Storage 22.384
Then Tails is running from USB drive "__internal" 0.692
And persistence is disabled 0.299
But a Tails persistence partition exists on USB drive "__internal" 7.118
After features/support/hooks.rb:326 1.848
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.834
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 11.894
Then Tails is running from USB drive "__internal" 0.678
When I create a file in the Persistent directory 0.240
And I create a persistent partition with the default settings 25.054
Then the file I created was copied to the Persistent Storage 0.546
When I shutdown Tails and wait for the computer to power off 12.725
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.173
Then persistence for "Persistent" is active 0.433
And the file I created in the Persistent directory exists 0.087
After features/support/hooks.rb:326 0.762
After features/support/hooks.rb:100 0.008
Tags: @product
1:0.019
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.284
And the system is very low on memory 4.979
When I create a file in the Persistent directory 1.446
When I try to create a persistent partition 24.539
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.143
When I close the Persistent Storage app 2.559
And I free up some memory 1.216
And I create a persistent partition with the default settings 12.620
Then the file I created was copied to the Persistent Storage 0.229
After features/support/hooks.rb:326 1.382
After features/support/hooks.rb:100 0.000
Tags: @product
2:48.569
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 12.010
Then Tails is running from USB drive "__internal" 0.558
And all tps features are active 2.322
And all persistent directories have safe access rights 2.569
When I disable the first tps feature 7.063
Then all tps features but the first one are active 2.411
And I shutdown Tails and wait for the computer to power off 10.933
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.069
Then all tps features but the first one are active 2.630
After features/support/hooks.rb:326 0.641
After features/support/hooks.rb:100 0.015
Tags: @product
23.754
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 12.299
Then persistence for "Persistent" is active 0.138
And I create a file in the Persistent directory 0.431
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 6.775
Then persistence for "Persistent" is not active 0.100
And the Persistent directory does not exist 0.082
When I enable the first tps feature 3.718
Then persistence for "Persistent" is active 0.068
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 0.892
After features/support/hooks.rb:100 0.000
Tags: @product
22.051
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.446
Then persistence for "Persistent" is active 0.245
When I create a file in the Persistent directory 0.065
And I disable the first tps feature 7.179
And I delete the data of the Persistent Folder feature 4.059
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:326 0.973
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.745
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.659
And the network is plugged 0.089
And Tor is ready 23.178
And I take note of which tps features are available 0.615
When I write some files expected to persist 1.453
And I shutdown Tails and wait for the computer to power off 8.413
# 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.335
After features/support/hooks.rb:326 0.114
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.806
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.458
And the network is plugged 0.081
And Tor is ready 22.604
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.193
And I shutdown Tails and wait for the computer to power off 8.545
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.678
And I capture all network traffic 0.008
And the network is plugged 0.068
And Tor is ready 17.603
And I switch to the "persistent-con-current" NetworkManager connection 0.287
And the 1st network device has a spoofed MAC address configured 0.110
And no network device leaked the real MAC address 0.165
After features/support/hooks.rb:326 0.642
After features/support/hooks.rb:100 0.040
Tags: @product
1:1.474
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.189
And I enable persistence creation in Tails Greeter 1.170
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.045
Then I create a persistent partition with the default settings using the wizard that was already open 24.068
After features/support/hooks.rb:326 3.032
After features/support/hooks.rb:100 0.000
Tags: @product
5:0.351
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 15.257
When I enable persistence 36.543
Then no persistent Greeter options were restored 14.322
When I set all Greeter options to non-default values 24.017
And I log in to a new session in German (de) after having activated the Persistent Storage 45.056
Then all Greeter options are set to non-default values 1.990
When I cold reboot the computer 9.742
And the computer reboots Tails 1:7.925
Given I enable persistence 32.292
Then persistent Greeter options were restored 14.945
When I log in to a new session after having activated the Persistent Storage 37.830
Then all Greeter options are set to non-default values 0.426
After features/support/hooks.rb:326 1.273
After features/support/hooks.rb:100 0.007
Tags: @product
3:28.169
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.760
# 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.327
And I shutdown Tails and wait for the computer to power off 12.462
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.271
And I change the passphrase of the Persistent Storage back to the original 28.347
After features/support/hooks.rb:326 1.959
After features/support/hooks.rb:100 0.008
Tags: @product
58.728
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.634
And I log in to a new session without activating the Persistent Storage 21.477
Then persistence is disabled 0.299
But a Tails persistence partition exists on USB drive "__internal" 9.611
And all notifications have disappeared 10.951
When I delete the persistent partition 6.320
Then there is no persistence partition on USB drive "__internal" 0.434
After features/support/hooks.rb:326 0.784
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.788
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.929
When I write some dotfile expected to persist 0.091
And I shutdown Tails and wait for the computer to power off 9.018
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.305
Then the expected persistent dotfile is present in the filesystem 0.443
After features/support/hooks.rb:326 0.987
After features/support/hooks.rb:100 0.008
Tags: @product
1:50.204
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.037
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.282
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 42.989
When I log in to a new session after having activated the Persistent Storage 41.417
And all notifications have disappeared 7.846
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.161
And all tps features are enabled 2.431
And all tps features but the first one are active 1.954
After features/support/hooks.rb:326 1.680
After features/support/hooks.rb:100 0.000
Tags: @product
5:2.297
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:37.033
And I enable persistence 36.255
And I log in to a new session after having activated the Persistent Storage 46.945
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.936
And persistence is enabled 0.125
After features/support/hooks.rb:326 1.891
After features/support/hooks.rb:100 0.000
Tags: @product
29.764
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.239
And I enable persistence but something goes wrong during the LUKS header upgrade 20.776
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.749
After features/support/hooks.rb:326 0.705
After features/support/hooks.rb:100 0.000
Tags: @product
43.977
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.872
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.323
When I enable persistence 29.309
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 0.379
After features/support/hooks.rb:326 0.770
After features/support/hooks.rb:100 0.000
Tags: @product
24.182
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.854
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.017
When I try to enable persistence 0.390
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.705
When I repair the filesystem of the Persistent Storage 1.273
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.222
And the filesystem of the Persistent Storage was repaired 0.105
When I close the filesystem repair dialog 1.224
Then persistence is successfully enabled 0.386
After features/support/hooks.rb:326 0.796
After features/support/hooks.rb:100 0.000
Tags: @product
1:50.207
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.858
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.101
When I try to enable persistence 0.261
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.979
When I repair the filesystem of the Persistent Storage 1.238
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 46.017
And all notifications have disappeared 9.533
# 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.563
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.569
When I close the "whisperback" window 1.497
Then the Tor Browser starts 11.637
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.868
After features/support/hooks.rb:326 2.914
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.291
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 8.908
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.690
And Tails detects disk read failures on the boot device 1.646
When I try to enable persistence 0.418
Then the Welcome Screen tells me that my hardware is probably failing 4.810
When I log in to a new session 21.426
And all notifications have disappeared 7.577
Then the Tor Browser starts 19.057
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.755
After features/support/hooks.rb:326 1.125
After features/support/hooks.rb:100 0.000