Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 12 12 Mar 2025, 21:44

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:48.185 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.480
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:37.018
And I update APT using apt 14.692
And I install "python3-behave" using apt 25.399
Then the Tails Persistent Storage behave tests pass 2.369
After features/support/hooks.rb:330 0.941
After features/support/hooks.rb:100 0.000
Tags: @product
51.187
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 14.356
When I log in to a new session without activating the Persistent Storage 24.609
Then Tails is running from USB drive "__internal" 1.036
And persistence is disabled 0.427
But a Tails persistence partition exists on USB drive "__internal" 10.757
After features/support/hooks.rb:330 2.040
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.487
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 15.059
Then Tails is running from USB drive "__internal" 0.599
When I create a file in the Persistent directory 0.179
And I create a persistent partition with the default settings 25.254
Then the file I created was copied to the Persistent Storage 0.502
When I shutdown Tails and wait for the computer to power off 12.816
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.602
Then persistence for "Persistent" is active 0.390
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 3.122
After features/support/hooks.rb:100 0.010
Tags: @product
1:1.800
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.591
And the system is very low on memory 3.830
When I create a file in the Persistent directory 1.268
When I try to create a persistent partition 23.565
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.451
When I close the Persistent Storage app 3.025
And I free up some memory 1.886
And I create a persistent partition with the default settings 16.929
Then the file I created was copied to the Persistent Storage 0.250
After features/support/hooks.rb:330 2.313
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.230
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.776
Then Tails is running from USB drive "__internal" 0.510
And all tps features are active 3.640
And all persistent directories have safe access rights 2.746
When I disable the first tps feature 6.399
Then all tps features but the first one are active 2.020
And I shutdown Tails and wait for the computer to power off 13.561
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.329
Then all tps features but the first one are active 2.244
After features/support/hooks.rb:330 1.267
After features/support/hooks.rb:100 0.009
Tags: @product
20.730
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.340
Then persistence for "Persistent" is active 0.098
And I create a file in the Persistent directory 0.101
Then the file I created was copied to the Persistent Storage 0.079
When I disable the first tps feature 6.281
Then persistence for "Persistent" is not active 0.113
And the Persistent directory does not exist 0.069
When I enable the first tps feature 3.492
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 1.493
After features/support/hooks.rb:100 0.000
Tags: @product
21.102
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 9.597
Then persistence for "Persistent" is active 0.089
When I create a file in the Persistent directory 0.208
And I disable the first tps feature 6.488
And I delete the data of the Persistent Folder feature 4.662
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:330 1.480
After features/support/hooks.rb:100 0.000
Tags: @product
1:32.958
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 9.344
And the network is plugged 0.160
And Tor is ready 48.244
And I take note of which tps features are available 0.584
When I write some files expected to persist 1.571
And I shutdown Tails and wait for the computer to power off 8.534
# 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.517
After features/support/hooks.rb:330 0.127
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.732
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.835
And the network is plugged 0.146
And Tor is ready 20.208
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.201
And I shutdown Tails and wait for the computer to power off 8.700
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.687
And I capture all network traffic 0.008
And the network is plugged 0.068
And Tor is ready 20.240
And I switch to the "persistent-con-current" NetworkManager connection 0.409
And the 1st network device has a spoofed MAC address configured 0.095
And no network device leaked the real MAC address 0.131
After features/support/hooks.rb:330 0.844
After features/support/hooks.rb:100 0.059
Tags: @product
54.869
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 11.966
And I enable persistence creation in Tails Greeter 1.213
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.695
Then I create a persistent partition with the default settings using the wizard that was already open 21.993
After features/support/hooks.rb:330 2.267
After features/support/hooks.rb:100 0.000
Tags: @product
4:39.638
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 12.221
When I enable persistence 37.672
Then no persistent Greeter options were restored 14.767
When I set all Greeter options to non-default values 26.597
And I log in to a new session in German (de) after having activated the Persistent Storage 52.007
Then all Greeter options are set to non-default values 0.685
When I cold reboot the computer 7.570
And the computer reboots Tails 1:9.842
Given I enable persistence 17.671
Then persistent Greeter options were restored 0.849
When I log in to a new session after having activated the Persistent Storage 39.301
Then all Greeter options are set to non-default values 0.450
After features/support/hooks.rb:330 2.346
After features/support/hooks.rb:100 0.008
Tags: @product
3:35.625
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.119
# 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 36.801
And I shutdown Tails and wait for the computer to power off 12.336
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:3.397
And I change the passphrase of the Persistent Storage back to the original 32.971
After features/support/hooks.rb:330 2.272
After features/support/hooks.rb:100 0.011
Tags: @product
1:0.741
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.994
And I log in to a new session without activating the Persistent Storage 21.441
Then persistence is disabled 0.454
But a Tails persistence partition exists on USB drive "__internal" 11.678
And all notifications have disappeared 10.712
When I delete the persistent partition 6.003
Then there is no persistence partition on USB drive "__internal" 0.456
After features/support/hooks.rb:330 1.776
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.100
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.004
When I write some dotfile expected to persist 0.069
And I shutdown Tails and wait for the computer to power off 10.621
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.918
Then the expected persistent dotfile is present in the filesystem 0.486
After features/support/hooks.rb:330 1.256
After features/support/hooks.rb:100 0.007
Tags: @product
1:51.703
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.284
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.089
When I try to enable persistence 0.350
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.717
When I log in to a new session after having activated the Persistent Storage 48.110
And all notifications have disappeared 8.572
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.373
And all tps features are enabled 2.289
And all tps features but the first one are active 1.915
After features/support/hooks.rb:330 3.096
After features/support/hooks.rb:100 0.000
Tags: @product
4:51.122
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 3:14.251
And I enable persistence 39.815
And I log in to a new session after having activated the Persistent Storage 50.885
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.516
And persistence is enabled 2.653
After features/support/hooks.rb:330 2.256
After features/support/hooks.rb:100 0.000
Tags: @product
28.878
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.026
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.770
And I enable persistence but something goes wrong during the LUKS header upgrade 19.297
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.810
After features/support/hooks.rb:330 1.115
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.624
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.599
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.900
When I enable persistence 43.193
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 2.841
After features/support/hooks.rb:330 2.075
After features/support/hooks.rb:100 0.000
Tags: @product
52.277
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 corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.158
When I try to enable persistence 0.595
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.467
When I repair the filesystem of the Persistent Storage 2.615
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.955
And the filesystem of the Persistent Storage was repaired 3.388
When I close the filesystem repair dialog 1.355
Then persistence is successfully enabled 1.654
After features/support/hooks.rb:330 1.928
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.141
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.528
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.133
When I try to enable persistence 0.398
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.783
When I repair the filesystem of the Persistent Storage 1.299
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.149
When I log in to a new session 45.212
And all notifications have disappeared 9.471
# 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.948
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.884
When I close the "whisperback" window 1.685
Then the Tor Browser starts 16.746
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.898
After features/support/hooks.rb:330 2.252
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.752
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 8.879
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.154
And Tails detects disk read failures on the boot device 1.714
When I try to enable persistence 0.508
Then the Welcome Screen tells me that my hardware is probably failing 20.080
When I log in to a new session 53.264
And all notifications have disappeared 8.012
Then the Tor Browser starts 22.137
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.001
After features/support/hooks.rb:330 1.802
After features/support/hooks.rb:100 0.000