Project Number Date
test_Tails_ISO_20531-early-reporting-of-bad-devices 8 09 Dec 2024, 00:08

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:47.552 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:53.959
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 2:11.549
And I update APT using apt 14.561
And I install "python3-behave" using apt 25.576
Then the Tails Persistent Storage behave tests pass 2.271
After features/support/hooks.rb:326 1.263
After features/support/hooks.rb:100 0.000
Tags: @product
43.495
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.324
When I log in to a new session without activating the Persistent Storage 23.677
Then Tails is running from USB drive "__internal" 0.408
And persistence is disabled 0.373
But a Tails persistence partition exists on USB drive "__internal" 6.711
After features/support/hooks.rb:326 0.914
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.783
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.420
Then Tails is running from USB drive "__internal" 0.359
When I create a file in the Persistent directory 0.109
And I create a persistent partition with the default settings 21.595
Then the file I created was copied to the Persistent Storage 0.542
When I shutdown Tails and wait for the computer to power off 12.353
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.000
Then persistence for "Persistent" is active 0.340
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:326 0.766
After features/support/hooks.rb:100 0.009
Tags: @product
1:3.815
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.448
And the system is very low on memory 3.948
When I create a file in the Persistent directory 1.327
When I try to create a persistent partition 30.354
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.360
When I close the Persistent Storage app 2.957
And I free up some memory 1.650
And I create a persistent partition with the default settings 12.522
Then the file I created was copied to the Persistent Storage 0.246
After features/support/hooks.rb:326 1.229
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.660
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 13.063
Then Tails is running from USB drive "__internal" 0.678
And all tps features are active 2.474
And all persistent directories have safe access rights 2.361
When I disable the first tps feature 6.033
Then all tps features but the first one are active 2.099
And I shutdown Tails and wait for the computer to power off 12.713
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.081
Then all tps features but the first one are active 2.152
After features/support/hooks.rb:326 0.590
After features/support/hooks.rb:100 0.009
Tags: @product
21.742
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.803
Then persistence for "Persistent" is active 0.479
And I create a file in the Persistent directory 0.071
Then the file I created was copied to the Persistent Storage 0.064
When I disable the first tps feature 6.323
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.726
Then persistence for "Persistent" is active 0.065
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 0.739
After features/support/hooks.rb:100 0.000
Tags: @product
21.186
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.367
Then persistence for "Persistent" is active 0.087
When I create a file in the Persistent directory 0.101
And I disable the first tps feature 6.327
And I delete the data of the Persistent Folder feature 4.250
Then the file I created does not exist on the Persistent Storage 0.051
After features/support/hooks.rb:326 0.803
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.056
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.429
And the network is plugged 0.076
And Tor is ready 22.049
And I take note of which tps features are available 0.585
When I write some files expected to persist 1.546
And I shutdown Tails and wait for the computer to power off 8.518
# 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" 23.850
After features/support/hooks.rb:326 0.137
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.092
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.177
And the network is plugged 0.081
And Tor is ready 22.619
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.285
And I shutdown Tails and wait for the computer to power off 8.542
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.723
And I capture all network traffic 0.011
And the network is plugged 0.075
And Tor is ready 19.033
And I switch to the "persistent-con-current" NetworkManager connection 0.326
And the 1st network device has a spoofed MAC address configured 0.105
And no network device leaked the real MAC address 0.109
After features/support/hooks.rb:326 0.558
After features/support/hooks.rb:100 0.052
Tags: @product
54.847
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.443
And I enable persistence creation in Tails Greeter 1.120
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.821
Then I create a persistent partition with the default settings using the wizard that was already open 20.461
After features/support/hooks.rb:326 1.735
After features/support/hooks.rb:100 0.000
Tags: @product
4:18.409
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.705
When I enable persistence 37.200
Then no persistent Greeter options were restored 14.265
When I set all Greeter options to non-default values 24.435
And I log in to a new session in German (de) after having activated the Persistent Storage 48.996
Then all Greeter options are set to non-default values 0.527
When I cold reboot the computer 7.353
And the computer reboots Tails 59.379
Given I enable persistence 16.927
Then persistent Greeter options were restored 0.505
When I log in to a new session after having activated the Persistent Storage 36.656
Then all Greeter options are set to non-default values 0.454
After features/support/hooks.rb:326 0.807
After features/support/hooks.rb:100 0.009
Tags: @product
3:41.156
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.957
# 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 40.141
And I shutdown Tails and wait for the computer to power off 14.369
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:2.599
And I change the passphrase of the Persistent Storage back to the original 33.087
After features/support/hooks.rb:326 1.870
After features/support/hooks.rb:100 0.009
Tags: @product
54.484
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.658
And I log in to a new session without activating the Persistent Storage 20.308
Then persistence is disabled 0.422
But a Tails persistence partition exists on USB drive "__internal" 8.375
And all notifications have disappeared 9.900
When I delete the persistent partition 5.389
Then there is no persistence partition on USB drive "__internal" 0.428
After features/support/hooks.rb:326 0.780
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.699
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.981
When I write some dotfile expected to persist 0.473
And I shutdown Tails and wait for the computer to power off 8.793
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.083
Then the expected persistent dotfile is present in the filesystem 0.368
After features/support/hooks.rb:326 0.662
After features/support/hooks.rb:100 0.007
Tags: @product
1:39.704
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.578
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.266
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.153
When I log in to a new session after having activated the Persistent Storage 45.357
And all notifications have disappeared 7.824
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.827
And all tps features are enabled 2.340
And all tps features but the first one are active 2.273
After features/support/hooks.rb:326 0.904
After features/support/hooks.rb:100 0.000
Tags: @product
4:43.790
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 3:26.957
And I enable persistence 34.071
And I log in to a new session after having activated the Persistent Storage 37.703
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.942
And persistence is enabled 3.116
After features/support/hooks.rb:326 1.099
After features/support/hooks.rb:100 0.000
Tags: @product
27.765
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.367
And I enable persistence but something goes wrong during the LUKS header upgrade 18.714
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.683
After features/support/hooks.rb:326 0.755
After features/support/hooks.rb:100 0.000
Tags: @product
43.362
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.677
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.798
When I enable persistence 27.170
Then the filesystem of the Persistent Storage was repaired 0.083
And persistence is successfully enabled 2.632
After features/support/hooks.rb:326 0.869
After features/support/hooks.rb:100 0.000
Tags: @product
37.123
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 22.087
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.283
When I try to enable persistence 0.404
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.271
When I repair the filesystem of the Persistent Storage 1.246
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.170
And the filesystem of the Persistent Storage was repaired 0.065
When I close the filesystem repair dialog 1.252
Then persistence is successfully enabled 1.341
After features/support/hooks.rb:326 0.750
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:43.220
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.768
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.101
When I try to enable persistence 0.254
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.572
When I repair the filesystem of the Persistent Storage 1.206
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 39.407
And all notifications have disappeared 7.479
# 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.590
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.296
When I close the "whisperback" window 1.455
Then the Tor Browser starts 18.236
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.775
After features/support/hooks.rb:326 2.390
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:11.196
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.753
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.987
And Tails detects disk read failures on the boot device 1.559
When I try to enable persistence 0.462
Then the Welcome Screen tells me that my hardware is probably failing 5.226
When I log in to a new session 19.108
And all notifications have disappeared 7.635
Then the Tor Browser starts 22.731
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.733
After features/support/hooks.rb:326 2.711
After features/support/hooks.rb:100 0.000