Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 59 08 Dec 2024, 07:04

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 37:40.365 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:13.526
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:35.000
And I update APT using apt 13.200
And I install "python3-behave" using apt 22.776
Then the Tails Persistent Storage behave tests pass 2.548
After features/support/hooks.rb:326 0.736
After features/support/hooks.rb:100 0.000
Tags: @product
48.425
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.834
When I log in to a new session without activating the Persistent Storage 26.547
Then Tails is running from USB drive "__internal" 1.064
And persistence is disabled 0.717
But a Tails persistence partition exists on USB drive "__internal" 8.260
After features/support/hooks.rb:326 2.243
After features/support/hooks.rb:100 0.000
Tags: @product
3:33.707
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 12.030
Then Tails is running from USB drive "__internal" 2.594
When I create a file in the Persistent directory 0.127
And I create a persistent partition with the default settings 59.945
Then the file I created was copied to the Persistent Storage 0.738
When I shutdown Tails and wait for the computer to power off 13.002
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.753
Then persistence for "Persistent" is active 0.441
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 1.157
After features/support/hooks.rb:100 0.010
Tags: @product
55.732
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 16.573
And the system is very low on memory 2.852
When I create a file in the Persistent directory 1.897
When I try to create a persistent partition 18.363
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.442
When I close the Persistent Storage app 2.637
And I free up some memory 1.112
And I create a persistent partition with the default settings 11.592
Then the file I created was copied to the Persistent Storage 0.260
After features/support/hooks.rb:326 1.253
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.212
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.323
Then Tails is running from USB drive "__internal" 0.386
And all tps features are active 2.287
And all persistent directories have safe access rights 2.706
When I disable the first tps feature 4.865
Then all tps features but the first one are active 2.046
And I shutdown Tails and wait for the computer to power off 8.629
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.542
Then all tps features but the first one are active 2.423
After features/support/hooks.rb:326 0.943
After features/support/hooks.rb:100 0.007
Tags: @product
18.635
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.811
Then persistence for "Persistent" is active 0.085
And I create a file in the Persistent directory 0.072
Then the file I created was copied to the Persistent Storage 0.075
When I disable the first tps feature 5.197
Then persistence for "Persistent" is not active 0.068
And the Persistent directory does not exist 0.073
When I enable the first tps feature 3.102
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 0.886
After features/support/hooks.rb:100 0.000
Tags: @product
19.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 9.912
Then persistence for "Persistent" is active 0.093
When I create a file in the Persistent directory 0.124
And I disable the first tps feature 5.463
And I delete the data of the Persistent Folder feature 3.675
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:326 1.308
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.696
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 9.975
And the network is plugged 0.079
And Tor is ready 20.291
And I take note of which tps features are available 0.623
When I write some files expected to persist 1.417
And I shutdown Tails and wait for the computer to power off 8.476
# 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.832
After features/support/hooks.rb:326 0.136
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.929
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.020
And the network is plugged 0.135
And Tor is ready 16.997
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.219
And I shutdown Tails and wait for the computer to power off 8.265
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.726
And I capture all network traffic 0.006
And the network is plugged 0.076
And Tor is ready 20.875
And I switch to the "persistent-con-current" NetworkManager connection 0.373
And the 1st network device has a spoofed MAC address configured 0.103
And no network device leaked the real MAC address 0.129
After features/support/hooks.rb:326 0.634
After features/support/hooks.rb:100 0.057
Tags: @product
1:1.136
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 11.917
And I enable persistence creation in Tails Greeter 1.111
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.474
Then I create a persistent partition with the default settings using the wizard that was already open 22.632
After features/support/hooks.rb:326 2.233
After features/support/hooks.rb:100 0.000
Tags: @product
4:10.933
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.786
When I enable persistence 34.785
Then no persistent Greeter options were restored 14.351
When I set all Greeter options to non-default values 24.854
And I log in to a new session in German (de) after having activated the Persistent Storage 43.814
Then all Greeter options are set to non-default values 1.020
When I cold reboot the computer 9.306
And the computer reboots Tails 1:4.160
Given I enable persistence 16.835
Then persistent Greeter options were restored 0.526
When I log in to a new session after having activated the Persistent Storage 28.896
Then all Greeter options are set to non-default values 0.595
After features/support/hooks.rb:326 1.976
After features/support/hooks.rb:100 0.013
Tags: @product
3:24.153
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 9.790
# 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.288
And I shutdown Tails and wait for the computer to power off 8.742
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:1.403
And I change the passphrase of the Persistent Storage back to the original 26.928
After features/support/hooks.rb:326 1.587
After features/support/hooks.rb:100 0.016
Tags: @product
54.949
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.337
And I log in to a new session without activating the Persistent Storage 21.993
Then persistence is disabled 0.467
But a Tails persistence partition exists on USB drive "__internal" 7.198
And all notifications have disappeared 8.460
When I delete the persistent partition 6.114
Then there is no persistence partition on USB drive "__internal" 0.378
After features/support/hooks.rb:326 0.774
After features/support/hooks.rb:100 0.000
Tags: @product
2:20.701
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 9.483
When I write some dotfile expected to persist 0.143
And I shutdown Tails and wait for the computer to power off 8.496
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.213
Then the expected persistent dotfile is present in the filesystem 0.364
After features/support/hooks.rb:326 0.922
After features/support/hooks.rb:100 0.008
Tags: @product
1:30.559
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.463
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.506
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.182
When I log in to a new session after having activated the Persistent Storage 37.013
And all notifications have disappeared 6.989
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.803
And all tps features are enabled 2.300
And all tps features but the first one are active 2.218
After features/support/hooks.rb:326 0.877
After features/support/hooks.rb:100 0.000
Tags: @product
4:57.242
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:49.076
And I enable persistence 33.510
And I log in to a new session after having activated the Persistent Storage 30.884
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.471
And persistence is enabled 2.299
After features/support/hooks.rb:326 1.246
After features/support/hooks.rb:100 0.000
Tags: @product
29.603
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 9.801
And I enable persistence but something goes wrong during the LUKS header upgrade 19.010
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.790
After features/support/hooks.rb:326 0.772
After features/support/hooks.rb:100 0.000
Tags: @product
46.873
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.177
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.279
When I enable persistence 30.687
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 2.636
After features/support/hooks.rb:326 1.184
After features/support/hooks.rb:100 0.000
Tags: @product
23.139
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.622
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.026
When I try to enable persistence 0.450
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.850
When I repair the filesystem of the Persistent Storage 1.255
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.246
And the filesystem of the Persistent Storage was repaired 0.086
When I close the filesystem repair dialog 1.252
Then persistence is successfully enabled 1.347
After features/support/hooks.rb:326 0.788
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:37.554
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.302
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.135
When I try to enable persistence 0.478
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.522
When I repair the filesystem of the Persistent Storage 2.187
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.118
When I log in to a new session 31.746
And all notifications have disappeared 7.904
# 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.728
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.201
When I close the "whisperback" window 1.887
Then the Tor Browser starts 17.213
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.127
After features/support/hooks.rb:326 3.110
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:20.324
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.033
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.915
And Tails detects disk read failures on the boot device 1.588
When I try to enable persistence 0.457
Then the Welcome Screen tells me that my hardware is probably failing 4.313
When I log in to a new session 23.616
And all notifications have disappeared 8.918
Then the Tor Browser starts 26.654
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.824
After features/support/hooks.rb:326 2.348
After features/support/hooks.rb:100 0.000