Project Number Date
test_Tails_ISO_devel 3564 28 Oct 2024, 12:55

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 49:14.553 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:35.442
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:48.696
And I update APT using apt 15.475
And I install "python3-behave" using apt 28.852
Then the Tails Persistent Storage behave tests pass 2.418
After features/support/hooks.rb:326 0.727
After features/support/hooks.rb:100 0.000
Tags: @product
1:53.573
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 1:12.921
When I log in to a new session without activating the Persistent Storage 26.352
Then Tails is running from USB drive "__internal" 0.613
And persistence is disabled 0.311
But a Tails persistence partition exists on USB drive "__internal" 13.375
After features/support/hooks.rb:326 1.305
After features/support/hooks.rb:100 0.000
Tags: @product
4:18.863
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 56.617
Then Tails is running from USB drive "__internal" 0.634
When I create a file in the Persistent directory 0.158
And I create a persistent partition with the default settings 31.189
Then the file I created was copied to the Persistent Storage 0.481
When I shutdown Tails and wait for the computer to power off 11.300
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:37.785
Then persistence for "Persistent" is active 0.596
And the file I created in the Persistent directory exists 0.100
After features/support/hooks.rb:326 1.121
After features/support/hooks.rb:100 0.009
Tags: @product
1:17.842
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 15.761
And the system is very low on memory 6.471
When I create a file in the Persistent directory 1.103
When I try to create a persistent partition 25.915
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.186
When I close the Persistent Storage app 2.744
And I free up some memory 1.397
And I create a persistent partition with the default settings 24.027
Then the file I created was copied to the Persistent Storage 0.234
After features/support/hooks.rb:326 1.564
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.690
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 15.075
Then Tails is running from USB drive "__internal" 0.456
And all tps features are active 5.156
And all persistent directories have safe access rights 2.730
When I disable the first tps feature 7.259
Then all tps features but the first one are active 4.901
And I shutdown Tails and wait for the computer to power off 13.568
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.416
Then all tps features but the first one are active 6.124
After features/support/hooks.rb:326 0.861
After features/support/hooks.rb:100 0.010
Tags: @product
30.265
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 14.881
Then persistence for "Persistent" is active 0.091
And I create a file in the Persistent directory 0.075
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 10.038
Then persistence for "Persistent" is not active 0.127
And the Persistent directory does not exist 0.047
When I enable the first tps feature 4.791
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 1.012
After features/support/hooks.rb:100 0.000
Tags: @product
24.195
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 13.031
Then persistence for "Persistent" is active 0.190
When I create a file in the Persistent directory 0.104
And I disable the first tps feature 7.029
And I delete the data of the Persistent Folder feature 3.775
Then the file I created does not exist on the Persistent Storage 0.064
After features/support/hooks.rb:326 0.873
After features/support/hooks.rb:100 0.000
Tags: @product
1:40.074
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.568
And the network is plugged 0.462
And Tor is ready 50.771
And I take note of which tps features are available 2.509
When I write some files expected to persist 1.557
And I shutdown Tails and wait for the computer to power off 8.837
# 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" 25.367
After features/support/hooks.rb:326 0.153
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.899
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.520
And the network is plugged 0.094
And Tor is ready 22.335
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.215
And I shutdown Tails and wait for the computer to power off 9.106
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.732
And I capture all network traffic 0.013
And the network is plugged 0.990
And Tor is ready 20.282
And I switch to the "persistent-con-current" NetworkManager connection 0.340
And the 1st network device has a spoofed MAC address configured 0.126
And no network device leaked the real MAC address 0.140
After features/support/hooks.rb:326 0.639
After features/support/hooks.rb:100 0.050
Tags: @product
1:11.468
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 25.649
And I enable persistence creation in Tails Greeter 1.115
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.915
Then I create a persistent partition with the default settings using the wizard that was already open 24.788
After features/support/hooks.rb:326 1.927
After features/support/hooks.rb:100 0.000
Tags: @product
5:42.535
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 30.922
When I enable persistence 47.053
Then no persistent Greeter options were restored 15.021
When I set all Greeter options to non-default values 32.547
And I log in to a new session in German (de) after having activated the Persistent Storage 53.518
Then all Greeter options are set to non-default values 0.608
When I cold reboot the computer 7.353
And the computer reboots Tails 1:5.878
Given I enable persistence 36.116
Then persistent Greeter options were restored 15.355
When I log in to a new session after having activated the Persistent Storage 37.838
Then all Greeter options are set to non-default values 0.321
After features/support/hooks.rb:326 1.065
After features/support/hooks.rb:100 0.013
Tags: @product
4:39.407
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.605
# 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 45.695
And I shutdown Tails and wait for the computer to power off 16.193
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:33.614
And I change the passphrase of the Persistent Storage back to the original 49.298
After features/support/hooks.rb:326 1.807
After features/support/hooks.rb:100 0.009
Tags: @product
1:12.898
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 19.511
And I log in to a new session without activating the Persistent Storage 21.490
Then persistence is disabled 0.433
But a Tails persistence partition exists on USB drive "__internal" 12.988
And all notifications have disappeared 11.722
When I delete the persistent partition 6.293
Then there is no persistence partition on USB drive "__internal" 0.457
After features/support/hooks.rb:326 0.920
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.779
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.957
When I write some dotfile expected to persist 0.101
And I shutdown Tails and wait for the computer to power off 10.970
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.279
Then the expected persistent dotfile is present in the filesystem 0.470
After features/support/hooks.rb:326 0.866
After features/support/hooks.rb:100 0.010
Tags: @product
1:48.358
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.924
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.276
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.692
When I log in to a new session after having activated the Persistent Storage 47.297
And all notifications have disappeared 7.398
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.032
And all tps features are enabled 6.285
And all tps features but the first one are active 2.364
After features/support/hooks.rb:326 1.449
After features/support/hooks.rb:100 0.000
Tags: @product
6:47.949
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 5:0.093
And I enable persistence 58.323
And I log in to a new session after having activated the Persistent Storage 47.005
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.368
And persistence is enabled 0.157
After features/support/hooks.rb:326 1.925
After features/support/hooks.rb:100 0.000
Tags: @product
39.303
Before features/support/hooks.rb:269 0.008
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 12.515
And I enable persistence but something goes wrong during the LUKS header upgrade 25.995
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.793
After features/support/hooks.rb:326 0.783
After features/support/hooks.rb:100 0.000
Tags: @product
56.418
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.692
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 11.203
When I enable persistence 34.995
Then the filesystem of the Persistent Storage was repaired 0.102
And persistence is successfully enabled 0.424
After features/support/hooks.rb:326 0.993
After features/support/hooks.rb:100 0.000
Tags: @product
28.896
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 10.057
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.300
When I try to enable persistence 1.539
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.231
When I repair the filesystem of the Persistent Storage 1.297
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.372
And the filesystem of the Persistent Storage was repaired 0.346
When I close the filesystem repair dialog 1.334
Then persistence is successfully enabled 0.416
After features/support/hooks.rb:326 1.115
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:16.704
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 26.249
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.109
When I try to enable persistence 0.307
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.106
When I repair the filesystem of the Persistent Storage 1.305
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.088
When I log in to a new session 46.911
And all notifications have disappeared 10.974
# 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.571
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.109
When I close the "whisperback" window 1.504
Then the Tor Browser starts 12.639
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.826
After features/support/hooks.rb:326 2.813
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:20.984
Before features/support/hooks.rb:269 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.621
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.381
And Tails detects disk read failures on the boot device 1.687
When I try to enable persistence 0.498
Then the Welcome Screen tells me that my hardware is probably failing 6.577
When I log in to a new session 21.034
And all notifications have disappeared 6.252
Then the Tor Browser starts 27.196
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.733
After features/support/hooks.rb:326 1.037
After features/support/hooks.rb:100 0.000