Project Number Date
test_Tails_ISO_devel 3546 12 Oct 2024, 13:00

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 42:24.176 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:58.634
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 2:12.691
And I update APT using apt 17.292
And I install "python3-behave" using apt 26.034
Then the Tails Persistent Storage behave tests pass 2.615
After features/support/hooks.rb:326 1.771
After features/support/hooks.rb:100 0.000
Tags: @product
56.853
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.865
When I log in to a new session without activating the Persistent Storage 26.273
Then Tails is running from USB drive "__internal" 0.673
And persistence is disabled 0.673
But a Tails persistence partition exists on USB drive "__internal" 15.367
After features/support/hooks.rb:326 2.689
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.187
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 14.006
Then Tails is running from USB drive "__internal" 0.397
When I create a file in the Persistent directory 0.185
And I create a persistent partition with the default settings 25.577
Then the file I created was copied to the Persistent Storage 0.628
When I shutdown Tails and wait for the computer to power off 15.253
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.676
Then persistence for "Persistent" is active 0.368
And the file I created in the Persistent directory exists 0.092
After features/support/hooks.rb:326 0.693
After features/support/hooks.rb:100 0.015
Tags: @product
1:12.727
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.604
And the system is very low on memory 6.504
When I create a file in the Persistent directory 2.173
When I try to create a persistent partition 32.512
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.517
When I close the Persistent Storage app 2.755
And I free up some memory 1.578
And I create a persistent partition with the default settings 14.834
Then the file I created was copied to the Persistent Storage 0.246
After features/support/hooks.rb:326 1.796
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.260
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 11.926
Then Tails is running from USB drive "__internal" 1.260
And all tps features are active 3.500
And all persistent directories have safe access rights 2.710
When I disable the first tps feature 6.746
Then all tps features but the first one are active 2.254
And I shutdown Tails and wait for the computer to power off 10.607
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.891
Then all tps features but the first one are active 3.361
After features/support/hooks.rb:326 0.855
After features/support/hooks.rb:100 0.027
Tags: @product
20.897
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.490
Then persistence for "Persistent" is active 0.092
And I create a file in the Persistent directory 0.082
Then the file I created was copied to the Persistent Storage 0.125
When I disable the first tps feature 6.746
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.043
When I enable the first tps feature 3.071
Then persistence for "Persistent" is active 0.072
And the file I created in the Persistent directory exists 0.092
After features/support/hooks.rb:326 0.688
After features/support/hooks.rb:100 0.000
Tags: @product
21.289
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.931
Then persistence for "Persistent" is active 0.090
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 6.576
And I delete the data of the Persistent Folder feature 4.554
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:326 0.778
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.301
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.273
And the network is plugged 0.204
And Tor is ready 20.941
And I take note of which tps features are available 0.654
When I write some files expected to persist 1.553
And I shutdown Tails and wait for the computer to power off 7.540
# 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.133
After features/support/hooks.rb:326 0.147
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.090
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.480
And the network is plugged 0.088
And Tor is ready 24.753
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.185
And I shutdown Tails and wait for the computer to power off 8.968
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.801
And I capture all network traffic 0.006
And the network is plugged 0.074
And Tor is ready 19.177
And I switch to the "persistent-con-current" NetworkManager connection 0.342
And the 1st network device has a spoofed MAC address configured 0.080
And no network device leaked the real MAC address 0.131
After features/support/hooks.rb:326 0.636
After features/support/hooks.rb:100 0.048
Tags: @product
1:12.602
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 14.142
And I enable persistence creation in Tails Greeter 1.126
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.601
Then I create a persistent partition with the default settings using the wizard that was already open 32.731
After features/support/hooks.rb:326 2.019
After features/support/hooks.rb:100 0.000
Tags: @product
5:9.674
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 18.725
When I enable persistence 45.910
Then no persistent Greeter options were restored 16.386
When I set all Greeter options to non-default values 24.983
And I log in to a new session in German (de) after having activated the Persistent Storage 49.794
Then all Greeter options are set to non-default values 0.759
When I cold reboot the computer 7.794
And the computer reboots Tails 1:0.006
Given I enable persistence 32.897
Then persistent Greeter options were restored 14.564
When I log in to a new session after having activated the Persistent Storage 37.208
Then all Greeter options are set to non-default values 0.642
After features/support/hooks.rb:326 1.212
After features/support/hooks.rb:100 0.008
Tags: @product
3:53.876
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.389
# 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.916
And I shutdown Tails and wait for the computer to power off 12.498
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:20.157
And I change the passphrase of the Persistent Storage back to the original 36.914
After features/support/hooks.rb:326 1.563
After features/support/hooks.rb:100 0.009
Tags: @product
1:3.377
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.897
And I log in to a new session without activating the Persistent Storage 24.629
Then persistence is disabled 0.369
But a Tails persistence partition exists on USB drive "__internal" 9.618
And all notifications have disappeared 10.649
When I delete the persistent partition 7.647
Then there is no persistence partition on USB drive "__internal" 0.564
After features/support/hooks.rb:326 1.166
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.804
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 13.413
When I write some dotfile expected to persist 0.085
And I shutdown Tails and wait for the computer to power off 8.994
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.833
Then the expected persistent dotfile is present in the filesystem 0.477
After features/support/hooks.rb:326 0.870
After features/support/hooks.rb:100 0.009
Tags: @product
1:47.854
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.385
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.282
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.070
When I log in to a new session after having activated the Persistent Storage 45.580
And all notifications have disappeared 9.572
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.445
And all tps features are enabled 2.247
And all tps features but the first one are active 2.183
After features/support/hooks.rb:326 1.226
After features/support/hooks.rb:100 0.000
Tags: @product
5:11.340
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:44.366
And I enable persistence 36.622
And I log in to a new session after having activated the Persistent Storage 47.035
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.890
And persistence is enabled 0.425
After features/support/hooks.rb:326 1.743
After features/support/hooks.rb:100 0.000
Tags: @product
32.107
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 10.274
And I enable persistence but something goes wrong during the LUKS header upgrade 21.028
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.804
After features/support/hooks.rb:326 1.343
After features/support/hooks.rb:100 0.000
Tags: @product
42.668
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.667
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.053
When I enable persistence 26.493
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 0.358
After features/support/hooks.rb:326 0.912
After features/support/hooks.rb:100 0.000
Tags: @product
40.670
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 22.843
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.419
When I try to enable persistence 0.445
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.763
When I repair the filesystem of the Persistent Storage 1.246
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.268
And the filesystem of the Persistent Storage was repaired 0.076
When I close the filesystem repair dialog 1.192
Then persistence is successfully enabled 0.413
After features/support/hooks.rb:326 1.037
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.984
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.090
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.273
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.548
When I repair the filesystem of the Persistent Storage 1.259
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.110
When I log in to a new session 48.917
And all notifications have disappeared 9.865
# 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.295
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.599
When I close the "whisperback" window 1.534
Then the Tor Browser starts 11.537
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.839
After features/support/hooks.rb:326 3.055
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:14.971
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.850
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.616
And Tails detects disk read failures on the boot device 1.663
When I try to enable persistence 0.439
Then the Welcome Screen tells me that my hardware is probably failing 6.372
When I log in to a new session 22.853
And all notifications have disappeared 6.889
Then the Tor Browser starts 20.542
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.743
After features/support/hooks.rb:326 1.871
After features/support/hooks.rb:100 0.000