Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 1 24 Oct 2024, 21:23

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 41:11.054 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:24.724
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:42.640
And I update APT using apt 13.082
And I install "python3-behave" using apt 26.075
Then the Tails Persistent Storage behave tests pass 2.926
After features/support/hooks.rb:326 0.879
After features/support/hooks.rb:100 0.000
Tags: @product
53.715
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.649
When I log in to a new session without activating the Persistent Storage 31.368
Then Tails is running from USB drive "__internal" 0.835
And persistence is disabled 0.737
But a Tails persistence partition exists on USB drive "__internal" 8.123
After features/support/hooks.rb:326 1.323
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.409
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 14.085
Then Tails is running from USB drive "__internal" 0.835
When I create a file in the Persistent directory 0.178
And I create a persistent partition with the default settings 19.315
Then the file I created was copied to the Persistent Storage 0.520
When I shutdown Tails and wait for the computer to power off 12.621
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.301
Then persistence for "Persistent" is active 0.474
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 1.153
After features/support/hooks.rb:100 0.008
Tags: @product
58.644
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.231
And the system is very low on memory 3.548
When I create a file in the Persistent directory 1.442
When I try to create a persistent partition 22.552
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.668
When I close the Persistent Storage app 2.630
And I free up some memory 1.147
And I create a persistent partition with the default settings 13.180
Then the file I created was copied to the Persistent Storage 0.242
After features/support/hooks.rb:326 1.377
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.001
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.802
Then Tails is running from USB drive "__internal" 0.523
And all tps features are active 2.761
And all persistent directories have safe access rights 2.733
When I disable the first tps feature 5.397
Then all tps features but the first one are active 2.373
And I shutdown Tails and wait for the computer to power off 12.768
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.973
Then all tps features but the first one are active 2.667
After features/support/hooks.rb:326 1.448
After features/support/hooks.rb:100 0.006
Tags: @product
19.585
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.401
Then persistence for "Persistent" is active 0.197
And I create a file in the Persistent directory 0.069
Then the file I created was copied to the Persistent Storage 0.075
When I disable the first tps feature 5.333
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.236
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:326 1.157
After features/support/hooks.rb:100 0.000
Tags: @product
19.512
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.466
Then persistence for "Persistent" is active 0.243
When I create a file in the Persistent directory 0.061
And I disable the first tps feature 5.887
And I delete the data of the Persistent Folder feature 3.796
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:326 0.980
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.077
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.636
And the network is plugged 0.084
And Tor is ready 20.864
And I take note of which tps features are available 0.661
When I write some files expected to persist 1.748
And I shutdown Tails and wait for the computer to power off 10.679
# 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.402
After features/support/hooks.rb:326 0.131
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.984
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.171
And the network is plugged 0.105
And Tor is ready 18.509
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.215
And I shutdown Tails and wait for the computer to power off 8.861
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.710
And I capture all network traffic 0.005
And the network is plugged 0.074
And Tor is ready 20.702
And I switch to the "persistent-con-current" NetworkManager connection 0.368
And the 1st network device has a spoofed MAC address configured 0.123
And no network device leaked the real MAC address 0.136
After features/support/hooks.rb:326 0.735
After features/support/hooks.rb:100 0.083
Tags: @product
58.232
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.401
And I enable persistence creation in Tails Greeter 1.258
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.335
Then I create a persistent partition with the default settings using the wizard that was already open 21.238
After features/support/hooks.rb:326 1.694
After features/support/hooks.rb:100 0.000
Tags: @product
5:37.766
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 47.968
When I enable persistence 53.257
Then no persistent Greeter options were restored 14.514
When I set all Greeter options to non-default values 24.121
And I log in to a new session in German (de) after having activated the Persistent Storage 44.348
Then all Greeter options are set to non-default values 0.733
When I cold reboot the computer 10.553
And the computer reboots Tails 1:6.995
Given I enable persistence 31.602
Then persistent Greeter options were restored 15.010
When I log in to a new session after having activated the Persistent Storage 28.207
Then all Greeter options are set to non-default values 0.454
After features/support/hooks.rb:326 1.575
After features/support/hooks.rb:100 0.006
Tags: @product
3:40.524
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.046
# 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 40.725
And I shutdown Tails and wait for the computer to power off 10.626
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.594
And I change the passphrase of the Persistent Storage back to the original 34.532
After features/support/hooks.rb:326 2.214
After features/support/hooks.rb:100 0.006
Tags: @product
1:9.000
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 12.248
And I log in to a new session without activating the Persistent Storage 24.867
Then persistence is disabled 0.740
But a Tails persistence partition exists on USB drive "__internal" 10.043
And all notifications have disappeared 13.557
When I delete the persistent partition 7.102
Then there is no persistence partition on USB drive "__internal" 0.439
After features/support/hooks.rb:326 0.961
After features/support/hooks.rb:100 0.000
Tags: @product
2:20.503
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.185
When I write some dotfile expected to persist 0.284
And I shutdown Tails and wait for the computer to power off 10.982
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.588
Then the expected persistent dotfile is present in the filesystem 0.462
After features/support/hooks.rb:326 0.873
After features/support/hooks.rb:100 0.008
Tags: @product
1:27.976
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.581
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.090
When I try to enable persistence 1.564
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.133
When I log in to a new session after having activated the Persistent Storage 30.798
And all notifications have disappeared 7.334
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.837
And all tps features are enabled 2.341
And all tps features but the first one are active 2.295
After features/support/hooks.rb:326 1.142
After features/support/hooks.rb:100 0.000
Tags: @product
6:26.489
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 5:23.067
And I enable persistence 35.002
And I log in to a new session after having activated the Persistent Storage 25.764
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.491
And persistence is enabled 0.164
After features/support/hooks.rb:326 1.094
After features/support/hooks.rb:100 0.000
Tags: @product
30.336
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 9.360
And I enable persistence but something goes wrong during the LUKS header upgrade 20.203
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.773
After features/support/hooks.rb:326 0.870
After features/support/hooks.rb:100 0.000
Tags: @product
46.005
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.204
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.725
When I enable persistence 31.608
Then the filesystem of the Persistent Storage was repaired 0.105
And persistence is successfully enabled 0.361
After features/support/hooks.rb:326 2.017
After features/support/hooks.rb:100 0.000
Tags: @product
23.976
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.615
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.933
When I try to enable persistence 0.564
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.742
When I repair the filesystem of the Persistent Storage 1.216
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.275
And the filesystem of the Persistent Storage was repaired 0.069
When I close the filesystem repair dialog 1.192
Then persistence is successfully enabled 0.367
After features/support/hooks.rb:326 0.830
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:42.452
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.246
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.090
When I try to enable persistence 0.394
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.278
When I repair the filesystem of the Persistent Storage 1.257
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 4.541
When I log in to a new session 23.971
And all notifications have disappeared 8.253
# 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.246
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.218
When I close the "whisperback" window 1.476
Then the Tor Browser starts 18.696
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.780
After features/support/hooks.rb:326 2.372
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:16.134
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.548
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.629
And Tails detects disk read failures on the boot device 1.555
When I try to enable persistence 0.600
Then the Welcome Screen tells me that my hardware is probably failing 4.857
When I log in to a new session 23.190
And all notifications have disappeared 8.666
Then the Tor Browser starts 23.395
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.690
After features/support/hooks.rb:326 1.517
After features/support/hooks.rb:100 0.000