Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 15 15 Mar 2025, 22:14

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:47.644 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:18.841
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.995
And I update APT using apt 1:43.914
And I install "python3-behave" using apt 53.617
Then the Tails Persistent Storage behave tests pass 3.314
After features/support/hooks.rb:330 0.704
After features/support/hooks.rb:100 0.000
Tags: @product
50.312
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 12.889
When I log in to a new session without activating the Persistent Storage 26.627
Then Tails is running from USB drive "__internal" 0.550
And persistence is disabled 0.426
But a Tails persistence partition exists on USB drive "__internal" 9.818
After features/support/hooks.rb:330 1.985
After features/support/hooks.rb:100 0.000
Tags: @product
3:36.505
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.804
Then Tails is running from USB drive "__internal" 0.476
When I create a file in the Persistent directory 0.223
And I create a persistent partition with the default settings 23.299
Then the file I created was copied to the Persistent Storage 0.584
When I shutdown Tails and wait for the computer to power off 12.826
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:45.781
Then persistence for "Persistent" is active 0.406
And the file I created in the Persistent directory exists 0.103
After features/support/hooks.rb:330 3.062
After features/support/hooks.rb:100 0.006
Tags: @product
1:1.493
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 logged in 13.669
And the system is very low on memory 3.373
When I create a file in the Persistent directory 1.097
When I try to create a persistent partition 24.343
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.424
When I close the Persistent Storage app 3.065
And I free up some memory 1.439
And I create a persistent partition with the default settings 13.823
Then the file I created was copied to the Persistent Storage 0.257
After features/support/hooks.rb:330 2.391
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.303
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 with a persistent partition enabled and logged in 13.292
Then Tails is running from USB drive "__internal" 0.802
And all tps features are active 2.647
And all persistent directories have safe access rights 2.671
When I disable the first tps feature 6.956
Then all tps features but the first one are active 2.378
And I shutdown Tails and wait for the computer to power off 15.374
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.538
Then all tps features but the first one are active 2.640
After features/support/hooks.rb:330 0.812
After features/support/hooks.rb:100 0.007
Tags: @product
22.249
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 with a persistent partition enabled and logged in 10.353
Then persistence for "Persistent" is active 0.157
And I create a file in the Persistent directory 0.082
Then the file I created was copied to the Persistent Storage 0.110
When I disable the first tps feature 7.279
Then persistence for "Persistent" is not active 0.155
And the Persistent directory does not exist 0.111
When I enable the first tps feature 3.752
Then persistence for "Persistent" is active 0.142
And the file I created in the Persistent directory exists 0.102
After features/support/hooks.rb:330 1.569
After features/support/hooks.rb:100 0.000
Tags: @product
21.071
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.644
Then persistence for "Persistent" is active 0.281
When I create a file in the Persistent directory 0.134
And I disable the first tps feature 6.878
And I delete the data of the Persistent Folder feature 4.058
Then the file I created does not exist on the Persistent Storage 0.075
After features/support/hooks.rb:330 1.618
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.566
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.676
And the network is plugged 0.080
And Tor is ready 23.953
And I take note of which tps features are available 0.575
When I write some files expected to persist 1.705
And I shutdown Tails and wait for the computer to power off 8.692
# 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" 25.882
After features/support/hooks.rb:330 0.127
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.083
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 with a persistent partition enabled and logged in 9.978
And the network is plugged 0.079
And Tor is ready 19.635
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.195
And I shutdown Tails and wait for the computer to power off 8.612
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.169
And I capture all network traffic 0.003
And the network is plugged 0.082
And Tor is ready 20.707
And I switch to the "persistent-con-current" NetworkManager connection 0.379
And the 1st network device has a spoofed MAC address configured 0.101
And no network device leaked the real MAC address 0.137
After features/support/hooks.rb:330 0.614
After features/support/hooks.rb:100 0.048
Tags: @product
1:2.589
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.979
And I enable persistence creation in Tails Greeter 1.195
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.983
Then I create a persistent partition with the default settings using the wizard that was already open 24.430
After features/support/hooks.rb:330 2.364
After features/support/hooks.rb:100 0.000
Tags: @product
4:57.974
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 13.148
When I enable persistence 45.364
Then no persistent Greeter options were restored 14.953
When I set all Greeter options to non-default values 28.102
And I log in to a new session in German (de) after having activated the Persistent Storage 57.694
Then all Greeter options are set to non-default values 0.868
When I cold reboot the computer 9.877
And the computer reboots Tails 1:1.489
Given I enable persistence 27.009
Then persistent Greeter options were restored 0.752
When I log in to a new session after having activated the Persistent Storage 38.276
Then all Greeter options are set to non-default values 0.437
After features/support/hooks.rb:330 1.546
After features/support/hooks.rb:100 0.006
Tags: @product
3:52.517
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.316
# 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 38.282
And I shutdown Tails and wait for the computer to power off 10.951
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.989
And I change the passphrase of the Persistent Storage back to the original 33.976
After features/support/hooks.rb:330 1.381
After features/support/hooks.rb:100 0.006
Tags: @product
54.248
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 with a persistent partition and stopped at Tails Greeter's login screen 9.208
And I log in to a new session without activating the Persistent Storage 20.920
Then persistence is disabled 0.231
But a Tails persistence partition exists on USB drive "__internal" 7.661
And all notifications have disappeared 8.828
When I delete the persistent partition 6.939
Then there is no persistence partition on USB drive "__internal" 0.458
After features/support/hooks.rb:330 1.525
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.436
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 with a persistent partition enabled and logged in 9.839
When I write some dotfile expected to persist 0.076
And I shutdown Tails and wait for the computer to power off 8.692
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.186
Then the expected persistent dotfile is present in the filesystem 0.642
After features/support/hooks.rb:330 1.262
After features/support/hooks.rb:100 0.013
Tags: @product
1:39.507
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 with a persistent partition and stopped at Tails Greeter's login screen 8.980
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.168
When I try to enable persistence 0.400
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.394
When I log in to a new session after having activated the Persistent Storage 42.162
And all notifications have disappeared 8.872
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.247
And all tps features are enabled 2.267
And all tps features but the first one are active 2.012
After features/support/hooks.rb:330 5.874
After features/support/hooks.rb:100 0.000
Tags: @product
6:40.015
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 5:12.160
And I enable persistence 34.998
And I log in to a new session after having activated the Persistent Storage 48.074
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.209
And persistence is enabled 2.572
After features/support/hooks.rb:330 1.791
After features/support/hooks.rb:100 0.000
Tags: @product
33.158
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 with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.769
And I enable persistence but something goes wrong during the LUKS header upgrade 23.590
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.798
After features/support/hooks.rb:330 0.753
After features/support/hooks.rb:100 0.000
Tags: @product
55.937
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 with a persistent partition and stopped at Tails Greeter's login screen 9.184
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.286
When I enable persistence 36.259
Then the filesystem of the Persistent Storage was repaired 0.132
And persistence is successfully enabled 3.074
After features/support/hooks.rb:330 1.859
After features/support/hooks.rb:100 0.000
Tags: @product
47.831
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 8.745
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.761
When I try to enable persistence 0.493
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.307
When I repair the filesystem of the Persistent Storage 1.364
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.700
And the filesystem of the Persistent Storage was repaired 1.255
When I close the filesystem repair dialog 1.403
Then persistence is successfully enabled 1.799
After features/support/hooks.rb:330 2.602
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.064
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 with a persistent partition and stopped at Tails Greeter's login screen 8.878
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.128
When I try to enable persistence 0.375
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.097
When I repair the filesystem of the Persistent Storage 1.350
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.156
When I log in to a new session 42.596
And all notifications have disappeared 8.805
# 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.632
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.900
When I close the "whisperback" window 1.882
Then the Tor Browser starts 18.332
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.926
After features/support/hooks.rb:330 2.262
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.935
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.783
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.718
And Tails detects disk read failures on the boot device 0.557
When I try to enable persistence 1.812
Then the Welcome Screen tells me that my hardware is probably failing 22.144
When I log in to a new session 47.946
And all notifications have disappeared 9.762
Then the Tor Browser starts 20.307
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.902
After features/support/hooks.rb:330 1.991
After features/support/hooks.rb:100 0.000