Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 12 30 Jul 2024, 16:58

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 139 0 0 0 0 139 20 0 20 35:20.052 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.916
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:33.407
And I update APT using apt 20.015
And I install "python3-behave" using apt 22.611
Then the Tails Persistent Storage behave tests pass 3.882
After features/support/hooks.rb:326 0.748
After features/support/hooks.rb:100 0.000
Tags: @product
39.876
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.907
When I log in to a new session without activating the Persistent Storage 21.646
Then Tails is running from USB drive "__internal" 0.418
And persistence is disabled 0.313
But a Tails persistence partition exists on USB drive "__internal" 6.590
After features/support/hooks.rb:326 1.557
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.242
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 12.960
Then Tails is running from USB drive "__internal" 0.624
When I create a file in the Persistent directory 0.183
And I create a persistent partition with the default settings 23.045
Then the file I created was copied to the Persistent Storage 0.641
When I shutdown Tails and wait for the computer to power off 12.425
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.790
Then persistence for "Persistent" is active 0.511
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:326 0.809
After features/support/hooks.rb:100 0.009
Tags: @product
57.606
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 10.762
And the system is very low on memory 3.930
When I create a file in the Persistent directory 0.838
When I try to create a persistent partition 24.582
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.139
When I close the Persistent Storage app 2.633
And I free up some memory 1.753
And I create a persistent partition with the default settings 12.723
Then the file I created was copied to the Persistent Storage 0.242
After features/support/hooks.rb:326 1.518
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.107
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.287
Then Tails is running from USB drive "__internal" 0.484
And all tps features are active 2.108
And all persistent directories have safe access rights 2.401
When I disable the first tps feature 4.839
Then all tps features but the first one are active 1.677
And I shutdown Tails and wait for the computer to power off 8.255
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.041
Then all tps features but the first one are active 2.011
After features/support/hooks.rb:326 0.646
After features/support/hooks.rb:100 0.009
Tags: @product
18.601
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.755
Then persistence for "Persistent" is active 0.075
And I create a file in the Persistent directory 0.090
Then the file I created was copied to the Persistent Storage 0.076
When I disable the first tps feature 5.257
Then persistence for "Persistent" is not active 0.085
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.074
Then persistence for "Persistent" is active 0.065
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 0.698
After features/support/hooks.rb:100 0.000
Tags: @product
18.315
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.496
Then persistence for "Persistent" is active 0.074
When I create a file in the Persistent directory 0.084
And I disable the first tps feature 5.028
And I delete the data of the Persistent Folder feature 3.572
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:326 0.772
After features/support/hooks.rb:100 0.000
Tags: @product
1:27.366
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.407
And the network is plugged 0.060
And Tor is ready 43.709
And I take note of which tps features are available 0.529
When I write some files expected to persist 1.350
And I shutdown Tails and wait for the computer to power off 8.240
# 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.068
After features/support/hooks.rb:326 0.091
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.953
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.355
And the network is plugged 0.046
And Tor is ready 16.084
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.200
And I shutdown Tails and wait for the computer to power off 8.396
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.985
And I capture all network traffic 0.007
And the network is plugged 0.044
And Tor is ready 49.135
And I switch to the "persistent-con-current" NetworkManager connection 0.305
And the 1st network device has a spoofed MAC address configured 0.127
And no network device leaked the real MAC address 0.266
After features/support/hooks.rb:326 0.616
After features/support/hooks.rb:100 0.049
Tags: @product
52.286
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 10.849
And I enable persistence creation in Tails Greeter 1.153
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.815
Then I create a persistent partition with the default settings using the wizard that was already open 20.467
After features/support/hooks.rb:326 2.563
After features/support/hooks.rb:100 0.000
Tags: @product
4:49.223
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.592
When I enable persistence 34.943
Then no persistent Greeter options were restored 14.055
When I set all Greeter options to non-default values 26.645
And I log in to a new session in German (de) after having activated the Persistent Storage 44.092
Then all Greeter options are set to non-default values 0.574
When I cold reboot the computer 7.537
And the computer reboots Tails 1:5.026
Given I enable persistence 31.620
Then persistent Greeter options were restored 14.450
When I log in to a new session after having activated the Persistent Storage 38.244
Then all Greeter options are set to non-default values 0.437
After features/support/hooks.rb:326 1.297
After features/support/hooks.rb:100 0.010
Tags: @product
3:51.731
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.198
# 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 32.021
And I shutdown Tails and wait for the computer to power off 12.941
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:18.480
And I change the passphrase of the Persistent Storage back to the original 38.088
After features/support/hooks.rb:326 1.938
After features/support/hooks.rb:100 0.009
Tags: @product
54.749
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.739
And I log in to a new session without activating the Persistent Storage 19.311
Then persistence is disabled 0.415
But a Tails persistence partition exists on USB drive "__internal" 10.242
And all notifications have disappeared 9.186
When I delete the persistent partition 5.425
Then there is no persistence partition on USB drive "__internal" 0.427
After features/support/hooks.rb:326 0.883
After features/support/hooks.rb:100 0.000
Tags: @product
2:19.370
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.977
When I write some dotfile expected to persist 0.055
And I shutdown Tails and wait for the computer to power off 8.544
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.254
Then the expected persistent dotfile is present in the filesystem 0.538
After features/support/hooks.rb:326 0.694
After features/support/hooks.rb:100 0.009
Tags: @product
1:34.097
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 8.817
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.275
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.445
When I log in to a new session after having activated the Persistent Storage 40.414
And all notifications have disappeared 9.045
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.800
And all tps features are enabled 2.361
And all tps features but the first one are active 1.852
After features/support/hooks.rb:326 0.926
After features/support/hooks.rb:100 0.000
Tags: @product
4:8.831
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 2:49.842
And I enable persistence 32.873
And I log in to a new session after having activated the Persistent Storage 43.630
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.275
And persistence is enabled 0.209
After features/support/hooks.rb:326 2.156
After features/support/hooks.rb:100 0.000
Tags: @product
28.344
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 8.850
And I enable persistence but something goes wrong during the LUKS header upgrade 18.711
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.781
After features/support/hooks.rb:326 0.727
After features/support/hooks.rb:100 0.000
Tags: @product
37.252
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.482
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.038
When I enable persistence 22.623
Then the filesystem of the Persistent Storage was repaired 0.108
After features/support/hooks.rb:326 1.080
After features/support/hooks.rb:100 0.000
Tags: @product
23.361
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 8.646
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.158
When I try to enable persistence 0.375
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.983
When I repair the filesystem of the Persistent Storage 1.221
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.244
And the filesystem of the Persistent Storage was repaired 0.103
When I close the filesystem repair dialog 1.245
Then persistence is successfully enabled 0.384
After features/support/hooks.rb:326 0.756
After features/support/hooks.rb:100 0.000
Tags: @product
21.813
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.152
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.250
And Tails detects disk read failures on the boot device 1.589
When I try to enable persistence 0.382
Then the Welcome Screen tells me that my hardware is probably failing 5.437
After features/support/hooks.rb:326 0.780
After features/support/hooks.rb:100 0.000