Project Number Date
test_Tails_ISO_20531-early-reporting-of-bad-devices 29 19 Dec 2024, 00:34

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 37:33.144 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.358
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:34.190
And I update APT using apt 14.439
And I install "python3-behave" using apt 25.465
Then the Tails Persistent Storage behave tests pass 2.263
After features/support/hooks.rb:326 1.774
After features/support/hooks.rb:100 0.000
Tags: @product
43.342
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.407
When I log in to a new session without activating the Persistent Storage 22.908
Then Tails is running from USB drive "__internal" 0.529
And persistence is disabled 0.381
But a Tails persistence partition exists on USB drive "__internal" 7.116
After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.635
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.580
Then Tails is running from USB drive "__internal" 0.402
When I create a file in the Persistent directory 0.119
And I create a persistent partition with the default settings 24.634
Then the file I created was copied to the Persistent Storage 0.528
When I shutdown Tails and wait for the computer to power off 14.669
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.284
Then persistence for "Persistent" is active 1.342
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 1.095
After features/support/hooks.rb:100 0.008
Tags: @product
59.293
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 11.180
And the system is very low on memory 4.460
When I create a file in the Persistent directory 0.799
When I try to create a persistent partition 25.123
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.314
When I close the Persistent Storage app 2.539
And I free up some memory 1.531
And I create a persistent partition with the default settings 12.490
Then the file I created was copied to the Persistent Storage 0.852
After features/support/hooks.rb:326 1.263
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.888
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.444
Then Tails is running from USB drive "__internal" 0.505
And all tps features are active 2.248
And all persistent directories have safe access rights 2.736
When I disable the first tps feature 5.705
Then all tps features but the first one are active 1.974
And I shutdown Tails and wait for the computer to power off 10.743
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.161
Then all tps features but the first one are active 2.368
After features/support/hooks.rb:326 1.062
After features/support/hooks.rb:100 0.008
Tags: @product
20.848
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.196
Then persistence for "Persistent" is active 0.177
And I create a file in the Persistent directory 0.072
Then the file I created was copied to the Persistent Storage 0.094
When I disable the first tps feature 5.923
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.063
When I enable the first tps feature 3.080
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:326 0.808
After features/support/hooks.rb:100 0.000
Tags: @product
20.253
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 9.831
Then persistence for "Persistent" is active 0.215
When I create a file in the Persistent directory 0.098
And I disable the first tps feature 6.384
And I delete the data of the Persistent Folder feature 3.683
Then the file I created does not exist on the Persistent Storage 0.040
After features/support/hooks.rb:326 0.800
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.217
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.476
And the network is plugged 0.099
And Tor is ready 20.568
And I take note of which tps features are available 0.594
When I write some files expected to persist 1.541
And I shutdown Tails and wait for the computer to power off 8.509
# 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.426
After features/support/hooks.rb:326 0.115
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.455
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 9.055
And the network is plugged 0.087
And Tor is ready 17.673
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.184
And I shutdown Tails and wait for the computer to power off 8.451
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.511
And I capture all network traffic 0.008
And the network is plugged 0.082
And Tor is ready 21.844
And I switch to the "persistent-con-current" NetworkManager connection 0.334
And the 1st network device has a spoofed MAC address configured 0.098
And no network device leaked the real MAC address 0.122
After features/support/hooks.rb:326 0.645
After features/support/hooks.rb:100 0.048
Tags: @product
57.721
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.674
And I enable persistence creation in Tails Greeter 1.185
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.513
Then I create a persistent partition with the default settings using the wizard that was already open 23.347
After features/support/hooks.rb:326 1.852
After features/support/hooks.rb:100 0.000
Tags: @product
4:25.557
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 12.133
When I enable persistence 36.137
Then no persistent Greeter options were restored 13.958
When I set all Greeter options to non-default values 26.267
And I log in to a new session in German (de) after having activated the Persistent Storage 52.192
Then all Greeter options are set to non-default values 0.729
When I cold reboot the computer 7.291
And the computer reboots Tails 1:0.035
Given I enable persistence 17.159
Then persistent Greeter options were restored 0.503
When I log in to a new session after having activated the Persistent Storage 38.604
Then all Greeter options are set to non-default values 0.544
After features/support/hooks.rb:326 1.216
After features/support/hooks.rb:100 0.007
Tags: @product
3:42.195
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.085
# 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 31.213
And I shutdown Tails and wait for the computer to power off 12.548
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.137
And I change the passphrase of the Persistent Storage back to the original 40.209
After features/support/hooks.rb:326 1.807
After features/support/hooks.rb:100 0.008
Tags: @product
52.594
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.864
And I log in to a new session without activating the Persistent Storage 19.651
Then persistence is disabled 0.407
But a Tails persistence partition exists on USB drive "__internal" 7.809
And all notifications have disappeared 8.308
When I delete the persistent partition 6.095
Then there is no persistence partition on USB drive "__internal" 0.457
After features/support/hooks.rb:326 0.816
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.177
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.030
When I write some dotfile expected to persist 0.135
And I shutdown Tails and wait for the computer to power off 8.571
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.078
Then the expected persistent dotfile is present in the filesystem 0.361
After features/support/hooks.rb:326 0.970
After features/support/hooks.rb:100 0.008
Tags: @product
1:35.882
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.872
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.101
When I try to enable persistence 0.403
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.192
When I log in to a new session after having activated the Persistent Storage 41.706
And all notifications have disappeared 8.677
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.822
And all tps features are enabled 2.155
And all tps features but the first one are active 1.951
After features/support/hooks.rb:326 1.281
After features/support/hooks.rb:100 0.000
Tags: @product
4:15.172
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 2:56.295
And I enable persistence 33.032
And I log in to a new session after having activated the Persistent Storage 38.208
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.199
And persistence is enabled 3.435
After features/support/hooks.rb:326 1.144
After features/support/hooks.rb:100 0.000
Tags: @product
28.251
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 8.758
And I enable persistence but something goes wrong during the LUKS header upgrade 18.642
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.850
After features/support/hooks.rb:326 0.767
After features/support/hooks.rb:100 0.000
Tags: @product
46.165
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.845
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.198
When I enable persistence 28.932
Then the filesystem of the Persistent Storage was repaired 0.110
And persistence is successfully enabled 3.078
After features/support/hooks.rb:326 1.122
After features/support/hooks.rb:100 0.000
Tags: @product
26.355
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.202
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.936
When I try to enable persistence 0.435
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.434
When I repair the filesystem of the Persistent Storage 1.270
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.248
And the filesystem of the Persistent Storage was repaired 0.099
When I close the filesystem repair dialog 1.259
Then persistence is successfully enabled 1.468
After features/support/hooks.rb:326 0.701
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.917
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 8.776
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.376
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.360
When I repair the filesystem of the Persistent Storage 1.241
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 38.840
And all notifications have disappeared 10.497
# 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.433
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.918
When I close the "whisperback" window 1.564
Then the Tor Browser starts 15.888
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 2.275
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:11.861
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.355
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.816
And Tails detects disk read failures on the boot device 0.425
When I try to enable persistence 0.374
Then the Welcome Screen tells me that my hardware is probably failing 5.696
When I log in to a new session 18.557
And all notifications have disappeared 9.397
Then the Tor Browser starts 21.396
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.842
After features/support/hooks.rb:326 1.346
After features/support/hooks.rb:100 0.000