Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 32 20 Nov 2024, 18:15

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:43.902 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:41.607
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:58.807
And I update APT using apt 13.693
And I install "python3-behave" using apt 26.096
Then the Tails Persistent Storage behave tests pass 3.009
After features/support/hooks.rb:326 1.113
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.433
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 13.688
When I log in to a new session without activating the Persistent Storage 27.099
Then Tails is running from USB drive "__internal" 0.973
And persistence is disabled 0.473
But a Tails persistence partition exists on USB drive "__internal" 20.197
After features/support/hooks.rb:326 3.710
After features/support/hooks.rb:100 0.000
Tags: @product
4:12.649
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 56.168
Then Tails is running from USB drive "__internal" 0.759
When I create a file in the Persistent directory 0.184
And I create a persistent partition with the default settings 28.816
Then the file I created was copied to the Persistent Storage 0.762
When I shutdown Tails and wait for the computer to power off 14.012
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:31.466
Then persistence for "Persistent" is active 0.419
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:326 1.013
After features/support/hooks.rb:100 0.012
Tags: @product
1:28.301
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 27.596
And the system is very low on memory 5.762
When I create a file in the Persistent directory 1.251
When I try to create a persistent partition 29.679
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.184
When I close the Persistent Storage app 2.714
And I free up some memory 1.998
And I create a persistent partition with the default settings 18.779
Then the file I created was copied to the Persistent Storage 0.334
After features/support/hooks.rb:326 2.799
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.939
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 21.347
Then Tails is running from USB drive "__internal" 0.904
And all tps features are active 9.935
And all persistent directories have safe access rights 2.832
When I disable the first tps feature 8.220
Then all tps features but the first one are active 6.663
And I shutdown Tails and wait for the computer to power off 11.744
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.402
Then all tps features but the first one are active 2.888
After features/support/hooks.rb:326 0.753
After features/support/hooks.rb:100 0.009
Tags: @product
23.259
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 11.623
Then persistence for "Persistent" is active 0.170
And I create a file in the Persistent directory 0.893
Then the file I created was copied to the Persistent Storage 0.092
When I disable the first tps feature 6.739
Then persistence for "Persistent" is not active 0.115
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.379
Then persistence for "Persistent" is active 0.091
And the file I created in the Persistent directory exists 0.096
After features/support/hooks.rb:326 1.012
After features/support/hooks.rb:100 0.000
Tags: @product
23.216
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.588
Then persistence for "Persistent" is active 0.114
When I create a file in the Persistent directory 0.876
And I disable the first tps feature 6.868
And I delete the data of the Persistent Folder feature 4.668
Then the file I created does not exist on the Persistent Storage 0.100
After features/support/hooks.rb:326 1.088
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.298
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 9.649
And the network is plugged 0.104
And Tor is ready 26.485
And I take note of which tps features are available 0.728
When I write some files expected to persist 1.997
And I shutdown Tails and wait for the computer to power off 9.383
# 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.949
After features/support/hooks.rb:326 0.174
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.212
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.338
And the network is plugged 0.150
And Tor is ready 24.012
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.256
And I shutdown Tails and wait for the computer to power off 9.068
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.801
And I capture all network traffic 0.005
And the network is plugged 0.357
And Tor is ready 21.499
And I switch to the "persistent-con-current" NetworkManager connection 0.471
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.158
After features/support/hooks.rb:326 1.916
After features/support/hooks.rb:100 0.050
Tags: @product
1:23.642
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 33.698
And I enable persistence creation in Tails Greeter 1.146
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.071
Then I create a persistent partition with the default settings using the wizard that was already open 24.726
After features/support/hooks.rb:326 1.634
After features/support/hooks.rb:100 0.000
Tags: @product
5:12.269
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 32.438
When I enable persistence 54.317
Then no persistent Greeter options were restored 14.833
When I set all Greeter options to non-default values 23.864
And I log in to a new session in German (de) after having activated the Persistent Storage 48.707
Then all Greeter options are set to non-default values 0.353
When I cold reboot the computer 7.566
And the computer reboots Tails 1:5.483
Given I enable persistence 22.047
Then persistent Greeter options were restored 0.600
When I log in to a new session after having activated the Persistent Storage 41.485
Then all Greeter options are set to non-default values 0.571
After features/support/hooks.rb:326 1.172
After features/support/hooks.rb:100 0.007
Tags: @product
3:47.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 12.891
# 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 41.779
And I shutdown Tails and wait for the computer to power off 13.158
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.986
And I change the passphrase of the Persistent Storage back to the original 30.791
After features/support/hooks.rb:326 1.796
After features/support/hooks.rb:100 0.011
Tags: @product
1:3.276
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 11.403
And I log in to a new session without activating the Persistent Storage 22.099
Then persistence is disabled 0.526
But a Tails persistence partition exists on USB drive "__internal" 10.755
And all notifications have disappeared 11.264
When I delete the persistent partition 6.688
Then there is no persistence partition on USB drive "__internal" 0.537
After features/support/hooks.rb:326 0.916
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.232
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.622
When I write some dotfile expected to persist 0.067
And I shutdown Tails and wait for the computer to power off 9.435
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.583
Then the expected persistent dotfile is present in the filesystem 0.523
After features/support/hooks.rb:326 0.926
After features/support/hooks.rb:100 0.011
Tags: @product
1:53.904
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 11.022
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.117
When I try to enable persistence 0.293
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.777
When I log in to a new session after having activated the Persistent Storage 49.606
And all notifications have disappeared 7.780
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.385
And all tps features are enabled 2.375
And all tps features but the first one are active 2.545
After features/support/hooks.rb:326 0.874
After features/support/hooks.rb:100 0.000
Tags: @product
5:8.376
Before features/support/hooks.rb:269 0.007
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:42.015
And I enable persistence 38.356
And I log in to a new session after having activated the Persistent Storage 41.024
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.401
And persistence is enabled 2.578
After features/support/hooks.rb:326 1.498
After features/support/hooks.rb:100 0.000
Tags: @product
32.247
Before features/support/hooks.rb:269 0.005
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.157
And I enable persistence but something goes wrong during the LUKS header upgrade 22.167
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.923
After features/support/hooks.rb:326 0.820
After features/support/hooks.rb:100 0.000
Tags: @product
52.998
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.484
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.676
When I enable persistence 29.392
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 8.357
After features/support/hooks.rb:326 1.127
After features/support/hooks.rb:100 0.000
Tags: @product
58.157
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.699
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.349
When I try to enable persistence 1.505
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.941
When I repair the filesystem of the Persistent Storage 2.711
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.151
And the filesystem of the Persistent Storage was repaired 2.904
When I close the filesystem repair dialog 1.275
Then persistence is successfully enabled 1.619
After features/support/hooks.rb:326 0.815
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.468
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.009
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.113
When I try to enable persistence 0.280
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 37.792
When I repair the filesystem of the Persistent Storage 1.246
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.083
When I log in to a new session 40.037
And all notifications have disappeared 9.048
# 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.575
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.115
When I close the "whisperback" window 1.946
Then the Tor Browser starts 17.328
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.891
After features/support/hooks.rb:326 1.867
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.801
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.068
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.566
And Tails detects disk read failures on the boot device 0.609
When I try to enable persistence 0.492
Then the Welcome Screen tells me that my hardware is probably failing 19.800
When I log in to a new session 49.013
And all notifications have disappeared 9.490
Then the Tor Browser starts 17.948
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.811
After features/support/hooks.rb:326 3.781
After features/support/hooks.rb:100 0.000