Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 12 31 Oct 2024, 07:06

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 40:7.758 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.234
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:34.575
And I update APT using apt 12.209
And I install "python3-behave" using apt 25.508
Then the Tails Persistent Storage behave tests pass 2.942
After features/support/hooks.rb:326 0.616
After features/support/hooks.rb:100 0.000
Tags: @product
50.186
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 12.351
When I log in to a new session without activating the Persistent Storage 31.268
Then Tails is running from USB drive "__internal" 0.992
And persistence is disabled 0.414
But a Tails persistence partition exists on USB drive "__internal" 5.159
After features/support/hooks.rb:326 1.411
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.182
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 11.599
Then Tails is running from USB drive "__internal" 1.278
When I create a file in the Persistent directory 0.118
And I create a persistent partition with the default settings 20.501
Then the file I created was copied to the Persistent Storage 0.543
When I shutdown Tails and wait for the computer to power off 15.190
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.227
Then persistence for "Persistent" is active 0.625
And the file I created in the Persistent directory exists 0.097
After features/support/hooks.rb:326 1.986
After features/support/hooks.rb:100 0.008
Tags: @product
56.738
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.177
And the system is very low on memory 7.907
When I create a file in the Persistent directory 1.075
When I try to create a persistent partition 18.174
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.389
When I close the Persistent Storage app 2.743
And I free up some memory 0.928
And I create a persistent partition with the default settings 13.111
Then the file I created was copied to the Persistent Storage 0.228
After features/support/hooks.rb:326 1.539
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.793
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.795
Then Tails is running from USB drive "__internal" 2.708
And all tps features are active 2.645
And all persistent directories have safe access rights 2.888
When I disable the first tps feature 5.535
Then all tps features but the first one are active 2.001
And I shutdown Tails and wait for the computer to power off 10.526
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.418
Then all tps features but the first one are active 2.273
After features/support/hooks.rb:326 0.882
After features/support/hooks.rb:100 0.006
Tags: @product
20.497
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.000
Then persistence for "Persistent" is active 0.205
And I create a file in the Persistent directory 0.189
Then the file I created was copied to the Persistent Storage 0.068
When I disable the first tps feature 6.576
Then persistence for "Persistent" is not active 0.089
And the Persistent directory does not exist 0.049
When I enable the first tps feature 3.165
Then persistence for "Persistent" is active 0.067
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:326 1.420
After features/support/hooks.rb:100 0.000
Tags: @product
19.056
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.876
Then persistence for "Persistent" is active 0.189
When I create a file in the Persistent directory 0.067
And I disable the first tps feature 5.276
And I delete the data of the Persistent Folder feature 3.592
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:326 1.295
After features/support/hooks.rb:100 0.000
Tags: @product
1:32.129
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.604
And the network is plugged 0.092
And Tor is ready 49.241
And I take note of which tps features are available 0.583
When I write some files expected to persist 1.592
And I shutdown Tails and wait for the computer to power off 6.528
# 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.486
After features/support/hooks.rb:326 0.130
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.631
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.931
And the network is plugged 0.086
And Tor is ready 20.713
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.203
And I shutdown Tails and wait for the computer to power off 8.588
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:55.120
And I capture all network traffic 0.012
And the network is plugged 0.086
And Tor is ready 19.151
And I switch to the "persistent-con-current" NetworkManager connection 0.461
And the 1st network device has a spoofed MAC address configured 0.132
And no network device leaked the real MAC address 0.144
After features/support/hooks.rb:326 0.605
After features/support/hooks.rb:100 0.042
Tags: @product
57.744
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 12.793
And I enable persistence creation in Tails Greeter 1.402
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.088
Then I create a persistent partition with the default settings using the wizard that was already open 21.461
After features/support/hooks.rb:326 1.465
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.560
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 12.353
When I enable persistence 40.796
Then no persistent Greeter options were restored 13.933
When I set all Greeter options to non-default values 21.841
And I log in to a new session in German (de) after having activated the Persistent Storage 40.536
Then all Greeter options are set to non-default values 0.634
When I cold reboot the computer 7.555
And the computer reboots Tails 1:12.107
Given I enable persistence 30.991
Then persistent Greeter options were restored 15.015
When I log in to a new session after having activated the Persistent Storage 24.103
Then all Greeter options are set to non-default values 0.691
After features/support/hooks.rb:326 1.003
After features/support/hooks.rb:100 0.006
Tags: @product
3:26.207
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.123
# 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.448
And I shutdown Tails and wait for the computer to power off 10.723
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:57.945
And I change the passphrase of the Persistent Storage back to the original 34.966
After features/support/hooks.rb:326 2.260
After features/support/hooks.rb:100 0.007
Tags: @product
1:15.710
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 25.277
And I log in to a new session without activating the Persistent Storage 26.174
Then persistence is disabled 0.828
But a Tails persistence partition exists on USB drive "__internal" 6.130
And all notifications have disappeared 9.453
When I delete the persistent partition 7.524
Then there is no persistence partition on USB drive "__internal" 0.321
After features/support/hooks.rb:326 0.886
After features/support/hooks.rb:100 0.000
Tags: @product
2:19.534
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.999
When I write some dotfile expected to persist 0.219
And I shutdown Tails and wait for the computer to power off 8.737
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.146
Then the expected persistent dotfile is present in the filesystem 0.432
After features/support/hooks.rb:326 0.981
After features/support/hooks.rb:100 0.006
Tags: @product
1:32.685
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.458
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.379
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.482
When I log in to a new session after having activated the Persistent Storage 35.629
And all notifications have disappeared 5.978
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.126
And all tps features are enabled 2.314
And all tps features but the first one are active 2.223
After features/support/hooks.rb:326 1.598
After features/support/hooks.rb:100 0.000
Tags: @product
6:5.455
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 4:53.919
And I enable persistence 36.158
And I log in to a new session after having activated the Persistent Storage 34.438
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.783
And persistence is enabled 0.155
After features/support/hooks.rb:326 1.124
After features/support/hooks.rb:100 0.000
Tags: @product
30.872
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 8.683
And I enable persistence but something goes wrong during the LUKS header upgrade 21.399
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.789
After features/support/hooks.rb:326 0.950
After features/support/hooks.rb:100 0.000
Tags: @product
47.595
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.635
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.950
When I enable persistence 31.501
Then the filesystem of the Persistent Storage was repaired 0.111
And persistence is successfully enabled 0.397
After features/support/hooks.rb:326 1.299
After features/support/hooks.rb:100 0.000
Tags: @product
37.536
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 22.141
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.985
When I try to enable persistence 0.663
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.538
When I repair the filesystem of the Persistent Storage 1.262
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.221
And the filesystem of the Persistent Storage was repaired 0.087
When I close the filesystem repair dialog 1.258
Then persistence is successfully enabled 0.378
After features/support/hooks.rb:326 3.044
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.719
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 10.636
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.098
When I try to enable persistence 0.294
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.865
When I repair the filesystem of the Persistent Storage 1.232
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 33.557
And all notifications have disappeared 7.390
# 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.700
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.249
When I close the "whisperback" window 2.556
Then the Tor Browser starts 17.733
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.329
After features/support/hooks.rb:326 1.899
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:19.684
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.111
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.728
And Tails detects disk read failures on the boot device 0.533
When I try to enable persistence 0.596
Then the Welcome Screen tells me that my hardware is probably failing 5.337
When I log in to a new session 22.228
And all notifications have disappeared 8.401
Then the Tor Browser starts 25.372
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.375
After features/support/hooks.rb:326 3.208
After features/support/hooks.rb:100 0.000