Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 27 10 Nov 2024, 06:53

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 38:4.803 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.546
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:42.587
And I update APT using apt 15.040
And I install "python3-behave" using apt 25.719
Then the Tails Persistent Storage behave tests pass 2.198
After features/support/hooks.rb:326 0.629
After features/support/hooks.rb:100 0.000
Tags: @product
50.363
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 12.392
When I log in to a new session without activating the Persistent Storage 26.371
Then Tails is running from USB drive "__internal" 0.691
And persistence is disabled 0.514
But a Tails persistence partition exists on USB drive "__internal" 10.392
After features/support/hooks.rb:326 1.601
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.734
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 13.611
Then Tails is running from USB drive "__internal" 2.215
When I create a file in the Persistent directory 0.135
And I create a persistent partition with the default settings 19.642
Then the file I created was copied to the Persistent Storage 0.593
When I shutdown Tails and wait for the computer to power off 13.150
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.902
Then persistence for "Persistent" is active 0.409
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 1.752
After features/support/hooks.rb:100 0.009
Tags: @product
48.019
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 11.608
And the system is very low on memory 3.093
When I create a file in the Persistent directory 0.983
When I try to create a persistent partition 17.069
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.248
When I close the Persistent Storage app 2.551
And I free up some memory 1.064
And I create a persistent partition with the default settings 11.149
Then the file I created was copied to the Persistent Storage 0.250
After features/support/hooks.rb:326 1.337
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.281
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 21.578
Then Tails is running from USB drive "__internal" 0.890
And all tps features are active 2.365
And all persistent directories have safe access rights 2.616
When I disable the first tps feature 5.820
Then all tps features but the first one are active 2.612
And I shutdown Tails and wait for the computer to power off 14.907
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:57.190
Then all tps features but the first one are active 2.299
After features/support/hooks.rb:326 1.288
After features/support/hooks.rb:100 0.008
Tags: @product
20.113
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.987
Then persistence for "Persistent" is active 0.204
And I create a file in the Persistent directory 0.080
Then the file I created was copied to the Persistent Storage 0.079
When I disable the first tps feature 5.393
Then persistence for "Persistent" is not active 0.084
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.071
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 1.153
After features/support/hooks.rb:100 0.000
Tags: @product
18.680
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.190
Then persistence for "Persistent" is active 0.222
When I create a file in the Persistent directory 0.103
And I disable the first tps feature 5.514
And I delete the data of the Persistent Folder feature 3.597
Then the file I created does not exist on the Persistent Storage 0.050
After features/support/hooks.rb:326 1.236
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.095
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.522
And the network is plugged 0.115
And Tor is ready 22.979
And I take note of which tps features are available 0.590
When I write some files expected to persist 1.707
And I shutdown Tails and wait for the computer to power off 10.692
# 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.488
After features/support/hooks.rb:326 0.105
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.338
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.951
And the network is plugged 0.173
And Tor is ready 20.053
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.184
And I shutdown Tails and wait for the computer to power off 8.608
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:55.709
And I capture all network traffic 0.007
And the network is plugged 0.090
And Tor is ready 19.961
And I switch to the "persistent-con-current" NetworkManager connection 0.376
And the 1st network device has a spoofed MAC address configured 0.104
And no network device leaked the real MAC address 0.116
After features/support/hooks.rb:326 0.678
After features/support/hooks.rb:100 0.042
Tags: @product
59.708
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 14.347
And I enable persistence creation in Tails Greeter 1.167
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.136
Then I create a persistent partition with the default settings using the wizard that was already open 20.058
After features/support/hooks.rb:326 1.939
After features/support/hooks.rb:100 0.000
Tags: @product
4:4.760
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 12.282
When I enable persistence 33.561
Then no persistent Greeter options were restored 13.724
When I set all Greeter options to non-default values 23.009
And I log in to a new session in German (de) after having activated the Persistent Storage 39.492
Then all Greeter options are set to non-default values 0.729
When I cold reboot the computer 7.470
And the computer reboots Tails 1:5.925
Given I enable persistence 18.684
Then persistent Greeter options were restored 0.486
When I log in to a new session after having activated the Persistent Storage 29.100
Then all Greeter options are set to non-default values 0.291
After features/support/hooks.rb:326 1.802
After features/support/hooks.rb:100 0.008
Tags: @product
3:31.327
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.048
# 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.865
And I shutdown Tails and wait for the computer to power off 10.842
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:1.036
And I change the passphrase of the Persistent Storage back to the original 36.534
After features/support/hooks.rb:326 1.825
After features/support/hooks.rb:100 0.011
Tags: @product
1:4.598
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 12.559
And I log in to a new session without activating the Persistent Storage 25.074
Then persistence is disabled 0.773
But a Tails persistence partition exists on USB drive "__internal" 8.428
And all notifications have disappeared 10.204
When I delete the persistent partition 7.206
Then there is no persistence partition on USB drive "__internal" 0.351
After features/support/hooks.rb:326 1.225
After features/support/hooks.rb:100 0.000
Tags: @product
2:20.554
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.975
When I write some dotfile expected to persist 0.224
And I shutdown Tails and wait for the computer to power off 8.845
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.107
Then the expected persistent dotfile is present in the filesystem 0.402
After features/support/hooks.rb:326 1.035
After features/support/hooks.rb:100 0.008
Tags: @product
1:24.719
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 10.039
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.109
When I try to enable persistence 1.333
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.796
When I log in to a new session after having activated the Persistent Storage 29.776
And all notifications have disappeared 7.082
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.174
And all tps features are enabled 2.259
And all tps features but the first one are active 2.147
After features/support/hooks.rb:326 1.048
After features/support/hooks.rb:100 0.000
Tags: @product
5:6.789
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 3:50.271
And I enable persistence 39.391
And I log in to a new session after having activated the Persistent Storage 32.798
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.693
And persistence is enabled 2.634
After features/support/hooks.rb:326 1.476
After features/support/hooks.rb:100 0.000
Tags: @product
29.611
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 8.827
And I enable persistence but something goes wrong during the LUKS header upgrade 20.047
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.736
After features/support/hooks.rb:326 0.789
After features/support/hooks.rb:100 0.000
Tags: @product
47.344
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 8.717
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.343
When I enable persistence 31.644
Then the filesystem of the Persistent Storage was repaired 0.105
And persistence is successfully enabled 2.533
After features/support/hooks.rb:326 1.391
After features/support/hooks.rb:100 0.000
Tags: @product
26.250
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.106
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.727
When I try to enable persistence 0.604
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.502
When I repair the filesystem of the Persistent Storage 1.252
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.256
And the filesystem of the Persistent Storage was repaired 0.089
When I close the filesystem repair dialog 1.272
Then persistence is successfully enabled 1.437
After features/support/hooks.rb:326 0.811
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:35.339
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.109
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.108
When I try to enable persistence 0.367
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.287
When I repair the filesystem of the Persistent Storage 1.251
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.086
When I log in to a new session 27.712
And all notifications have disappeared 7.485
# 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.597
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.338
When I close the "whisperback" window 1.784
Then the Tor Browser starts 16.830
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.378
After features/support/hooks.rb:326 2.629
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:17.625
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 6.422
And Tails detects disk read failures on the boot device 1.616
When I try to enable persistence 0.609
Then the Welcome Screen tells me that my hardware is probably failing 4.932
When I log in to a new session 22.581
And all notifications have disappeared 8.563
Then the Tor Browser starts 22.669
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.867
After features/support/hooks.rb:326 1.372
After features/support/hooks.rb:100 0.000