Project Number Date
test_Tails_ISO_devel 3594 21 Nov 2024, 12:38

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:11.935 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:13.032
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:33.814
And I update APT using apt 12.887
And I install "python3-behave" using apt 22.919
Then the Tails Persistent Storage behave tests pass 3.411
After features/support/hooks.rb:326 0.751
After features/support/hooks.rb:100 0.000
Tags: @product
42.760
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 12.005
When I log in to a new session without activating the Persistent Storage 23.717
Then Tails is running from USB drive "__internal" 0.465
And persistence is disabled 0.280
But a Tails persistence partition exists on USB drive "__internal" 6.291
After features/support/hooks.rb:326 1.102
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.073
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.680
Then Tails is running from USB drive "__internal" 0.404
When I create a file in the Persistent directory 0.125
And I create a persistent partition with the default settings 33.173
Then the file I created was copied to the Persistent Storage 0.697
When I shutdown Tails and wait for the computer to power off 13.159
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.419
Then persistence for "Persistent" is active 0.334
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 0.870
After features/support/hooks.rb:100 0.010
Tags: @product
57.683
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.483
And the system is very low on memory 4.734
When I create a file in the Persistent directory 1.618
When I try to create a persistent partition 21.621
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.359
When I close the Persistent Storage app 2.622
And I free up some memory 1.627
And I create a persistent partition with the default settings 13.371
Then the file I created was copied to the Persistent Storage 0.245
After features/support/hooks.rb:326 1.155
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.486
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 11.104
Then Tails is running from USB drive "__internal" 0.492
And all tps features are active 2.450
And all persistent directories have safe access rights 2.830
When I disable the first tps feature 6.072
Then all tps features but the first one are active 2.117
And I shutdown Tails and wait for the computer to power off 9.239
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.010
Then all tps features but the first one are active 2.167
After features/support/hooks.rb:326 0.895
After features/support/hooks.rb:100 0.010
Tags: @product
19.136
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.631
Then persistence for "Persistent" is active 0.093
And I create a file in the Persistent directory 0.107
Then the file I created was copied to the Persistent Storage 0.084
When I disable the first tps feature 5.847
Then persistence for "Persistent" is not active 0.069
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.105
Then persistence for "Persistent" is active 0.068
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 0.726
After features/support/hooks.rb:100 0.000
Tags: @product
19.667
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.624
Then persistence for "Persistent" is active 0.324
When I create a file in the Persistent directory 0.074
And I disable the first tps feature 5.686
And I delete the data of the Persistent Folder feature 3.904
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:326 0.876
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.186
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.350
And the network is plugged 0.133
And Tor is ready 21.940
And I take note of which tps features are available 0.591
When I write some files expected to persist 1.533
And I shutdown Tails and wait for the computer to power off 8.952
# 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.683
After features/support/hooks.rb:326 0.138
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.210
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.598
And the network is plugged 0.099
And Tor is ready 18.522
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.205
And I shutdown Tails and wait for the computer to power off 6.982
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.041
And I capture all network traffic 0.008
And the network is plugged 0.074
And Tor is ready 20.056
And I switch to the "persistent-con-current" NetworkManager connection 0.353
And the 1st network device has a spoofed MAC address configured 0.129
And no network device leaked the real MAC address 0.137
After features/support/hooks.rb:326 0.729
After features/support/hooks.rb:100 0.041
Tags: @product
1:58.249
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 1:12.203
And I enable persistence creation in Tails Greeter 1.178
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.729
Then I create a persistent partition with the default settings using the wizard that was already open 25.138
After features/support/hooks.rb:326 3.414
After features/support/hooks.rb:100 0.000
Tags: @product
5:27.612
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 1:1.665
When I enable persistence 41.109
Then no persistent Greeter options were restored 14.168
When I set all Greeter options to non-default values 25.198
And I log in to a new session in German (de) after having activated the Persistent Storage 53.485
Then all Greeter options are set to non-default values 0.655
When I cold reboot the computer 10.339
And the computer reboots Tails 59.734
Given I enable persistence 17.899
Then persistent Greeter options were restored 0.538
When I log in to a new session after having activated the Persistent Storage 42.555
Then all Greeter options are set to non-default values 0.261
After features/support/hooks.rb:326 1.130
After features/support/hooks.rb:100 0.010
Tags: @product
3:36.005
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.946
# 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 33.974
And I shutdown Tails and wait for the computer to power off 12.673
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.743
And I change the passphrase of the Persistent Storage back to the original 30.667
After features/support/hooks.rb:326 1.890
After features/support/hooks.rb:100 0.010
Tags: @product
59.260
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 12.717
And I log in to a new session without activating the Persistent Storage 21.342
Then persistence is disabled 0.248
But a Tails persistence partition exists on USB drive "__internal" 8.546
And all notifications have disappeared 9.723
When I delete the persistent partition 6.243
Then there is no persistence partition on USB drive "__internal" 0.439
After features/support/hooks.rb:326 0.967
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.973
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.645
When I write some dotfile expected to persist 0.091
And I shutdown Tails and wait for the computer to power off 8.908
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.936
Then the expected persistent dotfile is present in the filesystem 0.391
After features/support/hooks.rb:326 1.182
After features/support/hooks.rb:100 0.010
Tags: @product
1:36.702
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.801
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.109
When I try to enable persistence 0.292
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.325
When I log in to a new session after having activated the Persistent Storage 38.057
And all notifications have disappeared 8.380
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.137
And all tps features are enabled 2.369
And all tps features but the first one are active 2.228
After features/support/hooks.rb:326 1.050
After features/support/hooks.rb:100 0.000
Tags: @product
4:23.704
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 2:58.444
And I enable persistence 34.297
And I log in to a new session after having activated the Persistent Storage 44.582
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.392
And persistence is enabled 2.986
After features/support/hooks.rb:326 1.062
After features/support/hooks.rb:100 0.000
Tags: @product
33.996
Before features/support/hooks.rb:269 0.017
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 11.412
And I enable persistence but something goes wrong during the LUKS header upgrade 21.795
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.788
After features/support/hooks.rb:326 0.804
After features/support/hooks.rb:100 0.000
Tags: @product
47.561
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 9.296
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.428
When I enable persistence 29.541
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 3.207
After features/support/hooks.rb:326 1.185
After features/support/hooks.rb:100 0.000
Tags: @product
28.438
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.145
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.460
When I try to enable persistence 1.444
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.663
When I repair the filesystem of the Persistent Storage 1.289
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.267
And the filesystem of the Persistent Storage was repaired 0.356
When I close the filesystem repair dialog 1.260
Then persistence is successfully enabled 1.550
After features/support/hooks.rb:326 0.790
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.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 9.320
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.286
When I try to enable persistence 0.274
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.194
When I repair the filesystem of the Persistent Storage 1.280
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.876
When I log in to a new session 36.772
And all notifications have disappeared 10.135
# 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.653
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.616
When I close the "whisperback" window 1.595
Then the Tor Browser starts 14.554
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.729
After features/support/hooks.rb:326 2.436
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.901
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 10.004
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.027
And Tails detects disk read failures on the boot device 1.614
When I try to enable persistence 1.479
Then the Welcome Screen tells me that my hardware is probably failing 6.209
When I log in to a new session 21.019
And all notifications have disappeared 7.896
Then the Tor Browser starts 21.029
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.619
After features/support/hooks.rb:326 1.608
After features/support/hooks.rb:100 0.000