Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 20 20 Mar 2025, 22:04

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 45:56.826 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:14.814
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:32.784
And I update APT using apt 4:15.856
And I install "python3-behave" using apt 23.037
Then the Tails Persistent Storage behave tests pass 3.137
After features/support/hooks.rb:330 0.612
After features/support/hooks.rb:100 0.000
Tags: @product
47.542
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 and stopped at Tails Greeter's login screen 10.767
When I log in to a new session without activating the Persistent Storage 24.859
Then Tails is running from USB drive "__internal" 0.853
And persistence is disabled 0.371
But a Tails persistence partition exists on USB drive "__internal" 10.690
After features/support/hooks.rb:330 1.977
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.967
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 13.981
Then Tails is running from USB drive "__internal" 0.746
When I create a file in the Persistent directory 0.181
And I create a persistent partition with the default settings 23.937
Then the file I created was copied to the Persistent Storage 0.746
When I shutdown Tails and wait for the computer to power off 12.607
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.298
Then persistence for "Persistent" is active 0.385
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:330 1.671
After features/support/hooks.rb:100 0.010
Tags: @product
1:9.106
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 without a persistent partition and logged in 10.311
And the system is very low on memory 3.749
When I create a file in the Persistent directory 1.042
When I try to create a persistent partition 33.014
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.420
When I close the Persistent Storage app 3.186
And I free up some memory 2.974
And I create a persistent partition with the default settings 14.155
Then the file I created was copied to the Persistent Storage 0.252
After features/support/hooks.rb:330 2.497
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.396
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 11.864
Then Tails is running from USB drive "__internal" 0.422
And all tps features are active 2.447
And all persistent directories have safe access rights 2.594
When I disable the first tps feature 6.115
Then all tps features but the first one are active 2.049
And I shutdown Tails and wait for the computer to power off 17.450
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.231
Then all tps features but the first one are active 2.220
After features/support/hooks.rb:330 1.220
After features/support/hooks.rb:100 0.073
Tags: @product
20.918
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 10.096
Then persistence for "Persistent" is active 0.090
And I create a file in the Persistent directory 0.091
Then the file I created was copied to the Persistent Storage 0.114
When I disable the first tps feature 6.847
Then persistence for "Persistent" is not active 0.081
And the Persistent directory does not exist 0.073
When I enable the first tps feature 3.323
Then persistence for "Persistent" is active 0.093
And the file I created in the Persistent directory exists 0.106
After features/support/hooks.rb:330 1.697
After features/support/hooks.rb:100 0.000
Tags: @product
20.560
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.013
Then persistence for "Persistent" is active 0.190
When I create a file in the Persistent directory 0.104
And I disable the first tps feature 6.155
And I delete the data of the Persistent Folder feature 4.041
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:330 1.698
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.819
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 9.210
And the network is plugged 0.197
And Tor is ready 22.517
And I take note of which tps features are available 0.605
When I write some files expected to persist 1.527
And I shutdown Tails and wait for the computer to power off 8.428
# 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.333
After features/support/hooks.rb:330 0.098
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.287
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.716
And the network is plugged 0.081
And Tor is ready 22.172
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.235
And I shutdown Tails and wait for the computer to power off 8.686
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.473
And I capture all network traffic 0.008
And the network is plugged 0.079
And Tor is ready 21.202
And I switch to the "persistent-con-current" NetworkManager connection 0.381
And the 1st network device has a spoofed MAC address configured 0.116
And no network device leaked the real MAC address 0.131
After features/support/hooks.rb:330 0.702
After features/support/hooks.rb:100 0.050
Tags: @product
1:0.300
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.804
And I enable persistence creation in Tails Greeter 1.571
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.984
Then I create a persistent partition with the default settings using the wizard that was already open 22.939
After features/support/hooks.rb:330 2.323
After features/support/hooks.rb:100 0.000
Tags: @product
4:29.775
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 and stopped at Tails Greeter's login screen 12.822
When I enable persistence 41.066
Then no persistent Greeter options were restored 14.306
When I set all Greeter options to non-default values 24.267
And I log in to a new session in German (de) after having activated the Persistent Storage 47.302
Then all Greeter options are set to non-default values 2.256
When I cold reboot the computer 7.486
And the computer reboots Tails 59.968
Given I enable persistence 19.503
Then persistent Greeter options were restored 0.724
When I log in to a new session after having activated the Persistent Storage 39.399
Then all Greeter options are set to non-default values 0.670
After features/support/hooks.rb:330 1.834
After features/support/hooks.rb:100 0.009
Tags: @product
3:53.978
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 9.448
# 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 34.971
And I shutdown Tails and wait for the computer to power off 12.423
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:18.071
And I change the passphrase of the Persistent Storage back to the original 39.064
After features/support/hooks.rb:330 1.875
After features/support/hooks.rb:100 0.009
Tags: @product
1:2.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 14.466
And I log in to a new session without activating the Persistent Storage 20.741
Then persistence is disabled 0.473
But a Tails persistence partition exists on USB drive "__internal" 9.127
And all notifications have disappeared 10.521
When I delete the persistent partition 6.730
Then there is no persistence partition on USB drive "__internal" 0.477
After features/support/hooks.rb:330 1.571
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.300
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 9.510
When I write some dotfile expected to persist 0.059
And I shutdown Tails and wait for the computer to power off 8.648
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.729
Then the expected persistent dotfile is present in the filesystem 0.351
After features/support/hooks.rb:330 1.210
After features/support/hooks.rb:100 0.012
Tags: @product
1:42.841
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.224
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.078
When I try to enable persistence 0.386
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.493
When I log in to a new session after having activated the Persistent Storage 44.866
And all notifications have disappeared 8.872
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.099
And all tps features are enabled 2.746
And all tps features but the first one are active 2.076
After features/support/hooks.rb:330 1.562
After features/support/hooks.rb:100 0.000
Tags: @product
5:51.038
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:19.577
And I enable persistence 33.267
And I log in to a new session after having activated the Persistent Storage 47.629
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.053
And persistence is enabled 7.509
After features/support/hooks.rb:330 1.644
After features/support/hooks.rb:100 0.000
Tags: @product
33.499
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
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.824
And I enable persistence but something goes wrong during the LUKS header upgrade 23.841
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.834
After features/support/hooks.rb:330 0.754
After features/support/hooks.rb:100 0.000
Tags: @product
49.346
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 and stopped at Tails Greeter's login screen 9.537
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.981
When I enable persistence 27.668
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 7.072
After features/support/hooks.rb:330 1.526
After features/support/hooks.rb:100 0.000
Tags: @product
49.658
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 9.098
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.209
When I try to enable persistence 1.603
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.259
When I repair the filesystem of the Persistent Storage 3.016
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.260
And the filesystem of the Persistent Storage was repaired 2.080
When I close the filesystem repair dialog 1.408
Then persistence is successfully enabled 1.722
After features/support/hooks.rb:330 1.958
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.796
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 and stopped at Tails Greeter's login screen 9.333
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.169
When I try to enable persistence 0.423
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.940
When I repair the filesystem of the Persistent Storage 1.368
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.172
When I log in to a new session 38.972
And all notifications have disappeared 10.133
# 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.726
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.944
When I close the "whisperback" window 2.079
Then the Tor Browser starts 15.672
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.859
After features/support/hooks.rb:330 2.152
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.337
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.943
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.313
And Tails detects disk read failures on the boot device 2.136
When I try to enable persistence 0.627
Then the Welcome Screen tells me that my hardware is probably failing 18.880
When I log in to a new session 50.059
And all notifications have disappeared 8.444
Then the Tor Browser starts 21.180
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.749
After features/support/hooks.rb:330 1.983
After features/support/hooks.rb:100 0.000