Project Number Date
test_Tails_ISO_devel 3625 28 Dec 2024, 12:21

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:40.454 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.272
Before features/support/hooks.rb:269 0.035
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.198
And I update APT using apt 13.319
And I install "python3-behave" using apt 25.477
Then the Tails Persistent Storage behave tests pass 2.276
After features/support/hooks.rb:326 0.892
After features/support/hooks.rb:100 0.000
Tags: @product
46.621
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.929
When I log in to a new session without activating the Persistent Storage 23.460
Then Tails is running from USB drive "__internal" 0.610
And persistence is disabled 0.354
But a Tails persistence partition exists on USB drive "__internal" 9.266
After features/support/hooks.rb:326 1.352
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.711
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 11.910
Then Tails is running from USB drive "__internal" 0.344
When I create a file in the Persistent directory 0.112
And I create a persistent partition with the default settings 23.446
Then the file I created was copied to the Persistent Storage 0.505
When I shutdown Tails and wait for the computer to power off 12.752
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.985
Then persistence for "Persistent" is active 0.559
And the file I created in the Persistent directory exists 0.093
After features/support/hooks.rb:326 1.304
After features/support/hooks.rb:100 0.010
Tags: @product
1:6.670
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.970
And the system is very low on memory 4.863
When I create a file in the Persistent directory 1.614
When I try to create a persistent partition 31.072
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.163
When I close the Persistent Storage app 2.594
And I free up some memory 1.736
And I create a persistent partition with the default settings 13.392
Then the file I created was copied to the Persistent Storage 0.262
After features/support/hooks.rb:326 1.282
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.704
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.290
Then Tails is running from USB drive "__internal" 0.412
And all tps features are active 2.338
And all persistent directories have safe access rights 2.414
When I disable the first tps feature 5.195
Then all tps features but the first one are active 2.069
And I shutdown Tails and wait for the computer to power off 8.483
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.497
Then all tps features but the first one are active 2.001
After features/support/hooks.rb:326 0.996
After features/support/hooks.rb:100 0.008
Tags: @product
18.939
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.305
Then persistence for "Persistent" is active 0.131
And I create a file in the Persistent directory 0.082
Then the file I created was copied to the Persistent Storage 0.063
When I disable the first tps feature 5.920
Then persistence for "Persistent" is not active 0.090
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.126
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:326 0.778
After features/support/hooks.rb:100 0.000
Tags: @product
18.576
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.413
Then persistence for "Persistent" is active 0.110
When I create a file in the Persistent directory 0.085
And I disable the first tps feature 5.336
And I delete the data of the Persistent Folder feature 3.573
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:326 0.828
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.402
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.224
And the network is plugged 0.081
And Tor is ready 18.548
And I take note of which tps features are available 0.625
When I write some files expected to persist 1.367
And I shutdown Tails and wait for the computer to power off 8.368
# 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.186
After features/support/hooks.rb:326 0.138
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.285
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.300
And the network is plugged 0.076
And Tor is ready 18.846
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.206
And I shutdown Tails and wait for the computer to power off 8.516
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.110
And I capture all network traffic 0.007
And the network is plugged 0.073
And Tor is ready 21.525
And I switch to the "persistent-con-current" NetworkManager connection 0.391
And the 1st network device has a spoofed MAC address configured 0.097
And no network device leaked the real MAC address 0.133
After features/support/hooks.rb:326 0.634
After features/support/hooks.rb:100 0.047
Tags: @product
1:12.245
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 27.268
And I enable persistence creation in Tails Greeter 1.107
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.192
Then I create a persistent partition with the default settings using the wizard that was already open 23.678
After features/support/hooks.rb:326 1.665
After features/support/hooks.rb:100 0.000
Tags: @product
4:27.431
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 18.619
When I enable persistence 38.417
Then no persistent Greeter options were restored 14.404
When I set all Greeter options to non-default values 25.675
And I log in to a new session in German (de) after having activated the Persistent Storage 43.614
Then all Greeter options are set to non-default values 0.578
When I cold reboot the computer 7.386
And the computer reboots Tails 1:1.321
Given I enable persistence 18.146
Then persistent Greeter options were restored 0.514
When I log in to a new session after having activated the Persistent Storage 38.537
Then all Greeter options are set to non-default values 0.213
After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.008
Tags: @product
3:36.603
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.784
# 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 38.925
And I shutdown Tails and wait for the computer to power off 12.843
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:3.432
And I change the passphrase of the Persistent Storage back to the original 30.617
After features/support/hooks.rb:326 2.337
After features/support/hooks.rb:100 0.009
Tags: @product
57.046
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.475
And I log in to a new session without activating the Persistent Storage 20.110
Then persistence is disabled 0.448
But a Tails persistence partition exists on USB drive "__internal" 9.054
And all notifications have disappeared 10.034
When I delete the persistent partition 6.460
Then there is no persistence partition on USB drive "__internal" 0.462
After features/support/hooks.rb:326 0.754
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.538
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 23.215
When I write some dotfile expected to persist 0.061
And I shutdown Tails and wait for the computer to power off 8.323
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.374
Then the expected persistent dotfile is present in the filesystem 0.564
After features/support/hooks.rb:326 0.588
After features/support/hooks.rb:100 0.009
Tags: @product
1:31.889
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.971
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.093
When I try to enable persistence 0.301
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.856
When I log in to a new session after having activated the Persistent Storage 37.293
And all notifications have disappeared 7.252
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.673
And all tps features are enabled 2.186
And all tps features but the first one are active 2.261
After features/support/hooks.rb:326 1.187
After features/support/hooks.rb:100 0.000
Tags: @product
4:49.874
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:25.161
And I enable persistence 35.222
And I log in to a new session after having activated the Persistent Storage 45.433
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.573
And persistence is enabled 2.484
After features/support/hooks.rb:326 0.989
After features/support/hooks.rb:100 0.000
Tags: @product
49.982
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 12.743
And I enable persistence but something goes wrong during the LUKS header upgrade 36.492
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.746
After features/support/hooks.rb:326 0.704
After features/support/hooks.rb:100 0.000
Tags: @product
46.600
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.140
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.877
When I enable persistence 29.916
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 2.574
After features/support/hooks.rb:326 1.921
After features/support/hooks.rb:100 0.000
Tags: @product
26.356
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.704
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.718
When I try to enable persistence 0.410
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.918
When I repair the filesystem of the Persistent Storage 1.261
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.491
And the filesystem of the Persistent Storage was repaired 0.076
When I close the filesystem repair dialog 1.222
Then persistence is successfully enabled 1.553
After features/support/hooks.rb:326 0.778
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:39.951
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.813
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.115
When I try to enable persistence 0.268
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.513
When I repair the filesystem of the Persistent Storage 1.245
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.078
When I log in to a new session 35.392
And all notifications have disappeared 8.199
# 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.852
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.333
When I close the "whisperback" window 1.800
Then the Tor Browser starts 9.600
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 4.735
After features/support/hooks.rb:326 2.290
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:9.747
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.169
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.913
And Tails detects disk read failures on the boot device 0.524
When I try to enable persistence 0.445
Then the Welcome Screen tells me that my hardware is probably failing 5.213
When I log in to a new session 21.813
And all notifications have disappeared 7.229
Then the Tor Browser starts 18.702
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.735
After features/support/hooks.rb:326 1.436
After features/support/hooks.rb:100 0.000