Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 31 31 Mar 2025, 22: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 46:53.945 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
10:11.905
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:29.842
And I update APT using apt 7:45.319
And I install "python3-behave" using apt 54.339
Then the Tails Persistent Storage behave tests pass 2.403
After features/support/hooks.rb:330 0.620
After features/support/hooks.rb:100 0.000
Tags: @product
40.751
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.749
When I log in to a new session without activating the Persistent Storage 21.543
Then Tails is running from USB drive "__internal" 0.491
And persistence is disabled 0.471
But a Tails persistence partition exists on USB drive "__internal" 7.496
After features/support/hooks.rb:330 1.484
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.772
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 12.816
Then Tails is running from USB drive "__internal" 0.386
When I create a file in the Persistent directory 0.141
And I create a persistent partition with the default settings 22.272
Then the file I created was copied to the Persistent Storage 2.351
When I shutdown Tails and wait for the computer to power off 12.389
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.030
Then persistence for "Persistent" is active 1.325
And the file I created in the Persistent directory exists 0.058
After features/support/hooks.rb:330 1.743
After features/support/hooks.rb:100 0.007
Tags: @product
1:4.524
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.666
And the system is very low on memory 3.713
When I create a file in the Persistent directory 0.745
When I try to create a persistent partition 28.433
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.284
When I close the Persistent Storage app 2.964
And I free up some memory 3.726
And I create a persistent partition with the default settings 13.571
Then the file I created was copied to the Persistent Storage 0.419
After features/support/hooks.rb:330 2.105
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.184
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 12.897
Then Tails is running from USB drive "__internal" 1.370
And all tps features are active 2.123
And all persistent directories have safe access rights 2.401
When I disable the first tps feature 7.419
Then all tps features but the first one are active 2.049
And I shutdown Tails and wait for the computer to power off 14.617
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.168
Then all tps features but the first one are active 2.137
After features/support/hooks.rb:330 1.341
After features/support/hooks.rb:100 0.009
Tags: @product
22.999
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.846
Then persistence for "Persistent" is active 1.220
And I create a file in the Persistent directory 0.098
Then the file I created was copied to the Persistent Storage 0.056
When I disable the first tps feature 6.746
Then persistence for "Persistent" is not active 0.068
And the Persistent directory does not exist 0.048
When I enable the first tps feature 2.765
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.482
After features/support/hooks.rb:100 0.000
Tags: @product
23.561
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.997
Then persistence for "Persistent" is active 1.765
When I create a file in the Persistent directory 0.068
And I disable the first tps feature 6.738
And I delete the data of the Persistent Folder feature 3.941
Then the file I created does not exist on the Persistent Storage 0.049
After features/support/hooks.rb:330 1.506
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.874
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.992
And the network is plugged 0.073
And Tor is ready 23.097
And I take note of which tps features are available 0.575
When I write some files expected to persist 1.500
And I shutdown Tails and wait for the computer to power off 8.597
# 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.037
After features/support/hooks.rb:330 0.123
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.338
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.823
And the network is plugged 0.105
And Tor is ready 19.485
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.254
And I shutdown Tails and wait for the computer to power off 8.398
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.318
And I capture all network traffic 0.010
And the network is plugged 0.070
And Tor is ready 19.125
And I switch to the "persistent-con-current" NetworkManager connection 0.490
And the 1st network device has a spoofed MAC address configured 0.125
And no network device leaked the real MAC address 0.130
After features/support/hooks.rb:330 0.648
After features/support/hooks.rb:100 0.040
Tags: @product
52.244
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 stopped at Tails Greeter's login screen 11.834
And I enable persistence creation in Tails Greeter 1.194
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.409
Then I create a persistent partition with the default settings using the wizard that was already open 19.806
After features/support/hooks.rb:330 2.340
After features/support/hooks.rb:100 0.000
Tags: @product
4:25.123
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.873
When I enable persistence 29.102
Then no persistent Greeter options were restored 18.172
When I set all Greeter options to non-default values 31.360
And I log in to a new session in German (de) after having activated the Persistent Storage 43.886
Then all Greeter options are set to non-default values 0.565
When I cold reboot the computer 7.355
And the computer reboots Tails 1:2.035
Given I enable persistence 17.591
Then persistent Greeter options were restored 0.691
When I log in to a new session after having activated the Persistent Storage 43.314
Then all Greeter options are set to non-default values 0.173
After features/support/hooks.rb:330 1.320
After features/support/hooks.rb:100 0.009
Tags: @product
4:1.192
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 12.357
# 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 35.911
And I shutdown Tails and wait for the computer to power off 15.433
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:21.429
And I change the passphrase of the Persistent Storage back to the original 36.059
After features/support/hooks.rb:330 3.565
After features/support/hooks.rb:100 0.009
Tags: @product
53.760
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.390
And I log in to a new session without activating the Persistent Storage 19.338
Then persistence is disabled 0.272
But a Tails persistence partition exists on USB drive "__internal" 9.178
And all notifications have disappeared 8.871
When I delete the persistent partition 5.757
Then there is no persistence partition on USB drive "__internal" 0.951
After features/support/hooks.rb:330 1.410
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.394
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.756
When I write some dotfile expected to persist 1.852
And I shutdown Tails and wait for the computer to power off 8.770
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.600
Then the expected persistent dotfile is present in the filesystem 0.414
After features/support/hooks.rb:330 1.261
After features/support/hooks.rb:100 0.009
Tags: @product
1:34.385
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.086
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.336
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.543
When I log in to a new session after having activated the Persistent Storage 41.898
And all notifications have disappeared 7.778
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.999
And all tps features are enabled 2.680
And all tps features but the first one are active 1.975
After features/support/hooks.rb:330 1.608
After features/support/hooks.rb:100 0.000
Tags: @product
4:5.762
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 2:49.128
And I enable persistence 29.088
And I log in to a new session after having activated the Persistent Storage 43.115
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.937
And persistence is enabled 2.492
After features/support/hooks.rb:330 1.594
After features/support/hooks.rb:100 0.000
Tags: @product
28.996
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 8.445
And I enable persistence but something goes wrong during the LUKS header upgrade 19.839
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.711
After features/support/hooks.rb:330 0.821
After features/support/hooks.rb:100 0.000
Tags: @product
41.486
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.285
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.352
When I enable persistence 24.182
Then the filesystem of the Persistent Storage was repaired 0.081
And persistence is successfully enabled 2.584
After features/support/hooks.rb:330 1.545
After features/support/hooks.rb:100 0.000
Tags: @product
47.786
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.100
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.743
When I try to enable persistence 0.454
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 18.607
When I repair the filesystem of the Persistent Storage 2.720
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.042
And the filesystem of the Persistent Storage was repaired 4.361
When I close the filesystem repair dialog 1.320
Then persistence is successfully enabled 1.435
After features/support/hooks.rb:330 1.829
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.863
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 8.658
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.089
When I try to enable persistence 0.330
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.034
When I repair the filesystem of the Persistent Storage 1.294
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.150
When I log in to a new session 42.511
And all notifications have disappeared 8.961
# 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.559
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.223
When I close the "whisperback" window 1.803
Then the Tor Browser starts 14.845
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.399
After features/support/hooks.rb:330 1.775
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.036
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.110
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.582
And Tails detects disk read failures on the boot device 1.597
When I try to enable persistence 0.463
Then the Welcome Screen tells me that my hardware is probably failing 17.189
When I log in to a new session 44.165
And all notifications have disappeared 7.862
Then the Tor Browser starts 20.332
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.733
After features/support/hooks.rb:330 1.749
After features/support/hooks.rb:100 0.000