Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 35 04 Apr 2025, 21:39

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:24.334 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:47.902
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:36.072
And I update APT using apt 44.828
And I install "python3-behave" using apt 1:24.689
Then the Tails Persistent Storage behave tests pass 2.312
After features/support/hooks.rb:330 0.620
After features/support/hooks.rb:100 0.000
Tags: @product
38.474
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.554
When I log in to a new session without activating the Persistent Storage 20.758
Then Tails is running from USB drive "__internal" 0.470
And persistence is disabled 0.340
But a Tails persistence partition exists on USB drive "__internal" 6.350
After features/support/hooks.rb:330 0.977
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.681
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.917
Then Tails is running from USB drive "__internal" 0.371
When I create a file in the Persistent directory 0.197
And I create a persistent partition with the default settings 21.557
Then the file I created was copied to the Persistent Storage 1.794
When I shutdown Tails and wait for the computer to power off 10.500
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.960
Then persistence for "Persistent" is active 0.317
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:330 1.926
After features/support/hooks.rb:100 0.008
Tags: @product
58.391
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.594
And the system is very low on memory 2.554
When I create a file in the Persistent directory 1.699
When I try to create a persistent partition 23.716
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.314
When I close the Persistent Storage app 2.912
And I free up some memory 2.902
And I create a persistent partition with the default settings 13.422
Then the file I created was copied to the Persistent Storage 0.275
After features/support/hooks.rb:330 2.617
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.071
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.440
Then Tails is running from USB drive "__internal" 0.396
And all tps features are active 3.009
And all persistent directories have safe access rights 2.495
When I disable the first tps feature 6.451
Then all tps features but the first one are active 3.067
And I shutdown Tails and wait for the computer to power off 13.067
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.268
Then all tps features but the first one are active 2.874
After features/support/hooks.rb:330 1.866
After features/support/hooks.rb:100 0.009
Tags: @product
24.904
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.615
Then persistence for "Persistent" is active 0.346
And I create a file in the Persistent directory 0.113
Then the file I created was copied to the Persistent Storage 0.108
When I disable the first tps feature 6.198
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.056
When I enable the first tps feature 4.245
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.058
After features/support/hooks.rb:330 1.402
After features/support/hooks.rb:100 0.000
Tags: @product
23.301
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.512
Then persistence for "Persistent" is active 1.161
When I create a file in the Persistent directory 0.127
And I disable the first tps feature 6.125
And I delete the data of the Persistent Folder feature 5.312
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 1.481
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.257
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.591
And the network is plugged 0.079
And Tor is ready 21.104
And I take note of which tps features are available 0.616
When I write some files expected to persist 1.442
And I shutdown Tails and wait for the computer to power off 8.189
# 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.234
After features/support/hooks.rb:330 0.145
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.384
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.927
And the network is plugged 0.196
And Tor is ready 20.046
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.177
And I shutdown Tails and wait for the computer to power off 8.290
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.285
And I capture all network traffic 0.007
And the network is plugged 0.079
And Tor is ready 20.896
And I switch to the "persistent-con-current" NetworkManager connection 0.267
And the 1st network device has a spoofed MAC address configured 0.097
And no network device leaked the real MAC address 0.113
After features/support/hooks.rb:330 0.534
After features/support/hooks.rb:100 0.064
Tags: @product
52.763
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.658
And I enable persistence creation in Tails Greeter 1.308
And I log in to a new session expecting no warning about the Persistent Storage not being activated 18.796
Then I create a persistent partition with the default settings using the wizard that was already open 21.001
After features/support/hooks.rb:330 2.470
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.949
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.625
When I enable persistence 37.166
Then no persistent Greeter options were restored 17.990
When I set all Greeter options to non-default values 24.827
And I log in to a new session in German (de) after having activated the Persistent Storage 47.746
Then all Greeter options are set to non-default values 0.572
When I cold reboot the computer 7.149
And the computer reboots Tails 1:0.329
Given I enable persistence 16.264
Then persistent Greeter options were restored 0.713
When I log in to a new session after having activated the Persistent Storage 38.193
Then all Greeter options are set to non-default values 0.371
After features/support/hooks.rb:330 2.473
After features/support/hooks.rb:100 0.008
Tags: @product
3:28.652
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.649
# 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 33.695
And I shutdown Tails and wait for the computer to power off 12.916
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:3.305
And I change the passphrase of the Persistent Storage back to the original 28.085
After features/support/hooks.rb:330 3.307
After features/support/hooks.rb:100 0.008
Tags: @product
50.436
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.552
And I log in to a new session without activating the Persistent Storage 18.862
Then persistence is disabled 0.387
But a Tails persistence partition exists on USB drive "__internal" 6.389
And all notifications have disappeared 7.814
When I delete the persistent partition 5.996
Then there is no persistence partition on USB drive "__internal" 1.433
After features/support/hooks.rb:330 1.333
After features/support/hooks.rb:100 0.000
Tags: @product
2:22.140
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.307
When I write some dotfile expected to persist 0.069
And I shutdown Tails and wait for the computer to power off 10.702
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.663
Then the expected persistent dotfile is present in the filesystem 0.398
After features/support/hooks.rb:330 1.408
After features/support/hooks.rb:100 0.009
Tags: @product
1:29.801
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.023
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.089
When I try to enable persistence 0.337
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.968
When I log in to a new session after having activated the Persistent Storage 36.464
And all notifications have disappeared 8.290
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.888
And all tps features are enabled 2.729
And all tps features but the first one are active 2.008
After features/support/hooks.rb:330 1.864
After features/support/hooks.rb:100 0.000
Tags: @product
4:42.626
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
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:18.441
And I enable persistence 32.224
And I log in to a new session after having activated the Persistent Storage 48.011
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.384
And persistence is enabled 2.564
After features/support/hooks.rb:330 1.977
After features/support/hooks.rb:100 0.000
Tags: @product
29.639
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
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.230
And I enable persistence but something goes wrong during the LUKS header upgrade 20.587
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.821
After features/support/hooks.rb:330 0.761
After features/support/hooks.rb:100 0.000
Tags: @product
43.803
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.081
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.847
When I enable persistence 27.153
Then the filesystem of the Persistent Storage was repaired 0.073
And persistence is successfully enabled 2.647
After features/support/hooks.rb:330 1.670
After features/support/hooks.rb:100 0.000
Tags: @product
47.419
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.953
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.968
When I try to enable persistence 0.445
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.633
When I repair the filesystem of the Persistent Storage 1.370
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.851
And the filesystem of the Persistent Storage was repaired 2.350
When I close the filesystem repair dialog 1.333
Then persistence is successfully enabled 1.513
After features/support/hooks.rb:330 1.711
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.193
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.580
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.115
When I try to enable persistence 0.319
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.220
When I repair the filesystem of the Persistent Storage 1.323
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.136
When I log in to a new session 43.329
And all notifications have disappeared 10.131
# 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.694
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.425
When I close the "whisperback" window 1.848
Then the Tor Browser starts 15.332
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.735
After features/support/hooks.rb:330 3.450
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.538
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.539
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.518
And Tails detects disk read failures on the boot device 1.586
When I try to enable persistence 0.466
Then the Welcome Screen tells me that my hardware is probably failing 18.047
When I log in to a new session 50.653
And all notifications have disappeared 7.447
Then the Tor Browser starts 19.468
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:330 1.623
After features/support/hooks.rb:100 0.000