Project Number Date
test_Tails_ISO_test-suite-early-boot-hooks 17 20 Dec 2024, 20:07

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 41:39.068 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:44.828
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:59.279
And I update APT using apt 17.088
And I install "python3-behave" using apt 25.580
Then the Tails Persistent Storage behave tests pass 2.879
After features/support/hooks.rb:330 0.661
After features/support/hooks.rb:100 0.000
Tags: @product
47.265
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 12.214
When I log in to a new session without activating the Persistent Storage 23.584
Then Tails is running from USB drive "__internal" 0.384
And persistence is disabled 0.441
But a Tails persistence partition exists on USB drive "__internal" 10.640
After features/support/hooks.rb:330 3.588
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.178
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.371
Then Tails is running from USB drive "__internal" 0.661
When I create a file in the Persistent directory 0.128
And I create a persistent partition with the default settings 23.744
Then the file I created was copied to the Persistent Storage 0.594
When I shutdown Tails and wait for the computer to power off 12.627
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.266
Then persistence for "Persistent" is active 1.714
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:330 2.102
After features/support/hooks.rb:100 0.009
Tags: @product
1:3.791
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.496
And the system is very low on memory 7.769
When I create a file in the Persistent directory 2.102
When I try to create a persistent partition 23.285
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.376
When I close the Persistent Storage app 3.262
And I free up some memory 1.651
And I create a persistent partition with the default settings 12.327
Then the file I created was copied to the Persistent Storage 1.520
After features/support/hooks.rb:330 2.236
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.934
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.843
Then Tails is running from USB drive "__internal" 0.390
And all tps features are active 2.360
And all persistent directories have safe access rights 2.676
When I disable the first tps feature 6.085
Then all tps features but the first one are active 2.078
And I shutdown Tails and wait for the computer to power off 8.782
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.305
Then all tps features but the first one are active 2.411
After features/support/hooks.rb:330 0.714
After features/support/hooks.rb:100 0.009
Tags: @product
19.495
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.583
Then persistence for "Persistent" is active 0.108
And I create a file in the Persistent directory 0.114
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 6.225
Then persistence for "Persistent" is not active 0.105
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.083
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 1.328
After features/support/hooks.rb:100 0.000
Tags: @product
20.938
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.823
Then persistence for "Persistent" is active 0.145
When I create a file in the Persistent directory 0.064
And I disable the first tps feature 6.011
And I delete the data of the Persistent Folder feature 4.841
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:330 1.553
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.251
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.245
And the network is plugged 0.093
And Tor is ready 21.869
And I take note of which tps features are available 0.646
When I write some files expected to persist 1.468
And I shutdown Tails and wait for the computer to power off 8.310
# 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.618
After features/support/hooks.rb:330 0.190
After features/support/hooks.rb:100 0.000
Tags: @product
3:37.858
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.034
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.801
And the network is plugged 0.079
And Tor is ready 48.387
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.186
And I shutdown Tails and wait for the computer to power off 8.903
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.928
And I capture all network traffic 0.010
And the network is plugged 0.090
And Tor is ready 19.814
And I switch to the "persistent-con-current" NetworkManager connection 0.370
And the 1st network device has a spoofed MAC address configured 0.115
And no network device leaked the real MAC address 0.169
After features/support/hooks.rb:330 0.911
After features/support/hooks.rb:100 0.052
Tags: @product
1:15.021
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 18.877
And I enable persistence creation in Tails Greeter 1.132
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.484
Then I create a persistent partition with the default settings using the wizard that was already open 33.527
After features/support/hooks.rb:330 2.298
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.578
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.704
When I enable persistence 39.985
Then no persistent Greeter options were restored 14.080
When I set all Greeter options to non-default values 24.323
And I log in to a new session in German (de) after having activated the Persistent Storage 48.046
Then all Greeter options are set to non-default values 0.419
When I cold reboot the computer 7.627
And the computer reboots Tails 1:1.078
Given I enable persistence 24.529
Then persistent Greeter options were restored 0.537
When I log in to a new session after having activated the Persistent Storage 36.870
Then all Greeter options are set to non-default values 0.373
After features/support/hooks.rb:330 1.972
After features/support/hooks.rb:100 0.009
Tags: @product
3:54.278
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.729
# 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.157
And I shutdown Tails and wait for the computer to power off 14.661
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.493
And I change the passphrase of the Persistent Storage back to the original 45.236
After features/support/hooks.rb:330 1.688
After features/support/hooks.rb:100 0.009
Tags: @product
57.965
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.022
And I log in to a new session without activating the Persistent Storage 24.594
Then persistence is disabled 0.315
But a Tails persistence partition exists on USB drive "__internal" 6.192
And all notifications have disappeared 9.480
When I delete the persistent partition 6.977
Then there is no persistence partition on USB drive "__internal" 0.383
After features/support/hooks.rb:330 1.603
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.366
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.433
When I write some dotfile expected to persist 0.104
And I shutdown Tails and wait for the computer to power off 8.996
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.431
Then the expected persistent dotfile is present in the filesystem 0.400
After features/support/hooks.rb:330 1.282
After features/support/hooks.rb:100 0.008
Tags: @product
1:47.116
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.902
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.103
When I try to enable persistence 0.377
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.866
When I log in to a new session after having activated the Persistent Storage 43.337
And all notifications have disappeared 8.171
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.884
And all tps features are enabled 2.225
And all tps features but the first one are active 2.246
After features/support/hooks.rb:330 1.504
After features/support/hooks.rb:100 0.000
Tags: @product
5:52.256
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 4:25.489
And I enable persistence 40.088
And I log in to a new session after having activated the Persistent Storage 40.613
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.464
And persistence is enabled 3.601
After features/support/hooks.rb:330 1.915
After features/support/hooks.rb:100 0.000
Tags: @product
26.945
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 8.449
And I enable persistence but something goes wrong during the LUKS header upgrade 17.661
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.834
After features/support/hooks.rb:330 0.859
After features/support/hooks.rb:100 0.000
Tags: @product
50.751
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.505
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.058
When I enable persistence 31.151
Then the filesystem of the Persistent Storage was repaired 0.121
And persistence is successfully enabled 3.913
After features/support/hooks.rb:330 1.523
After features/support/hooks.rb:100 0.000
Tags: @product
27.664
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.702
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.310
When I try to enable persistence 0.506
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.602
When I repair the filesystem of the Persistent Storage 1.266
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.296
And the filesystem of the Persistent Storage was repaired 0.101
When I close the filesystem repair dialog 1.275
Then persistence is successfully enabled 1.602
After features/support/hooks.rb:330 0.806
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.543
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 9.562
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.101
When I try to enable persistence 0.263
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.505
When I repair the filesystem of the Persistent Storage 1.241
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.207
When I log in to a new session 43.530
And all notifications have disappeared 10.055
# 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.589
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.743
When I close the "whisperback" window 1.613
Then the Tor Browser starts 17.125
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.003
After features/support/hooks.rb:330 3.160
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.035
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.218
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.295
And Tails detects disk read failures on the boot device 1.469
When I try to enable persistence 0.447
Then the Welcome Screen tells me that my hardware is probably failing 6.789
When I log in to a new session 21.950
And all notifications have disappeared 7.279
Then the Tor Browser starts 20.742
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.842
After features/support/hooks.rb:330 1.800
After features/support/hooks.rb:100 0.000