Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 6 29 Oct 2024, 06:46

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 35:48.064 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:11.102
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:32.418
And I update APT using apt 12.838
And I install "python3-behave" using apt 22.969
Then the Tails Persistent Storage behave tests pass 2.876
After features/support/hooks.rb:326 0.763
After features/support/hooks.rb:100 0.000
Tags: @product
44.679
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.606
When I log in to a new session without activating the Persistent Storage 21.668
Then Tails is running from USB drive "__internal" 0.695
And persistence is disabled 0.538
But a Tails persistence partition exists on USB drive "__internal" 10.170
After features/support/hooks.rb:326 2.544
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.907
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.007
Then Tails is running from USB drive "__internal" 0.526
When I create a file in the Persistent directory 0.125
And I create a persistent partition with the default settings 20.371
Then the file I created was copied to the Persistent Storage 0.549
When I shutdown Tails and wait for the computer to power off 12.312
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.534
Then persistence for "Persistent" is active 0.413
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 1.320
After features/support/hooks.rb:100 0.034
Tags: @product
47.873
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 10.783
And the system is very low on memory 4.057
When I create a file in the Persistent directory 1.133
When I try to create a persistent partition 15.802
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.334
When I close the Persistent Storage app 2.656
And I free up some memory 0.921
And I create a persistent partition with the default settings 11.933
Then the file I created was copied to the Persistent Storage 0.251
After features/support/hooks.rb:326 1.318
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.477
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 10.806
Then Tails is running from USB drive "__internal" 0.756
And all tps features are active 2.241
And all persistent directories have safe access rights 2.668
When I disable the first tps feature 5.447
Then all tps features but the first one are active 2.028
And I shutdown Tails and wait for the computer to power off 10.477
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:53.758
Then all tps features but the first one are active 2.292
After features/support/hooks.rb:326 1.114
After features/support/hooks.rb:100 0.006
Tags: @product
19.981
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 9.594
Then persistence for "Persistent" is active 0.175
And I create a file in the Persistent directory 0.190
Then the file I created was copied to the Persistent Storage 0.068
When I disable the first tps feature 6.594
Then persistence for "Persistent" is not active 0.065
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.110
Then persistence for "Persistent" is active 0.068
And the file I created in the Persistent directory exists 0.055
After features/support/hooks.rb:326 0.769
After features/support/hooks.rb:100 0.000
Tags: @product
18.714
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 9.704
Then persistence for "Persistent" is active 0.074
When I create a file in the Persistent directory 0.059
And I disable the first tps feature 5.186
And I delete the data of the Persistent Folder feature 3.636
Then the file I created does not exist on the Persistent Storage 0.051
After features/support/hooks.rb:326 0.803
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.062
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 9.649
And the network is plugged 0.078
And Tor is ready 17.889
And I take note of which tps features are available 0.645
When I write some files expected to persist 1.401
And I shutdown Tails and wait for the computer to power off 6.550
# 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" 23.847
After features/support/hooks.rb:326 0.130
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.764
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 9.759
And the network is plugged 0.119
And Tor is ready 18.497
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.253
And I shutdown Tails and wait for the computer to power off 8.569
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:53.879
And I capture all network traffic 0.004
And the network is plugged 0.130
And Tor is ready 19.987
And I switch to the "persistent-con-current" NetworkManager connection 0.348
And the 1st network device has a spoofed MAC address configured 0.083
And no network device leaked the real MAC address 0.131
After features/support/hooks.rb:326 0.663
After features/support/hooks.rb:100 0.065
Tags: @product
52.096
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.551
And I enable persistence creation in Tails Greeter 1.144
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.740
Then I create a persistent partition with the default settings using the wizard that was already open 18.659
After features/support/hooks.rb:326 2.130
After features/support/hooks.rb:100 0.000
Tags: @product
4:22.861
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.558
When I enable persistence 33.084
Then no persistent Greeter options were restored 14.267
When I set all Greeter options to non-default values 21.644
And I log in to a new session in German (de) after having activated the Persistent Storage 39.312
Then all Greeter options are set to non-default values 0.674
When I cold reboot the computer 9.403
And the computer reboots Tails 1:1.906
Given I enable persistence 31.348
Then persistent Greeter options were restored 14.733
When I log in to a new session after having activated the Persistent Storage 24.266
Then all Greeter options are set to non-default values 0.659
After features/support/hooks.rb:326 1.687
After features/support/hooks.rb:100 0.030
Tags: @product
3:21.537
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 10.414
# 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 37.002
And I shutdown Tails and wait for the computer to power off 8.662
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:50.283
And I change the passphrase of the Persistent Storage back to the original 35.174
After features/support/hooks.rb:326 2.749
After features/support/hooks.rb:100 0.006
Tags: @product
54.281
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.571
And I log in to a new session without activating the Persistent Storage 20.042
Then persistence is disabled 0.765
But a Tails persistence partition exists on USB drive "__internal" 7.491
And all notifications have disappeared 8.314
When I delete the persistent partition 6.716
Then there is no persistence partition on USB drive "__internal" 0.379
After features/support/hooks.rb:326 0.945
After features/support/hooks.rb:100 0.000
Tags: @product
2:14.394
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 10.038
When I write some dotfile expected to persist 0.076
And I shutdown Tails and wait for the computer to power off 8.514
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:55.329
Then the expected persistent dotfile is present in the filesystem 0.436
After features/support/hooks.rb:326 1.178
After features/support/hooks.rb:100 0.006
Tags: @product
1:21.540
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.892
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.068
When I try to enable persistence 0.372
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.968
When I log in to a new session after having activated the Persistent Storage 26.542
And all notifications have disappeared 7.477
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.681
And all tps features are enabled 2.379
And all tps features but the first one are active 2.157
After features/support/hooks.rb:326 1.448
After features/support/hooks.rb:100 0.000
Tags: @product
4:53.314
Before features/support/hooks.rb:269 0.003
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:48.350
And I enable persistence 32.810
And I log in to a new session after having activated the Persistent Storage 30.654
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.313
And persistence is enabled 0.185
After features/support/hooks.rb:326 1.025
After features/support/hooks.rb:100 0.000
Tags: @product
27.935
Before features/support/hooks.rb:269 0.003
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 8.576
And I enable persistence but something goes wrong during the LUKS header upgrade 18.632
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.726
After features/support/hooks.rb:326 0.774
After features/support/hooks.rb:100 0.000
Tags: @product
41.534
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.910
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.276
When I enable persistence 27.927
Then the filesystem of the Persistent Storage was repaired 0.084
And persistence is successfully enabled 0.336
After features/support/hooks.rb:326 1.224
After features/support/hooks.rb:100 0.000
Tags: @product
20.999
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.637
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.349
When I try to enable persistence 0.554
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.392
When I repair the filesystem of the Persistent Storage 1.181
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.215
And the filesystem of the Persistent Storage was repaired 0.087
When I close the filesystem repair dialog 1.236
Then persistence is successfully enabled 0.344
After features/support/hooks.rb:326 0.924
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:32.888
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.837
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.095
When I try to enable persistence 0.354
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.689
When I repair the filesystem of the Persistent Storage 1.939
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.070
When I log in to a new session 28.343
And all notifications have disappeared 6.380
# 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.118
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.263
When I close the "whisperback" window 1.566
Then the Tor Browser starts 18.527
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.700
After features/support/hooks.rb:326 2.538
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:12.118
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.671
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.511
And Tails detects disk read failures on the boot device 0.661
When I try to enable persistence 0.552
Then the Welcome Screen tells me that my hardware is probably failing 4.096
When I log in to a new session 22.351
And all notifications have disappeared 7.595
Then the Tor Browser starts 23.016
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.661
After features/support/hooks.rb:326 1.368
After features/support/hooks.rb:100 0.000