Project Number Date
test_Tails_ISO_18530-do-not-restart-tor 20 27 Nov 2024, 10:35

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 47:12.889 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:34.146
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:50.289
And I update APT using apt 13.686
And I install "python3-behave" using apt 26.918
Then the Tails Persistent Storage behave tests pass 3.252
After features/support/hooks.rb:326 0.788
After features/support/hooks.rb:100 0.000
Tags: @product
57.793
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 14.140
When I log in to a new session without activating the Persistent Storage 24.625
Then Tails is running from USB drive "__internal" 0.868
And persistence is disabled 0.378
But a Tails persistence partition exists on USB drive "__internal" 17.780
After features/support/hooks.rb:326 1.359
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.132
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.305
Then Tails is running from USB drive "__internal" 0.516
When I create a file in the Persistent directory 0.177
And I create a persistent partition with the default settings 29.546
Then the file I created was copied to the Persistent Storage 0.696
When I shutdown Tails and wait for the computer to power off 13.223
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.135
Then persistence for "Persistent" is active 0.451
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 1.351
After features/support/hooks.rb:100 0.012
Tags: @product
1:9.771
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 12.340
And the system is very low on memory 5.267
When I create a file in the Persistent directory 1.189
When I try to create a persistent partition 26.648
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.519
When I close the Persistent Storage app 2.756
And I free up some memory 2.447
And I create a persistent partition with the default settings 18.332
Then the file I created was copied to the Persistent Storage 0.270
After features/support/hooks.rb:326 1.724
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.628
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 27.820
Then Tails is running from USB drive "__internal" 0.693
And all tps features are active 3.195
And all persistent directories have safe access rights 2.983
When I disable the first tps feature 7.488
Then all tps features but the first one are active 2.846
And I shutdown Tails and wait for the computer to power off 11.801
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.728
Then all tps features but the first one are active 4.069
After features/support/hooks.rb:326 0.695
After features/support/hooks.rb:100 0.009
Tags: @product
22.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 10.822
Then persistence for "Persistent" is active 0.143
And I create a file in the Persistent directory 0.129
Then the file I created was copied to the Persistent Storage 0.158
When I disable the first tps feature 7.599
Then persistence for "Persistent" is not active 0.112
And the Persistent directory does not exist 0.094
When I enable the first tps feature 3.258
Then persistence for "Persistent" is active 0.139
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:326 0.914
After features/support/hooks.rb:100 0.000
Tags: @product
22.312
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.121
Then persistence for "Persistent" is active 0.539
When I create a file in the Persistent directory 0.078
And I disable the first tps feature 6.739
And I delete the data of the Persistent Folder feature 3.777
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:326 0.900
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.624
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.600
And the network is plugged 0.115
And Tor is ready 20.413
And I take note of which tps features are available 3.938
When I write some files expected to persist 1.575
And I shutdown Tails and wait for the computer to power off 12.818
# 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" 26.162
After features/support/hooks.rb:326 0.123
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.158
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.507
And the network is plugged 0.099
And Tor is ready 15.888
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.254
And I shutdown Tails and wait for the computer to power off 8.674
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.338
And I capture all network traffic 0.007
And the network is plugged 0.285
And Tor is ready 20.299
And I switch to the "persistent-con-current" NetworkManager connection 0.453
And the 1st network device has a spoofed MAC address configured 0.193
And no network device leaked the real MAC address 0.154
After features/support/hooks.rb:326 0.932
After features/support/hooks.rb:100 0.055
Tags: @product
1:54.858
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 58.736
And I enable persistence creation in Tails Greeter 1.155
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.704
Then I create a persistent partition with the default settings using the wizard that was already open 32.262
After features/support/hooks.rb:326 3.640
After features/support/hooks.rb:100 0.000
Tags: @product
5:16.674
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 39.707
When I enable persistence 47.640
Then no persistent Greeter options were restored 14.163
When I set all Greeter options to non-default values 25.916
And I log in to a new session in German (de) after having activated the Persistent Storage 51.645
Then all Greeter options are set to non-default values 0.714
When I cold reboot the computer 8.072
And the computer reboots Tails 1:5.287
Given I enable persistence 20.970
Then persistent Greeter options were restored 1.067
When I log in to a new session after having activated the Persistent Storage 41.032
Then all Greeter options are set to non-default values 0.456
After features/support/hooks.rb:326 1.282
After features/support/hooks.rb:100 0.009
Tags: @product
4:23.084
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.313
# 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 54.556
And I shutdown Tails and wait for the computer to power off 12.637
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:20.065
And I change the passphrase of the Persistent Storage back to the original 45.512
After features/support/hooks.rb:326 2.446
After features/support/hooks.rb:100 0.012
Tags: @product
1:2.109
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.157
And I log in to a new session without activating the Persistent Storage 23.383
Then persistence is disabled 0.392
But a Tails persistence partition exists on USB drive "__internal" 10.111
And all notifications have disappeared 10.496
When I delete the persistent partition 6.132
Then there is no persistence partition on USB drive "__internal" 0.435
After features/support/hooks.rb:326 0.838
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.958
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 14.065
When I write some dotfile expected to persist 0.067
And I shutdown Tails and wait for the computer to power off 8.964
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.478
Then the expected persistent dotfile is present in the filesystem 0.382
After features/support/hooks.rb:326 0.761
After features/support/hooks.rb:100 0.007
Tags: @product
1:48.051
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.113
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.103
When I try to enable persistence 0.278
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.551
When I log in to a new session after having activated the Persistent Storage 39.376
And all notifications have disappeared 10.283
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.719
And all tps features are enabled 2.732
And all tps features but the first one are active 2.893
After features/support/hooks.rb:326 1.278
After features/support/hooks.rb:100 0.000
Tags: @product
7:42.968
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 6:16.169
And I enable persistence 35.602
And I log in to a new session after having activated the Persistent Storage 46.171
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.244
And persistence is enabled 2.780
After features/support/hooks.rb:326 1.006
After features/support/hooks.rb:100 0.000
Tags: @product
33.454
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 10.630
And I enable persistence but something goes wrong during the LUKS header upgrade 22.041
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.782
After features/support/hooks.rb:326 0.836
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.348
Before features/support/hooks.rb:269 0.018
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.854
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.053
When I enable persistence 42.427
Then the filesystem of the Persistent Storage was repaired 0.112
And persistence is successfully enabled 2.901
After features/support/hooks.rb:326 1.187
After features/support/hooks.rb:100 0.000
Tags: @product
29.803
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.363
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.844
When I try to enable persistence 0.486
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.413
When I repair the filesystem of the Persistent Storage 1.286
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.336
And the filesystem of the Persistent Storage was repaired 0.137
When I close the filesystem repair dialog 1.305
Then persistence is successfully enabled 1.627
After features/support/hooks.rb:326 1.705
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.489
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.080
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.126
When I try to enable persistence 0.310
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.021
When I repair the filesystem of the Persistent Storage 1.387
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.089
When I log in to a new session 46.482
And all notifications have disappeared 10.156
# 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.718
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.146
When I close the "whisperback" window 1.467
Then the Tor Browser starts 19.664
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.837
After features/support/hooks.rb:326 2.277
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:26.979
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.081
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.311
And Tails detects disk read failures on the boot device 0.677
When I try to enable persistence 0.495
Then the Welcome Screen tells me that my hardware is probably failing 7.762
When I log in to a new session 24.765
And all notifications have disappeared 9.706
Then the Tor Browser starts 25.935
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.243
After features/support/hooks.rb:326 1.513
After features/support/hooks.rb:100 0.000