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

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:59.979 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:20.959
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.338
And I update APT using apt 15.034
And I install "python3-behave" using apt 25.700
Then the Tails Persistent Storage behave tests pass 2.886
After features/support/hooks.rb:326 0.637
After features/support/hooks.rb:100 0.000
Tags: @product
54.377
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 19.710
When I log in to a new session without activating the Persistent Storage 24.975
Then Tails is running from USB drive "__internal" 0.749
And persistence is disabled 0.531
But a Tails persistence partition exists on USB drive "__internal" 8.409
After features/support/hooks.rb:326 1.774
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.604
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.562
Then Tails is running from USB drive "__internal" 0.701
When I create a file in the Persistent directory 0.140
And I create a persistent partition with the default settings 25.313
Then the file I created was copied to the Persistent Storage 0.505
When I shutdown Tails and wait for the computer to power off 12.900
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.363
Then persistence for "Persistent" is active 1.028
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:326 0.703
After features/support/hooks.rb:100 0.010
Tags: @product
1:11.158
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 16.992
And the system is very low on memory 5.340
When I create a file in the Persistent directory 1.746
When I try to create a persistent partition 29.115
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.353
When I close the Persistent Storage app 2.812
And I free up some memory 1.665
And I create a persistent partition with the default settings 12.884
Then the file I created was copied to the Persistent Storage 0.247
After features/support/hooks.rb:326 1.754
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.652
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.257
Then Tails is running from USB drive "__internal" 0.431
And all tps features are active 2.462
And all persistent directories have safe access rights 2.522
When I disable the first tps feature 5.841
Then all tps features but the first one are active 2.011
And I shutdown Tails and wait for the computer to power off 10.834
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.330
Then all tps features but the first one are active 2.961
After features/support/hooks.rb:326 1.200
After features/support/hooks.rb:100 0.011
Tags: @product
21.164
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 11.275
Then persistence for "Persistent" is active 0.101
And I create a file in the Persistent directory 0.101
Then the file I created was copied to the Persistent Storage 0.106
When I disable the first tps feature 5.839
Then persistence for "Persistent" is not active 0.114
And the Persistent directory does not exist 0.072
When I enable the first tps feature 3.401
Then persistence for "Persistent" is active 0.092
And the file I created in the Persistent directory exists 0.058
After features/support/hooks.rb:326 0.806
After features/support/hooks.rb:100 0.000
Tags: @product
19.511
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.432
Then persistence for "Persistent" is active 0.109
When I create a file in the Persistent directory 0.106
And I disable the first tps feature 5.997
And I delete the data of the Persistent Folder feature 3.803
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:326 0.828
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.364
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.005
And the network is plugged 0.098
And Tor is ready 22.064
And I take note of which tps features are available 0.770
When I write some files expected to persist 1.634
And I shutdown Tails and wait for the computer to power off 8.474
# 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.316
After features/support/hooks.rb:326 0.108
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.313
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.451
And the network is plugged 0.118
And Tor is ready 21.839
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.222
And I shutdown Tails and wait for the computer to power off 8.830
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.941
And I capture all network traffic 0.005
And the network is plugged 0.090
And Tor is ready 20.224
And I switch to the "persistent-con-current" NetworkManager connection 0.366
And the 1st network device has a spoofed MAC address configured 0.086
And no network device leaked the real MAC address 0.135
After features/support/hooks.rb:326 0.664
After features/support/hooks.rb:100 0.087
Tags: @product
1:43.484
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 56.573
And I enable persistence creation in Tails Greeter 1.139
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.023
Then I create a persistent partition with the default settings using the wizard that was already open 24.747
After features/support/hooks.rb:326 1.401
After features/support/hooks.rb:100 0.000
Tags: @product
4:59.718
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 14.740
When I enable persistence 47.515
Then no persistent Greeter options were restored 14.495
When I set all Greeter options to non-default values 27.118
And I log in to a new session in German (de) after having activated the Persistent Storage 56.205
Then all Greeter options are set to non-default values 0.467
When I cold reboot the computer 7.812
And the computer reboots Tails 1:7.856
Given I enable persistence 18.645
Then persistent Greeter options were restored 0.580
When I log in to a new session after having activated the Persistent Storage 43.784
Then all Greeter options are set to non-default values 0.496
After features/support/hooks.rb:326 0.953
After features/support/hooks.rb:100 0.007
Tags: @product
3:59.003
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 9.846
# 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 45.584
And I shutdown Tails and wait for the computer to power off 12.703
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.753
And I change the passphrase of the Persistent Storage back to the original 31.115
After features/support/hooks.rb:326 2.481
After features/support/hooks.rb:100 0.008
Tags: @product
1:12.020
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 18.678
And I log in to a new session without activating the Persistent Storage 24.691
Then persistence is disabled 0.386
But a Tails persistence partition exists on USB drive "__internal" 11.427
And all notifications have disappeared 10.619
When I delete the persistent partition 5.761
Then there is no persistence partition on USB drive "__internal" 0.455
After features/support/hooks.rb:326 0.932
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.027
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.391
When I write some dotfile expected to persist 0.122
And I shutdown Tails and wait for the computer to power off 8.940
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.103
Then the expected persistent dotfile is present in the filesystem 0.469
After features/support/hooks.rb:326 1.073
After features/support/hooks.rb:100 0.010
Tags: @product
2:0.406
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 12.996
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.140
When I try to enable persistence 0.323
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.407
When I log in to a new session after having activated the Persistent Storage 51.091
And all notifications have disappeared 8.026
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.222
And all tps features are enabled 2.920
And all tps features but the first one are active 2.278
After features/support/hooks.rb:326 1.347
After features/support/hooks.rb:100 0.000
Tags: @product
5:3.209
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 3:30.761
And I enable persistence 41.338
And I log in to a new session after having activated the Persistent Storage 47.269
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.088
And persistence is enabled 2.751
After features/support/hooks.rb:326 1.246
After features/support/hooks.rb:100 0.000
Tags: @product
33.793
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 8.913
And I enable persistence but something goes wrong during the LUKS header upgrade 24.068
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.811
After features/support/hooks.rb:326 0.842
After features/support/hooks.rb:100 0.000
Tags: @product
58.257
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.479
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.075
When I enable persistence 40.034
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 2.570
After features/support/hooks.rb:326 1.130
After features/support/hooks.rb:100 0.000
Tags: @product
52.438
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.434
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.217
When I try to enable persistence 0.483
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.895
When I repair the filesystem of the Persistent Storage 1.317
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.370
And the filesystem of the Persistent Storage was repaired 1.790
When I close the filesystem repair dialog 1.257
Then persistence is successfully enabled 1.671
After features/support/hooks.rb:326 1.987
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.472
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.625
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.128
When I try to enable persistence 0.358
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.754
When I repair the filesystem of the Persistent Storage 1.253
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 38.192
And all notifications have disappeared 9.238
# 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.832
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.608
When I close the "whisperback" window 1.620
Then the Tor Browser starts 17.905
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.873
After features/support/hooks.rb:326 2.690
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:7.040
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.580
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.896
And Tails detects disk read failures on the boot device 1.531
When I try to enable persistence 0.734
Then the Welcome Screen tells me that my hardware is probably failing 23.127
When I log in to a new session 48.283
And all notifications have disappeared 11.309
Then the Tor Browser starts 20.747
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.829
After features/support/hooks.rb:326 3.651
After features/support/hooks.rb:100 0.000