Project Number Date
test_Tails_ISO_20531-early-reporting-of-bad-devices 18 13 Dec 2024, 16:46

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:41.835 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:34.623
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:48.823
And I update APT using apt 13.957
And I install "python3-behave" using apt 27.900
Then the Tails Persistent Storage behave tests pass 3.942
After features/support/hooks.rb:326 1.224
After features/support/hooks.rb:100 0.000
Tags: @product
56.477
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 16.008
When I log in to a new session without activating the Persistent Storage 27.457
Then Tails is running from USB drive "__internal" 0.743
And persistence is disabled 0.520
But a Tails persistence partition exists on USB drive "__internal" 11.747
After features/support/hooks.rb:326 1.396
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.817
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 16.249
Then Tails is running from USB drive "__internal" 0.601
When I create a file in the Persistent directory 0.178
And I create a persistent partition with the default settings 25.486
Then the file I created was copied to the Persistent Storage 0.723
When I shutdown Tails and wait for the computer to power off 12.953
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.662
Then persistence for "Persistent" is active 0.882
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 1.031
After features/support/hooks.rb:100 0.007
Tags: @product
54.621
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 10.777
And the system is very low on memory 3.644
When I create a file in the Persistent directory 1.265
When I try to create a persistent partition 21.626
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.374
When I close the Persistent Storage app 2.881
And I free up some memory 1.318
And I create a persistent partition with the default settings 12.451
Then the file I created was copied to the Persistent Storage 0.281
After features/support/hooks.rb:326 1.418
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.417
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 15.740
Then Tails is running from USB drive "__internal" 0.643
And all tps features are active 2.928
And all persistent directories have safe access rights 2.991
When I disable the first tps feature 6.938
Then all tps features but the first one are active 2.270
And I shutdown Tails and wait for the computer to power off 16.590
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.288
Then all tps features but the first one are active 3.024
After features/support/hooks.rb:326 1.122
After features/support/hooks.rb:100 0.008
Tags: @product
22.251
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 12.598
Then persistence for "Persistent" is active 0.359
And I create a file in the Persistent directory 0.105
Then the file I created was copied to the Persistent Storage 0.123
When I disable the first tps feature 5.530
Then persistence for "Persistent" is not active 0.068
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.247
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:326 0.911
After features/support/hooks.rb:100 0.000
Tags: @product
19.589
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.601
Then persistence for "Persistent" is active 0.218
When I create a file in the Persistent directory 0.104
And I disable the first tps feature 5.928
And I delete the data of the Persistent Folder feature 3.659
Then the file I created does not exist on the Persistent Storage 0.076
After features/support/hooks.rb:326 1.036
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.597
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.233
And the network is plugged 0.311
And Tor is ready 23.368
And I take note of which tps features are available 0.760
When I write some files expected to persist 1.577
And I shutdown Tails and wait for the computer to power off 10.538
# 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.807
After features/support/hooks.rb:326 0.138
After features/support/hooks.rb:100 0.000
Tags: @product
3:48.888
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.171
And the network is plugged 0.094
And Tor is ready 20.693
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.189
And I shutdown Tails and wait for the computer to power off 8.696
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:48.158
And I capture all network traffic 0.006
And the network is plugged 0.074
And Tor is ready 20.173
And I switch to the "persistent-con-current" NetworkManager connection 0.369
And the 1st network device has a spoofed MAC address configured 0.113
And no network device leaked the real MAC address 0.147
After features/support/hooks.rb:326 0.624
After features/support/hooks.rb:100 0.061
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 stopped at Tails Greeter's login screen 17.598
And I enable persistence creation in Tails Greeter 1.132
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.853
Then I create a persistent partition with the default settings using the wizard that was already open 24.891
After features/support/hooks.rb:326 2.016
After features/support/hooks.rb:100 0.000
Tags: @product
4:48.147
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 17.680
When I enable persistence 45.805
Then no persistent Greeter options were restored 15.075
When I set all Greeter options to non-default values 24.766
And I log in to a new session in German (de) after having activated the Persistent Storage 45.826
Then all Greeter options are set to non-default values 0.432
When I cold reboot the computer 9.090
And the computer reboots Tails 1:4.628
Given I enable persistence 20.575
Then persistent Greeter options were restored 0.598
When I log in to a new session after having activated the Persistent Storage 43.140
Then all Greeter options are set to non-default values 0.526
After features/support/hooks.rb:326 1.561
After features/support/hooks.rb:100 0.009
Tags: @product
3:53.038
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.843
# 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.957
And I shutdown Tails and wait for the computer to power off 12.883
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.645
And I change the passphrase of the Persistent Storage back to the original 43.709
After features/support/hooks.rb:326 1.806
After features/support/hooks.rb:100 0.008
Tags: @product
1:5.551
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 11.036
And I log in to a new session without activating the Persistent Storage 24.893
Then persistence is disabled 0.286
But a Tails persistence partition exists on USB drive "__internal" 13.204
And all notifications have disappeared 10.025
When I delete the persistent partition 5.616
Then there is no persistence partition on USB drive "__internal" 0.487
After features/support/hooks.rb:326 0.873
After features/support/hooks.rb:100 0.000
Tags: @product
2:34.495
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.485
When I write some dotfile expected to persist 0.234
And I shutdown Tails and wait for the computer to power off 9.134
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.864
Then the expected persistent dotfile is present in the filesystem 0.777
After features/support/hooks.rb:326 0.716
After features/support/hooks.rb:100 0.007
Tags: @product
1:41.343
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.899
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.100
When I try to enable persistence 0.283
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.106
When I log in to a new session after having activated the Persistent Storage 40.008
And all notifications have disappeared 8.511
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.475
And all tps features are enabled 3.154
And all tps features but the first one are active 2.803
After features/support/hooks.rb:326 1.378
After features/support/hooks.rb:100 0.000
Tags: @product
6:46.729
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 5:10.090
And I enable persistence 40.623
And I log in to a new session after having activated the Persistent Storage 49.386
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.015
And persistence is enabled 3.613
After features/support/hooks.rb:326 1.289
After features/support/hooks.rb:100 0.000
Tags: @product
32.813
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 9.145
And I enable persistence but something goes wrong during the LUKS header upgrade 22.781
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.887
After features/support/hooks.rb:326 0.736
After features/support/hooks.rb:100 0.000
Tags: @product
53.959
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.976
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.490
When I enable persistence 33.539
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 2.860
After features/support/hooks.rb:326 2.316
After features/support/hooks.rb:100 0.000
Tags: @product
27.575
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.955
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.998
When I try to enable persistence 0.467
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.858
When I repair the filesystem of the Persistent Storage 1.250
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.321
And the filesystem of the Persistent Storage was repaired 0.063
When I close the filesystem repair dialog 1.219
Then persistence is successfully enabled 1.440
After features/support/hooks.rb:326 0.846
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.126
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.842
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.114
When I try to enable persistence 0.258
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.300
When I repair the filesystem of the Persistent Storage 1.262
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.081
When I log in to a new session 42.929
And all notifications have disappeared 9.877
# 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.511
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.758
When I close the "whisperback" window 1.600
Then the Tor Browser starts 9.640
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 7.946
After features/support/hooks.rb:326 2.163
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:18.293
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.623
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.711
And Tails detects disk read failures on the boot device 1.613
When I try to enable persistence 0.455
Then the Welcome Screen tells me that my hardware is probably failing 8.747
When I log in to a new session 21.328
And all notifications have disappeared 7.549
Then the Tor Browser starts 22.325
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.938
After features/support/hooks.rb:326 2.362
After features/support/hooks.rb:100 0.000