Project Number Date
test_Tails_ISO_20531-early-reporting-of-bad-devices 14 12 Dec 2024, 00:22

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 38:3.264 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.699
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:33.880
And I update APT using apt 14.087
And I install "python3-behave" using apt 25.645
Then the Tails Persistent Storage behave tests pass 2.086
After features/support/hooks.rb:326 0.631
After features/support/hooks.rb:100 0.000
Tags: @product
45.798
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.773
When I log in to a new session without activating the Persistent Storage 22.870
Then Tails is running from USB drive "__internal" 0.527
And persistence is disabled 0.746
But a Tails persistence partition exists on USB drive "__internal" 8.879
After features/support/hooks.rb:326 1.118
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.587
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 11.582
Then Tails is running from USB drive "__internal" 1.171
When I create a file in the Persistent directory 0.146
And I create a persistent partition with the default settings 22.526
Then the file I created was copied to the Persistent Storage 0.701
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:8.974
Then persistence for "Persistent" is active 1.538
And the file I created in the Persistent directory exists 0.107
After features/support/hooks.rb:326 0.964
After features/support/hooks.rb:100 0.070
Tags: @product
53.902
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.582
And the system is very low on memory 3.841
When I create a file in the Persistent directory 1.758
When I try to create a persistent partition 21.104
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.669
When I close the Persistent Storage app 2.520
And I free up some memory 1.495
And I create a persistent partition with the default settings 11.678
Then the file I created was copied to the Persistent Storage 0.251
After features/support/hooks.rb:326 1.194
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.065
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 12.464
Then Tails is running from USB drive "__internal" 0.766
And all tps features are active 3.131
And all persistent directories have safe access rights 2.526
When I disable the first tps feature 5.207
Then all tps features but the first one are active 2.154
And I shutdown Tails and wait for the computer to power off 12.640
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.768
Then all tps features but the first one are active 2.405
After features/support/hooks.rb:326 0.610
After features/support/hooks.rb:100 0.007
Tags: @product
20.171
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.571
Then persistence for "Persistent" is active 0.083
And I create a file in the Persistent directory 0.433
Then the file I created was copied to the Persistent Storage 0.081
When I disable the first tps feature 5.232
Then persistence for "Persistent" is not active 0.065
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.507
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:326 0.764
After features/support/hooks.rb:100 0.000
Tags: @product
19.484
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.075
Then persistence for "Persistent" is active 0.356
When I create a file in the Persistent directory 0.484
And I disable the first tps feature 4.977
And I delete the data of the Persistent Folder feature 3.534
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:326 1.092
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.925
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.043
And the network is plugged 0.100
And Tor is ready 22.517
And I take note of which tps features are available 0.662
When I write some files expected to persist 1.466
And I shutdown Tails and wait for the computer to power off 8.850
# 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.285
After features/support/hooks.rb:326 0.180
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.752
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 11.577
And the network is plugged 0.088
And Tor is ready 17.918
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.183
And I shutdown Tails and wait for the computer to power off 8.560
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.297
And I capture all network traffic 0.007
And the network is plugged 0.097
And Tor is ready 19.447
And I switch to the "persistent-con-current" NetworkManager connection 0.324
And the 1st network device has a spoofed MAC address configured 0.113
And no network device leaked the real MAC address 0.135
After features/support/hooks.rb:326 0.704
After features/support/hooks.rb:100 0.047
Tags: @product
54.227
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.753
And I enable persistence creation in Tails Greeter 1.148
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.370
Then I create a persistent partition with the default settings using the wizard that was already open 20.955
After features/support/hooks.rb:326 1.761
After features/support/hooks.rb:100 0.000
Tags: @product
4:23.342
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 12.257
When I enable persistence 32.539
Then no persistent Greeter options were restored 14.075
When I set all Greeter options to non-default values 25.353
And I log in to a new session in German (de) after having activated the Persistent Storage 53.080
Then all Greeter options are set to non-default values 0.365
When I cold reboot the computer 7.445
And the computer reboots Tails 1:3.762
Given I enable persistence 16.046
Then persistent Greeter options were restored 0.559
When I log in to a new session after having activated the Persistent Storage 37.125
Then all Greeter options are set to non-default values 0.730
After features/support/hooks.rb:326 1.497
After features/support/hooks.rb:100 0.008
Tags: @product
3:32.888
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.413
# 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.198
And I shutdown Tails and wait for the computer to power off 12.337
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:2.132
And I change the passphrase of the Persistent Storage back to the original 35.806
After features/support/hooks.rb:326 2.169
After features/support/hooks.rb:100 0.008
Tags: @product
57.782
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.873
And I log in to a new session without activating the Persistent Storage 21.494
Then persistence is disabled 0.263
But a Tails persistence partition exists on USB drive "__internal" 10.360
And all notifications have disappeared 9.374
When I delete the persistent partition 5.975
Then there is no persistence partition on USB drive "__internal" 0.441
After features/support/hooks.rb:326 0.897
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.033
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.524
When I write some dotfile expected to persist 0.489
And I shutdown Tails and wait for the computer to power off 8.597
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.923
Then the expected persistent dotfile is present in the filesystem 0.498
After features/support/hooks.rb:326 0.647
After features/support/hooks.rb:100 0.008
Tags: @product
1:38.853
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.930
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.282
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.791
When I log in to a new session after having activated the Persistent Storage 46.412
And all notifications have disappeared 7.542
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.534
And all tps features are enabled 2.201
And all tps features but the first one are active 2.071
After features/support/hooks.rb:326 2.411
After features/support/hooks.rb:100 0.000
Tags: @product
4:43.840
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 3:22.914
And I enable persistence 30.591
And I log in to a new session after having activated the Persistent Storage 45.502
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.758
And persistence is enabled 3.073
After features/support/hooks.rb:326 0.894
After features/support/hooks.rb:100 0.000
Tags: @product
30.101
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 8.615
And I enable persistence but something goes wrong during the LUKS header upgrade 20.816
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.669
After features/support/hooks.rb:326 0.802
After features/support/hooks.rb:100 0.000
Tags: @product
44.101
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.386
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.205
When I enable persistence 27.513
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 2.900
After features/support/hooks.rb:326 0.863
After features/support/hooks.rb:100 0.000
Tags: @product
23.673
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.603
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.323
When I try to enable persistence 0.399
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.267
When I repair the filesystem of the Persistent Storage 1.216
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.194
And the filesystem of the Persistent Storage was repaired 0.058
When I close the filesystem repair dialog 1.248
Then persistence is successfully enabled 1.361
After features/support/hooks.rb:326 0.808
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.803
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.684
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.095
When I try to enable persistence 0.277
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.424
When I repair the filesystem of the Persistent Storage 1.196
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.070
When I log in to a new session 40.014
And all notifications have disappeared 6.970
# 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.415
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.231
When I close the "whisperback" window 1.617
Then the Tor Browser starts 19.952
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.853
After features/support/hooks.rb:326 1.980
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.230
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.023
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.776
And Tails detects disk read failures on the boot device 1.594
When I try to enable persistence 0.413
Then the Welcome Screen tells me that my hardware is probably failing 5.480
When I log in to a new session 21.184
And all notifications have disappeared 6.676
Then the Tor Browser starts 24.262
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.818
After features/support/hooks.rb:326 1.535
After features/support/hooks.rb:100 0.000