Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 2 25 Oct 2024, 06:52

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 36:18.515 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:11.246
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.017
And I update APT using apt 12.996
And I install "python3-behave" using apt 23.187
Then the Tails Persistent Storage behave tests pass 3.044
After features/support/hooks.rb:326 0.676
After features/support/hooks.rb:100 0.000
Tags: @product
42.826
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.779
When I log in to a new session without activating the Persistent Storage 22.124
Then Tails is running from USB drive "__internal" 0.599
And persistence is disabled 0.628
But a Tails persistence partition exists on USB drive "__internal" 7.693
After features/support/hooks.rb:326 1.978
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.068
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.061
Then Tails is running from USB drive "__internal" 0.340
When I create a file in the Persistent directory 0.108
And I create a persistent partition with the default settings 18.638
Then the file I created was copied to the Persistent Storage 0.498
When I shutdown Tails and wait for the computer to power off 15.006
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:57.410
Then persistence for "Persistent" is active 0.934
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 0.745
After features/support/hooks.rb:100 0.006
Tags: @product
48.018
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.460
And the system is very low on memory 2.364
When I create a file in the Persistent directory 1.474
When I try to create a persistent partition 17.255
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.195
When I close the Persistent Storage app 3.180
And I free up some memory 1.033
And I create a persistent partition with the default settings 11.831
Then the file I created was copied to the Persistent Storage 0.222
After features/support/hooks.rb:326 1.218
After features/support/hooks.rb:100 0.000
Tags: @product
2:34.140
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.394
Then Tails is running from USB drive "__internal" 0.833
And all tps features are active 2.767
And all persistent directories have safe access rights 2.805
When I disable the first tps feature 5.200
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.559
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:56.713
Then all tps features but the first one are active 2.837
After features/support/hooks.rb:326 1.329
After features/support/hooks.rb:100 0.006
Tags: @product
19.589
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.837
Then persistence for "Persistent" is active 0.400
And I create a file in the Persistent directory 0.223
Then the file I created was copied to the Persistent Storage 0.104
When I disable the first tps feature 5.594
Then persistence for "Persistent" is not active 0.083
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.131
Then persistence for "Persistent" is active 0.072
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:326 1.093
After features/support/hooks.rb:100 0.000
Tags: @product
19.522
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.391
Then persistence for "Persistent" is active 0.801
When I create a file in the Persistent directory 0.135
And I disable the first tps feature 5.534
And I delete the data of the Persistent Folder feature 3.606
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:326 1.177
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.792
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.020
And the network is plugged 0.109
And Tor is ready 18.350
And I take note of which tps features are available 0.577
When I write some files expected to persist 1.418
And I shutdown Tails and wait for the computer to power off 8.375
# 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.940
After features/support/hooks.rb:326 0.130
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.324
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.667
And the network is plugged 0.068
And Tor is ready 19.389
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.206
And I shutdown Tails and wait for the computer to power off 8.524
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.135
And I capture all network traffic 0.011
And the network is plugged 0.091
And Tor is ready 19.642
And I switch to the "persistent-con-current" NetworkManager connection 0.347
And the 1st network device has a spoofed MAC address configured 0.109
And no network device leaked the real MAC address 0.128
After features/support/hooks.rb:326 0.836
After features/support/hooks.rb:100 0.038
Tags: @product
53.680
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.732
And I enable persistence creation in Tails Greeter 1.103
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.572
Then I create a persistent partition with the default settings using the wizard that was already open 18.271
After features/support/hooks.rb:326 2.076
After features/support/hooks.rb:100 0.000
Tags: @product
4:27.282
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.437
When I enable persistence 34.763
Then no persistent Greeter options were restored 14.367
When I set all Greeter options to non-default values 24.236
And I log in to a new session in German (de) after having activated the Persistent Storage 40.606
Then all Greeter options are set to non-default values 0.515
When I cold reboot the computer 7.352
And the computer reboots Tails 1:3.454
Given I enable persistence 31.691
Then persistent Greeter options were restored 14.780
When I log in to a new session after having activated the Persistent Storage 23.453
Then all Greeter options are set to non-default values 0.623
After features/support/hooks.rb:326 1.478
After features/support/hooks.rb:100 0.006
Tags: @product
3:31.825
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.714
# 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 44.954
And I shutdown Tails and wait for the computer to power off 8.851
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:55.598
And I change the passphrase of the Persistent Storage back to the original 31.706
After features/support/hooks.rb:326 2.668
After features/support/hooks.rb:100 0.006
Tags: @product
56.966
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.860
And I log in to a new session without activating the Persistent Storage 21.007
Then persistence is disabled 0.640
But a Tails persistence partition exists on USB drive "__internal" 8.396
And all notifications have disappeared 9.172
When I delete the persistent partition 7.421
Then there is no persistence partition on USB drive "__internal" 0.466
After features/support/hooks.rb:326 0.808
After features/support/hooks.rb:100 0.000
Tags: @product
2:8.228
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.611
When I write some dotfile expected to persist 0.111
And I shutdown Tails and wait for the computer to power off 8.471
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:49.650
Then the expected persistent dotfile is present in the filesystem 0.382
After features/support/hooks.rb:326 0.837
After features/support/hooks.rb:100 0.006
Tags: @product
1:25.668
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.841
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.100
When I try to enable persistence 0.367
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.024
When I log in to a new session after having activated the Persistent Storage 32.412
And all notifications have disappeared 7.634
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.872
And all tps features are enabled 2.183
And all tps features but the first one are active 2.230
After features/support/hooks.rb:326 1.162
After features/support/hooks.rb:100 0.000
Tags: @product
4:53.695
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:52.043
And I enable persistence 30.303
And I log in to a new session after having activated the Persistent Storage 29.982
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.093
And persistence is enabled 0.272
After features/support/hooks.rb:326 1.240
After features/support/hooks.rb:100 0.000
Tags: @product
28.001
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.718
And I enable persistence but something goes wrong during the LUKS header upgrade 18.546
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.736
After features/support/hooks.rb:326 0.799
After features/support/hooks.rb:100 0.000
Tags: @product
42.494
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.145
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.443
When I enable persistence 28.478
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 0.338
After features/support/hooks.rb:326 0.994
After features/support/hooks.rb:100 0.000
Tags: @product
21.924
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.878
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.684
When I try to enable persistence 0.435
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.745
When I repair the filesystem of the Persistent Storage 1.292
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.227
And the filesystem of the Persistent Storage was repaired 0.090
When I close the filesystem repair dialog 1.238
Then persistence is successfully enabled 0.331
After features/support/hooks.rb:326 0.879
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:33.997
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.051
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.133
When I try to enable persistence 0.324
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.008
When I repair the filesystem of the Persistent Storage 1.177
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.071
When I log in to a new session 28.449
And all notifications have disappeared 8.768
# 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.358
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.171
When I close the "whisperback" window 1.670
Then the Tor Browser starts 11.263
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 6.547
After features/support/hooks.rb:326 2.772
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.221
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.654
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.432
And Tails detects disk read failures on the boot device 1.555
When I try to enable persistence 0.445
Then the Welcome Screen tells me that my hardware is probably failing 4.250
When I log in to a new session 21.074
And all notifications have disappeared 8.498
Then the Tor Browser starts 25.599
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.710
After features/support/hooks.rb:326 1.996
After features/support/hooks.rb:100 0.000