Project Number Date
test_Tails_ISO_18530-do-not-restart-tor 6 13 Nov 2024, 10:37

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 40:25.542 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:30.805
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:48.934
And I update APT using apt 13.327
And I install "python3-behave" using apt 25.432
Then the Tails Persistent Storage behave tests pass 3.111
After features/support/hooks.rb:326 0.861
After features/support/hooks.rb:100 0.000
Tags: @product
45.352
Before features/support/hooks.rb:269 0.017
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.003
When I log in to a new session without activating the Persistent Storage 25.755
Then Tails is running from USB drive "__internal" 0.493
And persistence is disabled 0.422
But a Tails persistence partition exists on USB drive "__internal" 5.676
After features/support/hooks.rb:326 1.001
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.837
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 18.052
Then Tails is running from USB drive "__internal" 0.384
When I create a file in the Persistent directory 0.176
And I create a persistent partition with the default settings 26.060
Then the file I created was copied to the Persistent Storage 0.723
When I shutdown Tails and wait for the computer to power off 14.964
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.020
Then persistence for "Persistent" is active 0.363
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:326 0.750
After features/support/hooks.rb:100 0.010
Tags: @product
1:15.304
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 33.764
And the system is very low on memory 3.893
When I create a file in the Persistent directory 1.475
When I try to create a persistent partition 18.563
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.352
When I close the Persistent Storage app 2.528
And I free up some memory 1.257
And I create a persistent partition with the default settings 12.959
Then the file I created was copied to the Persistent Storage 0.510
After features/support/hooks.rb:326 1.344
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.722
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 34.758
Then Tails is running from USB drive "__internal" 1.245
And all tps features are active 2.500
And all persistent directories have safe access rights 2.687
When I disable the first tps feature 6.422
Then all tps features but the first one are active 3.053
And I shutdown Tails and wait for the computer to power off 12.892
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.866
Then all tps features but the first one are active 2.296
After features/support/hooks.rb:326 0.665
After features/support/hooks.rb:100 0.007
Tags: @product
21.789
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.969
Then persistence for "Persistent" is active 0.563
And I create a file in the Persistent directory 0.084
Then the file I created was copied to the Persistent Storage 0.109
When I disable the first tps feature 6.678
Then persistence for "Persistent" is not active 0.070
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.103
Then persistence for "Persistent" is active 0.082
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 0.876
After features/support/hooks.rb:100 0.000
Tags: @product
22.108
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.149
Then persistence for "Persistent" is active 0.596
When I create a file in the Persistent directory 0.068
And I disable the first tps feature 6.594
And I delete the data of the Persistent Folder feature 3.638
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:326 1.009
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.763
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.343
And the network is plugged 0.124
And Tor is ready 20.460
And I take note of which tps features are available 0.913
When I write some files expected to persist 1.408
And I shutdown Tails and wait for the computer to power off 8.850
# 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.663
After features/support/hooks.rb:326 0.097
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.107
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.754
And the network is plugged 0.156
And Tor is ready 23.421
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.198
And I shutdown Tails and wait for the computer to power off 8.777
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.715
And I capture all network traffic 0.017
And the network is plugged 0.091
And Tor is ready 18.318
And I switch to the "persistent-con-current" NetworkManager connection 0.371
And the 1st network device has a spoofed MAC address configured 0.134
And no network device leaked the real MAC address 0.149
After features/support/hooks.rb:326 0.703
After features/support/hooks.rb:100 0.048
Tags: @product
1:19.194
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 29.149
And I enable persistence creation in Tails Greeter 1.261
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.979
Then I create a persistent partition with the default settings using the wizard that was already open 23.804
After features/support/hooks.rb:326 1.730
After features/support/hooks.rb:100 0.000
Tags: @product
4:15.537
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 11.159
When I enable persistence 37.431
Then no persistent Greeter options were restored 13.583
When I set all Greeter options to non-default values 23.662
And I log in to a new session in German (de) after having activated the Persistent Storage 41.540
Then all Greeter options are set to non-default values 0.455
When I cold reboot the computer 7.282
And the computer reboots Tails 1:1.070
Given I enable persistence 19.030
Then persistent Greeter options were restored 0.517
When I log in to a new session after having activated the Persistent Storage 39.343
Then all Greeter options are set to non-default values 0.459
After features/support/hooks.rb:326 0.759
After features/support/hooks.rb:100 0.007
Tags: @product
3:44.506
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.071
# 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 35.389
And I shutdown Tails and wait for the computer to power off 12.529
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.482
And I change the passphrase of the Persistent Storage back to the original 35.033
After features/support/hooks.rb:326 1.832
After features/support/hooks.rb:100 0.009
Tags: @product
1:4.009
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.738
And I log in to a new session without activating the Persistent Storage 21.628
Then persistence is disabled 0.816
But a Tails persistence partition exists on USB drive "__internal" 11.921
And all notifications have disappeared 10.924
When I delete the persistent partition 6.395
Then there is no persistence partition on USB drive "__internal" 0.584
After features/support/hooks.rb:326 1.227
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.241
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.611
When I write some dotfile expected to persist 1.056
And I shutdown Tails and wait for the computer to power off 11.024
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.183
Then the expected persistent dotfile is present in the filesystem 0.365
After features/support/hooks.rb:326 0.936
After features/support/hooks.rb:100 0.010
Tags: @product
1:41.263
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 11.332
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.110
When I try to enable persistence 0.323
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.600
When I log in to a new session after having activated the Persistent Storage 40.068
And all notifications have disappeared 7.633
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.345
And all tps features are enabled 2.785
And all tps features but the first one are active 2.064
After features/support/hooks.rb:326 1.048
After features/support/hooks.rb:100 0.000
Tags: @product
4:51.890
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 3:29.556
And I enable persistence 30.623
And I log in to a new session after having activated the Persistent Storage 46.559
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.006
And persistence is enabled 3.143
After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.000
Tags: @product
33.442
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 9.365
And I enable persistence but something goes wrong during the LUKS header upgrade 23.251
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.825
After features/support/hooks.rb:326 1.093
After features/support/hooks.rb:100 0.000
Tags: @product
52.321
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.353
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.137
When I enable persistence 34.170
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 2.570
After features/support/hooks.rb:326 1.279
After features/support/hooks.rb:100 0.000
Tags: @product
25.767
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.765
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.562
When I try to enable persistence 1.526
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.708
When I repair the filesystem of the Persistent Storage 1.275
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.161
And the filesystem of the Persistent Storage was repaired 0.106
When I close the filesystem repair dialog 1.244
Then persistence is successfully enabled 1.417
After features/support/hooks.rb:326 0.760
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:40.820
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.344
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.094
When I try to enable persistence 0.280
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.856
When I repair the filesystem of the Persistent Storage 1.267
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.136
When I log in to a new session 32.742
And all notifications have disappeared 8.903
# 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" 1.612
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.571
When I close the "whisperback" window 1.525
Then the Tor Browser starts 14.714
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.768
After features/support/hooks.rb:326 2.134
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:13.753
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.799
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.715
And Tails detects disk read failures on the boot device 1.601
When I try to enable persistence 0.392
Then the Welcome Screen tells me that my hardware is probably failing 5.181
When I log in to a new session 22.112
And all notifications have disappeared 6.681
Then the Tor Browser starts 19.510
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.758
After features/support/hooks.rb:326 1.437
After features/support/hooks.rb:100 0.000