Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 2 14 Dec 2024, 19: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 44:53.833 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:39.554
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:56.219
And I update APT using apt 14.287
And I install "python3-behave" using apt 26.096
Then the Tails Persistent Storage behave tests pass 2.950
After features/support/hooks.rb:326 0.706
After features/support/hooks.rb:100 0.000
Tags: @product
51.978
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.837
When I log in to a new session without activating the Persistent Storage 24.736
Then Tails is running from USB drive "__internal" 0.802
And persistence is disabled 0.320
But a Tails persistence partition exists on USB drive "__internal" 11.282
After features/support/hooks.rb:326 1.728
After features/support/hooks.rb:100 0.000
Tags: @product
3:29.152
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 30.362
Then Tails is running from USB drive "__internal" 0.699
When I create a file in the Persistent directory 0.299
And I create a persistent partition with the default settings 23.965
Then the file I created was copied to the Persistent Storage 0.654
When I shutdown Tails and wait for the computer to power off 13.190
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.537
Then persistence for "Persistent" is active 0.366
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 0.968
After features/support/hooks.rb:100 0.011
Tags: @product
1:2.395
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 9.478
And the system is very low on memory 4.747
When I create a file in the Persistent directory 0.837
When I try to create a persistent partition 28.071
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.248
When I close the Persistent Storage app 2.844
And I free up some memory 1.608
And I create a persistent partition with the default settings 14.228
Then the file I created was copied to the Persistent Storage 0.329
After features/support/hooks.rb:326 1.518
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.865
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 12.604
Then Tails is running from USB drive "__internal" 0.788
And all tps features are active 2.447
And all persistent directories have safe access rights 3.242
When I disable the first tps feature 6.485
Then all tps features but the first one are active 2.545
And I shutdown Tails and wait for the computer to power off 10.998
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.152
Then all tps features but the first one are active 2.601
After features/support/hooks.rb:326 0.759
After features/support/hooks.rb:100 0.009
Tags: @product
21.644
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.914
Then persistence for "Persistent" is active 0.108
And I create a file in the Persistent directory 0.526
Then the file I created was copied to the Persistent Storage 0.150
When I disable the first tps feature 6.127
Then persistence for "Persistent" is not active 0.080
And the Persistent directory does not exist 0.052
When I enable the first tps feature 3.522
Then persistence for "Persistent" is active 0.089
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 0.983
After features/support/hooks.rb:100 0.000
Tags: @product
21.351
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 10.747
Then persistence for "Persistent" is active 0.570
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 6.153
And I delete the data of the Persistent Folder feature 3.751
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:326 1.412
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.784
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 10.449
And the network is plugged 0.096
And Tor is ready 23.727
And I take note of which tps features are available 0.602
When I write some files expected to persist 1.693
And I shutdown Tails and wait for the computer to power off 8.378
# 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.837
After features/support/hooks.rb:326 0.159
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.566
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.548
And the network is plugged 0.103
And Tor is ready 20.584
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.187
And I shutdown Tails and wait for the computer to power off 8.865
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.414
And I capture all network traffic 0.007
And the network is plugged 0.086
And Tor is ready 22.159
And I switch to the "persistent-con-current" NetworkManager connection 0.364
And the 1st network device has a spoofed MAC address configured 0.102
And no network device leaked the real MAC address 0.142
After features/support/hooks.rb:326 0.602
After features/support/hooks.rb:100 0.045
Tags: @product
1:7.444
Before features/support/hooks.rb:269 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 14.969
And I enable persistence creation in Tails Greeter 1.151
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.660
Then I create a persistent partition with the default settings using the wizard that was already open 26.662
After features/support/hooks.rb:326 1.987
After features/support/hooks.rb:100 0.000
Tags: @product
4:54.076
Before features/support/hooks.rb:269 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.097
When I enable persistence 46.442
Then no persistent Greeter options were restored 14.427
When I set all Greeter options to non-default values 29.222
And I log in to a new session in German (de) after having activated the Persistent Storage 50.259
Then all Greeter options are set to non-default values 2.669
When I cold reboot the computer 9.886
And the computer reboots Tails 1:1.970
Given I enable persistence 19.356
Then persistent Greeter options were restored 0.633
When I log in to a new session after having activated the Persistent Storage 44.854
Then all Greeter options are set to non-default values 0.256
After features/support/hooks.rb:326 1.382
After features/support/hooks.rb:100 0.011
Tags: @product
4:19.296
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.535
# 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 42.100
And I shutdown Tails and wait for the computer to power off 13.665
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:32.731
And I change the passphrase of the Persistent Storage back to the original 39.262
After features/support/hooks.rb:326 2.197
After features/support/hooks.rb:100 0.010
Tags: @product
54.499
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 10.237
And I log in to a new session without activating the Persistent Storage 20.625
Then persistence is disabled 0.253
But a Tails persistence partition exists on USB drive "__internal" 7.908
And all notifications have disappeared 8.890
When I delete the persistent partition 6.102
Then there is no persistence partition on USB drive "__internal" 0.480
After features/support/hooks.rb:326 1.007
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.550
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.704
When I write some dotfile expected to persist 0.125
And I shutdown Tails and wait for the computer to power off 11.134
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.243
Then the expected persistent dotfile is present in the filesystem 0.343
After features/support/hooks.rb:326 0.919
After features/support/hooks.rb:100 0.009
Tags: @product
1:53.021
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.961
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.311
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.665
When I log in to a new session after having activated the Persistent Storage 53.306
And all notifications have disappeared 7.817
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.280
And all tps features are enabled 2.313
And all tps features but the first one are active 2.287
After features/support/hooks.rb:326 1.308
After features/support/hooks.rb:100 0.000
Tags: @product
6:29.484
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:55.253
And I enable persistence 38.080
And I log in to a new session after having activated the Persistent Storage 48.322
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 5.002
And persistence is enabled 2.825
After features/support/hooks.rb:326 1.332
After features/support/hooks.rb:100 0.000
Tags: @product
32.783
Before features/support/hooks.rb:269 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 10.114
And I enable persistence but something goes wrong during the LUKS header upgrade 21.882
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.787
After features/support/hooks.rb:326 0.789
After features/support/hooks.rb:100 0.000
Tags: @product
45.661
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.279
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.592
When I enable persistence 27.755
Then the filesystem of the Persistent Storage was repaired 0.098
And persistence is successfully enabled 2.935
After features/support/hooks.rb:326 2.377
After features/support/hooks.rb:100 0.000
Tags: @product
55.563
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 8.722
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.314
When I try to enable persistence 0.477
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.555
When I repair the filesystem of the Persistent Storage 1.218
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.507
And the filesystem of the Persistent Storage was repaired 1.851
When I close the filesystem repair dialog 1.277
Then persistence is successfully enabled 1.637
After features/support/hooks.rb:326 0.948
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.873
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 8.908
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.169
When I try to enable persistence 0.352
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.856
When I repair the filesystem of the Persistent Storage 1.454
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.602
When I log in to a new session 45.176
And all notifications have disappeared 8.746
# 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.878
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.431
When I close the "whisperback" window 1.844
Then the Tor Browser starts 21.408
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.041
After features/support/hooks.rb:326 2.733
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.284
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 10.088
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.682
And Tails detects disk read failures on the boot device 0.684
When I try to enable persistence 0.460
Then the Welcome Screen tells me that my hardware is probably failing 26.055
When I log in to a new session 55.117
And all notifications have disappeared 10.230
Then the Tor Browser starts 17.078
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.885
After features/support/hooks.rb:326 2.726
After features/support/hooks.rb:100 0.000