Project Number Date
test_Tails_ISO_devel 3613 15 Dec 2024, 12:30

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 41:50.484 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:28.821
Before features/support/hooks.rb:269 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:45.704
And I update APT using apt 14.656
And I install "python3-behave" using apt 25.769
Then the Tails Persistent Storage behave tests pass 2.691
After features/support/hooks.rb:326 0.877
After features/support/hooks.rb:100 0.000
Tags: @product
50.351
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.817
When I log in to a new session without activating the Persistent Storage 22.356
Then Tails is running from USB drive "__internal" 0.537
And persistence is disabled 0.329
But a Tails persistence partition exists on USB drive "__internal" 13.309
After features/support/hooks.rb:326 1.328
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.021
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 14.059
Then Tails is running from USB drive "__internal" 0.445
When I create a file in the Persistent directory 0.139
And I create a persistent partition with the default settings 28.961
Then the file I created was copied to the Persistent Storage 0.611
When I shutdown Tails and wait for the computer to power off 15.001
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.798
Then persistence for "Persistent" is active 0.910
And the file I created in the Persistent directory exists 0.093
After features/support/hooks.rb:326 0.989
After features/support/hooks.rb:100 0.010
Tags: @product
1:8.456
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.151
And the system is very low on memory 4.320
When I create a file in the Persistent directory 1.172
When I try to create a persistent partition 31.060
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.226
When I close the Persistent Storage app 2.674
And I free up some memory 1.628
And I create a persistent partition with the default settings 13.977
Then the file I created was copied to the Persistent Storage 0.243
After features/support/hooks.rb:326 1.631
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.124
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.376
Then Tails is running from USB drive "__internal" 0.475
And all tps features are active 2.635
And all persistent directories have safe access rights 2.375
When I disable the first tps feature 5.674
Then all tps features but the first one are active 2.000
And I shutdown Tails and wait for the computer to power off 27.017
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.368
Then all tps features but the first one are active 2.201
After features/support/hooks.rb:326 0.704
After features/support/hooks.rb:100 0.030
Tags: @product
23.087
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.843
Then persistence for "Persistent" is active 0.566
And I create a file in the Persistent directory 0.073
Then the file I created was copied to the Persistent Storage 0.097
When I disable the first tps feature 6.453
Then persistence for "Persistent" is not active 0.101
And the Persistent directory does not exist 0.069
When I enable the first tps feature 3.726
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 1.056
After features/support/hooks.rb:100 0.000
Tags: @product
23.378
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.962
Then persistence for "Persistent" is active 0.986
When I create a file in the Persistent directory 0.083
And I disable the first tps feature 6.630
And I delete the data of the Persistent Folder feature 4.642
Then the file I created does not exist on the Persistent Storage 0.073
After features/support/hooks.rb:326 0.914
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.466
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.307
And the network is plugged 0.079
And Tor is ready 20.789
And I take note of which tps features are available 0.641
When I write some files expected to persist 1.630
And I shutdown Tails and wait for the computer to power off 8.896
# 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.122
After features/support/hooks.rb:326 0.156
After features/support/hooks.rb:100 0.000
Tags: @product
3:43.227
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.785
And the network is plugged 0.076
And Tor is ready 48.427
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.201
And I shutdown Tails and wait for the computer to power off 8.744
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.530
And I capture all network traffic 0.005
And the network is plugged 0.083
And Tor is ready 21.692
And I switch to the "persistent-con-current" NetworkManager connection 0.438
And the 1st network device has a spoofed MAC address configured 0.077
And no network device leaked the real MAC address 0.162
After features/support/hooks.rb:326 0.576
After features/support/hooks.rb:100 0.061
Tags: @product
1:4.896
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 13.694
And I enable persistence creation in Tails Greeter 1.127
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.560
Then I create a persistent partition with the default settings using the wizard that was already open 27.514
After features/support/hooks.rb:326 1.363
After features/support/hooks.rb:100 0.000
Tags: @product
4:33.635
Before features/support/hooks.rb:269 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.949
When I enable persistence 38.978
Then no persistent Greeter options were restored 14.434
When I set all Greeter options to non-default values 26.199
And I log in to a new session in German (de) after having activated the Persistent Storage 49.678
Then all Greeter options are set to non-default values 0.701
When I cold reboot the computer 7.613
And the computer reboots Tails 1:1.769
Given I enable persistence 19.362
Then persistent Greeter options were restored 0.584
When I log in to a new session after having activated the Persistent Storage 40.008
Then all Greeter options are set to non-default values 0.354
After features/support/hooks.rb:326 1.541
After features/support/hooks.rb:100 0.010
Tags: @product
3:39.148
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.243
# 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 31.200
And I shutdown Tails and wait for the computer to power off 12.683
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.182
And I change the passphrase of the Persistent Storage back to the original 32.837
After features/support/hooks.rb:326 2.160
After features/support/hooks.rb:100 0.010
Tags: @product
56.308
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.115
And I log in to a new session without activating the Persistent Storage 21.974
Then persistence is disabled 0.272
But a Tails persistence partition exists on USB drive "__internal" 7.353
And all notifications have disappeared 8.358
When I delete the persistent partition 5.870
Then there is no persistence partition on USB drive "__internal" 0.364
After features/support/hooks.rb:326 0.832
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.032
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 13.898
When I write some dotfile expected to persist 0.952
And I shutdown Tails and wait for the computer to power off 11.381
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.395
Then the expected persistent dotfile is present in the filesystem 0.404
After features/support/hooks.rb:326 0.654
After features/support/hooks.rb:100 0.010
Tags: @product
1:37.103
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.096
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.277
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.545
When I log in to a new session after having activated the Persistent Storage 42.494
And all notifications have disappeared 7.502
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.626
And all tps features are enabled 2.468
And all tps features but the first one are active 2.003
After features/support/hooks.rb:326 0.811
After features/support/hooks.rb:100 0.000
Tags: @product
5:58.629
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 4:37.336
And I enable persistence 31.001
And I log in to a new session after having activated the Persistent Storage 43.196
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.135
And persistence is enabled 3.958
After features/support/hooks.rb:326 0.866
After features/support/hooks.rb:100 0.000
Tags: @product
45.015
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 22.421
And I enable persistence but something goes wrong during the LUKS header upgrade 21.873
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.720
After features/support/hooks.rb:326 0.757
After features/support/hooks.rb:100 0.000
Tags: @product
45.633
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.310
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.726
When I enable persistence 27.853
Then the filesystem of the Persistent Storage was repaired 0.080
And persistence is successfully enabled 2.662
After features/support/hooks.rb:326 0.842
After features/support/hooks.rb:100 0.000
Tags: @product
25.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 8.767
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.081
When I try to enable persistence 0.394
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.682
When I repair the filesystem of the Persistent Storage 1.207
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.163
And the filesystem of the Persistent Storage was repaired 0.063
When I close the filesystem repair dialog 1.209
Then persistence is successfully enabled 1.419
After features/support/hooks.rb:326 1.044
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.249
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.166
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.133
When I try to enable persistence 0.284
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.974
When I repair the filesystem of the Persistent Storage 1.254
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 37.167
And all notifications have disappeared 7.313
# 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.619
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.285
When I close the "whisperback" window 1.500
Then the Tor Browser starts 19.713
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.763
After features/support/hooks.rb:326 2.986
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:13.906
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.299
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.840
And Tails detects disk read failures on the boot device 1.546
When I try to enable persistence 0.397
Then the Welcome Screen tells me that my hardware is probably failing 7.673
When I log in to a new session 20.889
And all notifications have disappeared 8.521
Then the Tor Browser starts 18.902
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.834
After features/support/hooks.rb:326 7.473
After features/support/hooks.rb:100 0.000