Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 7 29 Oct 2024, 16: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 35:42.553 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:12.489
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.250
And I update APT using apt 12.655
And I install "python3-behave" using apt 25.579
Then the Tails Persistent Storage behave tests pass 2.003
After features/support/hooks.rb:326 0.603
After features/support/hooks.rb:100 0.000
Tags: @product
42.493
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.842
When I log in to a new session without activating the Persistent Storage 22.073
Then Tails is running from USB drive "__internal" 1.041
And persistence is disabled 0.584
But a Tails persistence partition exists on USB drive "__internal" 7.950
After features/support/hooks.rb:326 1.069
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.687
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 13.934
Then Tails is running from USB drive "__internal" 0.389
When I create a file in the Persistent directory 0.187
And I create a persistent partition with the default settings 19.700
Then the file I created was copied to the Persistent Storage 0.469
When I shutdown Tails and wait for the computer to power off 12.951
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.616
Then persistence for "Persistent" is active 0.365
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 0.960
After features/support/hooks.rb:100 0.006
Tags: @product
48.937
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.796
And the system is very low on memory 3.073
When I create a file in the Persistent directory 1.395
When I try to create a persistent partition 17.922
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.262
When I close the Persistent Storage app 2.560
And I free up some memory 1.102
And I create a persistent partition with the default settings 11.546
Then the file I created was copied to the Persistent Storage 0.276
After features/support/hooks.rb:326 1.502
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.333
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.743
Then Tails is running from USB drive "__internal" 0.525
And all tps features are active 2.246
And all persistent directories have safe access rights 2.438
When I disable the first tps feature 5.315
Then all tps features but the first one are active 1.859
And I shutdown Tails and wait for the computer to power off 8.244
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:54.446
Then all tps features but the first one are active 2.512
After features/support/hooks.rb:326 1.305
After features/support/hooks.rb:100 0.013
Tags: @product
18.444
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.380
Then persistence for "Persistent" is active 0.339
And I create a file in the Persistent directory 0.070
Then the file I created was copied to the Persistent Storage 0.066
When I disable the first tps feature 5.247
Then persistence for "Persistent" is not active 0.072
And the Persistent directory does not exist 0.051
When I enable the first tps feature 3.073
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 1.151
After features/support/hooks.rb:100 0.000
Tags: @product
18.435
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.225
Then persistence for "Persistent" is active 0.278
When I create a file in the Persistent directory 0.084
And I disable the first tps feature 5.161
And I delete the data of the Persistent Folder feature 3.629
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:326 1.262
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.544
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.806
And the network is plugged 0.074
And Tor is ready 20.143
And I take note of which tps features are available 0.559
When I write some files expected to persist 1.421
And I shutdown Tails and wait for the computer to power off 8.381
# 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.158
After features/support/hooks.rb:326 0.140
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.218
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.748
And the network is plugged 0.123
And Tor is ready 19.680
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.199
And I shutdown Tails and wait for the computer to power off 8.614
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:51.076
And I capture all network traffic 0.009
And the network is plugged 0.069
And Tor is ready 20.110
And I switch to the "persistent-con-current" NetworkManager connection 0.358
And the 1st network device has a spoofed MAC address configured 0.086
And no network device leaked the real MAC address 0.141
After features/support/hooks.rb:326 0.657
After features/support/hooks.rb:100 0.043
Tags: @product
53.523
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.627
And I enable persistence creation in Tails Greeter 1.120
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.443
Then I create a persistent partition with the default settings using the wizard that was already open 19.331
After features/support/hooks.rb:326 1.367
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.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 11.906
When I enable persistence 33.141
Then no persistent Greeter options were restored 14.218
When I set all Greeter options to non-default values 23.766
And I log in to a new session in German (de) after having activated the Persistent Storage 41.032
Then all Greeter options are set to non-default values 0.576
When I cold reboot the computer 7.295
And the computer reboots Tails 1:2.713
Given I enable persistence 29.100
Then persistent Greeter options were restored 14.926
When I log in to a new session after having activated the Persistent Storage 26.921
Then all Greeter options are set to non-default values 0.518
After features/support/hooks.rb:326 1.778
After features/support/hooks.rb:100 0.006
Tags: @product
3:27.317
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.530
# 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 34.305
And I shutdown Tails and wait for the computer to power off 8.636
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.841
And I change the passphrase of the Persistent Storage back to the original 27.003
After features/support/hooks.rb:326 2.238
After features/support/hooks.rb:100 0.005
Tags: @product
59.512
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.751
And I log in to a new session without activating the Persistent Storage 21.330
Then persistence is disabled 0.508
But a Tails persistence partition exists on USB drive "__internal" 8.934
And all notifications have disappeared 11.800
When I delete the persistent partition 6.763
Then there is no persistence partition on USB drive "__internal" 0.423
After features/support/hooks.rb:326 0.722
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.529
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.777
When I write some dotfile expected to persist 0.381
And I shutdown Tails and wait for the computer to power off 8.600
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.312
Then the expected persistent dotfile is present in the filesystem 0.457
After features/support/hooks.rb:326 1.069
After features/support/hooks.rb:100 0.005
Tags: @product
1:24.443
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.726
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 0.411
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.647
When I log in to a new session after having activated the Persistent Storage 30.683
And all notifications have disappeared 7.311
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.269
And all tps features are enabled 2.349
And all tps features but the first one are active 1.965
After features/support/hooks.rb:326 1.552
After features/support/hooks.rb:100 0.000
Tags: @product
4:14.375
Before features/support/hooks.rb:269 0.002
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:10.008
And I enable persistence 32.055
And I log in to a new session after having activated the Persistent Storage 30.466
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.686
And persistence is enabled 0.157
After features/support/hooks.rb:326 1.875
After features/support/hooks.rb:100 0.000
Tags: @product
28.138
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.700
And I enable persistence but something goes wrong during the LUKS header upgrade 18.707
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.731
After features/support/hooks.rb:326 0.703
After features/support/hooks.rb:100 0.000
Tags: @product
40.972
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 9.135
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.330
When I enable persistence 27.040
Then the filesystem of the Persistent Storage was repaired 0.101
And persistence is successfully enabled 0.362
After features/support/hooks.rb:326 0.950
After features/support/hooks.rb:100 0.000
Tags: @product
22.444
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.146
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.440
When I try to enable persistence 0.456
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.254
When I repair the filesystem of the Persistent Storage 1.269
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.203
And the filesystem of the Persistent Storage was repaired 0.070
When I close the filesystem repair dialog 1.259
Then persistence is successfully enabled 0.343
After features/support/hooks.rb:326 0.763
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:27.328
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.284
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.094
When I try to enable persistence 0.426
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.119
When I repair the filesystem of the Persistent Storage 1.247
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.087
When I log in to a new session 24.634
And all notifications have disappeared 6.960
# 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.014
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.412
When I close the "whisperback" window 1.702
Then the Tor Browser starts 15.501
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.842
After features/support/hooks.rb:326 2.494
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:17.265
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.214
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.264
And Tails detects disk read failures on the boot device 0.575
When I try to enable persistence 0.517
Then the Welcome Screen tells me that my hardware is probably failing 4.546
When I log in to a new session 23.251
And all notifications have disappeared 8.968
Then the Tor Browser starts 26.116
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.810
After features/support/hooks.rb:326 2.084
After features/support/hooks.rb:100 0.000