Project Number Date
test_Tails_ISO_devel 3628 31 Dec 2024, 12:23

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:5.135 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.562
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.143
And I update APT using apt 13.087
And I install "python3-behave" using apt 26.409
Then the Tails Persistent Storage behave tests pass 2.922
After features/support/hooks.rb:326 0.734
After features/support/hooks.rb:100 0.000
Tags: @product
43.400
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 12.388
When I log in to a new session without activating the Persistent Storage 20.430
Then Tails is running from USB drive "__internal" 0.616
And persistence is disabled 0.508
But a Tails persistence partition exists on USB drive "__internal" 9.455
After features/support/hooks.rb:326 1.255
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.435
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 12.508
Then Tails is running from USB drive "__internal" 0.697
When I create a file in the Persistent directory 0.132
And I create a persistent partition with the default settings 22.895
Then the file I created was copied to the Persistent Storage 0.671
When I shutdown Tails and wait for the computer to power off 12.573
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.421
Then persistence for "Persistent" is active 1.470
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:326 0.750
After features/support/hooks.rb:100 0.009
Tags: @product
1:3.853
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 10.332
And the system is very low on memory 4.418
When I create a file in the Persistent directory 3.652
When I try to create a persistent partition 27.801
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.244
When I close the Persistent Storage app 2.500
And I free up some memory 1.905
And I create a persistent partition with the default settings 11.742
Then the file I created was copied to the Persistent Storage 0.255
After features/support/hooks.rb:326 1.339
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.306
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.124
Then Tails is running from USB drive "__internal" 0.908
And all tps features are active 2.360
And all persistent directories have safe access rights 2.650
When I disable the first tps feature 6.073
Then all tps features but the first one are active 2.036
And I shutdown Tails and wait for the computer to power off 8.640
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.527
Then all tps features but the first one are active 1.983
After features/support/hooks.rb:326 0.747
After features/support/hooks.rb:100 0.010
Tags: @product
19.243
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.741
Then persistence for "Persistent" is active 0.398
And I create a file in the Persistent directory 0.081
Then the file I created was copied to the Persistent Storage 0.078
When I disable the first tps feature 5.541
Then persistence for "Persistent" is not active 0.106
And the Persistent directory does not exist 0.083
When I enable the first tps feature 3.086
Then persistence for "Persistent" is active 0.067
And the file I created in the Persistent directory exists 0.058
After features/support/hooks.rb:326 0.737
After features/support/hooks.rb:100 0.000
Tags: @product
19.905
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.730
Then persistence for "Persistent" is active 0.330
When I create a file in the Persistent directory 0.066
And I disable the first tps feature 5.860
And I delete the data of the Persistent Folder feature 3.833
Then the file I created does not exist on the Persistent Storage 0.083
After features/support/hooks.rb:326 0.767
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.452
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.644
And the network is plugged 0.088
And Tor is ready 17.460
And I take note of which tps features are available 0.615
When I write some files expected to persist 1.453
And I shutdown Tails and wait for the computer to power off 8.555
# 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.636
After features/support/hooks.rb:326 0.141
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.318
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 10.033
And the network is plugged 0.085
And Tor is ready 17.626
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.199
And I shutdown Tails and wait for the computer to power off 8.384
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.004
And I capture all network traffic 0.007
And the network is plugged 0.085
And Tor is ready 21.330
And I switch to the "persistent-con-current" NetworkManager connection 0.340
And the 1st network device has a spoofed MAC address configured 0.092
And no network device leaked the real MAC address 0.127
After features/support/hooks.rb:326 0.650
After features/support/hooks.rb:100 0.064
Tags: @product
52.441
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 11.107
And I enable persistence creation in Tails Greeter 1.112
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.819
Then I create a persistent partition with the default settings using the wizard that was already open 20.400
After features/support/hooks.rb:326 1.598
After features/support/hooks.rb:100 0.000
Tags: @product
4:9.548
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 12.371
When I enable persistence 33.686
Then no persistent Greeter options were restored 14.364
When I set all Greeter options to non-default values 23.566
And I log in to a new session in German (de) after having activated the Persistent Storage 44.784
Then all Greeter options are set to non-default values 0.398
When I cold reboot the computer 7.588
And the computer reboots Tails 57.682
Given I enable persistence 16.746
Then persistent Greeter options were restored 0.527
When I log in to a new session after having activated the Persistent Storage 37.199
Then all Greeter options are set to non-default values 0.632
After features/support/hooks.rb:326 1.298
After features/support/hooks.rb:100 0.010
Tags: @product
3:48.351
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.829
# 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 40.852
And I shutdown Tails and wait for the computer to power off 12.349
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.929
And I change the passphrase of the Persistent Storage back to the original 34.390
After features/support/hooks.rb:326 1.540
After features/support/hooks.rb:100 0.010
Tags: @product
55.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 10.093
And I log in to a new session without activating the Persistent Storage 21.797
Then persistence is disabled 0.282
But a Tails persistence partition exists on USB drive "__internal" 9.289
And all notifications have disappeared 7.925
When I delete the persistent partition 5.807
Then there is no persistence partition on USB drive "__internal" 0.370
After features/support/hooks.rb:326 0.754
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.578
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.934
When I write some dotfile expected to persist 0.064
And I shutdown Tails and wait for the computer to power off 8.640
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.520
Then the expected persistent dotfile is present in the filesystem 0.419
After features/support/hooks.rb:326 0.762
After features/support/hooks.rb:100 0.009
Tags: @product
1:34.179
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.815
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.088
When I try to enable persistence 0.255
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.144
When I log in to a new session after having activated the Persistent Storage 38.925
And all notifications have disappeared 7.515
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.984
And all tps features are enabled 2.264
And all tps features but the first one are active 2.186
After features/support/hooks.rb:326 1.579
After features/support/hooks.rb:100 0.000
Tags: @product
4:51.611
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 3:27.770
And I enable persistence 31.845
And I log in to a new session after having activated the Persistent Storage 47.153
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.854
And persistence is enabled 2.987
After features/support/hooks.rb:326 1.116
After features/support/hooks.rb:100 0.000
Tags: @product
29.105
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 9.646
And I enable persistence but something goes wrong during the LUKS header upgrade 18.662
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.796
After features/support/hooks.rb:326 0.783
After features/support/hooks.rb:100 0.000
Tags: @product
46.990
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.404
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.276
When I enable persistence 30.551
Then the filesystem of the Persistent Storage was repaired 0.080
And persistence is successfully enabled 2.678
After features/support/hooks.rb:326 0.792
After features/support/hooks.rb:100 0.000
Tags: @product
24.585
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.611
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.563
When I try to enable persistence 0.411
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.728
When I repair the filesystem of the Persistent Storage 1.361
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.241
And the filesystem of the Persistent Storage was repaired 0.087
When I close the filesystem repair dialog 1.253
Then persistence is successfully enabled 1.327
After features/support/hooks.rb:326 0.709
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.647
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.806
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.088
When I try to enable persistence 0.267
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.745
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 0.094
When I log in to a new session 42.248
And all notifications have disappeared 8.483
# 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.433
When I close the "whisperback" window 1.591
Then the Tor Browser starts 17.119
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.833
After features/support/hooks.rb:326 2.706
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:12.050
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.432
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.087
And Tails detects disk read failures on the boot device 0.542
When I try to enable persistence 0.410
Then the Welcome Screen tells me that my hardware is probably failing 4.910
When I log in to a new session 21.651
And all notifications have disappeared 7.428
Then the Tor Browser starts 21.797
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.789
After features/support/hooks.rb:326 1.152
After features/support/hooks.rb:100 0.000