Project Number Date
test_Tails_ISO_18530-do-not-restart-tor 3 09 Nov 2024, 10:19

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:32.332 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:18.628
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 1:36.601
And I update APT using apt 13.780
And I install "python3-behave" using apt 25.715
Then the Tails Persistent Storage behave tests pass 2.531
After features/support/hooks.rb:326 0.861
After features/support/hooks.rb:100 0.000
Tags: @product
50.790
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 17.145
When I log in to a new session without activating the Persistent Storage 26.019
Then Tails is running from USB drive "__internal" 0.627
And persistence is disabled 0.366
But a Tails persistence partition exists on USB drive "__internal" 6.631
After features/support/hooks.rb:326 1.258
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.563
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 15.197
Then Tails is running from USB drive "__internal" 0.898
When I create a file in the Persistent directory 0.177
And I create a persistent partition with the default settings 27.937
Then the file I created was copied to the Persistent Storage 0.804
When I shutdown Tails and wait for the computer to power off 13.338
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.657
Then persistence for "Persistent" is active 0.470
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 0.888
After features/support/hooks.rb:100 0.008
Tags: @product
1:10.003
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.540
And the system is very low on memory 5.068
When I create a file in the Persistent directory 1.690
When I try to create a persistent partition 30.983
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.373
When I close the Persistent Storage app 2.815
And I free up some memory 1.614
And I create a persistent partition with the default settings 14.674
Then the file I created was copied to the Persistent Storage 0.243
After features/support/hooks.rb:326 1.871
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.753
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 13.347
Then Tails is running from USB drive "__internal" 0.429
And all tps features are active 2.456
And all persistent directories have safe access rights 2.726
When I disable the first tps feature 5.883
Then all tps features but the first one are active 2.160
And I shutdown Tails and wait for the computer to power off 9.070
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.409
Then all tps features but the first one are active 2.269
After features/support/hooks.rb:326 0.665
After features/support/hooks.rb:100 0.008
Tags: @product
20.672
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.918
Then persistence for "Persistent" is active 0.103
And I create a file in the Persistent directory 0.131
Then the file I created was copied to the Persistent Storage 0.075
When I disable the first tps feature 6.193
Then persistence for "Persistent" is not active 0.093
And the Persistent directory does not exist 0.078
When I enable the first tps feature 3.919
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 1.126
After features/support/hooks.rb:100 0.000
Tags: @product
21.762
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.331
Then persistence for "Persistent" is active 0.073
When I create a file in the Persistent directory 0.472
And I disable the first tps feature 6.355
And I delete the data of the Persistent Folder feature 4.444
Then the file I created does not exist on the Persistent Storage 0.084
After features/support/hooks.rb:326 1.165
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.606
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.183
And the network is plugged 0.085
And Tor is ready 21.416
And I take note of which tps features are available 0.631
When I write some files expected to persist 1.671
And I shutdown Tails and wait for the computer to power off 11.166
# 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.452
After features/support/hooks.rb:326 0.181
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.716
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.581
And the network is plugged 0.079
And Tor is ready 18.201
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.203
And I shutdown Tails and wait for the computer to power off 15.352
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.061
And I capture all network traffic 0.006
And the network is plugged 0.080
And Tor is ready 16.472
And I switch to the "persistent-con-current" NetworkManager connection 0.377
And the 1st network device has a spoofed MAC address configured 0.122
And no network device leaked the real MAC address 0.177
After features/support/hooks.rb:326 0.763
After features/support/hooks.rb:100 0.062
Tags: @product
2:1.701
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 1:10.035
And I enable persistence creation in Tails Greeter 1.192
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.796
Then I create a persistent partition with the default settings using the wizard that was already open 25.676
After features/support/hooks.rb:326 2.223
After features/support/hooks.rb:100 0.000
Tags: @product
4:33.313
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 19.805
When I enable persistence 40.367
Then no persistent Greeter options were restored 14.429
When I set all Greeter options to non-default values 25.312
And I log in to a new session in German (de) after having activated the Persistent Storage 46.744
Then all Greeter options are set to non-default values 0.653
When I cold reboot the computer 7.680
And the computer reboots Tails 1:1.516
Given I enable persistence 18.005
Then persistent Greeter options were restored 0.567
When I log in to a new session after having activated the Persistent Storage 37.575
Then all Greeter options are set to non-default values 0.655
After features/support/hooks.rb:326 1.196
After features/support/hooks.rb:100 0.008
Tags: @product
3:41.341
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.792
# 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 32.300
And I shutdown Tails and wait for the computer to power off 12.988
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.992
And I change the passphrase of the Persistent Storage back to the original 30.267
After features/support/hooks.rb:326 2.414
After features/support/hooks.rb:100 0.008
Tags: @product
1:5.006
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 11.819
And I log in to a new session without activating the Persistent Storage 26.261
Then persistence is disabled 0.464
But a Tails persistence partition exists on USB drive "__internal" 7.733
And all notifications have disappeared 10.296
When I delete the persistent partition 7.981
Then there is no persistence partition on USB drive "__internal" 0.450
After features/support/hooks.rb:326 0.962
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.960
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.567
When I write some dotfile expected to persist 0.706
And I shutdown Tails and wait for the computer to power off 8.739
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.459
Then the expected persistent dotfile is present in the filesystem 0.487
After features/support/hooks.rb:326 0.693
After features/support/hooks.rb:100 0.008
Tags: @product
1:42.656
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.251
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.176
When I try to enable persistence 0.346
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.081
When I log in to a new session after having activated the Persistent Storage 39.966
And all notifications have disappeared 7.871
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.070
And all tps features are enabled 3.234
And all tps features but the first one are active 2.655
After features/support/hooks.rb:326 0.971
After features/support/hooks.rb:100 0.000
Tags: @product
6:30.381
Before features/support/hooks.rb:269 0.010
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 5:3.796
And I enable persistence 36.575
And I log in to a new session after having activated the Persistent Storage 43.986
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.008
And persistence is enabled 3.014
After features/support/hooks.rb:326 1.489
After features/support/hooks.rb:100 0.000
Tags: @product
34.453
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.846
And I enable persistence but something goes wrong during the LUKS header upgrade 23.906
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.700
After features/support/hooks.rb:326 0.706
After features/support/hooks.rb:100 0.000
Tags: @product
52.965
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.924
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.499
When I enable persistence 34.608
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 2.836
After features/support/hooks.rb:326 1.030
After features/support/hooks.rb:100 0.000
Tags: @product
28.741
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.189
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.922
When I try to enable persistence 0.409
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.852
When I repair the filesystem of the Persistent Storage 1.271
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.272
And the filesystem of the Persistent Storage was repaired 0.066
When I close the filesystem repair dialog 1.312
Then persistence is successfully enabled 1.444
After features/support/hooks.rb:326 1.965
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.940
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 8.957
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.135
When I try to enable persistence 0.639
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.050
When I repair the filesystem of the Persistent Storage 1.260
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.072
When I log in to a new session 36.094
And all notifications have disappeared 9.602
# 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.424
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.624
When I close the "whisperback" window 1.830
Then the Tor Browser starts 14.146
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.103
After features/support/hooks.rb:326 2.169
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:14.375
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.294
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.090
And Tails detects disk read failures on the boot device 1.590
When I try to enable persistence 0.488
Then the Welcome Screen tells me that my hardware is probably failing 5.725
When I log in to a new session 21.924
And all notifications have disappeared 7.613
Then the Tor Browser starts 20.757
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.889
After features/support/hooks.rb:326 1.548
After features/support/hooks.rb:100 0.000