Project Number Date
test_Tails_ISO_18530-do-not-restart-tor 15 22 Nov 2024, 10:34

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:39.099 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:51.773
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 2:9.390
And I update APT using apt 13.778
And I install "python3-behave" using apt 25.397
Then the Tails Persistent Storage behave tests pass 3.206
After features/support/hooks.rb:326 1.740
After features/support/hooks.rb:100 0.000
Tags: @product
52.078
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.221
When I log in to a new session without activating the Persistent Storage 24.583
Then Tails is running from USB drive "__internal" 0.467
And persistence is disabled 0.232
But a Tails persistence partition exists on USB drive "__internal" 10.572
After features/support/hooks.rb:326 1.090
After features/support/hooks.rb:100 0.000
Tags: @product
3:27.870
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.548
Then Tails is running from USB drive "__internal" 0.571
When I create a file in the Persistent directory 0.314
And I create a persistent partition with the default settings 25.206
Then the file I created was copied to the Persistent Storage 0.616
When I shutdown Tails and wait for the computer to power off 13.169
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:31.500
Then persistence for "Persistent" is active 0.862
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 1.199
After features/support/hooks.rb:100 0.009
Tags: @product
1:3.010
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.048
And the system is very low on memory 5.311
When I create a file in the Persistent directory 1.381
When I try to create a persistent partition 26.098
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.300
When I close the Persistent Storage app 2.830
And I free up some memory 1.786
And I create a persistent partition with the default settings 12.980
Then the file I created was copied to the Persistent Storage 0.272
After features/support/hooks.rb:326 1.408
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.178
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.294
Then Tails is running from USB drive "__internal" 0.643
And all tps features are active 6.917
And all persistent directories have safe access rights 2.577
When I disable the first tps feature 7.276
Then all tps features but the first one are active 2.599
And I shutdown Tails and wait for the computer to power off 15.697
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.121
Then all tps features but the first one are active 3.050
After features/support/hooks.rb:326 1.176
After features/support/hooks.rb:100 0.007
Tags: @product
25.013
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 13.661
Then persistence for "Persistent" is active 0.164
And I create a file in the Persistent directory 0.170
Then the file I created was copied to the Persistent Storage 0.206
When I disable the first tps feature 7.379
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.047
When I enable the first tps feature 3.149
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 0.728
After features/support/hooks.rb:100 0.000
Tags: @product
22.579
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.421
Then persistence for "Persistent" is active 0.687
When I create a file in the Persistent directory 0.070
And I disable the first tps feature 7.133
And I delete the data of the Persistent Folder feature 4.186
Then the file I created does not exist on the Persistent Storage 0.080
After features/support/hooks.rb:326 0.848
After features/support/hooks.rb:100 0.000
Tags: @product
1:38.863
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.357
And the network is plugged 0.094
And Tor is ready 47.773
And I take note of which tps features are available 0.707
When I write some files expected to persist 1.635
And I shutdown Tails and wait for the computer to power off 13.522
# 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.772
After features/support/hooks.rb:326 0.141
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.692
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.000
And the network is plugged 0.118
And Tor is ready 18.620
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.237
And I shutdown Tails and wait for the computer to power off 8.749
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.775
And I capture all network traffic 0.008
And the network is plugged 0.085
And Tor is ready 19.398
And I switch to the "persistent-con-current" NetworkManager connection 0.450
And the 1st network device has a spoofed MAC address configured 0.101
And no network device leaked the real MAC address 0.147
After features/support/hooks.rb:326 1.322
After features/support/hooks.rb:100 0.055
Tags: @product
1:7.324
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 14.761
And I enable persistence creation in Tails Greeter 3.793
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.158
Then I create a persistent partition with the default settings using the wizard that was already open 23.610
After features/support/hooks.rb:326 1.858
After features/support/hooks.rb:100 0.000
Tags: @product
4:46.961
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 12.631
When I enable persistence 43.752
Then no persistent Greeter options were restored 15.171
When I set all Greeter options to non-default values 28.000
And I log in to a new session in German (de) after having activated the Persistent Storage 56.372
Then all Greeter options are set to non-default values 0.867
When I cold reboot the computer 8.417
And the computer reboots Tails 1:3.317
Given I enable persistence 18.639
Then persistent Greeter options were restored 0.625
When I log in to a new session after having activated the Persistent Storage 38.535
Then all Greeter options are set to non-default values 0.630
After features/support/hooks.rb:326 1.661
After features/support/hooks.rb:100 0.011
Tags: @product
3:54.904
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.098
# 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 36.564
And I shutdown Tails and wait for the computer to power off 13.238
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.875
And I change the passphrase of the Persistent Storage back to the original 34.127
After features/support/hooks.rb:326 1.711
After features/support/hooks.rb:100 0.008
Tags: @product
1:5.481
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.655
And I log in to a new session without activating the Persistent Storage 26.379
Then persistence is disabled 0.418
But a Tails persistence partition exists on USB drive "__internal" 10.830
And all notifications have disappeared 9.190
When I delete the persistent partition 6.386
Then there is no persistence partition on USB drive "__internal" 0.620
After features/support/hooks.rb:326 1.172
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.498
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.569
When I write some dotfile expected to persist 0.073
And I shutdown Tails and wait for the computer to power off 11.150
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.292
Then the expected persistent dotfile is present in the filesystem 0.412
After features/support/hooks.rb:326 0.850
After features/support/hooks.rb:100 0.011
Tags: @product
1:48.923
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.940
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.280
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.879
When I log in to a new session after having activated the Persistent Storage 42.820
And all notifications have disappeared 9.288
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.275
And all tps features are enabled 2.903
And all tps features but the first one are active 2.453
After features/support/hooks.rb:326 1.745
After features/support/hooks.rb:100 0.000
Tags: @product
5:18.910
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 3:51.157
And I enable persistence 36.384
And I log in to a new session after having activated the Persistent Storage 46.157
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.961
And persistence is enabled 3.249
After features/support/hooks.rb:326 0.963
After features/support/hooks.rb:100 0.000
Tags: @product
31.889
Before features/support/hooks.rb:269 0.007
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.507
And I enable persistence but something goes wrong during the LUKS header upgrade 21.573
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.809
After features/support/hooks.rb:326 0.787
After features/support/hooks.rb:100 0.000
Tags: @product
48.722
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.162
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.640
When I enable persistence 30.770
Then the filesystem of the Persistent Storage was repaired 0.156
And persistence is successfully enabled 2.992
After features/support/hooks.rb:326 1.101
After features/support/hooks.rb:100 0.000
Tags: @product
29.829
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 10.035
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.312
When I try to enable persistence 0.511
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.596
When I repair the filesystem of the Persistent Storage 1.251
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.253
And the filesystem of the Persistent Storage was repaired 0.068
When I close the filesystem repair dialog 1.276
Then persistence is successfully enabled 1.524
After features/support/hooks.rb:326 0.911
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.061
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 8.995
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.133
When I try to enable persistence 0.284
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.549
When I repair the filesystem of the Persistent Storage 1.318
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.165
When I log in to a new session 38.734
And all notifications have disappeared 8.923
# 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.876
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.857
When I close the "whisperback" window 1.711
Then the Tor Browser starts 9.364
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 5.146
After features/support/hooks.rb:326 2.154
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:24.530
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.945
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.288
And Tails detects disk read failures on the boot device 1.795
When I try to enable persistence 1.604
Then the Welcome Screen tells me that my hardware is probably failing 7.409
When I log in to a new session 22.640
And all notifications have disappeared 9.951
Then the Tor Browser starts 23.019
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.875
After features/support/hooks.rb:326 1.591
After features/support/hooks.rb:100 0.000