Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 15 01 Nov 2024, 07:13

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 39:27.794 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:29.695
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:49.577
And I update APT using apt 13.458
And I install "python3-behave" using apt 23.069
Then the Tails Persistent Storage behave tests pass 3.588
After features/support/hooks.rb:326 0.708
After features/support/hooks.rb:100 0.000
Tags: @product
46.928
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.465
When I log in to a new session without activating the Persistent Storage 23.670
Then Tails is running from USB drive "__internal" 0.858
And persistence is disabled 0.444
But a Tails persistence partition exists on USB drive "__internal" 9.489
After features/support/hooks.rb:326 1.727
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.684
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 12.056
Then Tails is running from USB drive "__internal" 0.380
When I create a file in the Persistent directory 0.125
And I create a persistent partition with the default settings 19.520
Then the file I created was copied to the Persistent Storage 0.448
When I shutdown Tails and wait for the computer to power off 13.206
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.485
Then persistence for "Persistent" is active 0.387
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 0.849
After features/support/hooks.rb:100 0.006
Tags: @product
1:6.296
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.578
And the system is very low on memory 9.195
When I create a file in the Persistent directory 0.653
When I try to create a persistent partition 23.954
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.155
When I close the Persistent Storage app 2.619
And I free up some memory 3.552
And I create a persistent partition with the default settings 14.337
Then the file I created was copied to the Persistent Storage 0.249
After features/support/hooks.rb:326 1.301
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.415
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 34.071
Then Tails is running from USB drive "__internal" 0.378
And all tps features are active 2.413
And all persistent directories have safe access rights 2.533
When I disable the first tps feature 5.492
Then all tps features but the first one are active 1.971
And I shutdown Tails and wait for the computer to power off 10.873
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.273
Then all tps features but the first one are active 2.406
After features/support/hooks.rb:326 0.817
After features/support/hooks.rb:100 0.007
Tags: @product
21.123
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.984
Then persistence for "Persistent" is active 0.082
And I create a file in the Persistent directory 0.078
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 6.491
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.049
When I enable the first tps feature 3.139
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 1.019
After features/support/hooks.rb:100 0.000
Tags: @product
19.033
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.397
Then persistence for "Persistent" is active 0.108
When I create a file in the Persistent directory 0.126
And I disable the first tps feature 5.667
And I delete the data of the Persistent Folder feature 3.677
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:326 1.395
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.629
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.430
And the network is plugged 0.163
And Tor is ready 21.990
And I take note of which tps features are available 0.649
When I write some files expected to persist 1.522
And I shutdown Tails and wait for the computer to power off 6.329
# 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.543
After features/support/hooks.rb:326 0.120
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.588
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.807
And the network is plugged 0.178
And Tor is ready 18.486
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.200
And I shutdown Tails and wait for the computer to power off 10.614
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.304
And I capture all network traffic 0.005
And the network is plugged 0.074
And Tor is ready 19.282
And I switch to the "persistent-con-current" NetworkManager connection 0.345
And the 1st network device has a spoofed MAC address configured 0.135
And no network device leaked the real MAC address 0.153
After features/support/hooks.rb:326 0.668
After features/support/hooks.rb:100 0.044
Tags: @product
54.115
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 12.256
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 22.544
Then I create a persistent partition with the default settings using the wizard that was already open 18.193
After features/support/hooks.rb:326 2.237
After features/support/hooks.rb:100 0.000
Tags: @product
4:31.182
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 29.961
When I enable persistence 41.482
Then no persistent Greeter options were restored 14.271
When I set all Greeter options to non-default values 21.929
And I log in to a new session in German (de) after having activated the Persistent Storage 39.409
Then all Greeter options are set to non-default values 0.825
When I cold reboot the computer 7.395
And the computer reboots Tails 1:4.735
Given I enable persistence 18.025
Then persistent Greeter options were restored 0.516
When I log in to a new session after having activated the Persistent Storage 32.056
Then all Greeter options are set to non-default values 0.574
After features/support/hooks.rb:326 1.318
After features/support/hooks.rb:100 0.008
Tags: @product
3:38.358
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.870
# 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 41.964
And I shutdown Tails and wait for the computer to power off 10.640
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:2.680
And I change the passphrase of the Persistent Storage back to the original 32.201
After features/support/hooks.rb:326 2.158
After features/support/hooks.rb:100 0.007
Tags: @product
55.534
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.179
And I log in to a new session without activating the Persistent Storage 21.472
Then persistence is disabled 0.552
But a Tails persistence partition exists on USB drive "__internal" 8.428
And all notifications have disappeared 9.176
When I delete the persistent partition 6.402
Then there is no persistence partition on USB drive "__internal" 0.322
After features/support/hooks.rb:326 0.821
After features/support/hooks.rb:100 0.000
Tags: @product
2:16.135
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.618
When I write some dotfile expected to persist 0.058
And I shutdown Tails and wait for the computer to power off 8.738
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:57.254
Then the expected persistent dotfile is present in the filesystem 0.465
After features/support/hooks.rb:326 1.517
After features/support/hooks.rb:100 0.005
Tags: @product
1:30.274
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 8.957
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.088
When I try to enable persistence 0.377
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.153
When I log in to a new session after having activated the Persistent Storage 31.867
And all notifications have disappeared 7.287
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.906
And all tps features are enabled 2.414
And all tps features but the first one are active 2.222
After features/support/hooks.rb:326 1.433
After features/support/hooks.rb:100 0.000
Tags: @product
5:26.182
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 4:12.825
And I enable persistence 36.262
And I log in to a new session after having activated the Persistent Storage 32.631
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.736
And persistence is enabled 2.725
After features/support/hooks.rb:326 2.289
After features/support/hooks.rb:100 0.000
Tags: @product
39.152
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.437
And I enable persistence but something goes wrong during the LUKS header upgrade 28.953
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.761
After features/support/hooks.rb:326 0.795
After features/support/hooks.rb:100 0.000
Tags: @product
50.013
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.607
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.067
When I enable persistence 31.619
Then the filesystem of the Persistent Storage was repaired 0.083
And persistence is successfully enabled 2.635
After features/support/hooks.rb:326 1.301
After features/support/hooks.rb:100 0.000
Tags: @product
39.287
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 22.517
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.656
When I try to enable persistence 0.699
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.260
When I repair the filesystem of the Persistent Storage 1.223
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.266
And the filesystem of the Persistent Storage was repaired 0.078
When I close the filesystem repair dialog 1.259
Then persistence is successfully enabled 1.324
After features/support/hooks.rb:326 0.822
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:44.229
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.256
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.150
When I try to enable persistence 0.407
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.705
When I repair the filesystem of the Persistent Storage 1.221
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.100
When I log in to a new session 31.726
And all notifications have disappeared 7.853
# 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.787
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.075
When I close the "whisperback" window 1.563
Then the Tor Browser starts 17.524
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.855
After features/support/hooks.rb:326 3.205
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:18.933
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.282
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.079
And Tails detects disk read failures on the boot device 0.523
When I try to enable persistence 1.817
Then the Welcome Screen tells me that my hardware is probably failing 5.262
When I log in to a new session 23.604
And all notifications have disappeared 8.816
Then the Tor Browser starts 21.722
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 1.430
After features/support/hooks.rb:100 0.000