Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 3 15 Dec 2024, 18:16

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 43:34.489 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:26.556
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:43.360
And I update APT using apt 14.365
And I install "python3-behave" using apt 25.745
Then the Tails Persistent Storage behave tests pass 3.084
After features/support/hooks.rb:326 1.355
After features/support/hooks.rb:100 0.000
Tags: @product
53.316
Before features/support/hooks.rb:269 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 14.663
When I log in to a new session without activating the Persistent Storage 24.724
Then Tails is running from USB drive "__internal" 0.552
And persistence is disabled 0.425
But a Tails persistence partition exists on USB drive "__internal" 12.950
After features/support/hooks.rb:326 1.312
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.006
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.576
Then Tails is running from USB drive "__internal" 0.400
When I create a file in the Persistent directory 0.146
And I create a persistent partition with the default settings 23.732
Then the file I created was copied to the Persistent Storage 0.613
When I shutdown Tails and wait for the computer to power off 13.195
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.020
Then persistence for "Persistent" is active 1.220
And the file I created in the Persistent directory exists 0.100
After features/support/hooks.rb:326 0.803
After features/support/hooks.rb:100 0.009
Tags: @product
1:8.826
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.603
And the system is very low on memory 4.166
When I create a file in the Persistent directory 1.738
When I try to create a persistent partition 30.124
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.999
When I close the Persistent Storage app 2.632
And I free up some memory 2.005
And I create a persistent partition with the default settings 14.273
Then the file I created was copied to the Persistent Storage 0.281
After features/support/hooks.rb:326 1.532
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.608
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.924
Then Tails is running from USB drive "__internal" 0.592
And all tps features are active 2.391
And all persistent directories have safe access rights 2.605
When I disable the first tps feature 7.225
Then all tps features but the first one are active 2.579
And I shutdown Tails and wait for the computer to power off 11.304
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.683
Then all tps features but the first one are active 2.301
After features/support/hooks.rb:326 0.827
After features/support/hooks.rb:100 0.009
Tags: @product
23.703
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.930
Then persistence for "Persistent" is active 0.100
And I create a file in the Persistent directory 0.064
Then the file I created was copied to the Persistent Storage 0.090
When I disable the first tps feature 8.086
Then persistence for "Persistent" is not active 0.151
And the Persistent directory does not exist 0.081
When I enable the first tps feature 3.997
Then persistence for "Persistent" is active 0.109
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:326 0.747
After features/support/hooks.rb:100 0.000
Tags: @product
24.209
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.887
Then persistence for "Persistent" is active 0.104
When I create a file in the Persistent directory 0.923
And I disable the first tps feature 7.157
And I delete the data of the Persistent Folder feature 5.086
Then the file I created does not exist on the Persistent Storage 0.048
After features/support/hooks.rb:326 0.802
After features/support/hooks.rb:100 0.000
Tags: @product
1:18.175
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.287
And the network is plugged 0.115
And Tor is ready 29.811
And I take note of which tps features are available 0.610
When I write some files expected to persist 1.854
And I shutdown Tails and wait for the computer to power off 9.468
# 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.026
After features/support/hooks.rb:326 0.096
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.672
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.894
And the network is plugged 0.074
And Tor is ready 23.810
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.215
And I shutdown Tails and wait for the computer to power off 11.278
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.223
And I capture all network traffic 0.007
And the network is plugged 0.091
And Tor is ready 20.469
And I switch to the "persistent-con-current" NetworkManager connection 0.375
And the 1st network device has a spoofed MAC address configured 0.106
And no network device leaked the real MAC address 0.126
After features/support/hooks.rb:326 0.943
After features/support/hooks.rb:100 0.045
Tags: @product
1:13.021
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 16.746
And I enable persistence creation in Tails Greeter 1.145
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.764
Then I create a persistent partition with the default settings using the wizard that was already open 32.365
After features/support/hooks.rb:326 1.887
After features/support/hooks.rb:100 0.000
Tags: @product
4:55.222
Before features/support/hooks.rb:269 0.019
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.568
When I enable persistence 39.037
Then no persistent Greeter options were restored 14.453
When I set all Greeter options to non-default values 26.021
And I log in to a new session in German (de) after having activated the Persistent Storage 57.153
Then all Greeter options are set to non-default values 1.052
When I cold reboot the computer 8.029
And the computer reboots Tails 1:12.032
Given I enable persistence 19.378
Then persistent Greeter options were restored 0.550
When I log in to a new session after having activated the Persistent Storage 42.381
Then all Greeter options are set to non-default values 0.561
After features/support/hooks.rb:326 1.376
After features/support/hooks.rb:100 0.013
Tags: @product
3:54.700
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.661
# 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.061
And I shutdown Tails and wait for the computer to power off 12.930
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.169
And I change the passphrase of the Persistent Storage back to the original 43.877
After features/support/hooks.rb:326 2.073
After features/support/hooks.rb:100 0.009
Tags: @product
1:1.728
Before features/support/hooks.rb:269 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 10.974
And I log in to a new session without activating the Persistent Storage 22.192
Then persistence is disabled 0.325
But a Tails persistence partition exists on USB drive "__internal" 12.320
And all notifications have disappeared 9.724
When I delete the persistent partition 5.663
Then there is no persistence partition on USB drive "__internal" 0.527
After features/support/hooks.rb:326 1.024
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.473
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.142
When I write some dotfile expected to persist 0.064
And I shutdown Tails and wait for the computer to power off 8.860
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.053
Then the expected persistent dotfile is present in the filesystem 0.353
After features/support/hooks.rb:326 1.250
After features/support/hooks.rb:100 0.011
Tags: @product
1:45.031
Before features/support/hooks.rb:269 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.952
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.086
When I try to enable persistence 0.292
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.382
When I log in to a new session after having activated the Persistent Storage 41.126
And all notifications have disappeared 9.361
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.288
And all tps features are enabled 2.255
And all tps features but the first one are active 2.285
After features/support/hooks.rb:326 1.191
After features/support/hooks.rb:100 0.000
Tags: @product
5:57.018
Before features/support/hooks.rb:269 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:21.745
And I enable persistence 41.649
And I log in to a new session after having activated the Persistent Storage 49.250
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.526
And persistence is enabled 2.845
After features/support/hooks.rb:326 1.059
After features/support/hooks.rb:100 0.000
Tags: @product
30.732
Before features/support/hooks.rb:269 0.008
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 9.492
And I enable persistence but something goes wrong during the LUKS header upgrade 20.455
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.785
After features/support/hooks.rb:326 1.114
After features/support/hooks.rb:100 0.000
Tags: @product
53.821
Before features/support/hooks.rb:269 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.813
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.952
When I enable persistence 34.751
Then the filesystem of the Persistent Storage was repaired 0.108
And persistence is successfully enabled 3.195
After features/support/hooks.rb:326 1.281
After features/support/hooks.rb:100 0.000
Tags: @product
56.432
Before features/support/hooks.rb:269 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.354
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.293
When I try to enable persistence 0.493
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.759
When I repair the filesystem of the Persistent Storage 2.695
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.446
And the filesystem of the Persistent Storage was repaired 2.605
When I close the filesystem repair dialog 1.259
Then persistence is successfully enabled 1.525
After features/support/hooks.rb:326 1.151
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.912
Before features/support/hooks.rb:269 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.371
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.151
When I try to enable persistence 0.300
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.868
When I repair the filesystem of the Persistent Storage 1.238
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.081
When I log in to a new session 38.364
And all notifications have disappeared 7.064
# 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.568
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.493
When I close the "whisperback" window 1.645
Then the Tor Browser starts 21.950
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.812
After features/support/hooks.rb:326 2.255
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.318
Before features/support/hooks.rb:269 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.474
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.869
And Tails detects disk read failures on the boot device 1.578
When I try to enable persistence 0.436
Then the Welcome Screen tells me that my hardware is probably failing 25.065
When I log in to a new session 50.787
And all notifications have disappeared 9.897
Then the Tor Browser starts 17.299
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.909
After features/support/hooks.rb:326 2.434
After features/support/hooks.rb:100 0.000