Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 21 08 Aug 2024, 17: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 40:3.764 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.871
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:35.914
And I update APT using apt 19.305
And I install "python3-behave" using apt 27.437
Then the Tails Persistent Storage behave tests pass 3.213
After features/support/hooks.rb:326 3.968
After features/support/hooks.rb:100 0.000
Tags: @product
46.419
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 14.171
When I log in to a new session without activating the Persistent Storage 24.295
Then Tails is running from USB drive "__internal" 0.570
And persistence is disabled 0.409
But a Tails persistence partition exists on USB drive "__internal" 6.972
After features/support/hooks.rb:326 1.093
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.361
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 14.317
Then Tails is running from USB drive "__internal" 0.475
When I create a file in the Persistent directory 0.138
And I create a persistent partition with the default settings 25.495
Then the file I created was copied to the Persistent Storage 0.981
When I shutdown Tails and wait for the computer to power off 12.838
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.646
Then persistence for "Persistent" is active 0.406
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:326 1.047
After features/support/hooks.rb:100 0.009
Tags: @product
1:5.475
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.338
And the system is very low on memory 9.642
When I create a file in the Persistent directory 2.016
When I try to create a persistent partition 20.894
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.153
When I close the Persistent Storage app 2.563
And I free up some memory 1.483
And I create a persistent partition with the default settings 14.063
Then the file I created was copied to the Persistent Storage 1.317
After features/support/hooks.rb:326 1.245
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.421
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.775
Then Tails is running from USB drive "__internal" 0.772
And all tps features are active 2.603
And all persistent directories have safe access rights 2.623
When I disable the first tps feature 5.220
Then all tps features but the first one are active 2.275
And I shutdown Tails and wait for the computer to power off 13.372
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.309
Then all tps features but the first one are active 2.470
After features/support/hooks.rb:326 1.017
After features/support/hooks.rb:100 0.012
Tags: @product
18.963
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 9.890
Then persistence for "Persistent" is active 0.194
And I create a file in the Persistent directory 0.081
Then the file I created was copied to the Persistent Storage 0.081
When I disable the first tps feature 5.180
Then persistence for "Persistent" is not active 0.085
And the Persistent directory does not exist 0.053
When I enable the first tps feature 3.245
Then persistence for "Persistent" is active 0.082
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 0.785
After features/support/hooks.rb:100 0.000
Tags: @product
19.913
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.043
Then persistence for "Persistent" is active 0.099
When I create a file in the Persistent directory 0.096
And I disable the first tps feature 5.770
And I delete the data of the Persistent Folder feature 3.848
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:326 0.925
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.879
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 11.240
And the network is plugged 0.097
And Tor is ready 16.875
And I take note of which tps features are available 0.633
When I write some files expected to persist 1.503
And I shutdown Tails and wait for the computer to power off 8.813
# 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.716
After features/support/hooks.rb:326 0.133
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.928
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.529
And the network is plugged 0.094
And Tor is ready 19.251
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.186
And I shutdown Tails and wait for the computer to power off 9.225
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.758
And I capture all network traffic 0.015
And the network is plugged 0.080
And Tor is ready 21.850
And I switch to the "persistent-con-current" NetworkManager connection 0.439
And the 1st network device has a spoofed MAC address configured 0.152
And no network device leaked the real MAC address 0.345
After features/support/hooks.rb:326 1.296
After features/support/hooks.rb:100 0.058
Tags: @product
1:10.250
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 17.401
And I enable persistence creation in Tails Greeter 1.193
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.799
Then I create a persistent partition with the default settings using the wizard that was already open 24.855
After features/support/hooks.rb:326 3.089
After features/support/hooks.rb:100 0.000
Tags: @product
5:6.688
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 14.477
When I enable persistence 41.662
Then no persistent Greeter options were restored 14.011
When I set all Greeter options to non-default values 23.006
And I log in to a new session in German (de) after having activated the Persistent Storage 44.294
Then all Greeter options are set to non-default values 0.528
When I cold reboot the computer 7.756
And the computer reboots Tails 1:4.992
Given I enable persistence 38.322
Then persistent Greeter options were restored 15.245
When I log in to a new session after having activated the Persistent Storage 42.149
Then all Greeter options are set to non-default values 0.241
After features/support/hooks.rb:326 1.744
After features/support/hooks.rb:100 0.013
Tags: @product
3:55.218
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 13.461
# 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 35.954
And I shutdown Tails and wait for the computer to power off 13.021
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:20.533
And I change the passphrase of the Persistent Storage back to the original 32.247
After features/support/hooks.rb:326 2.461
After features/support/hooks.rb:100 0.021
Tags: @product
1:10.648
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 17.269
And I log in to a new session without activating the Persistent Storage 31.272
Then persistence is disabled 0.241
But a Tails persistence partition exists on USB drive "__internal" 6.782
And all notifications have disappeared 8.690
When I delete the persistent partition 5.886
Then there is no persistence partition on USB drive "__internal" 0.505
After features/support/hooks.rb:326 0.975
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.548
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.081
When I write some dotfile expected to persist 0.060
And I shutdown Tails and wait for the computer to power off 12.091
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.777
Then the expected persistent dotfile is present in the filesystem 0.538
After features/support/hooks.rb:326 0.876
After features/support/hooks.rb:100 0.009
Tags: @product
1:50.952
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.092
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.372
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.832
When I log in to a new session after having activated the Persistent Storage 48.942
And all notifications have disappeared 9.227
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.487
And all tps features are enabled 2.635
And all tps features but the first one are active 2.277
After features/support/hooks.rb:326 1.307
After features/support/hooks.rb:100 0.000
Tags: @product
6:49.625
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 5:17.437
And I enable persistence 40.770
And I log in to a new session after having activated the Persistent Storage 48.969
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.144
And persistence is enabled 0.303
After features/support/hooks.rb:326 1.184
After features/support/hooks.rb:100 0.000
Tags: @product
39.724
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 12.200
And I enable persistence but something goes wrong during the LUKS header upgrade 26.632
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.892
After features/support/hooks.rb:326 1.113
After features/support/hooks.rb:100 0.000
Tags: @product
50.191
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.620
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.880
When I enable persistence 34.582
Then the filesystem of the Persistent Storage was repaired 0.107
After features/support/hooks.rb:326 1.399
After features/support/hooks.rb:100 0.000
Tags: @product
28.255
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.064
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.503
When I try to enable persistence 0.434
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.920
When I repair the filesystem of the Persistent Storage 1.315
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.254
And the filesystem of the Persistent Storage was repaired 0.075
When I close the filesystem repair dialog 1.217
Then persistence is successfully enabled 0.470
After features/support/hooks.rb:326 0.915
After features/support/hooks.rb:100 0.000
Tags: @product
24.427
Before features/support/hooks.rb:269 0.015
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.961
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.492
And Tails detects disk read failures on the boot device 1.606
When I try to enable persistence 0.480
Then the Welcome Screen tells me that my hardware is probably failing 5.887
After features/support/hooks.rb:326 1.313
After features/support/hooks.rb:100 0.000