Project Number Date
test_Tails_ISO_devel 3608 10 Dec 2024, 13:11

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 38:23.993 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.612
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:32.806
And I update APT using apt 14.693
And I install "python3-behave" using apt 25.752
Then the Tails Persistent Storage behave tests pass 2.360
After features/support/hooks.rb:326 0.883
After features/support/hooks.rb:100 0.000
Tags: @product
44.329
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.264
When I log in to a new session without activating the Persistent Storage 22.798
Then Tails is running from USB drive "__internal" 0.417
And persistence is disabled 0.263
But a Tails persistence partition exists on USB drive "__internal" 8.586
After features/support/hooks.rb:326 0.924
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.746
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 11.866
Then Tails is running from USB drive "__internal" 0.356
When I create a file in the Persistent directory 0.136
And I create a persistent partition with the default settings 24.602
Then the file I created was copied to the Persistent Storage 0.590
When I shutdown Tails and wait for the computer to power off 12.760
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.786
Then persistence for "Persistent" is active 0.573
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 1.042
After features/support/hooks.rb:100 0.008
Tags: @product
1:2.028
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.515
And the system is very low on memory 4.427
When I create a file in the Persistent directory 1.604
When I try to create a persistent partition 26.323
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.167
When I close the Persistent Storage app 2.559
And I free up some memory 1.516
And I create a persistent partition with the default settings 13.665
Then the file I created was copied to the Persistent Storage 0.247
After features/support/hooks.rb:326 1.295
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.274
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.126
Then Tails is running from USB drive "__internal" 0.576
And all tps features are active 2.492
And all persistent directories have safe access rights 2.868
When I disable the first tps feature 5.490
Then all tps features but the first one are active 2.387
And I shutdown Tails and wait for the computer to power off 8.784
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.193
Then all tps features but the first one are active 2.354
After features/support/hooks.rb:326 0.611
After features/support/hooks.rb:100 0.039
Tags: @product
20.757
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.793
Then persistence for "Persistent" is active 0.204
And I create a file in the Persistent directory 0.057
Then the file I created was copied to the Persistent Storage 0.071
When I disable the first tps feature 6.060
Then persistence for "Persistent" is not active 0.088
And the Persistent directory does not exist 0.073
When I enable the first tps feature 3.257
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 0.734
After features/support/hooks.rb:100 0.000
Tags: @product
19.015
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 9.442
Then persistence for "Persistent" is active 0.109
When I create a file in the Persistent directory 0.065
And I disable the first tps feature 5.515
And I delete the data of the Persistent Folder feature 3.792
Then the file I created does not exist on the Persistent Storage 0.091
After features/support/hooks.rb:326 0.837
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.639
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 9.134
And the network is plugged 0.082
And Tor is ready 19.949
And I take note of which tps features are available 0.651
When I write some files expected to persist 1.451
And I shutdown Tails and wait for the computer to power off 8.964
# 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.404
After features/support/hooks.rb:326 0.092
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.313
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 9.237
And the network is plugged 0.082
And Tor is ready 21.128
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.182
And I shutdown Tails and wait for the computer to power off 8.609
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.450
And I capture all network traffic 0.014
And the network is plugged 0.081
And Tor is ready 20.944
And I switch to the "persistent-con-current" NetworkManager connection 0.355
And the 1st network device has a spoofed MAC address configured 0.074
And no network device leaked the real MAC address 0.151
After features/support/hooks.rb:326 0.665
After features/support/hooks.rb:100 0.065
Tags: @product
58.605
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 15.160
And I enable persistence creation in Tails Greeter 1.111
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.412
Then I create a persistent partition with the default settings using the wizard that was already open 22.919
After features/support/hooks.rb:326 1.405
After features/support/hooks.rb:100 0.000
Tags: @product
4:34.140
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.423
When I enable persistence 42.521
Then no persistent Greeter options were restored 14.073
When I set all Greeter options to non-default values 25.925
And I log in to a new session in German (de) after having activated the Persistent Storage 49.008
Then all Greeter options are set to non-default values 0.423
When I cold reboot the computer 7.377
And the computer reboots Tails 1:3.946
Given I enable persistence 18.984
Then persistent Greeter options were restored 0.550
When I log in to a new session after having activated the Persistent Storage 37.302
Then all Greeter options are set to non-default values 0.605
After features/support/hooks.rb:326 1.087
After features/support/hooks.rb:100 0.010
Tags: @product
3:35.890
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.912
# 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 34.816
And I shutdown Tails and wait for the computer to power off 12.654
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.727
And I change the passphrase of the Persistent Storage back to the original 27.780
After features/support/hooks.rb:326 1.866
After features/support/hooks.rb:100 0.010
Tags: @product
1:0.004
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.994
And I log in to a new session without activating the Persistent Storage 22.120
Then persistence is disabled 0.471
But a Tails persistence partition exists on USB drive "__internal" 9.883
And all notifications have disappeared 10.806
When I delete the persistent partition 6.281
Then there is no persistence partition on USB drive "__internal" 0.446
After features/support/hooks.rb:326 0.892
After features/support/hooks.rb:100 0.000
Tags: @product
2:21.384
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 9.142
When I write some dotfile expected to persist 0.084
And I shutdown Tails and wait for the computer to power off 8.530
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.203
Then the expected persistent dotfile is present in the filesystem 0.422
After features/support/hooks.rb:326 0.817
After features/support/hooks.rb:100 0.009
Tags: @product
1:36.994
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.876
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.089
When I try to enable persistence 0.269
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.606
When I log in to a new session after having activated the Persistent Storage 40.727
And all notifications have disappeared 8.311
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.788
And all tps features are enabled 2.292
And all tps features but the first one are active 2.033
After features/support/hooks.rb:326 1.286
After features/support/hooks.rb:100 0.000
Tags: @product
5:2.129
Before features/support/hooks.rb:269 0.005
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:36.755
And I enable persistence 32.066
And I log in to a new session after having activated the Persistent Storage 48.517
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.237
And persistence is enabled 2.552
After features/support/hooks.rb:326 1.033
After features/support/hooks.rb:100 0.000
Tags: @product
31.484
Before features/support/hooks.rb:269 0.009
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.910
And I enable persistence but something goes wrong during the LUKS header upgrade 21.872
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.702
After features/support/hooks.rb:326 0.724
After features/support/hooks.rb:100 0.000
Tags: @product
46.547
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.583
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.316
When I enable persistence 27.434
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 3.116
After features/support/hooks.rb:326 1.849
After features/support/hooks.rb:100 0.000
Tags: @product
25.135
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.481
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.955
When I try to enable persistence 0.408
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.083
When I repair the filesystem of the Persistent Storage 1.264
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.205
And the filesystem of the Persistent Storage was repaired 0.089
When I close the filesystem repair dialog 1.255
Then persistence is successfully enabled 1.391
After features/support/hooks.rb:326 0.764
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.565
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.030
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.124
When I try to enable persistence 0.271
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.529
When I repair the filesystem of the Persistent Storage 2.197
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.072
When I log in to a new session 39.633
And all notifications have disappeared 7.966
# 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.512
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.638
When I close the "whisperback" window 1.532
Then the Tor Browser starts 19.193
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.860
After features/support/hooks.rb:326 2.762
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:10.395
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.711
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.852
And Tails detects disk read failures on the boot device 0.528
When I try to enable persistence 0.398
Then the Welcome Screen tells me that my hardware is probably failing 5.172
When I log in to a new session 21.549
And all notifications have disappeared 7.183
Then the Tor Browser starts 20.113
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.885
After features/support/hooks.rb:326 2.271
After features/support/hooks.rb:100 0.000