Project Number Date
test_Tails_ISO_18530-do-not-restart-tor 21 28 Nov 2024, 10:25

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 44:34.130 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:42.484
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:56.825
And I update APT using apt 15.072
And I install "python3-behave" using apt 27.305
Then the Tails Persistent Storage behave tests pass 3.280
After features/support/hooks.rb:326 1.526
After features/support/hooks.rb:100 0.000
Tags: @product
52.961
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 16.734
When I log in to a new session without activating the Persistent Storage 28.023
Then Tails is running from USB drive "__internal" 0.654
And persistence is disabled 0.399
But a Tails persistence partition exists on USB drive "__internal" 7.149
After features/support/hooks.rb:326 1.150
After features/support/hooks.rb:100 0.000
Tags: @product
3:46.925
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 33.767
Then Tails is running from USB drive "__internal" 1.635
When I create a file in the Persistent directory 0.133
And I create a persistent partition with the default settings 31.289
Then the file I created was copied to the Persistent Storage 0.632
When I shutdown Tails and wait for the computer to power off 15.348
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.639
Then persistence for "Persistent" is active 1.400
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:326 0.825
After features/support/hooks.rb:100 0.010
Tags: @product
1:7.403
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 9.715
And the system is very low on memory 5.184
When I create a file in the Persistent directory 1.721
When I try to create a persistent partition 32.197
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.157
When I close the Persistent Storage app 2.740
And I free up some memory 1.683
And I create a persistent partition with the default settings 13.329
Then the file I created was copied to the Persistent Storage 0.672
After features/support/hooks.rb:326 1.941
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.933
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.878
Then Tails is running from USB drive "__internal" 0.717
And all tps features are active 2.917
And all persistent directories have safe access rights 2.808
When I disable the first tps feature 7.483
Then all tps features but the first one are active 2.349
And I shutdown Tails and wait for the computer to power off 11.222
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.169
Then all tps features but the first one are active 2.385
After features/support/hooks.rb:326 1.020
After features/support/hooks.rb:100 0.009
Tags: @product
22.218
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.822
Then persistence for "Persistent" is active 0.103
And I create a file in the Persistent directory 0.073
Then the file I created was copied to the Persistent Storage 0.097
When I disable the first tps feature 7.665
Then persistence for "Persistent" is not active 0.120
And the Persistent directory does not exist 0.067
When I enable the first tps feature 4.096
Then persistence for "Persistent" is active 0.089
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 0.835
After features/support/hooks.rb:100 0.000
Tags: @product
21.189
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 10.014
Then persistence for "Persistent" is active 0.105
When I create a file in the Persistent directory 0.105
And I disable the first tps feature 7.150
And I delete the data of the Persistent Folder feature 3.751
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:326 0.849
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.261
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 8.820
And the network is plugged 0.088
And Tor is ready 20.984
And I take note of which tps features are available 0.718
When I write some files expected to persist 1.722
And I shutdown Tails and wait for the computer to power off 8.968
# 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.958
After features/support/hooks.rb:326 0.163
After features/support/hooks.rb:100 0.000
Tags: @product
3:31.433
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.111
And the network is plugged 0.106
And Tor is ready 24.411
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.234
And I shutdown Tails and wait for the computer to power off 8.791
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.982
And I capture all network traffic 0.133
And the network is plugged 0.267
And Tor is ready 19.708
And I switch to the "persistent-con-current" NetworkManager connection 0.426
And the 1st network device has a spoofed MAC address configured 0.102
And no network device leaked the real MAC address 0.157
After features/support/hooks.rb:326 0.738
After features/support/hooks.rb:100 0.040
Tags: @product
1:0.493
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.739
And I enable persistence creation in Tails Greeter 1.168
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.672
Then I create a persistent partition with the default settings using the wizard that was already open 22.912
After features/support/hooks.rb:326 2.005
After features/support/hooks.rb:100 0.000
Tags: @product
4:58.488
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 14.241
When I enable persistence 44.470
Then no persistent Greeter options were restored 14.668
When I set all Greeter options to non-default values 32.994
And I log in to a new session in German (de) after having activated the Persistent Storage 52.685
Then all Greeter options are set to non-default values 0.518
When I cold reboot the computer 7.611
And the computer reboots Tails 1:7.218
Given I enable persistence 19.602
Then persistent Greeter options were restored 0.607
When I log in to a new session after having activated the Persistent Storage 43.409
Then all Greeter options are set to non-default values 0.459
After features/support/hooks.rb:326 0.788
After features/support/hooks.rb:100 0.010
Tags: @product
3:53.517
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 10.831
# 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 34.783
And I shutdown Tails and wait for the computer to power off 12.847
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:15.736
And I change the passphrase of the Persistent Storage back to the original 39.319
After features/support/hooks.rb:326 2.577
After features/support/hooks.rb:100 0.009
Tags: @product
1:3.852
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 11.641
And I log in to a new session without activating the Persistent Storage 22.823
Then persistence is disabled 0.685
But a Tails persistence partition exists on USB drive "__internal" 13.085
And all notifications have disappeared 9.255
When I delete the persistent partition 5.900
Then there is no persistence partition on USB drive "__internal" 0.460
After features/support/hooks.rb:326 1.253
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.278
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.804
When I write some dotfile expected to persist 0.138
And I shutdown Tails and wait for the computer to power off 10.948
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.893
Then the expected persistent dotfile is present in the filesystem 0.492
After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.010
Tags: @product
1:55.709
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.782
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.112
When I try to enable persistence 0.314
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.339
When I log in to a new session after having activated the Persistent Storage 56.682
And all notifications have disappeared 8.192
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.219
And all tps features are enabled 2.569
And all tps features but the first one are active 2.497
After features/support/hooks.rb:326 1.561
After features/support/hooks.rb:100 0.000
Tags: @product
6:35.223
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 4:59.451
And I enable persistence 42.458
And I log in to a new session after having activated the Persistent Storage 45.421
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 5.068
And persistence is enabled 2.822
After features/support/hooks.rb:326 1.758
After features/support/hooks.rb:100 0.000
Tags: @product
28.876
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 9.894
And I enable persistence but something goes wrong during the LUKS header upgrade 18.132
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.849
After features/support/hooks.rb:326 1.103
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.490
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 10.138
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.296
When I enable persistence 40.909
Then the filesystem of the Persistent Storage was repaired 0.109
And persistence is successfully enabled 3.037
After features/support/hooks.rb:326 1.382
After features/support/hooks.rb:100 0.000
Tags: @product
29.787
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 10.328
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.335
When I try to enable persistence 0.602
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.114
When I repair the filesystem of the Persistent Storage 1.203
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.253
And the filesystem of the Persistent Storage was repaired 0.089
When I close the filesystem repair dialog 1.268
Then persistence is successfully enabled 1.593
After features/support/hooks.rb:326 0.846
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:9.974
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.225
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.128
When I try to enable persistence 0.404
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.602
When I repair the filesystem of the Persistent Storage 1.293
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.087
When I log in to a new session 52.987
And all notifications have disappeared 12.133
# 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.622
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.609
When I close the "whisperback" window 1.537
Then the Tor Browser starts 18.485
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.856
After features/support/hooks.rb:326 3.506
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:24.626
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 11.620
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.252
And Tails detects disk read failures on the boot device 1.666
When I try to enable persistence 0.480
Then the Welcome Screen tells me that my hardware is probably failing 6.359
When I log in to a new session 22.907
And all notifications have disappeared 9.179
Then the Tor Browser starts 24.151
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.008
After features/support/hooks.rb:326 2.064
After features/support/hooks.rb:100 0.000